Communication via Function Blocks
6.3 Using the Function Blocks
Point-to-point connection CP 440 Installation and Parameter Assignment
Manual, 09/2007, A5E00057742-03
91
Error Display on the SEND_440 FB
The DONE output shows "request completed without errors". ERROR indicates whether an
error has occurred. In STATUS the event number is displayed in the event of an error. If no
error occurs the value of STATUS is 0. DONE and ERROR/STATUS are also output in
response to a RESET of FB SEND_440. In the event of an error, the binary result BR is
reset. If the block is terminated without errors, the binary result has the status "1".
Note
The SEND_440 function block does not have a parameter check. If there are invalid
parameters, the CPU branches to the STOP mode.
Table 6-2
Block call
STL representation
LAD representation
CALL
SEND_440, I_SEND_440
REQ : =
R: =
LADDR: =
DB_NO: =
DBB_NO: =
LEN: =
DONE : =
ERROR : =
STATUS : =
6(1'B,B6(1'B
(1
5(4
5
/$''5
'%B12
'%%B12
/(1
(12
'21(
(5525
67$786
Note
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".
长沙工控帮教育科技有限公司
www.gkbpx.com