Device And Address; Device; Address - Mitsubishi Melsec-Q Series Structured Programming Manual

Application functions, qcpu
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)
• Y, J\Y (Y device)
• Other devices
3.5 Device and Address
3-8
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
M
Internal
D
L
: I (input)
: Q (output)
: M (internal)
Numerics used for detailed
Bit
classification
Bit
Use '.' (period) to delimit the
Word (16 bits)
numbers from the
subsequent numbers.
Double word (32 bits)
A period may be omitted.
Long word (64 bits)
Position
Example)
X0
Device name
Device number
3rd character and later:
classification
Number
corresponding to
the device
number (decimal
notation)
Example)
%I
X0
%MX1 . 863
Data
Classification Number
size
W35F
Number

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q-kp-ok-e13jw08

Table of Contents