Delta Electronics AH — 3.2 Ladder Instructions

Chapter 3 Standard Instructions Graphic Expression: S : For internal use Explanation: 3_ 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. 3. The instruction FB_NP only can be used in the function block. Otherwise, the wrong execution result will appear. Example: Instruction: Operation: LD M0 Contact A of M0 is loaded. AND M1 Contact A of M1 is connected in series.

FB_NP D0.0 The circuit is rising edge-triggered. OUT Y0.0 The coil Y0.0 is driven. Timing diagram: M0 M1 Y0.0 One scan cycle One scan cycle 3-31 FB/FC Instruction Operand Description FC FB NP _ S The circuit is rising edge-triggered. BOOL WORD DWORD LWORD UINT UDINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S ● Device DX DY X Y M SM S T C HC/AC D L PR S ● ● ● ● ● ● ● ● ● ● ● 0