SML_SetOpmode (FB)ΒΆ
FUNCTION_BLOCK SML_SetOpmode
Sets the mode of operation to a new value, if necessary.
If eSetOpmode <> eOpmode or eActOpmode <> eOpmode, the value of the
parameter eSetOpMode (2000) is written to eOpmode.
The operation succeeds once parameter eActOpMode (2001) has the new value.
- InOut:
- Scope - Name - Type - Comment - Inout - Axis- Reference to the axis - Input - bExecute- BOOL- Operates on the rising edge - eOpmode- The desired mode of operation - Output - bBusy- BOOL- The FB is not finished and new output values are to be expected - bDone- BOOL- The mode of operation has been successfully set - bError- BOOL- An error has occured - eError- Error number 
