Detailed command set for selectable writes, Selectable write command setup procedures – Hardy HI 2151/30WC Single-Scale Controller User Manual

Page 52

Advertising
background image

HI 2151 Series Weight Controller
Profibus Interface Option

46

4. The ladder logic program provides the server with the ability to read

and write weight data by referencing the PROFIBUS address, the
parameter numbers and number of bytes.

NOTE:

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

7.4

DETAILED COMMAND SET FOR SELECTABLE 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/20 WC
Operation and Installation Manual (#0596-0178-B), Section 6,
Paragraph 6.3 or HI
2151/30 WC Operation and Installation Manual (#0596-0224-A) Section 4, Paragraph
4.12, for lockout instructions)

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

desired parameter number(s) to the HI 2151/20WC weight controller via the
PROFIBUS Interface Card. The weight controller receives a parameter number
command, verifies that the parameter number is correct, processes the weight data and
prepares a response byte (an error code response number) to the PLCs command.

NOTE:

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

NOTE:

The write “0" should be the first command written, to ensure that the error codes are
displayed on the server screen.

7.5

SELECTABLE WRITE COMMAND SETUP PROCEDURES

1. Use Block Write Number 83 - Personalized Selection of Write Commands.

2. This block allows the user to select as many write commands up to the byte limit of the PLC.

Block Write Command Number 83: Personalized Selection of Write
Commands

Byte definitions:

Block Write Number 83 (Hex 5300)

Unused Byte

00

Enter Parameter Number

Unused Byte

Enter Byte Value

(Repeat for all Write Commands, but do not exceed PLC word/byte limit)

FF (end)

FULL WORD VARIABLES MUST BEGIN ON WORD BOUNDARIES,
WHEN TRANSFERRING OPERATOR SELECTABLE COMMANDS OR
DATA. SEE EXAMPLE BELOW

Advertising