I'm trying to connect my barcode scanner (leuze 508i) to my Schneider PLC LMC058LF42 via Ethernet/IP. I use SoMachine v3.1.10.1 to program the PLC.
I can send the code from the scanner to my computer both as server and client so the scanner is working fine. I know that the Ethernet port on the PLC can only act like a slave but I'm unsure where to define the port number in SomMachine. In the world of Siemens i should use a functionblock to start the communication and define the port. The only FB that i have found in SoMachine is Read_Var but it seems only to be used for modbus tcp.
I have another option to upgrade my HMI to a Magelis GTO panel and make the communication there instead.
I would really appreciate some help and maybe a example program if anyone have got.
Thanks in advance Daniel
I can send the code from the scanner to my computer both as server and client so the scanner is working fine. I know that the Ethernet port on the PLC can only act like a slave but I'm unsure where to define the port number in SomMachine. In the world of Siemens i should use a functionblock to start the communication and define the port. The only FB that i have found in SoMachine is Read_Var but it seems only to be used for modbus tcp.
I have another option to upgrade my HMI to a Magelis GTO panel and make the communication there instead.
I would really appreciate some help and maybe a example program if anyone have got.
Thanks in advance Daniel