Owner manual
Scale Basic 4.2E Reference
Relay on, 10 turn relay number contained in Memory10 on
Example: turn off all relays. If scale is at center of zero, turn on relay 3.
Relay off, 0 turn off all relays
If, Centerz If scale is at center of zero
Relay on, 3 turn on relay 3
End if End if
End End of function
Resume (see Suspend instruction) 250
Set [r] (nnn) 209 [r] [nnn]
Purpose: set a register to a value between 0 and 255.
Remarks: values greater than 255 are replaced by the modulo of 255.
Example: Set, Memory1, 0
Set, Tare, 100
Set, Id1, 299 ERROR, the maximum number is 255
Set pt off / Set pt on (nn) 221 [nn] / 220 [nn]
Purpose: to deactivate / activate a setpoint monitor.
Remarks: the active setpoint monitors are scanned by the event monitor, the inactive setpoint
monitors are not scanned. When the setpoint condition is reached in an active setpoint
monitor, it activates a scale basic function, and de-activates itself. The Set pt on instruction
must be executed to reactivate a setpoint monitor.
Set pt off 0 turns off all setpoint monitors.
Example: a filling operation uses relay output 1 to open a fill valve. Setpoint monitor 1
monitors for overweight conditions, Setpoint monitor 2 is set to activate function 2 when the
net weight on the scale > Memory1. Function key 1 activates function 1 which begins the fill
operation.
Fn1 Get data, Memory1 Get the fill amount
If not, Clear key If Clear key NOT pressed
Gosub Tare Tare the scale
Relay on, 1 Turn on fill valve
Set pt on, 1 Turn on over-weight monitor
Set pt on, 2 Turn on setpoint monitor 2
End if End if
End End of function
Fn2 Relay off, 1 Turn off relay1
Set pt off, 0 Turn off all Setpoint monitors
End End of function