Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 320
» Latest member: C@rlo5Sepulveda
» Forum threads: 310
» Forum posts: 1,430

Full Statistics

Latest Threads
Mosquitto MQTT Broker
Forum: Software
Last Post: C@rlo5Sepulveda
Yesterday, 03:08 AM
» Replies: 1
» Views: 71
Automatic setup of NetPI ...
Forum: Software
Last Post: Armin@netPI
December-12th-2019, 03:23 PM
» Replies: 3
» Views: 15
running ethercat slave
Forum: Projects
Last Post: MGharat
December-10th-2019, 10:06 AM
» Replies: 6
» Views: 18
NIOT-E-NPI3-EN
Forum: Software
Last Post: Armin@netPI
December-5th-2019, 02:57 PM
» Replies: 8
» Views: 40
file folder with netPI RT...
Forum: Software
Last Post: Armin@netPI
December-5th-2019, 07:04 AM
» Replies: 1
» Views: 12
tcp/ip udp to EIP convert...
Forum: Projects
Last Post: Armin@netPI
December-4th-2019, 02:17 PM
» Replies: 1
» Views: 6
Starting example cifxlinu...
Forum: Software
Last Post: Armin@netPI
December-2nd-2019, 07:45 PM
» Replies: 4
» Views: 15
[SOLVED] netPI with Raspb...
Forum: Software
Last Post: Armin@netPI
November-28th-2019, 06:01 PM
» Replies: 8
» Views: 55
C Compiler
Forum: Software
Last Post: Armin@netPI
November-28th-2019, 12:36 PM
» Replies: 1
» Views: 10
Zuführungssystem mit netP...
Forum: Projects
Last Post: pstern
November-26th-2019, 09:13 PM
» Replies: 5
» Views: 15

 
  Exporting and importing container images
Posted by: Armin@netPI - August-23rd-2019, 10:39 AM - Forum: Software - No Replies

Sometimes it is necessary to move a ready evolved container from one netPI to another or to save its current state to an external location.

For this purpose the netPI Docker web GUI features the export and import function.

Here are the steps how to proceed

  1. Supposing you have a running container then click it in the Containers overview page and click Stop first of all to block its SD memory card activities.
  2. In the same window you have the option to create an image of exactly this container. Type in an Image name and press Create. This may take a while.
  3. On the Images overview page you can now recognize a new image named as provided representing a 1:1 copy of your container.
  4. Click its image id and you'll get the option Export this image. Click it and after some minutes (be patient) you'll get a file image.tar as output within your browser context. Save it to anywhere you want.
  5. The way back is to use the Import function within the Images overview page to load it back onto any device.
Make sure you have the netPI system software V1.2.0.0 running since this version uses a prolonged timeout value for the browser connection to successfully bridge the long response time of the image creating function.

Thx
Armin


  Accessing Siemens S7 PLCs over Node-RED
Posted by: Armin@netPI - August-23rd-2019, 08:01 AM - Forum: Projects - No Replies

Today I want to highlight a Node-RED node that is able to read/write data from/to a Siemens PLC (S7-1200 or S7-1500) over Ethernet(PROFINET) on netPI.

The node's home is here https://flows.nodered.org/node/node-red-contrib-s7comm and is maintained by Hilscher.

We have included this node in netPI's Node-RED Docker Container you can pull from repository "hilschernetpi/netpi-nodered" from Docker Hub on your netPI.

If you have an "old" type of PLC such as S7-300 or S7-400 having no Ethernet connectivity but MPI/PROFIBUS instead you can use this device https://www.hilscher.com/products/produc...nl-50-mpi/ in between netPI and PLC and your are able to use ths S7  node too.

Thx
Armin


Information NPIX-RCAN with node-red-contrib-canbus node
Posted by: patrick - August-22nd-2019, 02:36 PM - Forum: Projects - No Replies

The standard "node-red-contribute-canbus" node is not able to parameterize the interface.
But the attached flow can do it. The interface name of the NPIX-RCAN is "can0".

For immediate use you can use the "hilschernetpi/node-red" Docker Image. This this includes the "node-red-contribute-canbus" node.

You can buy the CAN module at NIOT-E-NPIX-RCAN

   

Node-RED flow

