Serial communications port 2 input – Industrial Data Systems IDS Scale Basic User Manual
Page 46

Scale Basic 4.2E
Reference
Example2: a bar code reader is used to read the tare weight for the scale. Setpoint 1 is
configured to trigger when a bar-code message is received. Function 1 reads the bar-code
data into the Tare register.
Setpoint1: Upper register = True, Lower register = Barcode, Function = User1.
Fn. 1:
Get data, Tare
read bar-code data into the tare register.
End
End
of
function
Serial Communications Port 2 Input
Purpose: execute commands received by communications port 2.
Remarks: Communications port 2 operates by it’s own event scanner. It operates in the
background (unnoticed by the operator). The following commands are recognized by
communications port 2:
NOTE: xxx = 3 digit number(1..255), nnnn = up to 10 digit number,
return (13)
CR, CU, CV, CW
Purpose: Read and write configuration data. These commands are used by EZ Link only.
Fxxx
Purpose
Remarks: this instruction provides remote control of any indicator function by way of scale
basic functions.
Example: the indicator receives F130
The indicator receives F2
Nxxx
Purpose
Remarks: Port 2 can be assigned a station ID (EZ Link: I/O Ports / Station ID. Configuration
parameter 27). If the station ID is between 1 and 254 then port 2 powers up in network
mode. In network mode, the port 2 transmitter is turned off and no commands are accepted
until a station select is received.
Example: Station ID is 125. The following commands are received:
N120
The indicator does nothing because its station ID has not been selected.
N125
The indicator is selected, executes function 5 and is then deselected when it receives the
N110
RRxxx
Purpose