Delta AH500 Programming Manual page 202

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

Instruction code
FB_NP
Device
DX
DY
S
Symbol:
Explanation:
1.
When the value in the accumulative register turns from 0 to 1, the instruction FB_NP keeps the
value 1 in the accumulative register for a scan cycle. After the second scan cycle is finished,
the value in the accumulative register changes to 0.
2.
The previous state of the contact is stored in the bit device S. Please do not use S repeatedly
in the program. Otherwise, the wrong execution result will appear.
3.
The instruction FB_NP only can be used in the function block.
Example:
Instruction:
LD
M0
AND
M1
FB_NP
D0.0
OUT
Y0.0
Timing diagram:
M0
M1
One scan cycl e
Y0 .0
Operand
S
X
Y
M
SM
S : For internal use
Operation:
Contact A of M0 is loaded.
Contact A of M1 is connected in series.
The circuit is rising edge-triggered.
The coil Y0.0 is driven.
One scan cycl e
Ch ap te r 5 Bas ic Instruc ti ons
Function
The circuit is rising edge-triggered.
S
T
C
HC
Bit
D
L
PR
5 - 2 3

Advertisement

Table of Contents
loading

Table of Contents