Search the Community
Showing results for tags 'scu'.
-
Hi I need to get data from a modbus rtu device to Omron PLC NJ501. I am using SCU32 or SCU42 as serial gateway. I have tried using sendcmd function, but I am having problrm with the DstNetAdr Here's my setup Cpu NJ501 1400 ID262 OD263 AD041 V1 EIP21 SCU32 My sendcmd parameter DstNetAdr.NetNo:=USINT#0 DstNetAdr.NodeNo:=USINT#4 DstNetAdr.UnitNo:=BYTE#16#84 senddata array 02 03 00 6A 00 02 E4 24 Anyone has any idea on how to do it?
- 5 replies
-
- modbus rtu
- nj501
-
(and 2 more)
Tagged with:
-
Hello, I have been reading some post on this forum about Modbus and omron, but it has been complicated for me communicate an Omron PLC and a computer just to test the Modbus communication. I have a PLC OMRON CJ2M-CPU32 20K with a CJ1WSCU31-V1 that I want to communicate trough Modbus first with a computer just to test that is everything working ok. How can I do that? How do I need to configure the units, switch? Nodes? Im using multiway, and CX programmer, I already downloaded Macro Protocol to the PLC, but by now the only thing that I get is RD1 flashing when Modbus poll software is active on the computer, but this software says timeout, and don’t receive packets… I have used the easymodbus excel file to create the code to communicate the PLC, but as I see isn’t working. Does somebody in here have got to connect a plc to the computer with this easy modbus file? How is the proper way to use it? Or there is a better way to use Modbus in Omron? I’m really desperate.
-
HI , Thanks a lot for the reply & help on previous topic. Now i setting up a new system with 2x CJ2M CPU13 and 2x SCU32 and the connection via 1000M RS485 cable. May i know the best communication to use for the serial communications? Regards, TJ SHARON.