0% found this document useful (0 votes)
25 views

Charger protocol

Uploaded by

Bálaji Rbr
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Charger protocol

Uploaded by

Bálaji Rbr
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Doc.

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.

Requirement for Modbus protocol.


1. Ensure software’s in Micro board & Smart switch as shown below.

I-Swift Battery charger (Up to 150Amps)


AR PROTOCOL (Regular) MICRO BOARD Reference
Description 24V 48V 110V 220V Purpose Only
ARE22001099 ARE22002099 ARE22003099 ARE22004099
PCB PART No.
PCB VERSION 11 11 11 11
SOFTWARE PART No. SW052001099 SW052002099 SW052003099 SW052004099
5 5 5 5
SOFTWARE VERSION

AR PROTOCOL (Regular) SMART SWITCH


Reference
Description 24V 48V 110V 220V
Image
PCB PART No. ARE22001117 ARE22002117 ARE22003117 ARE22004117
PCB VERSION 11 10 11 10
SOFTWARE PART No. SW032001117 SW032002117 SW032003117 SW032004117
SOFTWARE VERSION 3 3 3 3

Required Equipment/Tools:

S.NO Equipment/Tool Name Qty. Make Images

SPARR
RS-485 4-Wire to USB
1 01 Electronics
convertor**
Ltd

Any Reputed Have any updated Windows


2 LAPTOP/PC 01 with windows
update
https://download.cnet.com/QModM
3 QModmaster protocol Software 01 Qmod master aster/3000-2085_4-75819467.html

‘**’ 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.

 Fig.05 Show Connection between Charger and Modbus RTU/Customer SCADA

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

FCBC/DFCBC charger Slave ID range


Micro Board (FCBC only) 1-127
Smart switch 128-247
Table -1

 Use proper Register, Coil addresses and lengths before starting the process. Valid Function Codes and
Modbus Mode are shown in the following table:

Remote Terminal Unit (RTU)


MOD Bus mode RTU mode
Mode
Read Coils/Charger Alarm
Function Code Read Coils (0x01)
Statuses
Read Registers/Charger
Function Code Read Input Registers (0x04)
Parameters

Below are the parameters need to be set in MODBUS:

Test Procedure:

 Connect wires are shown in the Fig.02 from charger to Convertor


 Open Q-Mod master software/app   
In Modbus RTU Select serial port ex: - Com1/Com2 based on port connected .in Laptop/PC
 Serial Port – (Com port)
 Baud rate – 9600
 Data bit – 8
 Stop bit – 1
 Parity – None
 RTs – Disable
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 5 of 12

 Click on 
o No. of bus monitoring line: 60
o Response time out(sec): 2

Fig.05.

In settings Ref: Fig.05

 Select Modbus modeSelect ‘RTU’

 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’

 Click on tab  click on tab  then click on


tab & the following parameters shown below.
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 6 of 12

Fig.06

Note: Change start address to view the balance coils.

Description FC/FCBC/FCBC-1 FCBC/FCBC-2


TEST-1 TEST-1A
Parameter values
Function code - 0x04 Function code - 0x04
or
Start Address - 650 Start Address - 684
Input Registers
No of Registers/coils - 14 No of Registers/coils – 14
TEST-2 TEST-2A
Alarms
Function code - 0x01 Function code - 0x01
or
Start Address - 0 Start Address - 40
Coils
No of Registers/coils - 40 No of Registers/coils - 40

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.

Parameters of Modbus address mapping (FCBC, FC & FCBC/DFCBC)


FC/FCBC/FCBC-1 FCBC/FCBC-2

Parameter Data Type Register Register Register Register


Address Address Address Address
(Dec) (Hex) (Dec) (Hex)

Output voltage Word (Units of 100mV) 650 028A 684 02AC

Output current Word (Units of 100mA) 651 028B 685 02AD

Load voltage Word (Units of 100mV) 652 028C 686 02AE

Load current Word (Units of 100mA) 653 028D 687 02AF

Battery voltage Word (Units of 100mV) 654 028E 688 02B0

Battery current Word (Units of 100mA) 655 028F 689 02B1

Battery temperature Byte (Units of 1ᵒC) 656 290 690 02B2


Heat Sink
Byte (Units of 1ᵒC) 657 291 691 02B3
temperature
AC R-Y voltage Word (Units of 100mV) 658 292 692 02B4

AC Y-B voltage Word (Units of 100mV) 659 293 693 02B5

AC B-R voltage Word (Units of 100mV) 660 294 694 02B6

AC R current Word (Units of 100mA) 661 295 695 02B7

AC Y current Word (Units of 100mA) 662 296 696 02B8

AC B current Word (Units of 100mA) 663 297 697 02B9


Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 8 of 12

 The following table consists of FC/FCBC/FCBC-1 alarm’s with coil addresses.


FC/FCBC/FCBC-1 alarm's Modbus address mapping
Alarm Condition Data Coil Coil
Type Address Address
(Dec) (Hex)
Charger ON 1 = Charger ON Coil (Bit) 0 0000
0 = Charger OFF
Float mode 1 = Charger in Float mode Coil (Bit) 1 0001
0 = Charger in another mode
Boost mode 1 = Charger in Boost mode Coil (Bit) 2 0002
0 = Charger in another mode
Auto mode 1 = Charger in auto mode Coil (Bit) 3 0003
0 = Charger in another mode
Auto Voltage mode 1 = Charger in auto voltage mode Coil (Bit) 4 0004
0 = Charger in another mode
Auto Current mode 1 = Charger in auto current mode Coil (Bit) 5 0005
0 = Charger in another mode
AC measurement 1 = AC is taken with respect to neutral Coil (Bit) 6 0006
0 = AC is taken with respect to line
DC Over Voltage (DC OV) 1 = Shutdown in DC OV Coil (Bit) 7 0007
shutdown 0 = Cutback in DC OV
Charger short circuit 1 = Short circuit occurred Coil (Bit) 8 0008
0 = Short circuit not occurred
Charger fan fail 1 = Charger fan fail Coil (Bit) 9 0009
0 = No Charger fan fail
Earth fault 1 = Earth fault occurred Coil (Bit) 10 000A
0 = No earth fault occurred
SCR fuse fail 1 = SCR fuse fail Coil (Bit) 11 000B
0 = No SCR fuse fail
Battery fuse fail 1 = Battery fuse fail Coil (Bit) 12 000C
0 = No Battery fuse fail
Battery temperature high 1 = Battery temperature high Coil (Bit) 13 000D
0 = Battery temperature is within limit
Heat Sink (HS) 1 = HS temperature high Coil (Bit) 14 000E
temperature high 0 = HS temperature is within limit
Not used Coil (Bit) 15 000F

Not used Coil (Bit) 16 0010

Charger DC Under Voltage 1 = DC UV occurred Coil (Bit) 17 0011


(DC UV) 0 = DC UV not occurred
Charger fail 1 = Charger failed Coil (Bit) 18 0012
0 = Charger not failed
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 9 of 12

DC fuse fail 1 = DC fuse fail Coil (Bit) 19 0013


0 = No DC fuse fail
AC fail 1 = AC is within limit Coil (Bit) 20 0014
0 = No AC or out of limit
Blocking diode short 1 = Blocking diode shorted Coil (Bit) 21 0015
0 = No Blocking diode short
Battery on discharge 1 = Battery on discharge Coil (Bit) 22 0016
0 = Battery not on discharge
Charger DC OV 1 = DC OV occurred Coil (Bit) 23 0017
indication** 0 = DC OV not occurred
Load Over Voltage (OV) 1 = Load OV occurred Coil (Bit) 24 0018
0 = Load OV not occurred
Load Under Voltage (UV) 1 = Load UV occurred Coil (Bit) 25 0019
0 = Load UV not occurred
Battery Over Voltage (OV) 1 = Battery OV occurred Coil (Bit) 26 001A
0 = Battery OV not occurred
Battery Under Voltage 1 = Battery UV occurred Coil (Bit) 27 001B
(UV) 0 = Battery UV not occurred
Battery reverse polarity 1 = Battery reverse polarity Coil (Bit) 28 001C
0 = No Battery reverse polarity
AC input breaker trip 1 = AC input breaker trip Coil (Bit) 29 001D
0 = No AC input breaker trip
DC output breaker trip 1 = DC output breaker trip Coil (Bit) 30 001E
0 = No DC output breaker trip
Battery input breaker trip 1 = Battery input breaker trip Coil (Bit) 31 001F
0 = No Battery input breaker trip
AC input fuse fail 1 = AC input fuse fail Coil (Bit) 32 0020
0 = No AC input fuse fail
DFCBC parallel 1 = DFCBC parallel enabled Coil (Bit) 33 0021
0 = DFCBC parallel disabled
Filter fuse fail 1 = Filter fuse fail Coil (Bit) 34 0022
0 = No Filter fuse fail
Charger OK but Battery 1 = Charger OK but Battery on discharge Coil (Bit) 35 0023
discharge 0 = No discharge while charger OK
AC shutdown 1 = AC shutdown required Coil (Bit) 36 0024
0 = AC shutdown not required
DFCBC or FCBC 1 = DFCBC enabled Coil (Bit) 37 0025
0 = FCBC enabled
FC- FCBC 1 = FC-FCBC enabled Coil (Bit) 38 0026
0 = FC-FCBC disabled
DFCBC standby 1 = DFCBC Standby enabled Coil (Bit) 39 0027
0 = DFCBC Standby disabled
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 10 of 12

 The following table consists of charger2 alarms with coil addresses


FC/FCBC/FCBC-2 alarm's Modbus address mapping
Alarm Condition Data Type Coil Coil
Address Address
(Dec) (Hex)
Charger ON 1 = Charger ON Coil (Bit) 40 0028
0 = Charger OFF
Float mode 1 = Charger in Float mode Coil (Bit) 41 0029
0 = Charger in another mode
Boost mode 1 = Charger in Boost mode Coil (Bit) 42 002A
0 = Charger in another mode
Auto mode 1 = Charger in auto mode Coil (Bit) 43 002B
0 = Charger in another mode
Auto Voltage mode 1 = Charger in auto voltage mode Coil (Bit) 44 002C
0 = Charger in another mode
Auto Current mode 1 = Charger in auto current mode Coil (Bit) 45 002D
0 = Charger in another mode
AC measurement 1 = AC is taken with respect to neutral Coil (Bit) 46 002E
0 = AC is taken with respect to line
DC Over Voltage (DC OV) 1 = Shutdown in DC OV Coil (Bit) 47 002F
shutdown 0 = Cutback in DC OV
Charger short circuit 1 = Short circuit occurred Coil (Bit) 48 0030
0 = Short circuit not occurred
Charger fan fail 1 = Charger fan fail Coil (Bit) 49 0031
0 = No Charger fan fail
Earth fault 1 = Earth fault occurred Coil (Bit) 50 0032
0 = No earth fault occurred
SCR fuse fail 1 = SCR fuse fail Coil (Bit) 51 0033
Battery fuse fail 1 = Battery fuse fail Coil (Bit) 52 0034
0 = No Battery fuse fail
Battery temperature high 1 = Battery temperature high Coil (Bit) 53 0035
0 = Battery temperature is within limit
Heat Sink (HS) temperature 1 = HS temperature high Coil (Bit) 54 0036
high
0 = HS temperature is within limit
Not used Coil (Bit) 55 0037
Not used Coil (Bit) 56 0038
Charger DC Under Voltage 1 = DC UV occurred Coil (Bit) 57 0039
(DC UV)
0 = DC UV not occurred
Charger fail 1 = Charger failed Coil (Bit) 58 003A
0 = Charger not failed
DC fuse fail 1 = DC fuse fail Coil (Bit) 59 003B
Doc. Ref: ENGG-TP-2W-Modbus
AR Protocol With PCU(RS485-2Wire) Rev :0
Date : 17.02.2023
Page : 11 of 12

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

Prepared By: Venugopal K Verified By: Kômala G Approved By: Jaggaiah G

You might also like