Programming FCs (Functions) and FBs for S7 Ethernet CPs
160 SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
err: NOP 1;
NOP 1;
S M100.0;
BEU;
//
//
//
//
An error occurred. The status word can be eva-
luated here. Set ACT to TRUE in any case, so
that a new send job can be triggered if the
error disappears.
//–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
END_FUNCTION
ORGANIZATION_BLOCK OB100
TITLE = Init_for_FC100
FAMILY: S7300
NAME: SENDE_DEMO_INIT
VERSION: 1.0
VAR_TEMP
OB1_System: array [1..20] of byte;
END_VAR
BEGIN
SET
S M100.0
END_ORGANIZATION_BLOCK
//
//
// Initialize ACT parameter