SET_DO

Description

Set the device's individual DO signal level.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, the error message will be returned.

Input Argument

n,m
where
n: the target of DOs. It could be 1 for DO1 and 2 for DO2
m: the level of DO signal. It could be 1 for setting DO level high, 0 for setting DO level low.

Attribute

Return of Message

OK: SET_DO='1,0'
or

ERROR: invalid parameters

Applicability

Status

Valid

See Also

DIO_STATUS, DIO_OUTOUT

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&SET_DO='1,0'
or
http://ip:port/cgi-bin/cmd/encoder?SET_DO='1,0'

Back to

HOME, ENCODER_CGI