5.Encorder counter
5-1.Read and Preset
5-1-1.Encorder Counter read command
Type of command
S20
chA counter read request.(the least significant 7 digit)
Reply example
RA±□□□□□□□
(□: Decimal number)
Type of command
S30
chA counter read request.(10 digit)
Reply example
RA±□□・・・□□
(□: Decimal number)
Type of command
S22
chB counter read request.(the least significant 7 digit)
Reply example
RB±□□□□□□□
(□: Decimal number)
Type of command
S32
chA counter read request.(10 digit)
Reply example
RB±□□・・・□□
(□: Decimal number)
5-1-2.Encorder Counter preset command
Type of command
SA±□□・・・□□
(must be in within 10digit)
Preset chA counter
If the value is over the range,maximun(or minimum) value is set.
Type of command
SB±□□・・・□□
(must be in within 10digit)
Preset chB counter
If the value is over the range,maximun(or minimum) value is set.
5-2.Encorder Counter setting command
5-2-1.Direction of rotation and Count UP/DOWN
Type of command
S20x
Set chA encorder counter.
x:
F /CW: count up、CCW:count down
R /CCW:count up、CW:count down
1 /1 times
2 /2 times
4 /4 times
Type of command
S22x
Set chB encorder counter.
x:
F /CW: count up、CCW:count down
R /CCW:count up、CW:count down
1 /1 times
2 /2 times
4 /4 times
34/43