beautypg.com

13 parameter 65002, read/write, 14 parameter 65003, read only, 5 example of reading and writing to a parameter – HEIDENHAIN PROFIBUS-DP (DPV2) User Manual

Page 60: Parameter 65002, read/write, Parameter 65003, read only, Example of reading and writing to a parameter, Table 26, Used hardware components, Table 27, Used software components

background image

Acyclic parameter data

60

7.4.13 Parameter 65002, read/write

Used with telegram 84

65002 signed long long, Preset value 64 bit.

7.4.14 Parameter 65003, read only

Used with telegram 84

65003 unsigned long long,

65003[0]=

0x00000000000

4

0101

Header Version of parameter structure and

numbers of index describing encoder.

4 index

and

version 1.01

65003[1]=

Offset value 64 bit

65003[2]=

Singleturn value 64 bit, scaled value

65003[3]=

total measuring range in measuring units 64 bit, scaled value (Linear =1)

7.5 Example of reading and writing to a parameter

This is an example of S7 blocks used for reading and writing to

parameter 65000 (preset value). Experience with S7

programming and Statement List programming language STL is

required.

Hardware components

Master

SIEMENS S7F-CPU

CPU 315F-2 PN/DP

Slave device

PROFIBUS encoder

Table 26

Used hardware components

Software components

SIMATIC STEP 7

V5.4 + SP5

GSD file for absolute

encoder

GSD Enc_0aaa.gsd

Table 27

Used software components