Sample Program For Outputting The Read Code To A Pc Or Pg - Siemens SIMATIC Vision Sensor VS 130-2 Manual

Hide thumbs Also See for SIMATIC Vision Sensor VS 130-2:
Table of Contents

Advertisement

Bits used in the control and status bytes
The following control and status bits must be processed in addition to the FB79
call:
Bit No.
in an
Q x.6
Control byte
Q x.7
Control byte
I x.0
Status byte
I x.2
Status byte
6.6.2

Sample Program for Outputting the Read Code to a PC or PG

You will find the program described here on the manuals/commissioning CD in
Examples\Excel.
Process interfacing
The configuration described in the section Reading codes or checking quality in a
PROFINET environment and outputting over Ethernet is used as the basis. It is
characterized by the PC or PG for outputting the read codes not being connected
to the processing unit over RS-232 but over Ethernet.
Once you have performed the activities described in the excel.wri file, the codes
read by the VS 130-2/VS 130-2vcr are entered in an Excel table.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01
Corresponds to Signal
TRG
RES
IN_OP
RDY
Function
An evaluation is started on the positive-going
edge.
Reset error on the VS 130-2
0: Error or startup, 1: VS 130-2 is functional
1: VS 130-2 is in RUN, in other words, ready to
process codes.
You can use this signal to enable the feeding of
workpieces,
Process Interface
6-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents