EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 499

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.6 Structure Creation Instructions
497
7
If two offsets for two identical types of device have been set in the offset designation area, the last value set will be valid.
The IXDEV and IXSET instructions should be treated as a pair.
Any value from 0 to 32767 is valid for ZR. (The offset value will be the remainder of the quotient of the designated device
number divided by 32768.)
The dummy contacts in the offset specifying part are valid for only LD and AND located within the range of the IXDEV-
IXSET instructions. The IXDEV-IXSET instructions will not be executed if other instructions are described.
Ex.
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program example
The following program changes the modification values for input (X), output (Y), data register (D) and pointer (P). When
using a basic model QCPU, the devices R, U/G, J, ZR and P cannot be used.
*4 Refer to Page 493 Index modification of entire ladder for index modification using the IX to IXEND instructions.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4231 The IXDEV and IXSET instructions are not used as a pair. 
IXDEV
INC D50
IXSET P3 D0
Valid dummy contacts
Non-execution processing (outputs OFF)
Non-execution processing (ignored)
D15
D0
0
5
3
0
0
0
0
8
0
0
0
C
X
Y
M
L
B
V
D
W
4
0
T
P
Index modification
table
Index modification ladder
*4
Step
Instruction
Device
[Ladder Mode] [List Mode]

Table of Contents

Related product manuals