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_PM5xx_Vyy.pro
  • RCOM Slave: AC500_RCOM_DIAL_UP_SLAVE_PM5xx_Vyy.pro

The basic hardware setup consists of two AC500 PLCs, each using

  • 1 processor module
  • 1 terminal base with at least 1 communication module slot
  • 1 communication module CM574-RCOM
../_images/4b548d02e38c05a10a33139000eba54e

The connection between a modem and a CM574-RCOM communication module requires a cable with the following pin assignment:

../_images/aa971433e38bffc70a33139000eba54e

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.

../_images/7d0359b1e38bff690a33139000eba54e