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 #1501 background imageLoading...
Page #1501 background image
Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
227
Signal Type Type Value range Remark
Enable I BOOL 1 = FC 21 active
Funct I BYTE 1, 2 1: Synchronized actions to channel
2: Synchronized actions from
channel
S7Var I ANY S7 data storage area Not used
IVAR1 I INT 1..MaxChannel Channel number
Error A BOOL
ErrCode A INT 1 : "Funct" invalid
10: Channel no. invalid
Call example
FUNCTION FC 100 : VOID
VAR_TEMP
myAny: ANY ;
END_VAR
BEGIN
NETWORK
...
// Deactivate synchronized actions with ID3, ID10 and ID31 in NC channel 1 :
SYAK: TO DB21;
SET;
S DBX300.2; //ID3
S DBX301.1; //ID10
S DBX303.6; //ID31
L B#16#1;
T MB11;
SPA TRAN;
// Synchronized actions from NCK channel:
SYVK:
L B#16#2;
T MB11;
TRAN: CALL FC 21 (
Enable := M 10.0, // if True, FC 21 is active
Funct := MB 11,
S7Var := #myAny, //Not used
IVAR1 := 1, //Channel no.
IVAR2 := 0,
Error := M 10.1,
ErrCode := MW 12);
...
END_FUNCTION

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