Code:
[{"id":"4d07c78.7bb0238","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"e5be7b4b.3043c8","type":"canconfig","z":"","channel":"can0","bitrate":"1000000"},{"id":"eb182264.f344f","type":"candump","z":"4d07c78.7bb0238","name":"candump","vconfig":"e5be7b4b.3043c8","x":120,"y":140,"wires":[["620e867b.c95678"]]},{"id":"620e867b.c95678","type":"debug","z":"4d07c78.7bb0238","name":"","active":true,"console":"false","complete":"true","x":310,"y":140,"wires":[]},{"id":"cca38704.e615e","type":"exec","z":"4d07c78.7bb0238","command":"ip link set can0 down","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Interface down","x":320,"y":60,"wires":[["60373f1f.8fd19"],[],[]]},{"id":"e6062ba0.bee45","type":"exec","z":"4d07c78.7bb0238","command":"ip link set can0 type can triple-sampling on bitrate ","addpay":true,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Interface setup","x":660,"y":60,"wires":[["b6405ee3.c72bc"],[],[]]},{"id":"b6405ee3.c72bc","type":"exec","z":"4d07c78.7bb0238","command":"ip link set can0 up","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Interface up","x":850,"y":60,"wires":[[],[],[]]},{"id":"bef5bf08.aa042","type":"inject","z":"4d07c78.7bb0238","name":"Init can0","topic":"","payload":"","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":60,"wires":[["cca38704.e615e"]]},{"id":"60373f1f.8fd19","type":"change","z":"4d07c78.7bb0238","name":"1MBit","rules":[{"t":"set","p":"payload","pt":"msg","to":"1000000","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":490,"y":60,"wires":[["e6062ba0.bee45"]]}]


  UL certified since 2018
Posted by: Armin@netPI - August-21st-2019, 01:21 PM - Forum: News - No Replies

To complete the netPI documentation I want to offer to you the official UL compliance letter from year 2018



Attached Files
.pdf   NOA Letter.pdf (Size: 153.51 KB / Downloads: 6)

  Used Pins
Posted by: JAAAW - August-16th-2019, 10:06 PM - Forum: Hardware - Replies (1)

Hello,

The NetHat uses pins 24, 21, 19 & 23 for SPI0 and GPIO pins 22 & 23.

Which pin ensures the power supply? Are there any other pins that are used?

Thanks.


  [SOLVED] Help with fieldbus node
Posted by: Farani - August-14th-2019, 02:21 PM - Forum: Software - Replies (5)

Hi.

I am trying to receive and send boolean value to my test PLC with the fieldbus node. I was able to rec from the PLC without error. But i was unable to send to the PLC through the fieldbus output node. How can i test this?

Error message : OUT_NODE expects the property 'payload' as an object

Attached are the snapshots.        


  BLE pairing problems with bluez 5.50
Posted by: abmn - August-8th-2019, 07:52 AM - Forum: Software - Replies (1)

Dear community,

I encounter problems pairing BLE devices with the NetPi using the current Bluetooth Docker image (https://hub.docker.com/r/hilschernetpi/netpi-bluetooth). As BLE device I'm using a Bosch XDK (Bluetooth 4.2/BLE) with BLE tutorial example. No security ("Just Works") is used for pairing. Other BT 4.2 or 5.0 device I tried had the same issues. 

Here's what I did:

"hcitool device" shows that the BT RF device is available ("hci0   B8:27:EB:A4:D7:88")

"dmesg" shows no errors or warnings, Bluetooth configuration looks fine
   

In "bluetoothctl"
- default agent is on, BT device is on
- "list" correctly shows the BT RF device ("Controller B8:27:EB:A4:D7:88 BlueZ 5.50 [default]")
- "scan on" correctly lists all available BT devices around, also the Bosch XDK ("Device FC:D6:BD:10:27:10")
- I trust the device: "trust FC:D6:BD:10:27:10"
- "pair FC:D6:BD:10:27:10" at first seems to work: "[CHG] Device FC:D6:BD:10:27:10 Connected: yes", the device's services and characteristics are displayed. 
- But after seconds, the device is disconnected: "Failed to pair: org.bluez.Error.AuthenticationCanceled"
   

"dmesg" now shows error "Bluetooth: SMP security requested but not available"
   

The same device pairs, connects and runs nicely with iOS or Android phones using free BLE tools as "LightBlue". 

Happy to read your ideas! 

-Alexander


  Activating Distributed Clock - EtherCAT (Slave-side)
Posted by: JAAAW - August-7th-2019, 09:27 PM - Forum: Hardware - Replies (4)

Hi Community,

I'm working with the NetHat Device and want to transfer data ervery 4 ms by using EtherCAT.
At the moment there is the problem that I cannot activate the Distributed Clock, which is deactivated by default on the netHat side (slave).

I have already discovered that there are two solutions for the problem.

1. By using the "NetX Configuration tool"

I would like to configure the module this way, but unfortunately the error "There’s no valid firmware directory found during installation. Would you like to choose it on you own?" already occur during the installation.
Also the manual selection of the directory, which I could find on the "DVD" provided for download, does not fix the problem.

Any idea how to solve this problem? 
(I use "netX Configuration Tool V1.0900" under Windows 10)


2. by sending a set configuration packet to the EtherCAT Slave protocol stack

I can't solve the problem this way. Could somebody send me an example code in which the "Set Configuration Request" is send by the application to the protocol stack to configure the device with configuration parameters ?



Thanks for your help.


  [SOLVED] Problem with WIFI connection
Posted by: Farani - August-5th-2019, 02:04 PM - Forum: Hardware - Replies (4)

Hi.

I have been having issues with the Wifi. I have enabled the wifi in client mode and it is to receive the ip address and dns server automatically. As per viewed in the Control panel, the netpi has already receive the ip address and dns server but it still can't connect to the internet. The only way i could connect to the internet is when i share my laptop wifi to the ethernet port.

Also, i tried with a phone hotspot. The netpi is able to connect to the hotspot but unable to connect to the internet.

Any suggestion on what should i check?

I've updated the firmware to version V1.2.0.0.

Also, i'm located in Malaysia. Would that affect the device connection?


  {INFO] FCC grant of certification
Posted by: Armin@netPI - August-2nd-2019, 07:44 AM - Forum: Hardware - No Replies

The FCC is an independent United States government agency taking care if regulations concerning devices equipped with radio transmitter technology.

If you want to sell device in the US you need an FCC grant of certification. Find appended the respective FCC grant for netPI.



Attached Files
.pdf   2ANEG0001_DSS.pdf (Size: 124.79 KB / Downloads: 0)
.pdf   2ANEG0001_DTS.pdf (Size: 125.01 KB / Downloads: 0)