![Moeller S40-AM-TD Manual Download Page 33](http://html1.mh-extra.com/html/moeller/s40-am-td/s40-am-td_manual_1819281033.webp)
Function Blocks
30
02/02 AWB27-1300-GB
Integrating the parameter
function block in the user
program
The following overview shows the interrelationship between
the user program and the function blocks. Some important
parameters are described. The complete description of all
parameters is provided in section “Parameter function
block” on page 34.
User program
Description
Declaration
Declare variables in the
declaration section
VAR
---
FB_FW : TCMT1zxx ; (*Parameter function block*)
Instantiate the parameter
function block
TC2_rdata : ARRAY [1..36] OF BYTE AT %RDB1.1.0.0 ;
Set the address space of the TC2
module
TC2_tdata : ARRAY [1..36] OF BYTE AT %SDB1.1.0.0 ;
---
END_VAR
Program section
---
CAL FB_FW( (*Call for parameter function block*)
Call parameter function block
reset :=,
Assign the input and output
parameters for the parameter
function block
lock_station :=,
-
-
TCM_tdata:=TC2_tdata,
TCM_rdata:=TC2_rdata,
I
:=dial_active,
-
-
:=fail_code
)
Summary of Contents for S40-AM-TD
Page 7: ...4 02 02 AWB27 1300 GB ...
Page 11: ...8 02 02 AWB27 1300 GB ...
Page 27: ...24 02 02 AWB27 1300 GB ...
Page 77: ...74 02 02 AWB27 1300 GB ...