Hi,
I'm trying to communicate between a CompactLogix L32E and a power transmitter using Modbus RTU. I use a 1761-NET-AIC. Has anyone ever used the sample file ModbusMaster.acd? I read another thread about this topic but it didn't answer my question.
I want to know how to manage de commands send to the slave. I know I can write up to 40 commands and that if I do, the PLC will execute them one after the other. What I want to do is verify if my command has successfully been sent. In the document (CIG-AP129A-EN-P page 32), they give four steps to do that. The second one is send the command to the Modbus slave... How do I control that? Just by putting ModCommand[].enable to 1?
Also, what happens if I have multiple read or write commands to do? If I do multiple reads, where do the data go? I see only one tag where the program sends data: Mod_Data_InpReg3. How do I manage that?
Thank you
Marie
I'm trying to communicate between a CompactLogix L32E and a power transmitter using Modbus RTU. I use a 1761-NET-AIC. Has anyone ever used the sample file ModbusMaster.acd? I read another thread about this topic but it didn't answer my question.
I want to know how to manage de commands send to the slave. I know I can write up to 40 commands and that if I do, the PLC will execute them one after the other. What I want to do is verify if my command has successfully been sent. In the document (CIG-AP129A-EN-P page 32), they give four steps to do that. The second one is send the command to the Modbus slave... How do I control that? Just by putting ModCommand[].enable to 1?
Also, what happens if I have multiple read or write commands to do? If I do multiple reads, where do the data go? I see only one tag where the program sends data: Mod_Data_InpReg3. How do I manage that?
Thank you
Marie