Programming Example for Standard Function Blocks
9.4 Blocks Used
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
208
Manual, 09/2008, A5E02191071-01
9.4
Blocks Used
Blocks used
The table below shows the blocks used for the sample program.
Block
Symbol
Description
OB 1
CYCLE
Cyclic program processing
OB 100
RESTART
Cold restart processing
DB 21
SEND IDB
Instance DB for P_SND_RK FB
DB 22
RECV IDB
Instance DB for P_RCV_RK FB
DB 40
SEND WORK DB
Work DB for the standard FB 8
DB 41
RECV WORK DB
Work DB for the standard FB 7
DB 42
SEND SRC DB
Send data block
DB 43
RECV DST DB
Receive data block
FB 7
P_RCV_RK
Standard FB for receiving data (RK 512)
FB 8
P_SND_RK
Standard FB for sending data (RK 512)
FC 5
V24_STAT
Standard FC for reading CP outputs
FC 6
V24_SET
Standard FC for writing to CP outputs
FC 14
V24_CYC
Control RS 232C secondary signals
FC 21
SEND
Sending Data
FC 22
RECEIVE
receiving data
长沙工控帮教育科技有限公司
www.gkbpx.com