Docn (Do Control) - ICP DAS USA GT-530 User Manual

Intelligent sms alarm controller
Table of Contents

Advertisement

5.2 @DOCn (DO control)

(1) Description:
Set DO0 and DO1 output
(2) Request:
Command:
n:0 ~ 1 (0-DO0, 1-DO1)
Password:login password
CMD:
ON
OFF
PLUS
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
CMD、Second:
The same as the above description.
Example :
!GT-530;DOC1;OK;ON
!GT-530;DOC1;OK;PLUS;20
@CDOn;Password;CMD;Second
set DO on
set DO off
The DO channel is set to on during the defined time.
OK
command is successfully
NO
the password is wrong
ER
The format is wrong or authority is not allowed
GT-530 User Manual, Version 1.0, August 2009
GT-530 user manual v1.0
42/48

Advertisement

Table of Contents
loading

Table of Contents