EasyManuals Logo

Siemens MCP 398C Function Manual

Siemens MCP 398C
2184 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 #1454 background imageLoading...
Page #1454 background image
Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
180 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.12.13 FC 5: GP_DIAG Basic program, diagnostic alarm, and module failure
Description of Functions
Module defects and module failures are detected in this section of the basic program.
The FC5 block parameter can be used to define whether the PLC is to be placed in STOP
mode. The PLC is placed in STOP mode only for incoming events. Exceptions of the
parameter "PLC-Stop" are the Profibus-MCPs parameterized at FB 1 (must be connected to
the DP1 Bus).
Declaration
FUNCTION FC 5: VOID
VAR_INPUT
PlcStop: BOOL:= TRUE;
END_VAR
Call example
As far as timing is concerned, the basic program can be executed after other user programs.
This is advisable since the FC5 circuitry will place the PLC in Stop mode.
This example contains the standard declarations for OB 82 and OB 86 and the call of the
basic program block.
ORGANIZATION_BLOCK OB 82
VAR_TEMP
OB82_EV_CLASS : BYTE ;
OB82_FLT_ID : BYTE ;
OB82_PRIORITY : BYTE ;
OB82_OB_NUMBR : BYTE ;
OB82_RESERVED_1 : BYTE ;
OB82_IO_FLAG : BYTE ;
OB82_MDL_ADDR : INT ;
OB82_MDL_DEFECT : BOOL ;
OB82_INT_FAULT : BOOL ;
OB82_EXT_FAULT : BOOL ;
OB82_PNT_INFO : BOOL ;
OB82_EXT_VOLTAGE : BOOL ;
OB82_FLD_CONNCTR : BOOL ;
OB82_NO_CONFIG : BOOL ;
OB82_CONFIG_ERR : BOOL ;
OB82_MDL_TYPE : BYTE ;
OB82_SUB_NDL_ERR : BOOL ;

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals