Sample Program For Data Exchange If Code Length <= 27 Bytes - Siemens SIMATIC Vision Sensor VS 130-2 Manual

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

Advertisement

6.5.3
Sample program for data exchange if code length <= 27 bytes
Below, you will see an example program for data exchange when the code length
is a maximum of 27 bytes.
Note
The example program is only executable on the following S7 CPUs:
on a CPU 318 and the S7-400 CPUs as of firmware version V3.0.0
on S7-300 CPUs with MMC
for all other S7-300 and S7-400 CPUs, you have to use the SFC 14s and 15s for
all access to both user data interfaces.
Program information
Only the pure result string is output (data ID B#16#81).
The DP master or I/O controller does not check how many bytes the processing
unit has supplied, but always reads 27 bytes without any monitoring.
The start of the "Send" user data interface is at address 4 of the process image
input table. The start of the "Receive" user data interface is at address 4 of the
process image output table.
To ensure consistency over the entire range (32 bytes) there must be no process
image update during the program shown below.
The user data are stored in data block DB17 starting at byte 4.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
A5E00475759-01
Process Interface
6-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic vision sensor vs 130-2vcr

Table of Contents