Good day
Can I connect rs232 sensor to CR6's CPI port.
Thanks
Yes - you need the right adapter and then you use SerialOpen,SerialIn,SerialOut and similar instructions
within the CRBasic program.
Purchase Campbell Scientific pn 31055 (male DTE) or pn 31056 (female DCE, null modem) as an adapter. Conventional RJ45 to RS-232 adapters are NOT compatible.
The RJ45 connector on the CR6 labeled RS-232/CPI can be
used either for CPI communications or RS-232 communications
(not both at the same time). Depending on how your CRBasic
program is written, the port will be placed into either RS-232 mode or CPI mode at the time the program starts.
In the CR6 manual:
https://s.campbellsci.com/documents/us/manuals/cr6.pdf
take a look at section:
5.3.2.5.2 RS-232 Ports