Constant; Labels And Devices - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Constant

Notation of constants
The following table lists the notations of strings in FBD/LD programs.
Data type
String
STRING
String [Unicode]
WSTRING
For the notations of constants other than the above, refer to the following.
Page 48 Constants

Labels and devices

Specification method
Labels and devices can be directly described on FBD/LD programs. Labels and devices can be used as an input point or
output point of a program element and an argument or return value of a standard function/function block.
For the applicable labels, refer to the following.
Page 38 LABELS
For the applicable devices, refer to the following.
 MELSEC iQ-R CPU Module User's Manual (Application)
■ Notation of devices with a type specifier
A word device can be used as any data type by adding a device type specifier to its name.
The device type specifiers and applicable devices are the same as those for ST programs. For details, refer to the following.
Page 72 Notation of devices with a type specifier
If the data type of a word device is not specified, it will be determined by the device type.
Word device
Current value of the timer (TN), current value of the retentive timer (STN), current value of the
counter (CN)
Current value of the long timer (LTN), current value of the long retentive timer (LSTN), current
value of the long counter (LCN)
Long index register (LZ)
Other than above
Notation
Enclose a string (ASCII, Shift JIS) in single quotation marks (').
Enclose a Unicode string in double quotation marks (").
Example
Data type
WORD
DWORD
DINT
ANY16
7.1 Configuration
7
7 FBD/LD
83

Advertisement

Table of Contents
loading

Table of Contents