162
Communications
Configuration of Data Block
A data block to be transmitted in physical phase is configured as illustrated below:
N : This is the number of command bytes (0 - 240),
which indicates the number of parameters needed by a command.
axis : This defines a module ID assigned to parameter No.00 axis name of the driver. (1 - 15)
command : This is the control command (0 - 15).
mode : This is the command execution mode (0 - 15),
which differs depending on a command.
check sum : This is 2’s complement of the total number of bytes, ranging from the first byte to the byte immedi-
ately before the checksum byte.
N
axis
Parameter
(N bytes)
check sum
1 byte
commandmode
Protocol Parameter
The following parameters can control transfer of a block. A user can set these parameters to any value with INIT
command to be described later.
T1 .... • This is allowable time between module identification byte and ENQ/EOT, or time from reception of a
character code by this device to that of a next character code in a transmission/reception data block.
When this specified time is exceeded, timeout error occurs and NAK is returned to the transmitting
module.
T2 .... • This is allowable time after this device transmits ENQ till it receives EOT. When this specified time is
exceeded, it means that the receiving module is not ready to receive data or fails to receive ENQ code
for some reason. In this case, ENQ code will be resent to the receiving module (number of retries).
• This is allowable time after EOT is sent out till a first character is received. When this specified time is
exceeded, NAK is returned and the receiving mode ends.
• This is allowable time after checksum byte is sent out till ACK is received. When this specified time is
exceeded, ENQ code is resent to the receiving module, as in the case of reception of NAK.
RTY .....This shows the maximum number of retries. When this specified value is exceeded, transmission error
occurs.
M/S..... This shows switching of a master/slave. When conflict of ENQ transmission occurs, this parameter
determines to which priority is given. (0=slave mode, 1=master mode) Transmission of the module
defined as a master should take precedence.
Name
T1
T2
RTY
M/S
Initial Value
5 (0.5 second)
10 (10 seconds)
1 (once)
0 (slave)
Range of Settings
1 - 255
1 - 255
1 - 8
0, 1( master)
Unit
0.1 second
1 second
once
Function
Timeout between character transmissions
Protocol time limit
Retry limit
Master/slave