Label data
The following table lists labels that can be used to specify the setting data of instructions.
■Primitive data type
Data type (label)
Bit
(BOOL)
Word [unsigned]/bit string [16 bits]
(WORD)
Double word [unsigned]/bit string [32 bits]
(DWORD)
Word [signed]
(INT)
Double word [signed]
(DINT)
Single-precision real number
(REAL)
Double-precision real number
(LREAL)
Time
(TIME)
Character string
(STRING)
Character string [Unicode]
(WSTRING)
1 OVERVIEW
18
1.2 Data Specification Method
Specifiable label
• Bit type label
• Bit-specified word [unsigned]/bit string [16 bits] type label
• Bit-specified word [signed] type label
• Timer/retentive timer/long timer/long retentive timer type label contact/coil
• Counter/long counter type label contact/coil
• Word [unsigned]/bit string [16 bits] type label
• Current value of timer/retentive timer type label
• Current value of counter type label
• Double word [unsigned]/bit string [32 bits] type label
• Current value of long timer/long retentive timer type label
• Current value of long counter type label
• Word [signed] type label
• Current value of timer/retentive timer type label
• Current value of counter type label
• Double word [signed] type label
• Current value of long timer/long retentive timer type label
• Current value of long counter type label
• Single-precision real data type label
• Double-precision real data type label
• Time type label
• Character string type label
• Character string [Unicode] type label