22 LABELS
22.4 Data Types
375
22
• 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.
*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.
The specification method of each member is the same as that of the structure data type. (
Data type
Member
name
Member data type
Description
Value range
Timer
TIMER
S
Bit
Indicates a contact. The operation is the same
as the contact (TS) of a timer device.
0 (FALSE), 1 (TRUE)
C
Bit
Indicates a coil. The operation is the same as
the coil (TC) of a timer device.
0 (FALSE), 1 (TRUE)
N
Word [unsigned]/bit
string [16 bits]
Indicates the current value. The operation is the
same as the current value (TN) of a timer
device.
0 to 65535
Retentive timer
RETENTIVETIMER
S
Bit
Indicates a contact. The operation is the same
as the contact (STS) of a retentive timer device.
0 (FALSE), 1 (TRUE)
C
Bit
Indicates a coil. The operation is the same as
the coil (STC) of a retentive timer device.
0 (FALSE), 1 (TRUE)
N
Word [unsigned]/bit
string [16 bits]
Indicates the current value. The operation is the
same as the current value (STN) of a retentive
timer device.
0 to 65535
Long timer
LTIMER
S
Bit
Indicates a contact. The operation is the same
as the contact (LTS) of a long timer device.
0 (FALSE), 1 (TRUE)
C
Bit
Indicates a coil. The operation is the same as
the coil (LTC) of a long timer device.
0 (FALSE), 1 (TRUE)
N
Double word [unsigned]/
bit string [32 bits]
Indicates the current value. The operation is the
same as the current value (LTN) of a long timer
device.
0 to 4294967295
Long retentive timer
LRETENTIVETIMER
S
Bit
Indicates a contact. The operation is the same
as the contact (LSTS) of a long retentive timer
device.
0 (FALSE), 1 (TRUE)
C
Bit
Indicates a coil. The operation is the same as
the coil (LSTC) of a long retentive timer device.
0 (FALSE), 1 (TRUE)
N
Double word [unsigned]/
bit string [32 bits]
Indicates the current value. The operation is the
same as the current value (LSTN) of a long
retentive timer device.
0 to 4294967295
Counter
COUNTER
S
Bit
Indicates a contact. The operation is the same
as the contact (CS) of a counter device.
0 (FALSE), 1 (TRUE)
C
Bit
Indicates a coil. The operation is the same as
the coil (CC) of a counter device.
0 (FALSE), 1 (TRUE)
N
Word [unsigned]/bit
string [16 bits]
Indicates the current value. The operation is the
same as the current value (CN) of a counter
device.
0 to 65535
Long counter
LCOUNTER
S
Bit
Indicates a contact. The operation is the same
as the contact (LCS) of a long counter device.
0 (FALSE), 1 (TRUE)
C
Bit
Indicates a coil. The operation is the same as
the coil (LCC) of a long counter device.
0 (FALSE), 1 (TRUE)
N
Double word [unsigned]/
bit string [32 bits]
Indicates the current value. The operation is the
same as the current value (LCN) of a long
counter device.
0 to 4294967295
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......