Data Type Id - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Data type ID

The data type of the read label is stored.
When writing data, the data type ID is not specified. The specified Follow the data type of the specified label.
The value of data type ID of each data type is shown below.
Data type
Bit
Word [Unsigned]/Bit String [16-bit]
Double Word [Unsigned]/Bit String [32-bit]
Word [Signed]
Double Word [Signed]
FLOAT [Single Precision]
FLOAT [Double Precision]
Time
String
String[Unicode]
Pointer
Timer
Counter
Retentive timer
Long timer
Long counter
Long retentive timer
For an array type label and a structure type label, the data type of the element from which value is read is stored.
Setting method
■Data communication in ASCII code
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send a 1-byte numerical value.
Ex.
Double Word [Signed]
ASCII code
0
5
30
35
H
H
9 LABEL ACCESS
132
9.1 Data to be Specified in Commands
Data type ID
(decimal)
1
2
3
4
5
6
7
8
9
10
Cannot be specified.
Contact
1
Coil
Current value
2
Contact
1
Coil
Current value
3
Binary code
05
H
Setting value
(hexadecimal)
01H
02H
03H
04H
05H
06H
07H
08H
09H
0AH
01H
02H
01H
03H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents