*1 For the number of significant digits and input range of real number data input by the engineering tool, refer to the following.
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
*2 The time type is used in a time data type function of standard functions. For standard functions, refer to the following.
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
*3 For the notation of time, refer to the following.
Page 529 Notation of time
• The bit data in the word type label can be used by specifying a bit number.
• The bit type array label can be used as 16-bit or 32-bit data by specifying the number of digits.
For the bit specification and digit specification methods, refer to the following.
MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
■Timer and counter data types
The data types of the timer, counter, long counter, retentive timer, long retentive timer, and long timer are the structures having
a contact, coil, or current value.
Data type
Timer
TIMER
Retentive
RETENTIVETIMER
timer
Long
LTIMER
timer
Long
LRETENTIVETIMER
retentive
timer
Counter
COUNTER
Long
LCOUNTER
counter
*1 The unit of the current value is set in CPU parameters ("Timer Limit Setting").
For details on the operation of each device, refer to the following.
Page 448 DEVICES
The specification method of each member is the same as that of the structure data type. ( Page 504 Structures)
28 LABELS
498
28.4 Data Types
Member
Member data type
name
S
Bit
C
Bit
N
Word [unsigned]/bit string
[16 bits]
S
Bit
C
Bit
N
Word [unsigned]/bit string
[16 bits]
S
Bit
C
Bit
N
Double word [unsigned]/
bit string [32 bits]
S
Bit
C
Bit
N
Double word [unsigned]/
bit string [32 bits]
S
Bit
C
Bit
N
Word [unsigned]/bit string
[16 bits]
S
Bit
C
Bit
N
Double word [unsigned]/
bit string [32 bits]
Description
Indicates a contact. The operation is the same as the contact
(TS) of a timer device.
Indicates a coil. The operation is the same as the coil (TC) of
a timer device.
Indicates the current value. The operation is the same as the
current value (TN) of a timer device.
Indicates a contact. The operation is the same as the contact
(STS) of a retentive timer device.
Indicates a coil. The operation is the same as the coil (STC) of
a retentive timer device.
Indicates the current value. The operation is the same as the
current value (STN) of a retentive timer device.
Indicates a contact. The operation is the same as the contact
(LTS) of a long timer device.
Indicates a coil. The operation is the same as the coil (LTC) of
a long timer device.
Indicates the current value. The operation is the same as the
current value (LTN) of a long timer device.
Indicates a contact. The operation is the same as the contact
(LSTS) of a long retentive timer device.
Indicates a coil. The operation is the same as the coil (LSTC)
of a long retentive timer device.
Indicates the current value. The operation is the same as the
current value (LSTN) of a long retentive timer device.
Indicates a contact. The operation is the same as the contact
(CS) of a counter device.
Indicates a coil. The operation is the same as the coil (CC) of
a counter device.
Indicates the current value. The operation is the same as the
current value (CN) of a counter device.
Indicates a contact. The operation is the same as the contact
(LCS) of a long counter device.
Indicates a coil. The operation is the same as the coil (LCC) of
a long counter device.
Indicates the current value. The operation is the same as the
current value (LCN) of a long counter device.
Value range
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
*1
0 to 65535
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
*1
0 to 65535
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
0 to
*1
4294967295
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
0 to
*1
4294967295
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
0 to 65535
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
0 to
4294967295