102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
363
Parameter and type
Data type
Initial value Description
Busy
OUT
Bool
FALSE
Operation in progress
CommandAborted
OUT
Bool
FALSE
The task was aborted during processing by
another task.
Error
OUT
Bool
FALSE
An error ocurred during processing. The cause is
indicated by the parameters ErrorID and ErrorInfo.
ErrorID
OUT
Word
16#0000
Error identifier
ErrorInfo
OUT
Word
16#0000
Error information
Step
OUT
Int
0
Step currently in process
Code
OUT
Word
16#0000
User defined identifier of the step currently in
process
You can create the desired movement sequence in the "Command Table" configuration
window and check the result against the graphic view in the trend diagram.
You can select the command types that are to be used for processing the command table.
Up to 32 jobs can be entered. The commands are processed in sequence.
Table 9- 43 MC_CommandTable command types
Command type
Description
Empty
The empty serves as a placeholder for any commands to be added. The empty entry is
ignored when the command table is processed
Halt
Pause axis.
Note: The command only takes place after a "Velocity setpoint" command.
Positioning Relative
Positions the axis based upon distance. The command moves the axis by the given
distance and velocity.
Positioning Absolute
Positions the axis based upon location. The command moves the axis by the given
location and velocity.