OG_MU-4-434_v10e Circuit Design, Inc.
16
OPERATION GUIDE
4.1.2 Basic data transmission
When user data is transmitted from the source station towards the target station using data transmit commands,
a character string including the data (data receive) is output from the target station and processed by the program
of the user controller.
Example 1 1:1 (1:N) system not using the relay function
When the source station 5F transmits the 5 bytes of data ‘ABCDE’ to the target station 01
The diagram below shows the case in which the data transmit command 1 is issued.
Example 2 System using the relay function
When the source station 5F transmits the 10 bytes of data ‘0123ABC$#4’ to the target station 8F via relay
stations 01, 02 and 03
With 1:N communication not using relay stations, the route is specified using the Destination ID command ‘@DI’
at the source station. However when relay stations are used, data can be relayed using one of the following.
1. Set the route information in the route register using the ‘@RT’ command to specify the relay route.
2. Enter the route information directly at the end of the data transmit command ‘@DT’.
When performing two-way communication, it is necessary to confirm if the data transmitted from the source
station is received at the target station without error. The MU-4 has a data transmit command that requests the
target station to return the data receive acknowledgment ‘ACK’. The diagram below shows a case in which
relay stations are used and the data transmit command 2 with ACK is issued.
⑧
ACK return
・Source station 5F status
④Issue the data transmit command 2
⑤Data transmit response
⑨ACK response from the target station
@DT 0A 0123ABC$#4 /A C
R
L
F
(issued after the delay time has elapsed)
・Target station 8F status
⑦Data receive 2
⑧ACK return
⑤
⑨
⑦
User
controller
User
controller
*DT=0A C
R
L
F
*DR=00 C
R
L
F
*DR=0A 0123ABC$#4 C
R
L
F
⑥Send data
④
⑥
Send data
・Initial setting
①Set all stations to the same
User ID, Group ID and channel
②Set a different number to each
equipment as the Equipment ID (EI)
③Set the route information
in the route register of the
source station
Source station
EI=5F
Relay station
EI=01
Relay station
EI=02
Relay station
EI=03
Target station
EI=08F
User
controller
DI=01
⑥Send data
・Initial setting
④Issue the data transmit command 1
⑤Data transmit response
・Target station 01status
User
controller
@DT 05 ABCDE C
R
L
F
*DT=05 C
R
L
F
*DR=05 ABCDE C
R
L
F
⑦Data receive 1
④
⑤
⑦
⑥Send data
③Set the Destination ID(DI)
①Set all stations to the
same User ID, Group ID and
channel
②Set a different number to
each equipment as the
Equipment ID (EI)
・Source station 5F status
Source station
EI=5F
Target station
EI=01