Sensoray 518 User Manual
Page 27

26
Set Gage Span
This command sets the effective gain of a strain gage. Many gage installations simulate gage
loads by multiplexing a simulated zero and full-scale load signal onto the gage channel. To
utilize this command, switch the zero-load signal onto the channel and issue the Set Gage Zero
command. Next, switch the full-load signal onto the channel and issue the Set Gage Span
command.
COMMAND: (208 + CHAN), (DATA MSB), (DATA LSB)
RESPONSE: NONE
EXAMPLE:
‘ Calibrate the load cell connected to channel 1. Full-load is
‘ 40,000 pounds, and the 518 output units are to be scaled to 10
‘ lbs/bit. At full-load, therefore, 518 output will be 4,000.
Channel% = 1
ZeroCmd% = 176 ‘SET GAGE ZERO command opcode
SpanCmd% = 208 ‘SET GAGE SPAN command opcode
MaxLoad% = 4000 ‘coprocessor counts at full load
PRINT “Apply zero load to gage and press any key when ready .. “
DO : WHILE INKEY$ = ““ ‘wait for key press
CALL Send518byte (BasePort%, ZeroCmd% + Channel%) ‘send ZERO command to 518
PRINT “Now apply 40,000 pound load to gage and press any key when ready .. “
DO : WHILE INKEY$ = ““ ‘wait for key press
CALL Send518byte (BasePort%, SpanCmd% + Channel%) ‘send SPAN command to 518
CALL Send518word (BasePort%, MaxLoad%)