6F3B0253
7. Instructions
P
Positive pulse contact
Expression
A
Input P Output
Function
When the input is ON and the device A is changed from OFF to ON (OFF at last scan and ON at this scan), the output is turned ON.
This instruction is used to detect the device changing from OFF to ON.
Execution condition
Input | Operation | Output | |
OFF | Regardless of the state of device A | OFF | |
ON | State of device A is OFF | OFF | |
| State of device A is ON | A is OFF at last scan | ON |
|
| A is ON at last scan | 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 ON.
X000
X003
R100
1 scan time 1 scan time
Note
•The maximum usable number in a program is 2048.
( P N (P) (N) total)
Basic Hardware and Function 125