Detailed command set for block reads, Response/error code setup – Hardy HI 2151/30WC Single-Scale Controller User Manual

Page 22

Advertising
background image

HI 2151 Series Weight Controller
Profibus Interface Option

16

NOTE:

The decimal point is not included in values transferred. The decimal position is a separate
parameter.

4.3

DETAILED COMMAND SET FOR BLOCK READS

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 for lockout instructions)

1. The Block Read data to be input to the server is always initiated by a Block Write

Command designating the block number that the HI 2151/20WC Weight Controller
will send to the server.

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 the block number command from the server, 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.

NOTES:

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

To prevent errors and erroneous data from being sent to the HI 2151 Series Weight
Controller, in run mode, follow the procedures below
:

1. Set the Write Block Number to “0".

2. Write the new parameter to the output buffer.

3. Change the Block Number from “0" to the new number.

4.4

RESPONSE/ERROR CODE SETUP

1. The server ’s PROFIBUS diagnostics capability determines if the error code

information is automatically displayed on the server screen. The error code number
indicates if the parameter number write command is valid. (See Chapter 8, paragraphs
8.2.3 and 8.2.4)

If the PROFIBUS diagnostics are built into the server, an error code response number
is automatically displayed.

NOTES:

The first 6 bytes of the diagnostic information is reserved as defined in the Profibus
Standard. Bytes 7-12 are used by the HI 2151 Series PROFIBUS interface option to
provide automatic response/error codes.

If the PROFIBUS diagnostics are not built in to the server - a write number “90" must be
performed to get the error code response.

All write commands require a 50 millisecond response delay.

The write “90" command is used for Block Transfers only, for Selectable Transfers a write
“0" command is used.

2.

Use write “90" procedures to retrieve an error code response number. For the Error
Code List, See Chapter 8.

Advertising