30
YASKAWA
SIEP C730600 86F MECHATROLINK-II Technical Manual
■
CONNECT: 0E (Hex.) (Connect)
Byte
Command
Response
1
CONNECT
CONNECT
2
0
ALARM
3, 4
STATUS
5
VER
VER
6
COM_MOD
COM_MOD
7
COM_TIM
COM_TIM
8 - 15
0
0
16
WDT
RWDT
The CONNECT command establishes a MECHATROLINK connection. The phase moves to communication
phase 2 and 3 after the connection is established.
If a transfer fault is detected after moving to phase 2 or phase 3, notification is given of the fault. In phase 1, no
notification is given even if a transfer fault is detected. Set VER (version) to 21 (Hex.) (Ver. 2.1) for
MECHATROLINK-II, and to 10 (Hex.) (Ver. 1.0) for MECHATROLINK-I.
The communications mode is set by the COM_MOD. For details on the settings, refer to the following
description.
MECHATROLINK-II (VER: 21 (Hex.))
COM_MOD
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SUBCMD
0
0
0
DTMOD
SYNCMOD
0
SUBCMD
Sub-command setting
0
Sub-command not used
1
Sub-command used
DTMOD
Communication Mode
00
Single data transfer mode
SYNCMOD
Transmission Synchronization
0
Move to phase 2
1
Move to phase 3
Note:
If Bit6, Bit5, Bit4, or Bit0 is set to 1, a warning will be generated (Data setting warning: A.94).
COM_TIM
Set the factor of the transmission cycle to COM_TIM (communications time) so that the setting range satisfies the
following formulas.
•
When the transmission cycle is equal to the communications time (COM_TIM = 1):
–
32-byte data transmission
1 [ms] ≤ transmission cycle [ms] ≤ 8 [ms]
If the transmission cycle is set to a fractional value, a warning (Data setting warning: A.94) is generated.
–
17-byte data transmission
0.5 [ms] ≤ transmission cycle [ms] ≤ 8 [ms]
If the transmission cycle is not set to a multiple of 0.5 ms, such as 0.75, a warning (Data setting warning:
A.94) is generated.
•
When the transmission cycle is not equal to the communications time (COM_TIM ≠ 1):
A warning (Data setting warning: A.94) is generated.
MECHATROLINK-I (VER: 10 (Hex.))
COM_MOD
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
0
0
0
0
DTMOD
SYNCMOD
EXMOD
DTMOD
Communication Mode
00
Single data transfer mode
SYNCMOD
Transmission Synchronization
0
Move to phase 2 (Asynchronous communications status)
1
Move to phase 3 (Synchronous communications status)