Error Handling In Automatic Mode - Siemens SIMATIC S7-1500T Getting Started

Kinematics
Hide thumbs Also See for SIMATIC S7-1500T:
Table of Contents

Advertisement

The program continues with the check of the preconditions for the automatic mode.
5. To observe the status of the tag "hmi.posState.waitingPos", use the instruction "Start time
as ON time" ("statHoldTime").
6. At the end of the program section, assign the value "#STATE_CHECK" to the tag
"statStateAuto".
The program continues with the check of the preconditions for the automatic mode.
9.6

Error handling in automatic mode

Handling errors in motion control instructions
1. If errors occur while processing one of the motion control instructions, they are to be
output via the tag "ErrorID" with the value "-200" ("ERR_MC_OUTPUT_ERROR").
To do this, combine all "Error" parameters of the motion control instructions from the
"ModeAutomatic" function block in the "tempErrorSummary" tag.
2. You can control the behavior in case processing of the automatic mode is canceled by
means of the instruction "Create ON delay".
S7-1500T Getting Started with Kinematics
Getting Started, 12/2018, A5E46089528-AA
Create a program for automatic mode
9.6 Error handling in automatic mode
53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500

Table of Contents