Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual page 377

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

• 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 timer
RETENTIVETIMER
Long timer
LTIMER
Long retentive timer
LRETENTIVETIMER
Counter
COUNTER
Long counter
LCOUNTER
*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 330 DEVICES
The specification method of each member is the same as that of the structure data type. ( Page 381 Structures)
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)
22
0 (FALSE), 1 (TRUE)
*1
0 to 65535
0 (FALSE), 1 (TRUE)
0 (FALSE), 1 (TRUE)
*1
0 to 4294967295
0 (FALSE), 1 (TRUE)
0 (FALSE), 1 (TRUE)
*1
0 to 4294967295
0 (FALSE), 1 (TRUE)
0 (FALSE), 1 (TRUE)
0 to 65535
0 (FALSE), 1 (TRUE)
0 (FALSE), 1 (TRUE)
0 to 4294967295
22 LABELS
375
22.4 Data Types

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents