Mitsubishi Electric MELSEC iQ-R Series User Manual page 512

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Precautions for creating programs
When specifying a label as an operand used in instructions, match the data type of the label with that of the operand. In
addition, when specifying a label as an operand used in instructions that control continuous data, specify the data range used
in instructions within the data range of the label.
Ex.
SFT(P) instruction
SET
SFTP
or
SET
SFTP
Ex.
SER(P) instruction
Start device number of search range
Specify a label which has a larger data range than the search range (n) points.
Restrictions on naming labels
The following restrictions apply when naming labels.
• Start the name with a character or underline (_). Numbers cannot be used at the beginning of label names.
• Reserved words cannot be used.
For details on the reserved words, refer to the following.
 GX Works3 Operating Manual
Program of external devices
When the global label which is set to the "Access from External Device" is deleted or the online change including label name
change is executed, change the program of external devices that refer to the global label deleted/changed.
28 LABELS
510
28.8 Precautions
bLabel[0]
To shift the bits correctly, specify the array of the bit type label.
bLabel[1]
wLabel1.0
Specify the bit number of the word type label.
wLabel1.1
wLabel1[0]
10
wLabel1[1]
500
123
-123
20
123
wLabel1[n+1]
Data matched
Search range:
(n) points

Advertisement

Table of Contents
loading

Table of Contents