2 Instruction Descriptions
2-470
NJ-series Instructions Reference Manual (W502)
LD
InitStc
UINT#1111
StcA[0]
StcASize
StcANum
1 StcANUM:=0;
2 clear(StcA);
3 StcASize:=SizeOfAry(StcA);
InitStc
stcANum
StcA
StcASize
SetParaPush
StcAInVal
StcAPushStat
StackPush_err
StcALIFOStat
StcAOutVal
StackLIFO_err
SetParaIns
StcAInsVal
StcAOffset
StcAInsStat
StackIns_err
False
0
[10(0)]
0
False
0
False
False
False
0
False
False
0
0
False
False
BOOT
UINT
ARRAY[0..9] OF UINT
UINT
BOOL
UINT
BOOL
BOOL
BOOL
UINT
BOOL
BOOL
UINT
UINT
BOOL
BOOL
Variable
Stack initialization condition
Number of stored elements
Stack array
Number of stack elements
Execution condition to set StcAInVal.
Value added by StackPush
StackPush execution condition
StackPush error flag
StackLIFO execution condition
Value removed by StackLIFO
StackLIFO error flag
Execution condition to set StcAInsVal and StcAOffset
Value inserted by StackIns
Offset for StackIns
StackIns execution condition
StackIns error flag
Initialize stack.
Store three values in stack.
InitStc
StackPush
EN ENO
In
InOut
Size
Num
UINT#2222
StcA[0]
StcASize
StcANum
StackPush
EN ENO
In
InOut
Size
Num
UINT#3333
StcA[0]
StcASize
StcANum
UINT#4444 StcAInVal
StackPush
EN ENO
In
InOut
Size
Num
SetParaPush
MOVE
EN ENO
In Out
Set the value to add with StackPush.
Data type
Initial value
Comment
Inline ST