Mitsubishi Electric CR800 Series Ethernet Function Instruction Manual page 75

Electric industrial robot
Hide thumbs Also See for CR800 Series:
Table of Contents

Advertisement

 First device No. (device No.)
Specify the device No. for reading/writing data. When consecutive devices are specified, specify the first device No.
Specify the first device No. in decimal or hexadecimal depending on the device type.
• When performing data communication in ASCII code
Use device Nos. by converting them to ASCII code (6 or 8 digits), and send them in the order higher-order byte to
lower-order byte.
With subcommands 0003, 0002 and 0001, 0000, the number of digits converted to ASCII code will differ.
Subcommand
0003
Conversion to 8 ASCII
0002
code digits
0001
Conversion to 6 ASCII
0000
code digits
*1: Send in order from 0. The higher-order digit 0 can also be specified with a space (code: 20H).
• When performing data communication in binary code
Use numerical values (3 or 4 bytes), and send data in the order from lower-order byte to higher-order byte. When
the device No. is a decimal device, convert it to a hexadecimal value and send.
With subcommands 0003, 0002 and 0001, 0000, the data size of the numerical values will differ.
Number of
Subcommand
0003
4 bytes
0002
0001
3 bytes
0000
*1: The device number for internal relay M1234 is in decimal, and must therefore be converted to hexadecimal. This
will be 000004D2H, and should be sent in the order D2H, 04H, 00H, 00H. This will be 00001234H for link relay
B1234, and should be sent in the order 34H, 12H, 00H, 00H.
*2: The device number for internal relay M1234 is in decimal, and must therefore be converted to hexadecimal. This
will be 0004D2H, and should be sent in the order D2H, 04H, 00H. This will be 001234H for link relay B1234, and
should be sent in the order 34H, 12H, 00H.
Number of digits
If device No. is 1234 (8 digits)
If device No. is 1234 (6 digits)
digits
If internal relay M1234, link relay B1234 (4 bytes)
If internal relay M1234, link relay B1234 (3 bytes)
3 Description of functions
Example
*1
*1
Example
*1
*2
3-49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr751 seriesCr750 series

Table of Contents