beautypg.com

Configuration output table overview, First word - 0: command number – Hardy HI 1756-FC User Manual

Page 18

background image


Configuration Output Table Overview

To configure the module, you send commands via the PLC output table.

The 1756 module uses 32 16-bit INT words in and out. Only 5 words of the output table
are normally used. (Command 0X5E uses ten and 0X5F uses seven)

13

Chapter 4

Word Command structure write

0 Command

number

1

Format word (see Format Word below)

2 Value

(LSW)

3

Value (MSW)

4 Parameter

ID

Parameters can be read (READPARAM) or written (WRITEPARAM) one at a time:

 To read a parameter, put the readparam command number in word 0, the format

word in word 1, and the parameter’s number in word 2 of the output table.

 To write a parameter, put the writeparam command number in word 0, the

format word in word 1, and the parameter’s value in words 3 and 4 of the output
table.

First Word - 0: Command Number

The first word in the output table is a command. The possible commands are:

Command

# Hex

Description

NOCMD

0

No command

STARTCMD

1

START

STOPCMD

2

STOP

REFILLCMD

3

REFILL

WRITENONVOLATILE

4

Saves all parameters (including calibration
constants) to the non-volatile memory. Error Return
Values: None

MANUALCMD

5

Enters manual mode

ABORTCMD

6

Stop, go straight to IDLE mode

RELOADNONVOLATILE

0x10

Causes the weigh module to re-read the values
stored in its non-volatile memory. Parameters
changed since the last write non-volatile command
are overwritten. Can be used to abort a calibration
or parameter entry session. No error return values.

RATE_CAL_5_POINTS_
DEFINED

0x5E

Runs the 5-point rate calibration at percentage
outputs defined at words 2-6. The percentages have
0 decimal places. They must be > 0, < 100, and in
ascending order, with a minimum of 10 between
them.

RATE_CAL_2_POINTS_
DEFINED

0x5F

Runs the 2-point rate calibration at percentage
outputs defined at words 2-3. The percentages have
0 decimal places, and must be > 0, < 100, and in
ascending order, with a minimum of 10 between
them. This calibration operates at points 2 and 4 of