Functions – Baumer GK473 User Manual

Page 24

Advertising
background image

Manual_GK473_S7_Profibus_EN.doc 24/32

Baumer IVO GmbH & Co. KG

04.05.11

Villingen-Schwenningen,

Germany

4. Functions

Important!

Since it takes the SPA a little time to answer the calls some functions have to be called
repeatedly.
This is indicated by a „Busy“ message (Busy bit). It is up to the operator to have
the OB functions repeated until the Busy bit is no longer active in order to make
sure that the data being read in are truly the current ones and do not rely to a
previous data call.
!

4.1 Overview on function

Following functions are on CD, both as project files as well as simple text files where an AWL (STL-
Statement List) source file can be copied

FC 1 Converting ASCII number (6 Byte) into real number
FC 5 - Converting real number into ASCII (6 Byte)
FC 10 – Read current value
FC 11 – Read target off current SPA profile
FC 12 – Read target off defined SPA profile
FC 13 – Write target into defined SPA profile
FC 14 – Read target off profile data block
FC 15 – Automatic placing of identifier/address
FC 16 – Program bit parameter
FC 17 – Change profile
FC 18 – Collective information „SPA connected“
FC 19 – Collective information „Check Position“
FC 21 – Automatic SPA scanning operation on/off

Following data blocks and memory bytes, memory words and double memory words are applied by the
previously described functions:

DB95

16 byte data block to store data that are read in by gateway

DB96

16 byte data block to store outgoing data to the gateway

DB97

6 byte data block to convert from ASCII into Real

DB98

DB to store all targets of a single SPA

DB99 Applies to global variables, for example Busy, current value_real, Timeout as well as other

variables required by the function blocks.

MW 1 Memory word to store the respectively current status of the gateway’s master counter.
M50.0 – M54.7 Memory range applied by function FC16.

Advertising