ControlStrategy
The
CONTROLSTRATEGY
execute returns a list of control strategies configured for the specified phase.The format and return for this execute includes:
Execute Format | A FactoryTalk Batch Server supports an execute with this format:[CONTROLSTRATEGY( Item,UserID,PhaseID )] | ||
where: | Item | Item name as specified by the client. | |
UserID | User identification associated with this event. | ||
PhaseID | Equipment ID for the phase as configured in FactoryTalk Batch Equipment Editor . | ||
Action | A successful CONTROLSTRATEGY execute results in a list of control strategies configured for the specified phase. | ||
Return Format | The item populates with this data: | ||
<ControlStrategyResponse> | is | SUCCESS: <sp><ControlStrategyData> | FAIL: <message> | FAILED | |
<ControlStrategyData> | is | <NullList> \crlf | <ControlStrategyList> | |
<ControlStrategyList> | is | <ControlStrategy> \crlf | <ControlStrategy> \crlf <ControlStrategyList> | |
<ControlStrategy> | is | <CStrategyID> \t <CStrategyName> | |
Field Name | Format | Description | |
<CStrategyID> | ASCII - Integer | ID assigned to the control strategy. | |
<CStrategy
Name> | ASCII - String | Name assigned to the control strategy. |
The following table shows an example of the return on this execute.
Example: | An execute string: [CONTROLSTRATEGY(Item,UserID,68)] |
Provide Feedback