6F3B0253
7. Instructions
N
Negative pulse contact
Expression
A
Input N Output
Function
When the input is ON and the device A is changed from ON to OFF (ON at last scan and OFF at this scan), the output is turned ON.
This instruction is used to detect the device changing from ON to OFF.
Execution condition
Input | Operation | Output | |
OFF | Regardless of the state of device A | OFF | |
ON | State of device A is OFF | A is OFF at last scan | OFF |
|
| A is ON at last scan | ON |
| State of device A is ON | OFF |
Operand
| Name |
|
| Device |
|
|
|
|
|
| Register |
|
| Constant | Index | |||||
|
| X | Y | R |
| S | T. | C. | XW | YW | RW | SW | T | C | D | I | J | K |
|
|
A | Device | √ | √ | √ | √ | √ | √ |
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
R100 comes ON for only 1 scan when X000 is ON and X003 changes to OFF.
X000
X003
R100
1 scan time 1 scan time
Note
•The maximum usable number in a program is 2048.
( P N (P) (N) total)
126