Example 2: Dial-Up ConnectionΒΆ
This example shows how to realize data transmission between two RCOM Communication Modules using a modem based dial-up connection in operation mode RCOM+. The transmission speed of the connection in this example is set to 9600 Baud/s (no parity).
The corresponding projects can be found in the examples folder:
- RCOM Master: AC500_RCOM_DIAL_UP_MASTER_PM571_V13.pro
- RCOM Slave: AC500_RCOM_DIAL_UP_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 1 Communication Module slot
- 1 Communication Module CM574-RCOM
The connection between a modem and a CM574-RCOM Communication Module requires a cable with the following pin assignment:
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.