• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
niot-e-npi3-51-en (RS485 <-> Industrial Ethernet)
#1
1. Wir wollen den niot-e-npi3-51-en als RS485 <-> EtherCAT/ProfiNET/Ethernet-IP Konverter/Gateway nutzen.
Wir verwenden momentan HMS Anybus Gateways um RS485 Daten zu konvertieren. Master ist ein Roboter
oder eine übergeordnete SPS.
Wie kann ich z.B. PDOs auf dem Gerät anlegen, z.B. 16 Byte Eingang und 20 Bytes Ausgangsseitig?

2. Später soll ein OPC UA Server auf dem Gerät installiert werden (-> Docker?), der die RS485 Daten über Ethernet 
einem äußeren OPC UA Client lesend zur Verfügung stellt.  

3. Das Gerät hat nur einen RS-Port, entweder 232 ODER 485. Wie kann ich beide (RS232 und RS485) implementieren?

Google translator:
(1. We want to use the niot-e-npi3-51-en as RS485 <-> EtherCAT / ProfiNET / Ethernet-IP converter / gateway.
We currently use HMS Anybus gateways to convert RS485 data. Master is a robot
or a higher-level PLC.
How can I, for example, Create PDOs on the device, e.g. 16 bytes input and 20 bytes output?

2. Later, an OPC UA server is to be installed on the device (-> Docker?), Which transmits the RS485 data via Ethernet
an external OPC UA client reading provides.

3. The device has only one RS port, either 232 OR 485. How can I implement both (RS232 and RS485)?)
  Reply
#2
While netPI on one hand is a raspberry compatible system, on the other it is featuring a netX51 chip.
Under netPIs DockerHub repository you find many dockerized examples. One is for setting up and configuring netX51 chip as PROFINET, EtherrNetIP and in your case Ethercat slave here https://hub.docker.com/r/hilschernetpi/n...-examples/ . The link shows you also a path the containers git hub source code. The repository explains you how you compile the example with different PDO sizes.
As for the netX1 we have also a container made for the RS232 and RS485 interfaces under the same netPI repository https://hub.docker.com/r/hilschernetpi/netpi. Both examples are Node-RED based but in general mapped into a container as /dev/tty0 interface. Please be aware of that those modules use the Raspberr Mini UART chip that has some restrictions. Please have a look to these limitations if they fit to the serial protocol you want to implement. With RS485 interface you need to switch between transmitting and receiving using a GPIO pin

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
where can I find the folder "firmwares"
I need to set:
dpkg -i netx-docker-pi-ecs-4.7.0.2.deb for EtherCAT slave firmware
  Reply
#4
If you follow the link of dockerhub I gave to you, dockerhub automarically shows you a link to the github hosted source code normally. There you find everything like the firmware files.

Does it not offer this link? Maybe you need to be registered?
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#5
(April-12th-2019, 08:14 PM)Armin@netPI Wrote: If you follow the link of dockerhub I gave to you, dockerhub automarically shows you a link to the github hosted source code normally. There you find everything like the firmware files.

Does it not offer this link? Maybe you need to be registered?

I am already logged in with ssh
On the netpi. There i
Need to change folder
to "firmwares" according 
To the Instruction. 
But iam not so firm in Linux to do that
Maybe i need Superuser rights.
I am logged in with user Pi

Where can i find folder
Firmwares. 
Commands:
CD ..
CD /???/firmwares
Whhat is ???
  Reply
#6
Well, using netPI and its  Docker technology need a set of basic knowledge of Linux and its base commands like changing to folders and editing files, remove files, list files etc.
For finding files in Linux you could use the command „find“ like „find -name ‘firmwares‘“ if you are in the root folder using „cd /“.
But I have a tip for you. The file that builds the netx programming example container is located here https://github.com/HilscherAutomation/ne...Dockerfile. With this file you see where all the files are copied to in the container.
Also I have one more tip. The dpkg command you mentioned above just installs the firmware to the right position in the Linux file system so that the driver finds it correctly. Only calling the driver afterwards with DevOpenDriver() will initialize netX with the firmware. This happens for example if you start just the precompiled ethercat example code.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#7
You mentioned in your first post to deploy an OPC UA server in a containerized version onto netPI in future.

Have you already made some decisions which OPC UA server it will be?

Just to let you know that we have made public two weeks ago a containerized reference implementation of the community driven open source OPC UA server stack maintained here https://open62541.org/

Our sample container comes with a very simple web GUI to upload an XML file with the OPC UA nodeset. It can be downloaded from here https://hub.docker.com/r/hilschernetpi/n...cua-server

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  NIOT-E-NPIX-RS485 LucioFiam 6 7,135 January-21st-2023, 05:20 PM
Last Post: Armin@netPI
  USB to RS485 convetrer MGharat 5 10,839 November-15th-2021, 02:37 PM
Last Post: patribenq
  activate Ethernet cifx0 Christian_Rau 3 3,406 March-26th-2021, 05:28 AM
Last Post: Armin@netPI
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 9,464 November-25th-2020, 01:06 PM
Last Post: zen89
  using node.js on NIOT-E-TP151-EN-RE COswald 9 14,243 May-20th-2020, 12:54 PM
Last Post: Armin@netPI
  NIOT-E-NPI3-EN Envisia-BR 8 7,772 December-5th-2019, 02:57 PM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 5,788 August-7th-2019, 10:39 AM
Last Post: hannes
Question Driver for RS485 (netPI) ArteLukas 5 10,805 June-25th-2019, 07:10 AM
Last Post: Armin@netPI
  RTE3 Use real time ethernet as "normal" ethernet interface hannes 50 34,245 May-9th-2019, 04:28 PM
Last Post: Armin@netPI
  Inquiry on specifications of industrial grade LIDONG 3 3,476 April-29th-2019, 06:29 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)