Mitsubishi Electric M800VW Series Programming Manual page 130

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.4 Index Modification
The ladder example with modification and actual processing devices are shown below.
[When Z0 = 20, Z1 = -5]
Ladder example
X0
MOV K20
MOV K-5
X1
MOV K100Z0 W53Z1
X0
MOV K20
MOV K-5
X1
MOV K2X50Z0 K1M38Z
X0
MOV K20
MOV K-5
X1
MOV D0Z0 K3Y12FZ1
[Precautions]
The range check is invalid for device which operates modification during executing sequence program. So, be careful when
using modification with index registers which exceeds the device's allowable range. Unexpected type of device might be
referred or updated.
When using modification with 16 bit constant, following responses will be taken. Be careful with using beyond the maximum
value or bellow the minimum value of 16 bit constant.
 When using larger value than the maximum -> Index modification will be executed on the minimum value. (Z0=1 with
K32767Z0 will be considered as K-32768.)
 When using smaller value than the minimum -> Index modification will be executed on maximum value. (Z0=-1 with K-
32768Z0 will be considered as K32767.)
Z0
Z1
Z0
Z1
Z0
Z1
109
Actual processing device
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents