
B-65395EN/01 HANDLING 4.DIRECT COMMANDS
- 147 -
(10) Reading data continuously
This function reads from the host the absolute position, machine
position, servo positional deviation, etc. of the servo amplifier
module continuously.
● Instruction command format
#7 #6 #5 #4 #3 #2 #1 #0
Yy+4 Control flag 1
Yy+5 0 1 0 0 0 0 0 1 (0x41)
Yy+6 Number of data items to be read (*1)
Read data specification 1
Read data specification n
(*1) Up to four data items can be specified for reading. When
continuous read operation is canceled, the host sets 0 as the
number of data items.
● Response command format
#7 #6 #5 #4 #3 #2 #1 #0
Xx+4 Control flag 2
Xx+5 0 1 0 0 0 0 0 1 (0x41)
Xx+6 Reserved Execution result
Continuously read data 1
Continuously read data n
NOTE
1 The data length varies according to the specified
data.
2 If a stop command (number of items: 0) is issued,
"0x80" is output as a completion code to Xx+6.
When this response command is read and
EOREND is inverted, continuous data reading ends.
3 If ECONT is "1", this indicates that there is
remaining response command(s). After the current
response command is read, inverting EOREND
causes the remaining command to be output from
Xx+5. Repeat this operation until ECONT becomes
"0".
/
//
/
//