![Galil Motion Control RIO-47 series
RIO-47100 User Manual Download Page 115](http://html1.mh-extra.com/html/galil-motion-control/rio-47-series-rio-47100/rio-47-series-rio-47100_user-manual_558776115.webp)
Operation
The SCB-483x6 will send an analog voltage to the RIO-4712x or RIO-47142 that is proportional to the
temperature of the junction by the Voltage constant defined in the Specifications section. When
using the SCB-483x6, the analog inputs should be set to 0-5V inputs for the thermocouple inputs.
This is done with the AQ command with a setting of 3 (AQ n,3 – where n=0-5 for TC[0:5]).
The temperature can be determined by using the Voltage constants given in the Specifications
section. The equation for calculating Temperature in deg C is:
Temperature (deg C) = (@AN[0:5] * 1000)/Voltage Constant
Where
@AN[0:5]
Analog input readings for TC[0:5]
Voltage Constant
Voltage constant for SCB-483x6 and thermocouple type is defined in the
Specifications section
The below code uses analog inputs 0-5 and stores the temperature into array Tc[0:5] – written for
type K thermocouples.
#MAIN
REM Analog inputs 0-5 to 0-5V inputs
AQ 0,3
AQ 1,3
AQ 2,3
AQ 3,3
AQ 4,3
AQ 5,3
DM Tc[6]
voltK=10.15;'mV/deg C - type K
AT0;'set initial time reference
#Calc
n=0
#CalcH
Tc[n]=(@AN[n]*1000)/voltK
n=n+1
JP#CalcH,n<6
AT-100;'wait 100ms from last time ref
JP#Calc
A2 – SCB-48306/48316 ▫ 115 RIO-47xxx Rev 1.0r