beautypg.com

Flintec MCS-64 ModbusOnEthernet User Manual

Page 26

background image

Page

26

Manual MSC-64: Modbus on Ethernet

5.7 Setpoint Commands - Sn, Hn, An

The LDM88.x has 4 setpoints where the status depends on the weight value. Each of them can
be assigned as an independent setpoint value (Sn) with a corresponding hysteresis/switch action
(Hn) and base (An – switch on the gross or the net weight).


Sn

Setpoint n; with n = 1, 2, 3 or 4

Select setpoint 1…4

[ Register = 2067, Type = Int16, Value = 0…3 ]

Value of the selected setpoint

[ Register = 206C, Type = Int32 ]

Request / Setting

Master (PC / PLC) sends

Device responds

Result

S1 1+01500

Setpoint S1 = 1500 d

S1_03000 OK

Setting: Setpoint S1 = 3000 d

Setpoint range between ± 1 (minimum) and ± 199999 (maximum).

Similarly to read or set setpoint 2, use S2 instead of S1, etc.


Hn

Hysteresis of setpoint n; with n = 1, 2, 3 or 4

Hysteresis of the selected setpoint

[ Register = 206A, Type = Int32 ]

Request / Set Hysteresis value for setpoint 1

Master (PC / PLC) sends

Device responds

Result

H1 1-00100

Request: neg. Hysteresis

H1_100 OK

Setting: pos. Hysteresis

H1_-100 OK

Setting: neg. Hysteresis

Similarly to read or set the setpoint 1 hysteresis, use H2 instead of H1 etc.

Using the H1 command, the hysteresis on the setpoint value is set by the numeric value and the
polarity of this numeric value defines whether the setpoint switches on or off when the setpoint
value is reached.

Example

Setpoint

Hysteresis

Load

OFF

ON

S1 = 20.00 kg

H1 = -1.00 kg

increasing

≥ 21.01 kg

0 ... 21.00 kg

S1 = 20.00 kg

H1 = -1.00 kg

decreasing

≥ 20.00 kg

19.99 ... 0 kg

S1 = 20.00 kg

H1 = 1.00 kg

increasing

0... 19.99 kg

≥ 20.00 kg

S1 = 20.00 kg

H1 = 1.00 kg

decreasing

19.00. ..0 kg

≥ 19.01 kg

Example of negative hysteresis of 1.00 kg (H1 = -100) on a setpoint (S1) of 20.00 kg (lines 1 & 2
of table above):

When the weight is increasing between 0 kg and 21.00 kg the setpoint is “ON”. Once the weight
increases above 21.00 kg then the logic output is “OFF”. The setpoint will come “ON” again when
the weight value drops below 20.00 kg.