4 |
Status Extra Data
The Status Extra Data provides additional state information for the SER function.
State | Description |
Inactive State | State between the Reset State and the Active State. No actions are performed in |
(1) | this state. The Boolean output is held to no power flow. Transition to the |
| Active State occurs when the function block receives enable power flow. |
Active State (2) | State after the Enable Boolean input has received power flow, but the function |
| block is not reset, in error, or triggered. One sample is recorded for each |
| execution when the function block is enabled. The Boolean output is held to no |
| power flow. The Trigger condition (specified by the Trigger Mode parameter) is |
| monitored and will cause transition to the Triggered State if conditions are true. |
| If more than the “Number of Samples” have been taken then Status Extra Data |
| will be set to 0x01, otherwise it will 0x00. |
Triggered State | State if the trigger condition defined by Trigger Mode is true. Additional |
(3) | Samples are taken depending upon the trigger mode and parameter settings. |
| The Boolean output is held to no power flow. Transition to the Complete State |
| will occur when all sampling is complete. If more than the “Number of |
| Samples” have been taken then Status Extra Data will be set to 0x01, otherwise |
| it will be 0x00. |
Complete State | State after all sampling is complete. The Boolean output receives power flow. |
(4) | Only transition to the Reset State is allowed. If more than the “Number of |
| Samples” have been taken then Status Extra Data will be set to 0x01, otherwise |
| it will be 0x00. |
Overrun Error | State if the Control/Data Block exceeds the end of its memory type. The |
State (5) | Boolean output is held to no power flow. Only transition to the Reset State is |
| allowed. Status Extra Data has no significance and will be cleared to zero. |
Parameter Error | State if there is an error in the user supplied operation parameters. The Boolean |
State (6) | output is held to no power flow. Only transition to the Reset State is allowed. |
| The Status Extra Data word contains the offset into the control block at which |
| the parameter error occurred. |
Status Error | State if the Status Parameter becomes invalid. The Boolean output is held to no |
State (7) | power flow. Only transition to the Reset State is allowed. The invalid status |
| value will be stored in the Status Extra Data location in the Control Block. |
Reset State (0) | State when the reset Boolean receives power flow. Sample Buffer, Trigger |
| Sample Offset, Trigger Time, and Current Sample Offset are all cleared to zero. |
| The Boolean output is held to no power flow. Transition to the Inactive State |
| occurs when the reset power flow is removed. Status Extra Data has no |
| significance and will be cleared to zero. |
Chapter 4 Series |