NORD Drivesystems BU0290 User Manual

Page 43

Advertising
background image

5 PROFINET - Data transfer

BU 0290 GB-4312

Subject to technical amendments

43

5.2.4.2

Writing the frequency inverter parameter P102 Index 1 (start-up time)

Data record 101 is used:

Field

Data size

Byte

Datum

Explanation

Order label

+

Parameter number

2 Byte




2

02

h

+

44E h

_________

02 44E h

Change parameter value (Write) (refer to Section 5.2.3.1)

+

Parameter number P102 (102

dec

+1000

dec

) = 44E h

Parameter index

(Data record)

2 Bytes

3

4

01 h

00 h

Parameter sub-index (refer to Section 5.2.3.2)

Parameter value

4 Bytes

5

6

7

8

00 h

00 h

00 h

FA h

The time 2.5s (250 = FA h) is to be set

Table 29 Example telegram for reading parameter P102[-02]


S7 Code example:

CALL "WRREC" , DB53

WriteRequest

REQ :=#bStart

ID :=DW#16#7FC

Diagnosis address

INDEX :=101

Data record 101

LEN :=8

Length: 8 Bytes

DONE :=#bEnde
BUSY :=#bBusy
ERROR :=#bError
STATUS:=#wStatus

RECORD:=P#DB10.DBX0.0 BYTE 8

Data: 24h, 4Eh, 01h, 00h, 00h, 00h, 00h, FAh

CALL "RDREC" , DB52

ReadResponse

REQ :=#bStart

ID :=DW#16#7FC

Reference

INDEX :=101

Data record 101

MLEN :=8
VALID := …
BUSY := …
ERROR := …
STATUS:= …
LEN := …

RECORD:=P#DB10.DBX12.0 BYTE 8

Response: 14h, 4Eh, 01h, 00h, 00h, 00h, 00h, 00h




Advertising