![Campbell CS240 Скачать руководство пользователя страница 27](http://html1.mh-extra.com/html/campbell/cs240/cs240_product-manual_3915813027.webp)
Table B-3: Wiring for the CS240DM example program
Standard cable
wire color
3-twisted pair cable
wire color
CR6 terminal
Function
Blue
Green
C1
RS-485 A/A' [–]
White/blue striped
White
C2
RS-485 B/B' [+]
Brown
Red
12V
5 to 30 VDC
White/brown striped
Black
G
Ground (power)
Green
Yellow
⏚
Modbus common
--
Clear
⏚
Shield
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 Sensors
24