2016 | Lithionics Battery LLC | SOCV6 REV0
PRE-RELEASE
18
Serial Data Bi-Directional Communication:
Entering Setup Mode:
Upon initial power up SOC Gauge will be in data mode, so it will be sending
battery data according to its stored configuration. You can ignore this data and type in following
command and then press Enter to send it –
AT+SETUP
. If command is accepted the unit will respond
with OK and will stop sending data, expecting next set of AT commands. Below is the listing of all
commands. You don’t have to send all commands, only those which require changes to corresponding
parameters. Once all changes have been sent, complete setup by sending command –
AT+END
NOTE: When using Ethernet TCP/IP interface,
once in setup mode SOC Gauge will reset its IP
configuration to default listed on page 14, so it can communicate with Serial-Ethernet Gateway. It still
stores previously configured IP parameters and will revert to them once exited out of setup mode back to
data mode. This feature allows communication with SOC Gauge even when its stored IP parameters are
unknown or invalid, but requires use of Serial-Ethernet Gateway with crossover cable, to ensure
matching IP parameters during setup mode.
When using IP settings that are different than defaults listed on page 14 polling data will NOT be received
via Ethernet TCP/IP configuration interface. Although polling data is not received, BMS will still respond
to Setup mode and Data Mode Commands listed below.
List of all AT commands:
Commands listed below must be followed by new value after “=” sign. If new
value is outside of expected range, error message will be sent. If new value is accepted, OK message will
be sent as confirmation. For example, sending command AT+AH=100 will set Pack AmpHours to 100AH.
To list all stored values use AT+LIST command.
NOTE:
Detailed explanation of each value is outside of scope of this section. Please refer to pages 6-9 for
detailed explanation of each value.
AT+VR – Voltage Range. Set to 0 for 64V range or 1 for 350V range.
AT+AH – Pack AmpHours. Valid range 1 to 3000.
AT+FV – Full Voltage. Valid ranges 0 – 640 ( 64V unit) or 0 – 350 ( 350V unit)
AT+MSOC – Min SOC. Valid range 0 – 80.
AT+DIR – Current sensor direction. Set to 0 for Reversed or 1 for Normal.
AT+TC – Temperature Correction. Valid range 0 – 20.
AT+LF – Low Fuel trigger level. Valid range 0 – 80.
AT+TU – Temperature Units. Set to 0 for Celsius or 1 for Fahrenheit.
AT+CE – Charge Efficiency. Valid range 50 – 100.
AT+DZ – Dead Zone. Valid range 0 – 9.
AT+TM – Test Mode. Set to 0 for OFF or 1 for ON.
AT+ST – Sensor Type. Set to 1 for 1000A or 2 for 2000A
AT+CS – Current Scale. Valid range -50 – 50.
AT+IL – Idle Load. Valid range 0 – 20.
AT+BATID – Battery ID. Valid range 1-9.
AT+CCNT – Cell Count. Valid range 4-100.
AT+DTYPE – Data Type. Set to 0 for fixed data length or to 1 for comma delimited format.
AT+LVC – Enable or Disable LVC (Low Voltage Cutoff) 0 for Off 1 for On.
AT+SIP – Source IP address. Example - AT+SIP=192.168.0.254
AT+SMASK – Source Mask.
AT+SGW – Source Gateway.
AT+DIP – Destination IP address
AT+DPORT – Destination port in decimal form. Example AT+DPORT=65261