GT-530 user manual v1.0
5.2
@DOCn (DO control)
(1)
Description
:
Set DO0 and DO1 output
(2)
Request
:
Command:
@CDOn;Password;CMD;Second
n
:
0 ~ 1 (0-DO0, 1-DO1)
Password
:
login password
CMD
:
ON
Æ
set DO on
OFF
Æ
set DO off
PLUS
Æ
The DO channel is set to on during the defined time.
Second
:
The command is used for PLUS mode. (0~999 seconds)
Example
Set DO1 output to on:
@DOC1;000000;ON
Set DO1 output to on during 20 seconds:
@DOC1;000000;PLUS;20
(3)
Response
:
!MID;DOCn;
Result;
CMD;Second
MID
:
Machine ID
DOC
:
command name
n
:
0 ~ 1 (0- DO0, 1-DO1)
Result
:
command result
OK
Æ
command is successfully
NO
Æ
the password is wrong
ER
Æ
The format is wrong or authority is not allowed
CMD
、
Second
:
The same as the above description.
Example :
!GT-530;DOC1;OK;ON
!GT-530;DOC1;OK;PLUS;20
GT-530 User Manual, Version 1.0, August 2009
42/48