GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-117
4
Status Extra Data
The Status Extra Data provides additional state information for the SER function.
State Description
Inactive State
(1) State between the Reset State and the Active State. No actions are performed in
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
(3) State if the trigger condition defined by Trigger Mode is true. Additional
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
(4) State after all sampling is complete. The Boolean output receives power flow.
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 (5) State if the Control/Data Block exceeds the end of its memory type. The
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 (6) State if there is an error in the user supplied operation parameters. The Boolean
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 (7) State if the Status Parameter becomes invalid. The Boolean output is held to no
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.