Output table overview, First word - 0: command number – Hardy HI 1769-FC User Manual
Page 34

29
●
●
●
●
●
Chapter 4
Output Table Overview
To configure the module, you send commands via the PLC output table.
The 1769 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 and 0x62 uses 9.)
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 ID number in word 4 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 2 and 3, and the
parameter ‘s number in word 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
0x0
No command
STARTCMD
0x1
START
STOPCMD
0x2
STOP - once to pause; twice to Idle.
REFILLCMD
0x3
REFILL
WRITENONVOL
ATILE
0x4
Saves all parameters (including calibration constants) to
the non-volatile memory. Error Return Values: None
MANUALCMD
0x5
Enters manual mode
ABORTCMD
0x6
Stop, go straight to IDLE mode
CLEARALARMS
0x7
Clear all alarms from the rate status word.
RELOADNONVOL
ATILE
0x10
Causes the 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_P
OINTS_DEFINED
0x5E
Runs the 5-point rate calibration at percentage outputs
defined at words 5-9. 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_P
OINTS_DEFINED
0x5F
Runs the 2-point rate calibration at percentage outputs
defined at words 5-6. 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 a 5-point rate calibration. The
other points are filled with data based on these 2 points.
Word
Command structure write
0 Command
number
1
Format word (see Format Word below)
2 Value
(LSW)
3
Value (MSW)
4 Parameter
ID