Mitsubishi Electric M800VW Series Programming Manual page 313

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

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.7 Rotation Instructions
 Operation errors
 In the following cases, an arithmetic error occurs, the error flag (SM0) turns ON, and an error code is stored at SD0.
- A part of the device area between the "D" device and the nth device does not exist. (Error code: 82)
 Program example
 The following program shifts the contents of D683 to D689 to the right when XB is ON.
XB
0
4
Designation range for the DSFR instruction
D689
D688 D687
-100
503
600
D689 D688 D687
0
-100
503
Becomes 0
 The following program shifts the contents of D683 to D689 to the left when XB is ON.
XB
0
4
Designation range for DSFLP instruction
D689
D688
D687
-100
503
600
D689 D688
D687
503
600
-336
IB-1501667-B
[Ladder mode]
DSFR
D683 K7
END
D686
D685 D684 D683
-336
3802 -32765 5003
D686
D685 D684 D683
600
-336
3802 -32765
[Ladder mode]
DSFLP D683 K7
END
D686
D685
D684 D683
-336
3802 -32765 5003
D686
D685
D684 D683
3802 -32765 5003
0
Steps
0
1
4
Steps
0
1
4
Becomes 0
292
[List mode]
Inst.
Device
LD
XB
DSFR
D683
K7
END
[List mode]
Inst.
Device
LD
XB
DSFLP
D683
K7
END

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents