284
Communication
• Data Block Composition
Below shows the composition of data block which is transmitted in physical phase.
N: Command byte counts (0 to 240)
Shows the number of parameters which are required by command.
axis : Sets up the value of RSW of the front panel (Module ID,
command : Control command (0 to 15)
mode : Command execution mode (0 to 15)
Contents vary depending on the mode.
check sum : 2's complement of the total number of bytes, ranging from the top to the end of the block
N
axis
Parameter
(N byte)
check sum
(1 byte)
commandmode
• Protocol Parameter
Following parameters are used to control the block transmission. You can set any value with the INIT
command (described later).
Title
T1
T2
RTY
M/S
Initial value
5 (0.5 sec)
1 (0.1 sec)
5 (0.5 sec)
1 (0.1 sec)
1 (once)
0 (Slave)
Setup range
1–255
1–255
1–8
0, 1 (Master)
Unit
0.1 sec
1 sec
Once
Function
Time out between characters
Protocol time out
Retry limit
Master/Slave
RS232
RS485
RS232
RS485
T1 ....... • Permissible time interval for this driver to receive the consecutive character cods which exists
between the module recognition bytes and ENQ/EOT, or in the transmission/reception data
block. Time out error occurs and the driver returns NAK to the transmitter when the actual
reception time has exceeded this setup time
T2 ....... • Permissible time interval for the driver to transmit ENQ and to receive EOT. If the actual recep-
tion time exceeds this setup, this represents that the receiver is not ready to receive, or it has
failed to receive ENQ code in some reason, and the driver will re-transmit ENQ code to the
receiver. (retry times)
• Permissible time interval for the driver to transmit EOT and to receive the reception of the 1st
character code. The driver will return NAK and finishes the reception mode if the actual recep-
tion has exceeded this setup time.
•Permissible time interval for the module to transmit the check sum bytes and to receive ACK.
The module will re-transmit ENQ code to the receiver in the same way as the NAK reception, if
the actual reception time exceeds this setup time.
RTY .... Maximum value of retry times. Transmission error occurs if the actual retry has exceeds this
setup value.
M/S ..... Switching of master and slave. When contention of ENQ has occurred, the module decides which
is to be given priority.
Priority is given to the transmitter which is set up as a master. (0: Slave mode, 1 : Master mode)