Function library
7-120
L
EDSVS9332P-D21 EN 3.0
7.5.28.2 Signal processing
Reading the BCDs:
Output Signal Function
BCDx-EOT
LOW Beginni ng of the BCD reading.
HIGH If
•
all 8 absolute value digits and the sign are transmitted or
•
”CANCEL” has been identified.
BCDx-NEW-DATA
LOW After a LOW-HIGH edge at BCD-READ.
HIGH After the transmission of a BCD is completed.
BCDx-DATA-FLT HIGH If ”BCD error” has been identified (see table in chapter 7.5.28.1).
BCDx-FAIL HIGH If
•
the permissible value range for the target code is exceeded or
•
BCDx-DATA-FLT = HIGH has occurred before.
BCD_A
C o r r e c t t r a n s m i s s i o n
W r o n g t r a n s m i s s i o n
B C D 1 x - L O A
B C D 1 x - B U S Y
B C D 1 x - F A I L
Fig. 7-82 Signal shape for FB BCD1 for the transmission to the target code
Transmission sequence of data to the target code:
Output Signal Function
BCDx-LOAD LOW-HIGH edge Transmits the signal to the target code.
BCDx-BUSY HIGH For the time of transmission
BCDx-FAIL HIGH If a transmission error occurs.
Only another LOW-HIGH edge at BCDx-LOAD s witches BCDx-FAIL = LOW.
Transmission error:
•
No target code
•
No target subcode.
•
transmitted data are out of the target code limits.
•
”BCD error” has been identified (BCDx-DATA-FLT = HIGH).
•
The target code is inhibited. Code can only be written when the controller is inhi bited.
For the data conditioning for the target code see FB FEVAN.
(E 7-204)