9/26/2016 12:44 AM | |
Joined: 8/14/2013 Last visit: 2/11/2021 Posts: 48 Rating:
|
Hello I want to read a variable of this controller via RS485 communication using a communication module cm1241. I think I've typed the program correctly; in OB start I have placed the block "Modbus comm load", and in the OB1 I have placed the block "modbus master". I think that perhaps I've got problem to know the parameter DATA_ADDR But I can not read the value of the variable. The program does not tell me that there is error, I can also connect "online" without problem but this value is always "0". My PLC is connected to HMI KP700 ( profinet ) too that it works good. I'm very grateful greetings Attachmentmodbus carel.pdf (120 Downloads) |
9/26/2016 2:07 PM | |
Joined: 2/27/2014 Last visit: 2/18/2025 Posts: 689 Rating:
|
Hello, Move the status word value in other memory location on error bit. Then only you can able to capture the error. Once you get error then send the error code . Also test with Standard Modbus tester software like modview , which will act as Modbus Slave. See the attached Modbus Tester software AttachmentModbusView.zip (118 Downloads) |
With Best Regards, |
|
This contribution was helpful to
1 thankful Users |
Follow us on