OG_MU-4-434_v10e Circuit Design, Inc.
17
OPERATION GUIDE
4.1.3 The data transmit command
The MU-4 has 3 data transmit commands.
1. Data transmit command 1 2. Data transmit command 2 3. Data transmit command 3
The user can freely decide the format for the data part of the data transmit command. Using data transmit
command 3, the received signal level of the received packet data is included at the front of the receiving data (data
receive), which is useful for determining the transmission route and so on.
The same can be done with the data transmit command 2 by setting the ‘@SI’ command.
When actually developing a system program, in addition to the transmission process of the user system data such
as temperature data and display data, it is necessary to perform various controls. By choosing the transmit
command to use depending on the system configuration, it is possible to simplify design of the system protocol and
make an easy-to use program.
1. Data transmit command 1
The most basic transmission command mainly used for 1:1 (1:N) systems not using relay stations.
2. Data transmit command 2
A data transmit command for systems using relay stations. It can also be used for 1:1 (1:N) systems not using
relay stations.
Command option character for data transmit command 2: ‘/’
Target station output characters (Data receive): ‘
*
DR’
3. Data transmit command 3
A data transmit command for systems using relay stations. It can also be used for 1:1 (1:N) systems not using
relay stations.
The received signal strength (RSSI) of the received packet data is included at the front of the data receive at the
target station.
Command option character for the control transmit command 3: ‘%’
Target station output characters (Data receive): ‘
*
DC’
With the data transmit commands 2 and 3, the method of command notation on the program is different
depending on the following cases.
1. Transmission based on route information preset in the route register.
2. Transmission based on route information directly entered in the transmit command.
Example: Transmission using data transmit command 3
⑤ACK return
・Source station 5F status
①Issue the data transmit command 3
②Data transmit response
⑥ACK response
Format 2:@DT 0A 0123ABC$#4 %A C
R
L
F
(issued after the relay time has elapsed)
・Target station 8F status
④Data receive 3
⑤ACK return
②
⑥
④
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
*DC=45 00 C
R
L
F
Format 1:@DT 0A 0123ABC$#4 %A 01,02,03,8F C
R
L
F
When RI=OF *DC=45 0A 0123ABC$#4 C
R
L
F
(Default)
When RI=ON *DC=45 0A 0123ABC$#4 /R 5F,01,02,03 CRLF
③Send data
①
③Send data
Transmit the 10 bytes (0Ah) of data ‘0123ABC$#4’ to the target station ID = 8F via the relay station IDs = 01,
02, 03. Source station Equipment ID = 5F.
* ‘45h’ at the front indicates the signal level of the received packet. In this case, it is -69 dBm (45h).
For details of the value, refer to the ‘RA’ command.