Appendix 2 Character Strings That Cannot Be Used In Label Names And Data Names - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured. fundamentals
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Appendix 2
Character strings used for application function names, common instruction names, special instruction names, and instruction
words are called reserved words.
These reserved words cannot be used for label names or data names. If the character string defined as a reserved word is
used for a label name or data name, an error occurs during registration or compilation.
The following tables shows character strings that cannot be used for label names or data names.
The numbers from (1) to (9) in the tables indicate the following label names and data names.
<Label name and data name>
(1)
Project file name
(2)
Program file name (Simple (without labels))
(3)
Program file name (Simple (with labels))
(4)
Program file name (structure)
(5)
Task name
(6)
Global label data name
(7)
Structure name
(8)
POU name
(9)
Label name
: Applicable, : With restrictions, : Not applicable
Category
Class identifier
Data type
Data type hierarchy
Device name
Character string
recognized as device
(Device name +
Numeral)
ST operator
IL operator
APPX
100

Appendix 2 Character Strings That Cannot Be Used in Label Names and Data Names

Character Strings That Cannot Be Used
in Label Names and Data Names
Character string
VAR, VAR_RETAIN, VAR_ACCESS, VAR_CONSTANT,
VAR_CONSTANT_RETAIN, VAR_INPUT,
VAR_INPUT_RETAIN, VAR_OUTPUT,
VAR_OUTPUT_RETAIN, VAR_IN_OUT, VAR_IN_EXT,
VAR_EXTERNAL, VAR_EXTERNAL_CONSTANT,
VAR_EXTERNAL_CONSTANT_RETAIN,
VAR_EXTERNAL_RETAIN, VAR_GLOBAL,
VAR_GLOBAL_CONSTANT,
VAR_GLOBAL_CONSTANT_RETAIN,
VAR_GLOBAL_RETAIN
BOOL, BYTE, INT, SINT, DINT, LINT, UINT, USINT, UDINT,
ULINT, WORD, DWORD, LWORD, ARRAY, REAL, LREAL,
TIME, STRING, TIMER, COUNTER, RETENTIVETIMER,
POINTER, Bit, Word [Unsigned]/Bit String [16-bit], Double
Word [Unsigned]/Bit String [32-bit], Word [Signed], Double
Word [Signed], FLOAT (Single Precision), FLOAT (Double
Precision), String, Time, Timer, Counter, Retentive Timer,
Pointer
ANY, ANY_NUM, ANY_BIT, ANY_REAL, ANY_INT,
ANY_DATE
ANY_SIMPLE, ANY16, ANY32
X, Y, D, M, T, B, C, F, L, P, V, Z, W, I, N, U, J, K, H, E, A, SD,
SM, SW, SB, FX, FY, DX, DY, FD, TR, BL, SG, VD, ZR, ZZ
Such as X0
NOT, MOD
(, ), -
LD, LDN, ST, STN, S, S1, R, R1, AND, ANDN, OR, ORN,
XOR, XORN, ADD, SUB, MUL, DIV, GT, GE, EQ, NE, LE,
LT, JMP, JMPC, JMPCN, CAL, CALC, CALCN, RET, RETC,
RETCN
LDI, LDP, LDPI, LDF, LDFI, ANI, ANDP, ANDPI, ANDF,
ANDFI, ANB, ORI, ORP, ORPI, ORF, ORFI, ORB, MPS,
MRD, MPP, INV, MEP, MEF, EGP, EGF, OUT(H), SET, RST,
PLS, PLF, FF, DELTA(P), SFT(P), MC, MCR, STOP, PAGE,
NOP, NOPLF
(1)
(2)
(3)
(4)
*2
(5)
(6)
(7)
(8)
(9)
*1
*1
*3
*1
*1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec f seriesMelsec l series

Table of Contents