SMOVE: Automatic movement control
(Original Document)
Function description
The SMOVE function enables axis control to be programmed in order to carry out a movement automatically.
For a more detailed description of how this function operates, refer to the application specific axis control manual.
The additional parameters EN and ENO can be configured.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD IODDT_Var
SMOVE N_Run, Movetype_G9, Code_G, Position_X, Speed_F, Action_M
Representation in ST
Representation:
SMOVE(IODDT_Var, N_Run, Movetype_G9, Code_G, Position_X, Speed_F, Action_M);
Description of the parameters
The following table describes the input parameters:
Parameter
Type
Comment
IODDT_Var
IODDT variable corresponding to the channel on which the function is to be carried out.*
Example: IODDT_Var of type T_AXIS_STD
N_Run
Number of movement carried out by the function.
Movetype_G9
Type of movement carried out by the function.
Code_G
Function instruction code.
Position_X
Coordinates of the position to be reached or towards which the part is to move. In the case of some instructions this may be the original reference point value.
Speed_F
Movement speed of moving part This depends on the chosen unit of measurement.
Action_M
Manages the following actions:
  • Activation or non-activation of the event processing trigger.
  • Setting the discrete output associated with the channel to 0 or 1.
  • Determines the type of event awaited by the instruction G05.
* IODDT represents the set of types associated with a module or a channel on which the function is to be carried out.