Mitsubishi Electric CR800 Series Ethernet Function Instruction Manual page 80

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

Advertisement

3 Description of functions
When word devices for reading data contain other than integers (real numbers, character strings),
stored values are read as integer values.
When D0 to D1 contains a real number (0.75), D0 = 0000H, and D1 = 3F40H.
When D2 to D3 contains a character string ("12AB"), D2 = 3231H, and D3 = 4241H.
• Precautions
When performing data communication with ASCII data, process as follows when passing character strings from
external devices to the CPU module.
The procedure for converting data received by SLMP-compatible devices from external devices to binary code
data, and writing it to a specified device is described below.
1. Expand character strings sent from external devices to 2-byte code per one character.
2. Rearrange the character strings expanded to 2-byte code per one character, and send them to the
SLMP-compatible device.
3. Write the data sent to the SLMP-compatible device to the specified device.
The following is an example of a case where a character string ("18AF") received from an external device is
converted to binary code data, and written to D0 to D1.
1. Expand the character string ("18AF") sent from the external device to 2-byte code per one character.
All codes
2. Rearrange the character strings expanded to 2-byte code per one character, and send them to the
SLMP-compatible device.
3. Write the "38314641" data sent to the SLMP-compatible device to D0 to D1.
Received data
converted to binary
code and written
Numbers expressing
value for each byte
3-54

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr751 seriesCr750 series

Table of Contents