FX Series Programmable Controlers
5.1
Program Flow-Functions 00 to 09
Contents:
CJ -
CALL -
SRET -
IRET -
EI -
DI -
FEND -
WDT -
FOR -
NEXT -
Symbols list:
D - Destination device.
S - Source device.
m, n- Number of active devices, bits or an operational constant.
Additional numeric suffixes will be attached if there are more than one operand with the same
function e.g. D
MSB - Most Significant Bit, sometimes used to indicate the mathematical sign of a number, i.e.
positive = 0, and negative = 1.
LSB - Least Significant Bit.
Instruction modifications:
PPP -
An instruction operating in 16 bit mode, where PPP identifies the instruction
mnemonic.
PPPP -
A 16 bit mode instruction modified to use pulse (single) operation.
DPPP -
An instruction modified to operate in 32 bit operation.
DPPPP - A 32 bit mode instruction modified to use pulse (single) operation.
(
- A repetitive instruction which will change the destination value on every scan unless
modified by the pulse function.
)
- An operand which cannot be indexed, i.e. The addition of V or Z is either invalid or will
have no effect to the value of the operand.
Conditional jump
Call Subroutine
Subroutine Return
Interrupt Return
Enable Interrupt
Disable Interrupt
First End
Watchdog Timer
Start of a For/Next Loop
End a For/Next Loop
, S
or for lists/tabled devices D
1
3
FX
1S
FNC 00
FNC 01
FNC 02
FNC 03
FNC 04
FNC 05
FNC 06
FNC 07
FNC 08
FNC 09
S
etc.
3+0,
+9
Applied Instructions 5
FX
FX
FX
1N
2N
2NC
Page
5-5
5-7
5-8
5-9
5-9
5-9
5-11
5-12
5-13
5-13
5-4