18
6.4.3. T command
function
Output a pulse to the control signal "TRG"
format
T
CR LF
return value
OK
CR LF
: Pulse output complete
NG
CR LF
: Pulse output error
6.4.4. C command
function
Output a pulse to the control signal "CLR"
format
C
CR LF
return value
OK
CR LF
: Pulse output complete
NG
CR LF
: Pulse output error
6.4.5. D command
function
Input/output settings for the four ports.
When the ZS-6822A is powered on, all are set to input.
format
Dxxxx
CR LF
: After "D", set port
①
, port
②
, port
③
, and port
④
in this order.
x writes "I" for IN for input and "O" for OUT for output.
return value
OK
CR LF
: Setting complete
NG
CR LF
: Input/output setting error, setting character error
6.4.6. P command
function
The pulse widths of the control signals "STB," "TRG," and "CLR" and the pulse width
at data output can be set from one of five types: 10µs, 100µs, 1ms, 10ms, and 100ms.
When the ZS-6822A is powered on, it is set to 10µs.
format
Px
CR LF
: x is a number. The number assignment is as follows.
0...10 µs, 1...100 µs, 2...1 ms
3...10ms, 4...100ms
return value
OK
CR LF
: Setting complete
NG
CR LF
: Setting error, wrong setting error