UpdateAreaModel
The
UPDATEAREAMODEL
execute compares the running area model with the given area model and loads the given area model if changes are permitted.The following table shows the format and return for this execute.
Execute Format | A FactoryTalk Batch Server supports an execute with this format:[UPDATEAREAMODELS (
Item,UserID,AreaModel
)] | ||||||
where |
| ||||||
Action | A successful UPDATEAREAMODELS request processes s the command, comparing
thearea models, and updates the area model if changes are permitted. | ||||||
Return Format | The item populates with this data: SUCCESS:
<CompareResult>_\t<LogFile>
| FAIL:
<message>
|
where:
Field | Format | Description |
---|---|---|
<CompareResult> | ASCII – Integer | 1=Same 2=Area Model Updated Successfully 3=Differences Not Allowed |
<LogFile> | ASCII - String | Log file that contains the differences between the twoarea models compared. |
The following table shows an example of the return on this execute.
Example: | An execute string consisting of: UPDATEAREAMODEL (Item, STATION7, ice_cream1_updated.cfg) Could return: SUCCESS:2 \t \\BTCHSYSWEST001\BATCHCTL\SAMPLEDEMO1\LOGS\UPDATED_ICE_CREAM1_UPDATED.CFG.2017-08-29_T1717370254.LOG |
Provide Feedback