background image

R7ML-YS2

P. 6 / 10

EM-7805-E Rev.2

MECHATROLINK RELATED COMMANDS

 

MECHATROLINK DATA LINK LAYER COMMAND DESCRIPTIONS

The R7ML, Intelligent I/O, performs the connection-type communications according to MECHATROLINK protocol.
The following tables explain Data Link Layer Commands supported by the R7ML.

• 

MDS Command (04H) Data Format

Byte

COMMAND

RESPONSE

REMARKS

0

MDS (04H)

S (0) (90H)

Message Data Search (MDS) Command: Read the ID from the slave station
S (0): Response to MDS

1

0

ID1 (00H)

2

0

ID2 (80H)

Intelligent I/O specified

3

0

0

4

0

0

5

0

0

6

0

0

7

0

0

8

0

0

9

0

0

10

0

0

11

0

0

12

0

0

13

0

0

14

0

0

15

0

0

16

0

0

17

:

31

0

:

0

0

:

0

Byte 17 through 31 are always 0 in the 32-byte mode.
These bytes are unavailable for MECHATROLINK-I, or MECHATROLINK-II in the 17-
byte mode.

• 

CDRW Command (03H) Data Format

Byte

COMMAND

RESPONSE

REMARKS

0

CDRW 

(03H)

ACK 

(01H)

Cyclic Data Read/Write (CDRW) Command: Link transmission
Acknowledge (ACK): Positive response to CDRW

1

CMD

RCMD

CMD: Application Layer Command
RCMD: Response to Application Layer Command

2

:

16

Byte 2 through 16 depend upon the Application Layer Command type.

17

:

31

Byte 17 through 31 depend upon the Application Layer Command type.
These bytes are unavailable for MECHATROLINK-I, or MECHATROLINK- II in the 17-
byte mode.

056 222 38 18

[email protected]

www.sentronic.com

SENTRONIC

AG

Summary of Contents for R7ML-YS2-R

Page 1: ... 24V DC rating 24V 10 approx 130mA GENERAL PRECAUTIONS Before you remove the unit or mount it turn off the power supply and output signal for safety ENVIRONMENT Indoor use When heavy dust or metal particles are present in the air install the unit inside proper housing with sufficient ventilation Do not install the unit where it is subjected to continuous vibration Do not subject the unit to physic...

Page 2: ...Rotary SW MECHATROLINK Connector Station Address Setting Rotary SW Status Indicator LED Operating Mode Setting DIP SW SW1 PC Configurator Jack Power Supply Terminals MECHATROLINK Connector LEFT SIDE VIEW FRONT VIEW 89A B C D E F 0 1 2 3 4 5 6 7 89A B C D E F 0 1 2 3 4 5 6 7 Output Terminals 2 3 4 1 5 10 7 8 9 6 056 222 38 18 mailbox sentronic com www sentronic com SENTRONICAG ...

Page 3: ... 17 byte mode EXTENSION MODULE Combinations with any extension module is selectable OPERATING MODE Factory setting Extension SW1 1 1 2 SW1 1 SW1 2 Extension OFF OFF No extension ON OFF Discrete input 8 or 16 points OFF ON Discrete output 8 or 16 points Output at the loss of communication SW1 4 SW1 4 Output at the loss of communication OFF Reset the output to 15 ON Hold the output maintains the las...

Page 4: ...4 2 3 4 1 5 10 7 8 9 6 10 M3 SCREW TERMINALS for OUTPUT 6 24 CONNECTION DIAGRAM Connect the unit as in the diagram below EXTENSION CONNECTOR 7 I0 2 COM0 9 4 OUTPUT 0 I1 COM1 OUTPUT 1 7 6 3 0V 24VDC FG MECHATROLINK CONNECTOR MECHATROLINK CONNECTOR MECHATROLINK connectors are internally connected The network cable can be connected to either one 056 222 38 18 mailbox sentronic com www sentronic com S...

Page 5: ...ve SRD SRD SLD SRD SRD SLD Slave SRD SRD SLD MECHATROLINK Cable MECHATROLINK Cable MECHATROLINK COMMUNICATION MECHATROLINK I Baud rate 4 Mbps Transmission distance 50 m max Distance between stations 30 cm min Transmission media MECHATROLINK cable Model JEPMC W6003 x E Yaskawa Controls Co Ltd Max number of slaves 15 The maximum number of slaves might change depending on the master unit Refer to the...

Page 6: ... 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 31 0 0 0 0 Byte 17 through 31 are always 0 in the 32 byte mode These bytes are unavailable for MECHATROLINK I or MECHATROLINK II in the 17 byte mode CDRW Command 03H Data Format Byte COMMAND RESPONSE REMARKS 0 CDRW 03H ACK 01H Cyclic Data Read Write CDRW Command Link transmission Acknowledge ACK Positive response to CDRW 1 CMD RCMD CMD Application ...

Page 7: ...RESPONSE REMARKS 0 CDRW 03H ACK 01H Cyclic Data Read Write CDRW Command Link transmission Acknowledge ACK Positive response to CDRW 1 ID_RD 03H ID_RD 03H Read ID ID_RD Command Read out the device ID 2 0 ALARM Error code See MECHATROLINK DATA DESCRIPTIONS 3 0 STATUS1 Status code See MECHATROLINK DATA DESCRIPTIONS 4 0 STATUS2 Status code See MECHATROLINK DATA DESCRIPTIONS 5 DEVICE_ CODE DEVICE_ CODE...

Page 8: ...ion cycle 8 0 0 9 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 31 0 0 0 0 Byte 17 through 31 are always 0 in the 32 byte mode These bytes are unavailable for MECHATROLINK I or MECHATROLINK II in the 17 byte mode DISCONNECT Command 0FH Data Format Byte COMMAND RESPONSE REMARKS 0 CDRW 03H ACK 01H Cyclic Data Read Write CDRW Command Link transmission Acknowledge ACK Positive response to CD...

Page 9: ...lid Command Command is not supported Warning 02H Command Not Allowed Command execution conditions are not met Warning 03H Invalid Data Data in the command is not correct Warning 04H Synchronization Error Alarm STATUS1 Bit Allocations Alarm Warning classification and status information are set at STATUS1 in the response and sent to the master Bit DEFINITION DESCRIPTION 0 Alarm Bit 0 Normal 1 Alarm ...

Page 10: ...ule output data in the command are repeated and sent back to the master ID DESCRIPTION REMARKS EXT IN LO Extension data low 8 bits R7ML EA16 R7ML EA8 Bit 0 through 7 data are set R7ML EC16x R7ML EC8x Output data are repeated EXT IN HI Extension data high 8 bits R7ML EA16 Bit 8 through 15 data are set R7ML EC16x Output data are repeated R7ML EA8 R7ML EC8x Unused Extension Output Data Output data to...

Reviews: