PD-01 PROFIBUS-DP Module

Example 3: Write data 2 to parameter P0804

To write data to P0804, request ID is set to 2 (Modify parameter value - word), Para Page Select should be set because the parameter address is greater than 2000. The address of P0804 is 0x0804, which is 2052 in decimal, if set Page Select to 1 (bit 15 of IND is 1), then the Basic PNU is 2052 – 1*2000 = 052 (0x34), thus, the data sequence are as follows:

Master PD-01

: 2034800000000002

write data to P0804

PD-01 Master

: 1034800000000002

 

Request

Word 1 (PKE) 2034

Word 2 (IND) 8000

Word 3 (PWE1) 0000

Word 4 (PWE2) 0002

Response

Word 1

(PKE)

1034

 

 

 

Word 2

(IND)

8000

 

 

 

Word 3

(PWE1)

0000

 

 

 

Word 4

(PWE2)

0002

 

 

 

All parameters values in VFD series Drives are 16-bit, so the data may be transferred in PWE2 (4th word).

NOTE:

VFD series Drives will write the data to EEPROM. When using PKW to change the value of parameter, the data will be written to EEPROM directly. However, if this

action is too often, the EEPROM will have no capability of directly saving data.

So please pay close attention on it.

Example 4: Read diagnostic data

User can use the special address to read the current diagnostic data. Please refer to Section 6.2 for details. The diagnostic address starts from 0x7500 to 0x7504 (5 words). To read diagnostic data in these addresses, request ID is set to 1, Para Page Select should be set because the parameter address is greater than 2000. The address 0x7500, which is 29952 in decimal, if set Page Select to 14, then the Basic PNU is 29952-14*2000=1952(0x7A0), thus, the data sequence are as follows:

Master - > PD-01 : 17A0700000000000read data from 0x7500

PD-01 - > Master : 17A0700000000300

18DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED

Page 21
Image 21
Delta PD-01 user manual 1034