Update alt 145, User1…user15 1…15, Zero 130 – Industrial Data Systems IDS Scale Basic User Manual

Page 42: Events, Keyboard events, Setpoint monitors, Keyboard events setpoint monitors

Advertising
background image

Scale Basic 4.2E

Reference

Loop1

While

-

If Motion

Motion on scale

Update

Update

scale

readings

Next1

End

-

End

if

While

Motion

Gosub

Print1

Print

page

1

Update

alt

145

Purpose: update alternate weight units registers.
Remarks: the indicator is designed provide weights in 2 units of measure: primary and alternate

units. The all weight calculations are performed in the primary weight units. The alternate
unit weights are only calculated as needed. If you use alternate units in Scale Basic functions,
the Gosub Update alt before using the alternate weight registers.

User1…User15

1…15

Purpose: provide user programmable functions.

Zero

130

Purpose: to zero the weight on the scale.
Remarks: condition code Positive is true if successful. The gross weight must be within the

configured zero range and the scale must be stable for this function to succeed. This is the
default function for the Zero key.

Events

Keyboard Events

Purpose: to execute a Scale Basic function when a key is pressed. A key-press event occurs

when a function key (PRINT, UNITS, GROSS/NET, TARE, F1, F2) is pressed.

Setpoint Monitors

Purpose 1: to monitor 2 registers and activate a scale basic function when the lower register is

greater than or equal to the upper register ( trigger when: lower register >= upper register ).

Purpose 2: to monitor a condition code and activate a scale basic function when the condition is

true or false. Set the upper register to True or False then the lower register to a condition
code.

Remarks: Setpoint monitors are activated using the Scale Basic instruction: Setpoint On [x].

There are 16 setpoint monitor records that contain the following data:

Upper register [P0] the upper value register, setpoint triggers when lower >= upper

Lower register [P1] the lower value register

Scale Basic Function [P2}

the scale basic function to execute when lower >= upper

Use the EZ Link button ‘Setpoint Events’ or the indicator configuration function 71 to enter
setpoint parameters.

Advertising