Table B-3: Wiring for the CS240DM example program
Standard cable
wire colour
Blue
White/blue striped
Brown
White/brown striped
Green
--
B.1 CS240 two-wire configuration programs
CRBasic Example 1: CR300 2-wire configuration for measuring the CS240
'CR300 Series
'Declare Variables and Units
Dim
CS240X
Dim
CS240Rs
Public
CS240T_C
Units
CS240T_C=Deg C
'Define Data Tables
DataTable(Hourly,True,-1)
DataInterval(0,60,Min,10)
Sample(1,CS240T_C,FP2)
EndTable
'Main Program
BeginProg
'Main Scan
Scan(5,Sec,1,0)
'CS240 (2-wire) Class A RTD Back of PV Module Temperature Sensor
'measurement 'CS240T_C'
BrHalf(CS240X,1,mV2500,1,Vx1,1,350,True,0,60,1,0)
'Convert ratio to ohms and remove cable resistance
CS240Rs=CS240X*(1000+0.274)/(1-CS240X)-0.274
CS240 and CS240DM PT-1000 Class A, Back-of-Module Temperature
3-twisted pair cable
wire colour
Green
White
Red
Black
Yellow
Clear
CR6 terminal
Function
C1
RS-485 A/A' [–]
C2
RS-485 B/B' [+]
12V
5 to 30 VDC
G
Ground (power)
Modbus common
⏚
Shield
⏚
Sensors 24