- 21 -
5.4.3. T command
Function
Output the pulse to control signal “TRG”.
Format
T
CR LF
Return value
OK
CR LF
:
Pulse output is completed.
HG
CR LF
:
Pulse output error.
5.4.4. C command
Function
Output the pulse to control signal “CLR”.
Format
C
CR LF
Return value
OK
CR LF
:
Pulse output is completed.
HG
CR LF
:
Pulse output error.
5.4.5. D command
Function
Set the I/O of the four ports. All four ports are set to input when powering on the
ZS-6222.
Format
Dxxxx
CR LF
:
Make setting in the order of port_1, port_2, port_3, and port_4 after
“D”. “x” is writes “I” for input, “O” for output.
Return value
OK
CR LF
:
Setting is completed.
HG
CR LF
:
Setting error, wrong character setting.
5.4.6. P command
Function
The pulse width of the control signal “STB”, “TRG”, “CLR” can be set from 10µs,
100µs, 1ms. It is set to 10µs when powering on the ZS-6222.
Format
P
x
CR LF
:
“x” is 0 for 10µs, 1 for 100µs, 2 for 1ms.
Return value
OK
CR LF
:
Setting is completed.
HG
CR LF
:
Setting error, wrong character setting.
5.4.7. L command
Function
It is possible to set the presence or absence of the latch circuit when inputting data.
It is set without latch circuit when powering on the ZS-6222.
Format
L
x
CR LF
:
“x” is 0 for absence, 1 for presence.