Modbus- PLC to PLC- Master to Slave

O

Thread Starter

OM

I am currently working on an PLC upgrade from Micro to Momentum. I want to get the Quantum PLC to talk to the Momentum PLC using the Modbus protocol. I found XXMIT block in Concept 2.2. Quantum PLC will be the master & Momentum PLC will be the slave. I had the xxmit block implemented in the Quantum PLC. My question is, do I have to set up the the same block in the Momentum as well because this block activates the Modbus port coms?

Could anyone help me with this? Thanks.
 
C
You don`t write de XXMIT block in the MOMENTUM. The XXMIT Block configure a PLC in MASTER MODBUS mode. In MODBUS comunication any programation is necesary in the SLAVE.

I`m hope this help you.
 
Hello,
If the Quantum is the Modbus master, then you do not setup XXMIT in the momentum. XXMIT is used Modbus master on a single modbus network.

You just need to get parity, baud rate, stop bits setup the same on both devices com ports.

All you need to do in the slave is make sure the registers are used, so they can be read, or written to. The slave does nothing.
 
Hello,

Would you have sample code for the Modbus- PLC to PLC- Master to Slave comunication using the XXMIT block? I would appreciate if you could help with the code in anyway.

Regards
 
Top