Programming Example – Standard Blocks
9-5
Point-to-point connection CP 440 Installation and Parameter Assignment
A5E00057742-02
Table 9-3
CP 440 ASCII BCC
Block
Symbol
Comment
OB 1
CYCLE
Cyclic program processing
OB 100
RESTART
Cold restart processing
FB 9
RECV_440
Receive standard FB for data
FB10
SEND_440
Send standard FB for data
FC 21
SEND
Send data
FC 22
RECEIVE
Receive data
FC 23
GEN BCC
Creates BCC for the sender
FC 24
CHK BCC
Checks the BCC when data is received
DB 21
SEND IDB
Instance DB for SEND_440 FB
DB 22
RECV IDB
Instance DB for RECV_440 FB
DB 40
SEND WORK DB
Work DB for the standard FB 10
DB 41
RECV WORK DB
Work DB for the standard FB 9
DB 42
SEND SRC DB
Send data block
DB 43
RECV DST DB
Receive data block
Table 9-4
CP 440 MASTER
Block
Symbol
Comment
OB 1
CYCLE
Cyclic program processing
OB 100
RESTART
Cold restart processing
FB 9
RECV_440
Receive standard FB for data
FB10
SEND_440
Send standard FB for data
FC 1
SLAVE01
Main program for communication to slave 01
FC 2
SLAVE02
Main program for communication to slave 02
FC 11
SEND SL01
Send data
FC 12
SEND SL01
Send data
FC 21
RECEIVE SL01
Receive data
FC 22
RECEIVE SL02
Receive data
DB 9
RCV IDB
Instance DB for RECV_440 FB
DB 10
SEND IDB
Instance DB for SEND_440 FB
DB 31
SEND WORK DB SL01
Work DB for the standard FB 10
DB 32
SEND WORK DB SL02
Work DB for the standard FB 10
DB 41
RCV WORK DB SL01
Work DB for the standard FB 9
DB 42
RCV WORK DB SL02
Work DB for the standard FB 9
DB 51
SEND SRC DB SL01
Send data block
Содержание SIMATIC CP 440
Страница 10: ...Contents x Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...
Страница 134: ...Diagnostics with the CP 440 8 16 Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...
Страница 164: ...Accessories and Order Numbers D 2 Point to point connection CP 440 Installation and Parameter Assignment A5E00057742 02 ...