M-system R7ML-LC2 Instruction Manual Download Page 6

R7ML-LC2

EM-7805-AX 

P. 6 / 10

5-2-55, Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN
Phone: +81(6)6659-8201   Fax: +81(6)6659-8510   E-mail: [email protected]

MECHATROLINK RELATED COMMANDS

Related commands are as follows.
Command of MECHATROLINK has a two-layer structure, which is composed of Data Link Layer (upper layer) and 
Application Layer (lower layer).  All the Application Layer Commands are located in lower layer of Data Link Layer (CDRW). 

COMMAND NAME

COMMAND (hexadecimal)  DESCRIPTION

Data Link Layer Command

MDS

04H

Product type reading 

CDRW

03H

Data transmission

Application Layer Command

NOP

00H

Invalid

ID_RD

03H

Product information reading 

CONNECT

0EH

Communication start with master 

DISCONNECT

0FH

Communication stop with master 

DATA_RWA

50H

I/O data update

 

DATA LINK LAYER COMMAND

• MDS (04H) Command Data Format

  Reads product type

Byte

COMMAND (hexadecimal)

RESPONSE (hexadecimal)

REMARKS

0

04H

90H

Product type reading 

1

00H

00H

Reserved

2

00H

80H

Intelligent I/O

3 – 31

00H

00H

3 – 17 bytes at 17 bytes mode

• CDRW (03H) Command Data Format

  Data transmission command is located in upper layer of  Application Layer Command.

Byte

COMMAND (hexadecimal)

RESPONSE (hexadecimal)

REMARKS

0

03H

90H

Data transmission

1

CMD

RCMD

CMD : Application Layer command
RCMD : Response (Same value as Application Layer Command)

2

00H

ALARM

Error code (Refer to the following table)

3

00H

STATUS1

Transmission status (Refer to the following table)

4

0H

STATUS2

Reserved

5 – 31

XX

YY

Depend upon the Application Layer Command

• ALARM

  

Communication error codes at the slave are sent to the master 

ERROR CODE (hexadecimal)

DESCRIPTION

CLASSIFICATION

00H

MECHATROLINK communication is in normal status

----

01H

Unsupported command is received.

Warning

02H

Command execution conditions are not met.

Warning

03H

Data in the command is not correct.

Warning

04H

Synchronization Error

Error

• STATUS1

  

The status of the slave is sent to the master in accordance with the classification of the error codes at ALARM.

Bit

DEFINITION

DESCRIPTION

0

Error Bit

1 : Error, 0 : Normal

1

Warning Bit

1 : Warning, 0 : Normal

2

Command Ready Bit

1 : Command can be accepted (ready), 0 : Command cannot be accepted (busy)

3 – 7

Unused

----

Summary of Contents for R7ML-LC2

Page 1: ...the protection level of this unit when it is integrated in a panel system The user may have to review the CE requirements in regard to the whole system and employ additional protective measures to ens...

Page 2: ...1 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 9 A B C D E F 4 5 6 7 1 2 3 10 11 12 13 2 3 4 1 15 16 17 18 7 8 9 6 14 5 MECHATROLINK Setting Rotary SW MECHATROLINK Connector Station Address Setting Rotary SW Statu...

Page 3: ...1 7 SW1 4 SW1 5 SW1 6 SW1 7 Averaging OFF OFF OFF OFF 2 samples ON OFF OFF OFF 4 samples OFF ON OFF OFF 8 samples ON ON OFF OFF 16 samples OFF OFF ON OFF 32 samples ON OFF ON OFF 64 samples OFF ON ON...

Page 4: ...V 3 FG SLD0 INPUT 0 EXCITATION 0 V0 C0 C1 V1 Strain Gauge INPUT 0 OUTPUT 0 SLD1 INPUT 1 EXCITATION 1 INPUT 1 OUTPUT 1 MECHATROLINK CONNECTOR MECHATROLINK CONNECTOR MECHATROLINK connectors are internal...

Page 5: ...nating resistors Consult the instruction manual for the Master SRD SRD SLD SRD SRD SLD Slave SRD SRD SLD SRD SRD SLD Slave SRD SRD SLD MECHATROLINK Cable MECHATROLINK Cable MECHATROLINK COMMUNICATION...

Page 6: ...H 00H 3 17 bytes at 17 bytes mode CDRW 03H Command Data Format Data transmission command is located in upper layer of Application Layer Command Byte COMMAND hexadecimal RESPONSE hexadecimal REMARKS 0...

Page 7: ...es 8 15 00H ID Product information data 16 31 00H 00H Unused CONNECT 0EH Command Data Format Starts communication with the master Byte COMMAND hexadecimal RESPONSE hexadecimal REMARKS 5 VER VER MODE S...

Page 8: ...11 00H Input 3 low 8 bit 12 00H Input 3 high 8 bit 13 Discrete output data of extension module low 8 bit Discrete input data of extension module low 8 bit or echo back of set value at command area 14...

Page 9: ...Unused 13 Discrete output data of extension module low 8 bit Discrete input data of extension module low 8 bit or echo back of set value at command area 14 Discrete output data of extension module hi...

Page 10: ...the actual load to the sensor 2 Set 2000 decimal to Input set data area 3 Set 1 to Span adjustment bit When the adjustment is completed LED2 for Input 0 or LED10 for Input 1 turns on 4 After checking...

Reviews: