Detailed command set for block transfer (writes), Block write example – Hardy HI 2151/30WC Single-Scale Controller User Manual

Page 34

Advertising
background image

HI 2151 Series Weight Controller
Profibus Interface Option

28

NOTE:

The weight controller will not accept write commands until calibration is sealed. Press

“Enter” at ENDCAL to seal the calibration. (See HI 2151 Series Weight Controller
Operation and Installation Manual, for calibration instructions)

5.4

DETAILED COMMAND SET FOR BLOCK TRANSFER (WRITES)

NOTE:

We recommend that front panel functions be controlled through the PROFIBUS network
and that the front panel control be disabled or locked out. (See the
HI 2151 Series
Weight Controller Operation and Installation Manual (#0596-0178), for lockout
instructions)

1. All write commands are initiated by the server using a ladder logic program to send a

block number to the HI 2151/20WC.

NOTE:

If your server device does not have built in PROFIBUS diagnostic capability set up the
Response/Error “90" diagnostics first, (See section 4.4) before proceeding. The write “90"
must be set before entering a block write command so that the verification process can
determine if the first block write command sent is valid or not.

2. The weight controller receives a block number command, verifies that the block

number is correct, processes the weight data and prepares a response byte (an error
code response number) to the server’s command.

NOTE:

Changes to Block Writes/Charts should be made in program mode.

5.5

BLOCK WRITE EXAMPLE

NOTE:

When making changes to block writes in run mode, follow the procedures below:

1. Set the Block Number to “0".
2. Write the new parameter to the output buffer.
3. Change the Block Number from “0" to the new number.

The following example is a setup to download set point #1 and #2 values, preacts and dead
bands using Block Write Command 72 (48 hex): Set point Relay Status 1 & 2.

NOTE:

Any set point, preact and dead band values can be entered into K memory.

When C1 is activated the Move Word 1 (MOVW1) downloads the information to the
weight controller using WY17 through WY31.

K1: Contains hex 48FF (Selects Block 72 and enables set point relays 1 and 2)

K2: Contains hex 0102 (Sets relay 1 to Gross and relay 2 to Net)

K3: Contains Double 1000 (Sets set point 1 to 1,000)

K5: Contains Double - 5 (Sets Preact 1 to negative -5)

K7: Contains Double - 10 (Sets Dead band 1 to negative -10)

K9: Contains Double - 100 (Sets set point 2 to negative -100)

K11: Contains Double 5 (Sets Preact 2 to 5)

K13: Contains Double 10 (Sets Dead band 2 to 10)

Advertising