7 Applied Instructions
7.6 High Speed Processing
293
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Program examples
[Structured ladder]
X010
RST
EN
d
ENO
CC235
ZRST
EN ENO
d1
d2
Y010
Y012
OUT_C_32
EN
CCoil
CValue
ENO
CC235
K999
Pulse input: X000
M8000
RUN
monitor
M8000
DZCPP
EN
s1
s2
ENO
d
s3
DHSZ
EN
s1
s2
ENO
d
s
CN235
Y010
VAR_01
*1
VAR_02
*2
VAR_05
*5
VAR_06
*6
VAR_03
*3
VAR_04
*4
Start
Immediately after start, comparison is executed only once.
K1000 CN235
K1000 CN235 K1200
K1200 CN235
Immediately after start, comparison is executed by
interrupt when each pulse is input from X000.
K1000 CN235
K1000 CN235 K1200
K1200 CN235
*1. VER_01 is a global label and is defined as K1000.
*2. VER_02 is a global label and is defined as K1200.
*3. VER_03 is a global label and is defined as CN235.
*4. VER_04 is a global label and is defined as Y010.
*5. VER_05 is a global label and is defined as K1000.
*6. VER_06 is a global label and is defined as K1200.
[ST]
OUT_C_32(M8000,CC235,K999
);
ZRST(NOT X010,Y010,Y012);
RST(NOT X010,);
DZCPP(X010,VAR_01,VAR_02,VAR_03,VAR_04);
DHSZ(X010,VAR_05,VAR_06,CC235,Y010);
Y010 to Y012 are reset.
:Y010 ON
:Y011 ON
:Y012 ON
:Y010 ON
:Y011 ON
:Y012 ON
≤ ≤
>
<
≤≤
>
<