Driver Blocks; Pidr64/Pidr256; Description Of Pidr64/256 - Siemens SITRANS PCS 7 Function Manual

Library
Table of Contents

Advertisement

Driver blocks

18.1

PiDr64/PiDr256

18.1.1

Description of PiDr64/256

Object name (type + number) and family
Type + number: FB 2602/FB 2615
Family: AdvLibPI
Area of application for PiDr64/256
The block is used for the following applications:
● Exchange of acyclic data (data record length up to 64/256 bytes) from and to a DP slave
● Reading the diagnostics data of a DP slave
How it works
The block reads/writes acyclic data of a DP slave from/to the device.
Configuration
Use the CFC editor to install the block in a cyclic interrupt OB (OB30 to OB38).
When the CFC function "Generate module drivers" is used, the following occurs automatically:
● The member variables of input structure Addr (.Laddr0..6) are assigned the address
parameters configured in HW Config. Input Addr.Laddr0 is assigned the diagnostics
address, and the other inputs Addr.Laddr1..6 are assigned the logical address of the
respective slot. The member variable is assigned the value -1 if a slot is not configured in
HW Config. (The input structure AddrSlv is configured similarly with redundancy (ET 200
SP HA).)
● The Mode in/out parameter is interconnected to the corresponding OMode_xx output
parameter of the MOD_XXXX block.
● The input parameter Cfu is set to TRUE when a PA device is connected with the CPU via
a CFU.
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11
18
813

Advertisement

Table of Contents
loading

Table of Contents