Control commands of a platform
Based on the retain data regarding the internal state of the NC control, after restart the control has the same state like before the shutdown.
The reloading of the retain data is started by a HLI command. Because the stored axis positions became invalid before the execution of the command, no axis of the NC control may be moved.
If before the taking over of the retain data an axis has been moved, the error message 70191 is output.
Taking over retain data | |
Description | Starts the taking over of the loaded retain data. This can only take place, if a valid data record is available (see also) and no axes were moved since start up of the control. |
| |
Access | PLC reads request + state and writes command + enable |
ST path | pPlatform^.addr^.MCPlatformControl_Data.SetRetainData |
Commanded, requested data | |
ST element | .X_Command .X_Request |
Data type | BOOL |
Value range | [TRUE = Taking over of retain data] |
Return value | |
ST element | .X_State |
Data type | BOOL |
Value range | [TRUE = Taking over of retain data was successful] |
Redirection | |
ST element | . X_Enable |