Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
257
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
12.1 REF / Refresh
Cautions
1) When setting the specified head device number "d", make sure that the least significant digit number is
"0" such as "X000, X010, X020, ..." or "Y000, Y010, Y020, ...".
2) Instructions of pulse operation type are not provided in the FX
0S, FX0 or FX0N PLC.
To execute pulse operation, make the instruction execution condition pulse type.
3) Some restrictions to applicable devices
S1: X000, X010, X020 ....Up to the final input number (The last digit number must be "0".)
S2: Y000, Y010, Y020 ....Up to the final output number (The last digit number must be "0".)
S3: Set a multiple of "8" to the number of refresh points "n", such as K8(H8), K16(H10), ..., K256 (H100).
Any number other than the above generates an error.
Program examples
1. When refreshing inputs
Only X010 to X017 (8 points in total) are refreshed.
2. When refreshing outputs
Y000 to Y007, Y010 to Y017 and Y020 to Y027 (24 points in total) are refreshed.
PLC n
FX3U, FX3UC K8(H8), K16(H10), ..., K256(H100)
FX3G, FX3GC K8(H8), K16(H10), ..., K128(H80)
FX3S K8(H8) or K16(H10)
FX1S, FX1N, FX1NC, FX2N, FX2NC K8(H8), K16(H10), ..., K256(H100)
FX0S, FX0 K8(H8) or K16(H10)
FX0N K8(H8), K16(H10), ..., K128(H80)
FXU, FX2C K8(H8), K16(H10), ..., K256(H100)
X000
REF
EN
d
n
ENO
X010
K 8
[ST]
REF(X000,X010,K8);
[Structured ladder/FBD]
X001
REF
EN
d
n
ENO
Y000
K 24
[ST]
REF(X001,Y000,K24);
[Structured ladder/FBD]