Hitachi SJ-PB(T) instruction manual Parameter Examples, Writing a four byte parameter

Page 21

CHAPTER5 OPERATING

5.4 Parameter Examples

5.4.1 Writing a four byte parameter

In this first example, PPO1 is used to set parameter F002 (1st Acceleration time 1) to 4.00 seconds. Also, a Start command and a frequency set-point (50%) is given.

Please note: When reading/writing parameters via the Profidrive profile the cross-reference list must be used, see chapter 5. For example, parameter F002 (1st Acceleration time 1) have parameter number 23 (17h) on Profibus.

Word

Request:

PLC->Inverter

Response:

Inverter->PLC

 

PKW

 

 

 

PZD

 

 

1

2

3

4

5

6

 

 

PKE

IND

PWE

PWE

STW

HSW

 

 

 

 

 

ZSW

HIW

 

30 17

00 00

00 00

01 90

04 06

20 00

 

 

 

 

04 7F*

 

 

 

 

 

 

 

 

 

20 17

00 00

00 00

01 90

03 31

20 00

 

 

03 37

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In the request message the first two bytes are used for parameter identification. The first digit (2) denotes the function “Change parameter value (long word)” (refer to chapter 3.2). The second digit along with the second byte (0 and 17) indicates parameter number 23. Bytes 7 and 8 (01 90 = DEC 400) is the parameter value (400 meaning 4.00 seconds). The last four bytes are the Control Word and Frequency set-point. Control Word value 04 06 -> 04 7F* starts the motor, while 20 00 (refer to 5.3.2) signifies 50 % of the maximum frequency specified in parameter A004.

In the response message, the first digit (2) indicates the function “Transfer parameter value (long word)”. Value (01 90 in bytes 7 and 8) and parameter number (x0 17) are mirrored from the request. The last four bytes are Status Word and Actual frequency (%).

5.4.2 Writing a two byte array parameter

In this second example, we are configuring PZD3 to contain the value of parameter A038, “Jogging frequency” in the responses from the inverter to the master (PLC). PPO2 is used. On Profibus parameter A038 corresponds to parameter number 61 (3Dh). This is configured with parameter number 916 (394h), “Assignment of PZD read word” (see also chapter 5.3. and 5.5).

 

PKW

 

 

 

PZD

 

 

 

 

 

Word

1

2

3

4

5

6

7

8

9

10

 

PKE

IND

PWE

PWE

STW

HSW

PZD3

PZD4

PZD5

PZD6

 

 

 

 

 

ZSW

HIW

 

 

 

 

Request:

73 94

01 00

00 00

00 3D

04 06

20 00

00 00

00 00

00 00

00 00

PLC->Inverter

04 7F

 

 

 

 

 

 

 

 

 

Response:

 

 

 

 

 

 

 

 

 

 

43 94

01 00

00 00

00 3D

03 31

20 00

01 F4

00 00

00 00

00 00

Inverter->PLC

03 37

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17

Image 21
Contents Hitachi Inverter Revision History Table Safty Precautions Otherwise, there is a danger of electric shock and/or fire Otherwise, there is a danger of connecting errorOtherwise, there is a danger of electric shock Otherwise, there is a danger of fireInspection Upon Unpacking Appearance and Names of Parts Outline of productProfibus-DP Supported Version Technical features of Profibus-DPApplication temperature 0 to 50 degree Production specificationMounting method of option board Installation of option boardPhysical interface Profibus connectorsPin Layout of SJ-PB Name Function Pin Layout of SJ-PBTPROFIBUS-DP Wiring noteNode Address Profibus ConfigurationBaudrate PPO-type selectionSetting of controlling frequency and start/stop commands Action at communication errorP001/P002 Action at error detection Remarks Operating PPO- descriptionPCA word PKW-partResponse ID Function Request Function Ackn +Control- / status word STW/ZSW PZD-partStatus word Frequency set-point/ Actual frequency Profidrive state diagramPlease Note PZD wordParameter Examples Writing a four byte parameterWriting a two byte array parameter Writing a two byte array parameter #2 Profidrive parameters Profidrive specific parametersMalfunction codes Fault code SJ300/L300P Fault description ParameterProtection function list Trip displayCountermeasure for a trip state LED display and CountermeasureParameter cross-reference list Code Size Range Magn Contents L300P ReadCode Size Range Magn H033 ~655.35A 100 1st No load current Io of motor Auto B023 126 10~30.00 100 Constant value of Overload restriction C111 169 ~200.0% Level2 of overload restriction warning A053 215 ~5.0s Delay time of DC braking start B045 252 00,01 Code Selection of LAD stop by torque Appendix P013 329 00~03 Code Selection of method of Pulse lines input Code Size