Create a program for automatic mode
9.1 Prepare function block
S7-1500T Getting Started with Kinematics
Getting Started, 12/2018, A5E46089528-AA
39
Monitoring of automatic mode
statWatchExpired Bool False Output signal change after wait time elapses
Wait time at the waiting position
tempErrorSummary Bool – Error in one of the motion control instructions for the
tempStateWaitingPos typeAuxPosition – Signal output at the end of the wait time at the waiting
tempAuxPosition LReal – Transfer of the calculated auxiliary point of the circular
path to the respective motion instruction.
tempLengthhalf LReal – Transfer of the calculated value from the additional length
calculation to the z position of an auxiliary point of the
Kinematics is not in waiting position
Int -21 Entered product type is unknown
ERR_QUEUE_SIZE Int -22 Maximum number of jobs in the job sequence is not suffi-
Job sequence is not empty
ERR_SYSTEM_CHEC
K
Int -24 Error in communication, in the drive or during homing
ERR_MC_OUTPUT_E
Int -200 Error in the motion control instruction
STATE_CHECK Int -2 Test conditions for automat-
Program status in automatic
mode
STATE_CLEAR Int -1 Program cycle to reset the
Int 0 Product is unknown (wait-
STATE_PRODUCT_1_
DELIVER
Int 1 Part 1 of the program se-
quence for product type 1 is
STATE_PRODUCT_1_
RETURN
Int 2 Part 2 of the program se-
quence for product type 1 is
Int 3 Program sequence for
Default values for transition parameters[1]
Dwell time at the waiting position
Time for call check of the automatic mode