NEG : Address Negative Edge Detection
Parameter | Data Type | Memory Area | Description |
<address1> | BOOL | I, Q, M, D, L | Signal to be checked for a negative (falling) edge change. |
M_BIT | BOOL | Q, M, D | The M_BIT address specifies the edge memory bit in which the previous signal state of NEG is stored. Only use the process input image I memory area for the M_BIT when no input module is already using this address. |
Q | BOOL | I, Q, M, D, L | One-shot output. |
Description
The Address Negative Edge Detection instruction compares the signal state of
<address1> with the signal state of the previous check that is stored in the M_BIT parameter. If a change from 1 to 0 occurred, output Q has the value 1, in all other situations it has the value 0.
Status Word
| BR | CC 1 | CC 0 | OV | OS | OR | STA | RLO | FC |
writes | - | - | - | - | - | 0 | 1 | X | 1 |
0 comments:
Post a Comment