Communication Using Function Blocks
6-22
Point-to-point connection CP 440 Installation and Parameter Assignment
A5E00057742-02
Example of a “Symbolically Addressed Actual Parameter”
Call of the FB 10 with symbolically addressed actual parameters:
STL
Explanation
Network 1:
CALL FB 10, DB10
REQ
:= SEND_REQ
R
:= SEND_R
LADDR
:= BGADR
DB_NO
:= CP_DB.SEND_DBNO
DBB_NO
:= CP_DB.SEND_DWNO
LEN
:= CP_DB.SEND_LEN
DONE
:= SEND_DONE
ERROR
:= SEND_ERROR
STATUS
:= SEND_STATUS
//SEND initiation
//RESET initiation
//Basic address
//Send DB no.
//Frame as of data word
//Frame length
//Terminated without errors
//Terminated with errors
//Status word
EN/ENO Mechanism
The parameters EN and ENO are only present in the graphical representation
(LAD or FBD). The block is started with EN = TRUE. If the function is completed
without errors, ENO = TRUE is set. To process these parameters, the compiler
uses the binary result (BR).
The binary result is set to the signal state “1” if the block was terminated without
errors. If there was an error, the BR is set to “0”.
Содержание 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 ...