Справочник Пользователя для Mitsubishi Electronics FX

Скачать
Страница из 382
FX Series Programmable Controlers
Applied Instructions 5
5-4
5.1
Program Flow-Functions00 to 09
Contents:
Page
CJ -
Conditional jump
FNC 00 
5-5
CALL - 
Call Subroutine
FNC 01
5-7
SRET -
Subroutine Return 
FNC 02 
5-8
IRET - 
Interrupt Return 
FNC 03 
5-9
EI - 
Enable Interrupt 
FNC 04 
5-9
DI - 
Disable Interrupt 
FNC 05 
5-9
FEND - 
First End 
FNC 06 
5-11
WDT - 
Watchdog Timer 
FNC 07 
5-12
FOR - 
Start of a For/Next Loop 
FNC 08 
5-13
NEXT - 
End a For/Next Loop 
FNC 09 
5-13
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
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
1
, S
or for lists/tabled devices D
3+0, 
S
+9 
etc.
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:
 
An instruction operating in 16 bit mode, where 
 identifies the instruction
mnemonic.
P -  A 16 bit mode instruction modified to use pulse (single) operation.
D
 
-  An instruction modified to operate in 32 bit operation.
D
P -  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.