7-33
1
Before
Using
the
Products
2
Preparation
3
Connection
4
Setup
5
Adjustment
6
When
in
Trouble
7
Supplement
• 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 Pr5.31.(0 to 127)
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
• Protocol Parameter
Following parameters are used to control the block transmission. You can set any
value with the INIT command (described later).
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 recep-
tion 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 re-
ceiver. (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 reception
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.
T6: • Permissible time interval for the driver to receive ENQ and to transmit EOT; Permissible time
interval for the driver to receive the check sum bytes and to transmit ACK; and Permissible time
interval for the driver to receive EOT and to transmit the 1st character.
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)
N
axis
Parameter
(N byte)
check sum
(1 byte)
command
mode
Title
T1
T2
T6
RTY
M/S
Initial value
5 (0.5 sec)
1 (0.1 sec)
5 (0.5 sec)
1 (0.1 sec)
0 (0ms)
6 (6ms)
1 (once)
0 (Slave)
Setup range
1 to 255
1 to 255
0 to 255
2 to 255
1–8
0, 1 (Master)
Unit
0.1 sec
1 sec
1 ms
Once
Function
Time out between characters
Protocol time out
Driver response time
Retry limit
Master/Slave
RS232
RS485
RS232
RS485
RS232
RS485
4. Communication
Specifications
Содержание MADHT1105
Страница 36: ...1 24 MEMO ...
Страница 118: ...2 82 MEMO ...
Страница 168: ...3 50 MEMO ...
Страница 272: ...5 42 MEMO ...
Страница 351: ...7 55 1 Before Using the Products 2 Preparation 3 Connection 4 Setup 5 Adjustment 6 When in Trouble 7 Supplement MEMO ...
Страница 367: ...7 71 1 Before Using the Products 2 Preparation 3 Connection 4 Setup 5 Adjustment 6 When in Trouble 7 Supplement MEMO ...