Device And Address; Device; Address - Mitsubishi MELSEC-Q Series Programming Manual

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

Advertisement

3.5

Device and Address

This section explains the method for expressing programmable controller CPU devices. The
following two types of format are available.
• Device: This format consists of a device name and a device number.
• Address: A format defined in IEC61131-3. In this format, a device name starts with %.
3.5.1

Device

Device is a format that uses a device name and a device
number.
For details of devices used in the QCPU, refer to the following
manual.
QCPU User's Manual (Function Explanation, Program
Fundamentals)
3.5.2

Address

Address is a format defined in IEC61131-3.
The following table shows details of format that conforms to IEC61131-3.
Start
%
● Position
Position is a major class indicating the position to which
data are allocated in three types: input, output, and
internal.
The following shows the format rules corresponding to the
device format.
• X, J\X (X device): I (input)
• Y, J\Y (Y device) : Q (output)
• Other devices

3.5 Device and Address

3-20
3.5.1 Device
Table 3.5.2-1 Address definition specifications
1st character:
2nd character: data size
position
I
Input
(Omitted)
Q
Output
X
W
D
M
Internal
L
: M (internal)
Bit
Numerics used for detailed
classification
Bit
Use '.' (period) to delimit the
Word (16 bits)
numbers from the
Double word (32 bits)
subsequent numbers.
Long word (64 bits)
A period may be omitted.
Example)
%I
Position
Example)
X0
W35F
Device name
Device number
3rd character and later:
classification
Number
corresponding
to the device
number
(decimal
notation)
X0
%MX1 . 863
Data
Classification
size
Number
Numbe r

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents