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 #1474 background imageLoading...
Page #1474 background image
Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
200 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Example
FUNCTION FC 12: VOID
//Event control of auxiliary functions
VAR_INPUT
Chan: BYTE ; //Parameter is supplied by basic program
END_VAR
VAR_TEMP
ChanDB: INT ;
END_VAR
BEGIN
L Chan;
//Channel index no., (0,1,2,..)
+ 21;
//Channel DB offset
T ChanDB;
//Save channel DB no.
TO DB[ChanDB];
//Channel DB is opened indirectly
// Auxiliary-function change signals are now scanned, etc.
BE;
END_FUNCTION
2.12.19 FC 13: BHGDisp Display control for handheld unit
Description of Functions
This block carries out the display control of the handheld unit (HHU). The information to be
output on the display is stored as 32 characters in string data ChrArray. A fixed text
assignment of 32 characters is, therefore, required for this string when the data block is
created. Variable components within this string can be inserted by means of the optional
numerical converter, For the numeric converter the parameter "Convert" must be set to
TRUE. The variable to be displayed is referenced via the pointer Addr. Parameter
"DataType" contains the format description of this parameter (see parameter table). The
number of bytes of the variable is linked to the format description. The address justified to
the right within the string is specified by parameter "StringAddr". The number of written
characters is shown in the parameter table. By setting parameter Row to 0, it is possible to
suppress the display (e.g., if several variables in one or several PLC cycles need to be
entered in the string without any display output).
Signals
Byte 1 is supplied by the output signals of the HHU and the character specifications are
supplied by the block. These may not be written by the PLC user program.

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