Fb 79 "Vs130-2_Control - Siemens SIMATIC MV500 Operating Instructions Manual

Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

Process interfacing via an automation system (PLC, PC)
9.4 Control with FB 79
Reaction to disruptions, timeouts and errors
The optical reader performs the following monitoring functions:
• The time between the arrival of two acknowledgments of the I/O controller is monitored
based on the configured value setting in the WBM under "Settings > Communication >
Interfaces > PROFINET IO > Time limit".
• The correct order of the data packets acknowledged by the I/O controller is monitored.
If an error occurs, the optical reader enters the value "B#16#FF" in byte 1 of the "Send" user
data interface, which causes the current data transfer to abort.
We recommend that you monitor the following in the user program of the I/O controller:
• Monitor the time between the arrival of two consecutive data packets.
• Monitor the correct order of the data packets sent by the optical reader.
• Check whether the total length of the user data actually transferred matches the net total
length indicated by the optical reader at the beginning of the data transfer.
If an error occurs, you can abort the current data transfer by writing "B#16#FF" to byte 1 of
the "Receive" user data interface.
9.4.5

FB 79 "VS130-2_CONTROL"

The function block FB 79 for PROFINET IO operations is provided for operating the functions
of the optical reader.
In addition to the SIMATIC S7 system mechanisms for integrating the optical reader into a
PROFINET IO environment, the FB 79 facilitates software integration in control programs.
Note
FB 79 for VS130-2 readers
Note that FB 79 should only be used to connect VS130-2 optical readers for reasons of
compatibility. We recommend the use of the Ident profile for all other readers.
Functional scope of FB 79
Note that the function block only monitors the pure data traffic between the optical reader
and the controller. This means that the "DONE" parameter does not allow any conclusion to
be made on the actual read result. To obtain a good/bad read evaluation, you need to process
the following result bits of the status byte:
• READ
• MATCH
• NOK
184
Operating Instructions, 03/2021, C79000-G8976-C494-05
SIMATIC MV500

Advertisement

Table of Contents
loading

Table of Contents