Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-55
DSFR(P),DSFL(P)
1
2
3
4
6
6
7
8
7.3 Shift instruction
7.3.4 1-word shift to right or left of n-word data (DSFR(P),DSFL(P))
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
The range of the device n points from a device designated by , or exceeds the
relevant device. (Error code: 4101)
Program Example
(1) The following program shifts the contents of D683 to D689 to the right when XB is turned
ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program shifts the contents of D683 to D689 to the left when XB is turned ON.
[Ladder Mode] [List Mode]
[Operation]
D
Step Instruction Device
D686
D686D689 D688 D687 D685 D684 D683
D689 D688 D687 D685 D684 D683
503 600 3802
5003
0 503 600 3802
Filled with 0.
Designation range for the DSFRP instruction
-32765-336-100
-100 -336
-32765
Step Instruction Device
D686
D686D689 D688 D687 D685 D684 D683
D689 D688 D687 D685 D684 D683
-100 503 600 -336 3802 -32765 5003
503 600 -336 3802 -32765 5003 0
Filled with 0.
Designation range for the DSFLP instruction