Operation
The SCB-483x6 will send an analog voltage to the RIO-4712x 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
RIO-47xxx
A2 – SCB-48306/48316
●
99
Содержание RIO-47**0
Страница 2: ......
Страница 93: ...RIO Dimensions RIO 471xx Units in centimeters RIO 47xxx Appendix 87...
Страница 94: ...RIO 472xx Units in millimeters 88 Appendix RIO 47xxx...
Страница 107: ...Internal 56 64 Zero Stack 53 RIO 47xxx Index 101...