DVP-ES3 Series Programming Manual Symbol S : For internal use Explanation 1. When the value in the accumulative register turns from 0 to 1, the FB_NP instruction 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. _5 2. The previous state of the contact is stored in the bit device S . Do not use S repeatedly in the program. Otherwise, the wrong execution result appears. 3. Use FB_NP only in function blocks. 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 M20 The coil M20 is driven. Timing diagram scan cycle 5-20 Instruction code Operand Function FB NP _ S Triggering the circuit on the rising edge. Device DX DY X Y M SM S T C HC D S BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S M0 M0 MM11 MY2 00.0 One scan cycl e One