MODBUS TCP/IP error 12325
I am trying to connect AC500 PLC PM573-ETH with panel CP430T-ETH through Modbus TCP/IP but I cannot. I am using ETH_MOD_MAST block to communicate but the result is always error 12325 - Address error according to help. Can somebody explain me what can be the problem? What address is the problem? In ETH_MOD_MAST block I am using these parameters:
Slot - 0 (internal slot)
IP - 192.168.0.20 (address of the panel)
Unit ID - nothing
FCT - 01 (read n bits)
ADDR - 0
NB - 05 (1bit to read)
DATA - ADR(bPanel) - bPanel is BOOL variable
Thanks in advance for your help
Are the Panel set up as server(slave)?
The usual setup is that the panel is client(master) and you read the values of you plc.
You have to make an speciel modbus slave connection for the panel to be server.
If you search for "Modbus Slave" in your CP400soft manual you get the correct way to do it.