Chapter 8. Communication Functions
8-32
5) Example
The following example uses the above diagram to explain the operation of GM7U main unit.
-The data of the master GM7U main unit uses ADD function to increase %MW0 area, and write the data to the slave station of
theGM7U main unit. The written data in the output contact is read by the master station of GM7U, and is written to the output
contact of the expansion digital I/O module, G7E-DR10A.
.
(1) MASTER station’s parameter settings and program
• Station No: Select 1 (0 ~ 31 available)
• Baud rate: Select 19200
(1200, 2400, 4800, 9600, 19200, 38400, 57600)
• Parity bit: None (None, Even, Odd available)
• Data bit: Select 8 (7, 8 available)
• Stop bit: Select 1 (1,2 available)
• Communication channel:
Select RS-232C Null Modem or RS-422/485
•
Timeout in master mode: Select 500ms
(10 ~ 2000ms available)
• Protocol and mode: Select Dedicated Master
(Master/Slave)
GM7U
(Slave: Station 31)
GM7U
(Master: Station 0)
G7E-DR10A
1:1 dedicated protocol communication cable between GM7Us