16
RS
RSRS
RS-
--
-232 transm
232 transm232 transm
232 transmission Format
ission Formatission Format
ission Format
Baud rate: 9600
Data bit: 8
Parity: None
Set Command
Set CommandSet Command
Set Command
Command Code Response Description
Data Check SUM ACK SET
0x08 0x4d 0x41 0x51 0x44 0x05 *0x01~0xff 0x31~0x2f 0xaa SET MA-5144 Device ID
0x0c 0x4d 0x41 0x51 0x44
Device_Id 0x02 port1 port2 port3 port4
0x0c+…+port4 0xaa Set MA-5144 Source
Mapping of Output Port
Status Command
Status CommandStatus Command
Status Command
Command Code Response Description
Data Check
SUM Get Status Check SUM
Status
0x05 0x4d 0x4f 0x44 0xe5 0xaa 0x06 0x4d 0x41
0x51 0x44 0x29 Get Device Type
(MA-5144)
0x07 0x4d 0x41 0x53 0x57
0x04 0x43 0xaa 0x3 0x01~0xff 0x04~0x02 Get Device ID
0x08 0x4d 0x41 0x51 0x44
*0x01~0xFF 0x01 0x2e~0x2c
0xaa 0x06 port1 port2
port3 port4
0x06 +
port1~port4
Get Source Mapping of
Output Port
0x08 0x4d 0x41 0x51 0x44
*0x01~0xFF 0x04 0x30~0x2e
0xaa 0x08 0x56 0x33
0x2e 0x30 0x31 0x61
0x81 Software Version V.3.01a
Check sum
Check sumCheck sum
Check sum:
::
:
Check sum = (Data value sum)%256 The check sum of response is not included 0xaa.
0x01 ~ 0xFF
0x01 ~ 0xFF0x01 ~ 0xFF
0x01 ~ 0xFF:
::
:
This data is device ID. The Device ID saved in the device, if the device ID of the controlled device is 0xff , the
device will ignore its own ID and carry out the commands.
RS
-
232 Commands