RE:Comunicacion entre PLCs
Puedes utilizar el comando MSG. Aquí te copio parte de la ayuda del logix, lo demás ve en el ejemplo, está muy fácil.
Use with processorSLC 5/05Ethernet Controller(Parameters shown to the right are examples only,
your data will vary.)
Initial Setup Parameters
Type - After placing the MSG instruction on a rung, specify whether it is to be read or write. Then specify the target device and the control block for the MSG instruction. Allowable communications include:
Peer-to-Peer Read/Write on a local network to another SLC 500 processor
Peer-to-Peer Read/Write on a local network to a 485CIF
Peer-to-Peer Read/Write on a local network to a PLC-5
Peer-to-Peer Read/Write on a remote network to another SLC 500 processor
Peer-to-Peer Read/Write on a remote network to a 485CIF (PLC2 emulation)
Peer-to-Peer Read/Write on a remote network to a PLC-5
Read/Write - Read means that the local processor is to receive data. Write means that the local processor is to send data.
Target Device names the type of device that the local SLC 500 processor is to communicate with. This can be 500CPU if the target is another SLC processor, 485CIF if the target is a non-SLC device on the DH-485 network, or PLC-5 if the target device accepts PLC-5 commands.
Local/Remote tells if the message is to be communicated via a local DH-485 network, or to a remote device on another network through a bridge.
Control Block identifies an integer file address that you select. It is a 14-word integer file containing the status bits, target file address, and other data associated with the message instruction. Click here for a control block layout for the 5/03, 5/04, and 5/05 processors.
Control Block Length - When using channel 0 this is fixed at 14 and cannot be altered. When using Ethernet channel 1 this is fixed at 51 and cannot be altered.
Setup Screen Parameters
(For a bit-by-bit breakdown of the message file elements see Related Topics below.)
MSG instruction setup screen parameters
MSG Instruction Error Codes
Rockwell Software 2000