Siemens FM 458-1 DP Manual page 33

Function blocks
Hide thumbs Also See for FM 458-1 DP:
Table of Contents

Advertisement

NDR
Status parameter NDR
0: Task was still not started (ENR input)or is still running
1: Task was successfully completed
LEN
Length of the previously received data in bytes
CTR
This output counts the total number of successfully complete data
receive
cycles since the last change from STOP to RUN.
ERR
An error is output at block output ERR. The detailed information about
the
type of the error is available at output STA.
This output corresponds to the ERROR output of an SFB/FB 13
of an S7-CPU.
STA
Detailed status display
This output corresponds to the STATUS output of an SFB/FB 13 of an
S7-CPU.
ERR = 0:
STA=00H
No alarm, no fault
STA=11H
Non-synchronous data is received, output LEN indicates the number
of pieces of data previously received in bytes.
ERR = 1:
STA=01H
Communication problems
(e.g. the coupling description to the ID not loaded, coupling has still
not been established from the partner or the coupling was
interrupted)
STA=04H
Error regarding the data length
The data block sent is longer than the receive range set using input
RLN.
STA=05H
Reset request received, incomplete transfer
STA=12H
R_ID already exists in the coupling
STA=14H
too little working memory
QTS
Block output QTS indicates whether the block is operating (QTS = 1) or
became inactive after a communications error message was entered
(QTS = 0).
YTS
Detailed status display
YTS=0
YTS=1
The block is in the DISABLED state, i.e. ENR=0
YTS=2
The initialization connection is changed, the change only becomes
effective at the next STOP
the values at ID, RID and RLN set when running-up
For other values at YTS, in addition, a communications error is entered
in
the diagnostics buffer and the block is no longer processed (QTS=0)
Function Blocks - FM 458-1 DP
Edition 12.2004
O.K. (ready)
RUN transition; the FB operates with
Communication blocks
Default: 0
Default: 0
Default: 0
Default: 0
Default: 0
Default: 0
Default: 0
2-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents