Mitsubishi Electric MELSEC-Q/L Programming Manual page 499

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

Advertisement

• 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.
IXDEV
Valid dummy contacts
INC
IXSET P3 D0
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.
Error
Error details
code
4231
The IXDEV and IXSET instructions are not used as a pair.
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.
[Ladder Mode]
Index modification ladder
*4 Refer to Page 493 Index modification of entire ladder for index modification using the IX to IXEND instructions.
Non-execution processing (outputs OFF)
Non-execution processing (ignored)
D50
[List Mode]
Step
Instruction
*4
Index modification
table
D0
D15
Q00J/
QnH
QnPH
Q00/
Q01
Device
T
4
0
C
X
5
Y
3
0
M
0
L
0
B
0
V
8
D
0
W
0
0
0
P
7 APPLICATION INSTRUCTIONS
7.6 Structure Creation Instructions
QnPRH
QnU
LCPU
497
7

Advertisement

Table of Contents
loading

Table of Contents