App - 2 App - 2
APPENDICES
Character strings that cannot be used as labels and FB names
T
T, TASK, THEN, TIME, TIME_OF_DAY, TIME_TO_STRING, TO, TOD, TOF, TON, TP, TR, TRAN, TRANA,
TRANC, TRANCA, TRANCO, TRANCOC, TRANCOCJ, TRUNC_DINT (INT, SINT), TRANJ, TRANL,
TRANO, TRANOA, TRANOC, TRANOCA, TRANOCJ, TRANOJ, TRANSITION, TRUE, TYPE
U
U, UDINT, UDINT_TO_BOOL (BYTE, DINT, DWORD, INT, REAL, SINT, STRING, UINT, UNTIL, USINT,
WORD), UINT, UINT_TO_BOOL (BYTE, DINT, DWORD, INT, REAL, SINT, STRING, UDINT, USINT,
WORD), ULINT, UNTIL, USINT, USINT_TO_BOOL (BYTE, DINT, DWORD, INT, REAL, SINT, STRING,
UDINT, UINT, WORD)
V
V, VAR, VAR_CONSTANT, VAR_EXT, VAR_EXTERNAL, VAR_EXTERNAL_FB, VAR_EXTERNAL_PG,
VAR_GLOBAL, VAR_GLOBAL_FB, VAR_GLOBAL_PG, VAR_IN_OUT, VAR_INPUT, VAR_OUTPUT,
VAR_TEMP, VD, VOID
W
W, WHILE, WITH, WORD, WORD_TO_BOOL (BYTE, DINT, DWORD, INT, REAL, SINT, STRING, UDINT,
UINT, USINT), WORKR, WORKRP, WORKW, WORKWP, WRITE, WSTRING, W_BCD_TO_DINT (INT,
SINT)
X
X, XOR, XORN
Y Y
Z
Z, ZNRF, ZR
Precaution on label name
1. A space cannot be used.
2. A numeral cannot be used as the first character.
3. The following characters cannot be used.
(, ), *, /, +, -, <, >, =, &,
!, ”, #, $, %, ’, ~, ^, |, @, `, [, ], {, }, ;, :, , , ., ?, \, _
An error occurs if an underscore exists at the end of a character string or two or
more underscores are used consecutively.
4. Device names cannot be used.
An error occurs if any of 0 to F is appended after a device name.
Examples: XFFF, M100
5. Do not use "EnDm" as a label name (Example: E001D9).
(n and m are any values.)
It may be recognized as a real number value and unavailable as a label name.
6. Instruction names (sequence instructions, basic instructions, application instructions)
and function names (MELSEC functions, IEC functions) cannot be used.
App
Summary of Contents for MELSEC L series
Page 1: ...Programming Manual Structured Text ...
Page 2: ......
Page 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Page 297: ......