Example 1: Direct ConnectionΒΆ
This example shows how to realize data transmission between two RCOM Communication Modules using a direct serial connection in operation mode RCOM+. The transmission speed of the connection in this example is set to 9600 Baud/s (odd parity).
The set up of the AC500 PLCs will be described as well as the projecting of the master and slave devices.
The corresponding projects can be found in the examples folder:
- RCOM Master: AC500_RCOM_DIRECT_MASTER_PM571_V13.pro
- RCOM Slave: AC500_RCOM_DIRECT_SLAVE_PM571_V13.pro
The basic hardware setup consists of two AC500 PLCs, each using
- 1 Processor module PM571
- 1 Terminal Base with at least one Communication Module slot
- 1 Communication Module CM574-RCOM.
To connect the Communication Modules, a serial cable with the following pin assignment is required (cross cable):
In addition to that, a cable is recommended that connects the CONSOLE port to a PC with a terminal emulation software to view protocol information or error messages.