Table of contents
SIMATIC MV500
Operating Instructions, 06/2018, C79000-G8976-C494-01
11
9.4 Control with FB 79 ................................................................................................................ 126
9.4.1 Assignment of the interfaces relevant to PROFINET IO ...................................................... 126
9.4.2 Select operating modes using the control/status byte .......................................................... 131
9.4.3 Example program for data exchange if code length ≤ 27 bytes ........................................... 136
9.4.4 Programming data fragmentation ......................................................................................... 138
9.4.5 FB 79 "VS130-2_CONTROL" ............................................................................................... 139
9.4.5.1 How it works .......................................................................................................................... 141
9.4.5.2 Parameter overview .............................................................................................................. 142
9.4.5.3 Job execution ........................................................................................................................ 146
9.4.5.4 Error information ................................................................................................................... 150
9.5 Controlling the I/O interface "DI/DQ" .................................................................................... 152
9.6 Control via TCP/IP and RS232 ............................................................................................. 153
9.6.1 Trigger ................................................................................................................................... 154
9.6.2 Write match string ................................................................................................................. 154
9.6.3 Setting/resetting DISA bit ...................................................................................................... 155
9.6.4 Query status .......................................................................................................................... 155
9.6.5 Select program number ........................................................................................................ 156
9.6.6 Save program with internal trigger ........................................................................................ 157
9.6.7 Save program with external trigger ....................................................................................... 157
9.6.8 Reset command .................................................................................................................... 159
9.6.9 Set digital out ........................................................................................................................ 160
9.7 Remote client ........................................................................................................................ 161
9.7.1 XML backup and XML restore .............................................................................................. 161
9.7.2 XML backup .......................................................................................................................... 162
9.7.3 XML restore .......................................................................................................................... 164
9.8 SNMP .................................................................................................................................... 167
9.9 Example programs ................................................................................................................ 169
9.9.1 Connection of the optical reader to a SIMATIC controller using FB 79 ................................ 169
9.9.2 Archiving of images and diagnostic information on a PC ..................................................... 170
10 Service and maintenance .................................................................................................................... 175
10.1 Error and diagnostics messages .......................................................................................... 175
10.1.1 Message types ...................................................................................................................... 175
10.1.2 Error messages ..................................................................................................................... 176
10.1.3 Error output of the read results ............................................................................................. 180
10.1.4 Read and verification error messages .................................................................................. 181
10.1.5 Filter error messages ............................................................................................................ 184
10.1.6 Diagnostics via the LED display ........................................................................................... 185
10.1.7 IO device diagnostics ............................................................................................................ 188
10.1.7.1 Reading out the diagnostics information with STEP 7 .......................................................... 188
10.1.7.2 Diagnostics with PROFINET IO ............................................................................................ 189
10.2 Maintenance and repair ........................................................................................................ 191
10.3 Replacing a module .............................................................................................................. 192
11 Technical data .................................................................................................................................... 195
11.1 Technical specifications of SIMATIC MV540 ........................................................................ 195
11.2 Technical specifications of the EF lens ................................................................................. 198
11.3 Technical specifications built-in ring light .............................................................................. 199