Mitsubishi MELSEC-Q Series Programming Manual page 651

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

Advertisement

(2) In the following program, the zone control applying negative and positive bias values of
10000 to 10000 is performed on the data set for Var_D0 when X1 turns ON, and the result
is stored to Var_D10.
[Structured ladder]
[ST]
DZONEP(X1,−10000,10000,Var_D0,Var_D10);
[Operation]
• The value Var_D1 + ( 10000) is stored to Var_D10 if Var_D0
Example
Var_D0
• The value 0 is stored to Var_D10 if Var_D0
• The value Var_D0 + 10000 is stored to Var_D10 if 0
Example
Var_D0 50000 Var_D10 60000
12345 Var_D10
22345
0.
7.13 Data Control Instructions
7.13.3 Zone control of 16-/32-bit BIN data
ZONE, DZONE
0.
Var_D0.
7
7-311

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents