EasyManuals Logo

Siemens SIMATIC S7-1500T Getting Started

Siemens SIMATIC S7-1500T
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #79 background imageLoading...
Page #79 background image
Software section
3.2 Creating the program
S7-1500
Getting Started, 05/2014, A5E03981761-AC
79
3.2.13.4
Generating errors with local error handling
Introduction
Perform the following steps to use "GET_ERR_ID" instruction and its ENO bit for the local
error handling to respond to the error with an error message. This means the CPU remains
in RUN mode.
Procedure
1. Open the "LAD_Local_Error_Handling" function block.
2. Insert the "GET_ERR_ID" instruction in the second network and interconnect the "ID"
output.
3. Call the "ErrorID_to_ErrorText" function from the project tree.
4. Interconnect the parameters of the "ErrorID_to_ErrorText" function so that they can
convert the error code into an error message.
5. Load the changes to the CPU.
6. Trigger an error in the "Main" organization block by entering an invalid value, for example,
"101". An error message is output at the "ERROR_MESSAGE" parameter.

Table of Contents

Other manuals for Siemens SIMATIC S7-1500T

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S7-1500T and is the answer not in the manual?

Siemens SIMATIC S7-1500T Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC S7-1500T
CategoryController
LanguageEnglish

Related product manuals