MatSvrControl

The
MATSVRCONTROL
execute is used by the
Material Server Control
dialog
to reestablish communication.
TIP:
This execute is valid when
Option when Material Server Communication is lost
is set to
Switch to Manual
.
The format and return for this execute includes:
Execute Format
The
FactoryTalk Batch
Server supports an execute with this format:
[MATSVRCONTROL(
Item,UserID,STATE
)]
where:
Item
Name of the item as specified by the client.
UserID
User identification associated with this event.
State
2 represents the GOOD state. Returning to the GOOD state is the only control currently available.
Action
A successful MATSVRCONTROL execute reestablishes communication with the Material Server.
Return Format
The MATSVRCONTROL execute
populates with this data:
SUCCESS:|FAIL:
<message>
The following table shows an example of the return on this execute.
Example:
An execute string:
MATSVRCONTROL(PC2matsvrcontrol,PC2/Operator,2)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal