Charger protocol
Charger protocol
Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 1 of 12
Objective:
Procedure for Modbus -2W Communication in I-Swift Charger (FCBC & DFCBC) for testing.
Required Equipment/Tools:
SPARR
RS-485 4-Wire to USB
1 01 Electronics
convertor**
Ltd
‘**’ This convertor will work for both RS485 2-Wire & 4-Wire also.
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 2 of 12
Fig.01 communication cable between PCU board CN.1 & smart switch CN-24 or Micro bd CN-5.for
type refer below
Fig.01
Fig.02 shows communication port (CN2) for RS-485 2-wire Modbus protocol in PCU Board
RS485 2-Wire
output in PCU
Bd
Fig.02
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 3 of 12
o Communication cable -2 between PCU board CN2 and customer connection terminal block. For type refer
Fig.03
Fig.03
Refer Connection between Charger and Computer via PCU & USB to RS485 converter as per Fig.04
USB to R485
CONVERTER
PCU/Control
TB
D+ TX+ PC/Laptop
RX+
With
Qmod Master
D- TX- Software
RX-
Fig.04.
Charger side
PCU/ Control
TB
MODBUS
RTU/SCADA
D+ D+
D- Customer Side
D-
Fig.05.
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 4 of 12
Commissioning procedure:
Ensure all hardware connections as per Fig.03.
Install USB to RS485 driver software in PC/Laptop in case any issues noticed during installation
update the windows software.
Install QMod-Master (latest version) or other customer software’s those can support for Modbus
software in your computer/laptop.
Change the charger address in Smart switch for DFCBC or Micro Board for FCBC as shown in the
below table.
Ensure slave ID (Smart switch ID) is selected in the Q-Mod Master Software/Another Modbus
software. See table below
Use proper Register, Coil addresses and lengths before starting the process. Valid Function Codes and
Modbus Mode are shown in the following table:
Test Procedure:
Click on
o No. of bus monitoring line: 60
o Response time out(sec): 2
Fig.05.
Slave id Enter of Smart switch/Micro Board (for FCBC only) as per Table.01.
Function code Select ‘Read input Coils (0x01)’
Start address Enter ‘40’
Number of coils Enter ‘40’
Format Select ‘Decimal’
Fig.06
TABLE-2
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 7 of 12
The following table consists of charger display parameters with register addresses.
0 = No DC fuse fail
AC fail 1 = AC is within limit Coil (Bit) 60 003C
0 = No AC or out of limit
Blocking diode short 1 = Blocking diode shorted Coil (Bit) 61 003D
0 = No Blocking diode short
Battery on discharge 1 = Battery on discharge Coil (Bit) 62 003E
0 = Battery not on discharge
Charger DC OV indication** 1 = DC OV occurred Coil (Bit) 63 003F
0 = DC OV not occurred
Load Over Voltage (OV) 1 = Load OV occurred Coil (Bit) 64 0040
0 = Load OV not occurred
Load Under Voltage (UV) 1 = Load UV occurred Coil (Bit) 65 0041
0 = Load UV not occurred
Battery Over Voltage (OV) 1 = Battery OV occurred Coil (Bit) 66 0042
0 = Battery OV not occurred
Battery Under Voltage (UV) 1 = Battery UV occurred Coil (Bit) 67 0043
0 = Battery UV not occurred
Battery reverse polarity 1 = Battery reverse polarity Coil (Bit) 68 0044
0 = No Battery reverse polarity
AC input breaker trip 1 = AC input breaker trip Coil (Bit) 69 0045
0 = No AC input breaker trip
DC output breaker trip 1 = DC output breaker trip Coil (Bit) 70 0046
0 = No DC output breaker trip
Battery input breaker trip 1 = Battery input breaker trip Coil (Bit) 71 0047
0 = No Battery input breaker trip
AC input fuse fail 1 = AC input fuse fail Coil (Bit) 72 0048
0 = No AC input fuse fail
DFCBC parallel 1 = DFCBC parallel enabled Coil (Bit) 73 0049
0 = DFCBC parallel disabled
Filter fuse fail 1 = Filter fuse fail Coil (Bit) 74 004A
0 = No Filter fuse fail
Charger OK but Battery 1 = Charger OK but Battery on discharge Coil (Bit) 75 004B
discharge
0 = No discharge while charger OK
AC shutdown 1 = AC shutdown required Coil (Bit) 76 004C
0 = AC shutdown not required
DFCBC or FCBC 1 = DFCBC enabled Coil (Bit) 77 004D
0 = FCBC enabled
FC- FCBC 1 = FC-FCBC enabled Coil (Bit) 78 004E
0 = FC-FCBC disabled
DFCBC standby 1 = DFCBC Standby enabled Coil (Bit) 79 004F
0 = DFCBC Standby disabled
Doc. Ref: ENG(G-TP-2W-Modbus
AR Protocol With
AMARA RAJA PCU(RS485-2Wire) Rev
Gotta be a beter way Date :17.02.2023
Page : 12 of 12
TROUBLESHOOTINGINFORMATION:
Modbus Software showing error while
connecting or not showing any values/parameters:
a. Ensure COM Port
number and hardware connections again.
6. Ensure Register and Coil addresses and its
lengths (incorrect values will not give the output)
C. Check if drivers are installed properly or not in Windows
(USB to RS485 Convertor) and update
windows software.
d. Check Charger address in Smart Switch/Micro Board. Please follow address range as per manual.
NOTE:
Ensure not to use any intermediate convertors like RS485-2W to RS485-4W or RS232 to RS485
ii. Do not use Modbus 4wire communication in 2Wire communication.
17
022023