Baumer GK473 User Manual

Page 28

Advertising
background image

Manual_GK473_S7_Profibus_EN.doc 28/32

Baumer IVO GmbH & Co. KG

04.05.11

Villingen-Schwenningen,

Germany

4.7 FC 11 – Read target off current SPA profile

This function is for reading off the current profile of the addressed SPA. The SPA identifier is passed to
the function as integer number and returned is the target.
The function runs identical to FC10, but instead of the current value being read in FC1 only the target
being read in is converted.

Call function:

CALL FC 11

SPA_ID

:= INT

Time_Out := BOOL

Error

:= BOOL

Busy

:= BOOL

Target_Real := REAL

Active_profile := INT



4.8 FC 12 – Read target off defined SPA profile

This function is for reading a defined target from a profile presently not active. FC12 is given both SPA
identifier and the selected profile number for read out. Returned is the target.
The function runs identical to FC10 and FC11 with the only difference that when generating the
command also the required profile number is first converted into ASCII format and then also written
into DB96.

Call function:

CALL FC 12

SPA_ID

:= INT

Profile number := INT

Time_Out

:= BOOL

Error

:= BOOL

Busy

:= BOOL

Target_Real := REAL



4.9 FC 13 – Write target into defined SPA profile

This function is for writing a target in real format into a certain SPA profile. The function is given the
respective SPA identifier, the required profile number to write in as well as the target in REAL format.

Call function:

CALL FC 13

SPA_ID

:= INT

Profile number := INT

Target

:= REAL

Time_Out := BOOL

Error

:= BOOL

Busy

:= BOOL


Advertising