562
34 SAFETY DEVICES, SAFETY LABELS, AND CONSTANTS
34.5 Constants
Data types
Primitive data type
The following table lists the availability of primitive data types.
: Applicable,
: Not applicable
Structures
The structure definition is shared by standard programs and safety programs. However, it cannot be used in the following
cases.
• A member of the primitive data type which cannot be used in safety programs exists.
• An initial value is set in the structure definition.
34.5
Constants
The decimal constant (K) and hexadecimal constant (H) can be used in safety programs. The specification method is the
same as that for standard programs. (Example: K1234, H1FFF) (
Data type
Availability
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
String
STRING
String [Unicode]
WSTRING
Timer
TIMER
Retentive timer
RETENTIVETIMER
Long timer
LTIMER
Long retentive timer
LRETENTIVETIMER
Counter
COUNTER
Long counter
LCOUNTER
Pointer
POINTER
Содержание MELSEC iQ-R-R00CPU
Страница 2: ......
Страница 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Страница 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Страница 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Страница 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Страница 524: ...522 30 MAINTENANCE AND INSPECTION FOR A REDUNDANT SYSTEM 30 1 Module Replacement in the Redundant System MEMO ...
Страница 1009: ...APPX Appendix 14 List of Available SQL Commands for CPU Module Database Access Function 1007 A MEMO ...
Страница 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Страница 1027: ......