1 read status, 2 write remote battery temperature to ps200/ch200, Rs-232 host (datalogger) command strings and ps200 – Campbell Scientific PS200/CH200 12 V Charging Regulators User Manual

Page 52: Ch200 response strings, Read status, Write remote battery temperature to ps200/ch200, On 6.3.3.2

Advertising
background image

PS200/CH200 12 V Charging Regulators

6.3.3 RS-232 Host (Datalogger) Command Strings and PS200/CH200

Response Strings

6.3.3.1 Read Status

Host command string: RD_STAT><CR>

PS200/CH200 response string: *,nnnn,nnnn,….,cc0

where “nnnn” refers to ASCII character strings that are separated by ASCII
commas, “cc” is a two-character CRC nullifier, and 0 is the string terminator.
The PS200/CH200 character strings occur in the following order (the sequence
order numbers shown below do not occur in the character strings):

1 – Battery Voltage, 2 – Battery Current, 3 – Load Current,
4 – Charge Input Voltage, 5 – Charge Input Current, 6 – Temperature,
7 – Charge State, 8 – Charge Source, 9 – Check Battery.

The character strings are numerical values expressed in ASCII numerals and
decimal points except for Charge State and Charge Source, which appear as
ASCII letter strings.

The Charge State string will be one of these character strings:

REGULATOR FAULT
NO CHARGE
CURRENT LIMITED
CYCLE CHARGING
FLOAT CHARGING
BATTERY TEST

The Charge Source string will be one of these character strings:

NONE
SOLAR
CONTINUOUS

6.3.3.2 Write Remote Battery Temperature to PS200/CH200

Host command string: WR_BT(mm.dd)> <CR>

where mm.dd refers to an ASCII string of numerals with a decimal point of
temperature in degrees Centigrade within -40 and 100 that overrides the
PS200/CH200 internal temperature measurement for 15 minutes or until
canceled by a temperature restore command. The temperature value is used in
calculating the optimal battery charge voltage.

PS200/CH200 response string

*Battery Temperature = nnnn,cc0

where nnnn refers to the ASCII numerical value string just sent from the host,
and “cc” is a two-character CRC nullifier, and 0 is the string terminator.

See Appendix A.1.2, Write/Reset Remote Battery Temperature RS-232
Programming Example
, f
or a programming example using this instruction.

44

Advertising