Chapter 7 Integrated OBs, SFBs and SFCs
CPU ADAM 821x
7-6
ADAM 8000 Manual CPU 821x – Rev 1.1
ADAM specific SFCs
The integrated SFCs are programmed in Assembler and for this they have
a fast processing time. They do not occupy space in the internal program
memory.
The integrated blocks are called in the user application.
The following pages show the ADAM specific blocks that may be called for
special functions in the control application.
For not every SFC is integrated in every CPU family, this table shows the
assignment between SFC and CPU.
The first number specifies the CPU family, e.g. 811x means: CPU 811x .
SFC
Label
Description
811x 821x 851x
SFC 220 MMC_CR_F Create file on MMC
✓
✓
✓
SFC 221 MMC_RD_F Read file on MMC
✓
✓
✓
SFC 222 MMC_WR_F Write to file on MMC
✓
✓
✓
SFC 223
PWM
Parameterize pulse duration modulation
✓
SFC 224
HSC
Parameterize high-speed counter
✓
SFC 225
HF_PWM
Parameterize HF pulse duration modulation (
up to 50kHz )
✓
SFC 227
TD_PRM
Parameterization for TD200 communication
✓
✓
✓
SFC 228 RW_Kachel Read/write page frame
✓
✓
SFC 230
Send
Send via page frame (page frame comm.)
✓
✓
SFC 231
Receive
Receive via page frame (page frame comm.)
✓
✓
SFC 232
Fetch
Fetch via page frame (page frame comm.)
✓
✓
SFC 233
Control
Control for page frame communication
✓
✓
SFC 234
Reset
Reset for page frame communication
✓
✓
SFC 235
Synchron
Synchron for page frame communication
✓
✓
SFC 236
Send_All
Send_All via page frame (page frame comm.)
✓
✓
SFC 237
Recv_All
Receive_All via page frame (page frame com.)
✓
✓
SFC 238
Control1
Control for page frame communication
with Type ANZW: pointer and parameter IND.
✓
✓
For a better overview, in the following every SFC repeats an extract of this
assignment table.
The next pages describe the ADAM specific SFCs.
General
Assignment table
SFC
←→
CPU