Configure auto reset settings
- Last UpdatedNov 04, 2024
- 2 minute read
Use Auto Reset to specify the behavior of the Status attribute.
-
If you select this flag, the status attribute is reset to Ready after it completes its call to the middleware. This occurs if the result of the last call is successful. Otherwise, the status is reset to Error.
-
If you do not select this flag, the Status attribute is reset to Done after it completes its call to the middleware. This occurs if the result of the last call is successful. Otherwise, the status displays Error. If the object has to execute another command, you must set the status to Ready in the code manually by using the Reset command.
The status attribute can have one of the following values:
-
Ready
Indicates that the command group is ready to process the next command when its attribute is set to True. A trigger attribute can initiate an MES transaction only when the status of the command group is Ready.
-
Busy
Indicates that the command group is currently processing a command in the middleware. Any command attribute that is set to True from the group, except the one that initiates the call to the middleware, is rejected and is reset to False.
-
Error
Indicates that the last call to the middleware resulted in an error. The caller must acknowledge the error by resetting the status to Ready before the next command from this group is processed.
-
Done
Indicates that the result of the last call to the middleware is successful. The status is reset to Ready. This status is available when the instance of an object is set to manual mode.