Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
netFIELD Compact Gateway ...
Forum: Hardware
Last Post: DSongra
February-27th-2023, 08:38 AM
» Replies: 10
» Views: 3,308
|
Forum is becoming read-on...
Forum: News
Last Post: Armin@netPI
February-19th-2023, 05:04 PM
» Replies: 0
» Views: 1,248
|
NIOT-E-NPIX-RS485
Forum: Software
Last Post: Armin@netPI
January-21st-2023, 05:20 PM
» Replies: 6
» Views: 4,477
|
netPI device series is di...
Forum: News
Last Post: Armin@netPI
January-21st-2023, 08:34 AM
» Replies: 0
» Views: 859
|
Forum "netHAT" is being c...
Forum: News
Last Post: Armin@netPI
December-21st-2022, 01:17 PM
» Replies: 0
» Views: 917
|
netFIELD Compact Gateway ...
Forum: Software
Last Post: Armin@netPI
December-20th-2022, 10:34 AM
» Replies: 1
» Views: 3,326
|
netPI not found in networ...
Forum: Hardware
Last Post: Armin@netPI
December-13th-2022, 11:40 PM
» Replies: 1
» Views: 3,473
|
Proxy Settings
Forum: Software
Last Post: Armin@netPI
December-5th-2022, 06:21 PM
» Replies: 9
» Views: 7,132
|
Node Red configuration
Forum: Software
Last Post: Armin@netPI
November-30th-2022, 05:14 PM
» Replies: 3
» Views: 1,784
|
443 port issue
Forum: Software
Last Post: LucioFiam
November-21st-2022, 05:39 PM
» Replies: 5
» Views: 2,296
|
|
|
Connecting two LAN network segments |
Posted by: Lingyue - September-5th-2019, 04:19 PM - Forum: Hardware
- Replies (2)
|
|
Hello Armin,
Now we want to use netPI to connect MES system and the machine tool which on field at the same time. Both network are standard TCP/IP ethernet protocol, they are different network segment, but on our netPI just has one ethernet interface. We have considered the way to use WiFi. Do you have any other suggestions for this question?
Looking forward your reply.
Lingyue
|
|
|
NodeRed and EtherCAT |
Posted by: Schranz - September-2nd-2019, 03:37 PM - Forum: Software
- Replies (3)
|
|
Currently I use a netPI RTE 3 as a profinet client with a hilschernetpi/netpi-nodered-fieldbus container.
Now I need to do the same as an ethercat client. Possible with NodeRed (FIELD ecs)?
The sample container hilschernetpi/netpi-netx-programming-examples works.
|
|
|
create container in Portainer v1.12.4 |
Posted by: dcatteeu - August-29th-2019, 09:59 AM - Forum: Software
- Replies (2)
|
|
Hi,
I have a NetPi with Portainer v1.12.4.
I can't seem to figure out how to start a container from an image that is available on my local docker registry.
I can specify a docker registry, but the NetPi has no way of knowing where to find it. I think I need somehow to specify it's ip address (adding it to /etc/hosts) and its certificate (adding it to /etc/docker/certs.d/<myregistry>/ca.crt).
Am I missing something or is this not possible in this old version?
Thanks,
david.
|
|
|
NPIX-RS485 with auto direction control now available |
Posted by: Armin@netPI - August-26th-2019, 07:18 AM - Forum: Hardware
- Replies (11)
|
|
We changed the RS-485 transceiver used on module NIOT-E-NPIX-RS485 in REV#2.
The new part - MAX13488E - features auto direction control and is switching between TX (transmit) and RX (receive) mode automatically and instantly once you enabled it by a GPIO. The advantage now is to be no longer compelled to handle switching in software by a non-realtime driver that is causing jitter of the switching times switching from TX mode back to RX mode after a request has been sent. If then a responder is sending back data too fast it could easily happen that the first incoming chars are getting lost if the switching was too long.
The MAX13488E is pin compatible to the previous used transceiver SN65ALS176 in #REV1. Instead of using the TX_EN pin to switch between TX/RX as done before on #REV1 you have now just to set the TX_EN pin to "high" state a single time and automatic direction control gets enabled.
With Node-RED for example you could just inject a "true" to a rpi gpio node directed to GPIO17 (TX_EN) and you are done:
Code: [{"id":"287692d1.c61e06","type":"inject","z":"d31910c1.fd0618","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":295.5,"y":599,"wires":[["6bbb3ed9.4bb6d8"]]},{"id":"6bbb3ed9.4bb6d8","type":"rpi-gpio out","z":"d31910c1.fd0618","name":"","pin":"11","set":"","level":"0","freq":"","out":"out","x":483.5,"y":599,"wires":[]}]
After pulling the TX_EN pin to high state the NPIX-RS485 module will get compatible with any serial communicating program or Node-RED node.
Download the latest NPIX modules documentation highlighting the #REV1/#REV2 modules' difference in the download section here. Please keep also in mind that the used serial port named "Mini UART" used has also restrictions and check if it fulfils your protocol requirements.
Thx
Armin
|
|
|
Exporting and importing container images |
Posted by: Armin@netPI - August-23rd-2019, 10:39 AM - Forum: Software
- Replies (3)
|
|
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
- 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.
- 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.
- On the Images overview page you can now recognize a new image named as provided representing a 1:1 copy of your container.
- 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.
- 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
|
|
|
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"]]}]
|
|
|
|