
3.PERIPHERAL EQUIPMENT CONTROL HANDLING B-65395EN/01
- 72 -
3.1 COMMAND FORMAT FOR PERIPHERAL EQUIPMENT
CONTROL
The servo amplifier module receives a command, issued in the specified
format, from the host, then executes a sequence of operations for
performing peripheral equipment control. When a command for reading
the current position is specified, the servo amplifier module returns the
result of command execution to the host. The command and result are
exchanged, in an interface area, in the formats shown below.
● General format of instruction commands (host → servo amplifier
module)
7 6 5 4 3 2 1 0
Yy+2 Function code Command data 1
Yy+3
Yy+4 Command data 2
Yy+5
Yy+6
●
General format of response commands (servo amplifier module →
host)
7 6 5 4 3 2 1 0
Xx+3
Xx+4 Response data
Xx+5
Xx+6
● Data types
7 6 5 4 3 2 1 0 BIT
Byte type:
(BYTE)
7 6 5 4 3 2 1 0 BIT
Word type: Lower byte
(WORD) Higher byte
Data = (higher byte)*256 + (lower byte)
7 6 5 4 3 2 1 0 BIT
Lowest byte
Second lowest byte
Second highest byte
Double
precision
type
(DWORD):
Highest byte
Data = (highest byte)*16777216
+ (second highest byte)* 65536
+ (second lowest byte)*256
+ (lowest byte)