4. Communication Command
1)
De-limitter is fixed to be CR+LF.
2)
Command format except command type will be ignored.
S20
RA±□□□□□□□
A position counter read request
(the least significant 7 digit)
S22
RB±□□□□□□□
B position counter read request
(the least significant 7 digit)
S24
RC±□□□□□□□
C position counter read request
(the least significant 7 digit)
S26
RD±□□□□□□□
D position counter read request
(the least significant 7 digit)
SA±□□・・・□□
A position counter preset
(must be in within 10digit)
If the value is over the range,
maximun(or minimum) value is set.
SB±□□・・・□□
B position counter preset
(must be in within 10digit)
If the value is over the range,
maximun(or minimum) value is set.
SC±□□・・・□□
C position counter preset
(must be in within 10digit)
If the value is over the range,
maximun(or minimum) value is set.
SD±□□・・・□□
D position counter preset
(must be in within 10digit)
If the value is over the range,
maximun(or minimum) value is set.
VER?
1.00 12-09-03 ER4C-04
Firmware version read request
(in case of Ver.1.00)
FROM?
FROM0 or FROM1
current FROM read
FROM0, FROM1
FROM select
(□ : decimal ASCII data)
Additional Command (Rev.2~)
ZC□
Z-phase counter clear request (channel A~D)
The request is cancelled by Z-phase signal input or
“ZN□” command.
ZN□
Z-phase counter clear cancel
(channle A~D)
ZT□△
Select "Z-phase rising edge" or "Z-phase falling edge",
to set the timing of clearing the counter. (channel A~D)
ZS□
Z□○△
Z-phase counter clear status read
(channel A~D)
VERH?
HD-Ver.02
Hardware version read request
(in case of Ver.02)
□:A~D
(channel A~D)
○:C or N
(C: clear flag ON, N: clear flag OFF)
△:U or D
(U:rising edge, D:falling edge)
※ When MULT-P is 1times, the setting of counter clear timing by Z-phase is ignored.
Counter clear timing is syncronized with couting.
command type
reply
explanation
command type
reply
explanation
5