OG_MU-4-434_v10e Circuit Design, Inc.
36
OPERATION GUIDE
5.4.1.2 @DT.../ Data transmit command 2
Data transmit command 2 ‘@DT.../’ is a command for the system using relay stations. Data transmit command 2 is
provided to handle mainly user system data.
・
The format of this command assumes the relay function, but can also be used for systems that do not use
the relay function. With 1:1 communication, set only one Equipment ID for the target station at the end of
the route information.
・
If the attach RF received signal level mode setting command ‘@SI’ is used, received signal level
information for the packet is attached to the front of the data receive of the target station in response to data
transmit command 2.
・
There is also a method of notation where data transmit command 2 makes the target station return data
receive acknowledgement ‘ACK’.
1. Receive confirmation acknowledgement: no request for ACK
When the source station MU-4 receives data transmit command 2 ‘@DT.../R’ from the user controller, it returns a
command response as an acknowledgment of command receipt. At the same time, it starts wireless data
transmission. The target station MU-4 outputs data receive 2 in the ‘*DR’ format. This command does not request
the target station to return a data receive acknowledgment ‘ACK’.
Format 1: ‘@’ + ‘DT’ + data size + data + ‘/R’ + route infor ‘C
R
L
F
’
Format 2: ‘@’ + ‘DT’ + data size + data + ‘/R’ + ‘C
R
L
F
’
Details
Format ‘@DT’ ss.DD....D ‘/R’ rr,rr,...,rr ‘
C
R
L
F
’
ss: Shows the data size in 2 hexadecimal digits and ASCII characters. Value: 00h to FFh, maximum 255 bytes
DD...D: D expresses 1-byte data. Value: 00h to FFh, amount of data: maximum 255 bytes
rr,rr,...,rr: Shows the route information in 2 hexadecimal digits and ASCII characters. Value: 00h to FEh,
number of relay stations maximum 10 units
With Format 1, the route information is entered directly in the command.
With Format 2, transmission is based on route information set in the route register with the RT command or on
the content of the Destination ID. When entering the route information, enter the Equipment ID of the target unit
at the end. If no route information is set (NA set for the RT command), the equipment set as the Destination ID
will be the target station.
To output the same data from all currently connected relay stations, issue the command with ‘/S’ instead of ‘/R’.
Example: Transmit the 10-byte (0Ah) data ‘0123ABC$#4’ to target station ID = 8F via relay station IDs = 01, 02, 03.
The source station Equipment ID = 5F.
・Source station 5F status
①Issue the data transmit command 2
②Data transmit response
Format 2:@DT 0A 0123ABC$#4 /R C
R
L
F
・Target station 8F status
④Data receive 2
When RI=OF *DR=0A 0123ABC$#4 C
R
L
F
(Default)
②
④
User
controller
User
controller
Target
station
EI=8F
Relay
station
EI=03
Relay
station
EI=01
Relay
station
EI=02
Source
station
EI=5F
*DT=0A C
R
L
F
Format 1:@DT 0A 0123ABC$#4 /R 01,02,03,8F C
R
L
F
③Send data
①
③Send data
When RI=ON *DR=0A 0123ABC$#4 /R 5F,01,02,03 C
R
L
F
* The relay stations output the same data as from the target station with ‘/S’.