You are on page 1of 12

La Marche Manufacturing Company | www.lamarchemfg.

com

MODBUS SCADA Interface


for A77 Chargers with Option 21S

Setup Instructions

This manual is only valid for A77 Chargers


equipped with the S2A-388S communications card
and 368S software version P368S0114

106 Bradrock Dr. Des Plaines, IL 60018-19671 Instruction Drawing Number: P25-LOPT21S-A77-368S-4
Tel: 847 299 1188 Fax: 847 299 3061 CPN 143126 Revision A00 Rev. Date: 07/20 ECN: 20985-31
Default Settings

The LaMarche Communications Card is shipped with the following default settings;

Protocol: Modbus RTU


Modbus Address: 1
Modbus Port: RS232
Modbus Baud Rate: 9600
Modbus Parity: None
Data Bits: Fixed at 8
Stop Bits: Fixed at 1

Setting the Modbus Address, Baud Rate, Port & Parity

To change the Address, Baud Rate and Parity you need to enter the Settings Menu and go to the
Communications Settings Menu. From there you can change the following settings;

Remote Disable (YES or NO). Defaults to NO. When set to YES the charger data is read only. Remote settings
changes are prohibited. Writes to Coils and Holding Registers will be ignored.

Modbus Type (Modbus Serial or Modbus TCP). Defaults to Modbus Serial. Chargers with Option 21S should not
set the Modbus Type to Modbus TCP.

Modbus Address (1-247)

Modbus Baud (1200, 2400, 4800, 9600, 19200, 38400)

Modbus Parity (NONE, ODD, EVEN)

2
RS232 & RS485 Serial Applications

CHARGER PORT POWER SUPPLY


(LAMARCHE USE ONLY)

(NOT FOR CUSTOMER) BIAS RESISTOR JUMPER SELECT

D+ GND D-
RS232 RS485 PORT RS485 PORT
SELECTION JUMPERS RS232 PORT (DTE)

TERMINATION RESISTOR JUMPER SELECT


WIRED DTE

WIRED AS D
For RS232 (WIRED AS DTE CONNECTION): TT

The shorting jumpers must be on positions JP14Wand JP16.

For RS485

The shorting jumpers must be on positions JP13 and JP15. In addition for RS485 applications the following
should also be set as required;

Shorting jumper on JP5 – Termination resistor is OUT of circuit.


Shorting jumper on JP6 – Termination resistor is IN circuit.
Shorting jumper on JP1 – D+ bias resistor is OUT of circuit.
Shorting jumper on JP2 – D+ bias resistor is IN circuit.
Shorting jumper on JP3 – D- bias resistor is OUT of circuit.
Shorting jumper on JP4 – D- bias resistor is IN circuit.

3
LaMarche Modbus Implementation

Supported Modbus Types

RTU
TCP

Supported Modbus Function Codes

01 – Read Coil Status (0X)


02 – Read Discrete Input Registers (1X)
03 – Read Holding Registers (4X)
04 – Read Input Registers (3X)
05 – Write Single Coil
06 – Write Single Register

Coils
Supported Functions: 01 – Read Coil Status (0X), 05 – Write Single Coil

Address Name/Description

00000 Float/EQ Mode Indicator (FLOAT=0, EQUALIZE=1)


00001 Include AC Alarm in Summary Alarm (INCLUDED=1)
00002 Include Low Current Alarm in Summary Alarm (INCLUDED=1)
00003 Include Overload Alarm in Summary Alarm (INCLUDED=1)
00004 Include Ground Detection Alarms in Summary Alarm (INCLUDED=1)
00005 Latch Alarms (LATCHED=1)
00006 Latch End of Discharge Alarm (LATCHED=1)
LCD Backlight Timeout Enable (ENABLED=1)
00007
This has no effect on Chargers equipped with VFD Displays.
00008 Event logging Enabled (ENABLED=1)
00009 Include Battery Over Temperature Alarm in Summary Alarm (INCLUDED=1)
Include AC Breaker Open Alarm in Summary Alarm (INCLUDED=1)
00010 Note: This point should only be controlled when the charger is equipped with this
feature.
Include DC Breaker Open Alarm in Summary Alarm (INCLUDED=1)
00011 Note: This point should only be controlled when the charger is equipped with this
feature.
00012 Battery Over Temperature Alarm Disable (DISABLED=1)
AC Breaker Open Alarm Disable (DISABLED=1)
00013 Note: This point should only be controlled when the charger is equipped with this
feature.
DC Breaker Open Alarm Disable (DISABLED=1)
00014 Note: This point should only be controlled when the charger is equipped with this
feature.
Include Hydrogen Gas 1 Percent Alarm in Summary Alarm (INCLUDED=1)
00015 Note: This point should only be controlled when the charger is equipped with this
feature.
Low Electrolyte Alarm Disable (DISABLED=1)
00016 Note: This point should only be controlled when the charger is equipped with this
feature.

4
Coils
Supported Functions: 01 – Read Coil Status (0X), 05 – Write Single Coil

Address Name/Description

Include Low Voltage Battery Disconnect (LVBD) Alarm in Summary Alarm


(INCLUDED=1)
00017
Note: This point should only be controlled when the charger is equipped with this
feature. Point will always read 0 on chargers not equipped with feature.
Low Voltage Battery Disconnect (LVBD) Alarm Disable (DISABLED=1)
00018 Note: This point should only be controlled when the charger is equipped with this
feature. Point will always read 0 on chargers not equipped with feature.
00019 Automatic Battery Continuity Test (ON=1,OFF=0)
00020 Include Battery Continuity Test Fail Alarm in Summary Alarm (1=INCLUDED)
Include Battery Continuity Test Check Battery Alarm in Summary Alarm
00021
(1=INCLUDED)
00022 Start Battery Continuity Test (WRITE 1 To START TEST, WILL ALWAYS READ 0)
Include Remote Shutdown Alarm in Summary Alarm (1=INCLUDED)
00023 Note: This point should only be controlled when the charger has been ordered with
the remote shutdown option.
Float Monitor Alarm Disable (1=DISABLED) Note: This point should only be
00024
controlled when the charger has been ordered with float monitor option.
Include Float Monitor Alarm in Summary Alarm (1=INCLUDED) Note: This point
00025 should only be controlled when the charger has been ordered with the float monitor
option.
00026 Latch Low Voltage Alarm (1=LATCH)
00027 Latch High Voltage Alarm (1=LATCH)
00028 Latch Low Current Alarm (1=LATCH)
Latch Positive Ground Alarm (1=LATCH) Note: This point should only be controlled
00029
when the charger has been ordered with this option.
Latch Negative Ground Alarm (1=LATCH) Note: This point should only be controlled
00030
when the charger has been ordered with this option.
00031 Latch Charger Failure Alarm (1=LATCH)
00032 Latch Overload Alarm (1=LATCH)
00033 Latch AC Fail Alarm (1=LATCH)
00034 Latch Battery Over Temperature Alarm (1=LATCH)
Latch AC Breaker Open Alarm (1=LATCH) Note: This point should only be controlled
00035
when the charger has been ordered with this option.
Latch DC Breaker Open Alarm (1=LATCH) Note: This point should only be controlled
00036
when the charger has been ordered with this option.
Latch Low Electrolyte Alarm (1=LATCH) Note: This point should only be controlled
00037
when the charger has been ordered with this option.
Latch Remote Shutdown Alarm (1=LATCH) Note: This point should only be
00038
controlled when the charger has been ordered with this option.
00039 Reset ALL Alarms (1=RESET)

5
Discrete Inputs
Supported Functions: 02 – Read Discrete Input Registers (1X)

Address Name/Description

10000 AC Alarm Indicator (FAILURE=1)


10001 High Voltage Alarm Indicator (FAILURE=1)
10002 High Voltage Shutdown Alarm Indicator (FAILURE=1)
10003 Low Current Alarm Indicator (FAILURE=1)
10004 Ground Detection Enabled (ENABLED=1)
Positive Ground Alarm Indicator (FAILURE=1).
10005
Point will always read 0 when Ground Detection Enabled (Discrete Input Point 4) is 0.
Negative Ground Alarm Indicator (FAILURE=1).
10006
Point will always read 0 when Ground Detection Enabled (Discrete Input Point 4) is 0.
10007 Summary Alarm Indicator (FAILURE=1)
10008 End of Discharge Alarm Indicator (FAILURE=1).
10009 Overload Alarm Indicator (FAILURE=1)
10010 Charger Failure Alarm Status (FAILURE=1)
10011 Over Temperature Alarm Status (FAILURE=1)
10012 SCR Failure Alarm Status (FAILURE=1)
10013 Over Temperature Probe Status (probe not connected, open or shorted=1)
10014 Temperature Compensation Probe Status (probe not connected, open or shorted=1)
10015 Optional Ground Detection Method using 407/417S board Enabled (ENABLED=1)
407/417S Board Status (FAILURE=1). A hardware problem exists with the 407/417SS
board. Ground Detection Monitoring is not functioning properly.
10016
Note: This point should only be monitored when the Charger is equipped with the
optional 407/417S Ground Detection Board and Discrete Inputs 15 & 4 are enabled.
10017 Optional AC Sensing using 411S board Enabled (ENABLED=1)
411S Board Status (FAILURE=1). A hardware problem exists with the 411S board.
AC Sensing is not functioning properly.
10018
Note: This point should only be monitored when the Charger is equipped with the
optional 411S AC Sensing Board and Discrete Input 17 is enabled.
Remote Setting Change Inhibit. When this point is read as 1 remote setting changes
10019
via are not allowed. This will occur when an operator is in the Settings Menu.
10020 Low AC Voltage Condition (FAILURE=1).
10021 Three Phase Charger (3 PHASE=1, 1 PHASE=0)
10022 Battery Over Temperature Alarm (FAILURE=1)
AC Breaker Open Alarm (FAILURE=1)
10023 Note: This point should only be monitored when the charger is equipped with this
feature. Point will always read 0 on chargers not equipped with feature.
DC Breaker Open Alarm (FAILURE=1)
10024 Note: This point should only be monitored when the charger is equipped with this
feature. Point will always read 0 on chargers not equipped with feature.
Low Electrolyte Level Alarm (FAILURE=1)
10025 Note: This point should only be monitored when the charger is equipped with this
feature. Point will always read 0 on chargers not equipped with feature.
Low Voltage Battery Disconnect Alarm(LVBD) Option Enabled (ENABLED=1)
10026 When set to 1 this indicates the charger is equipped with the optional Low Voltage
Battery Disconnect Option.

6
Discrete Inputs
Supported Functions: 02 – Read Discrete Input Registers (1X)

Address Name/Description

Low Voltage Battery Disconnect (LVBD) Alarm (FAILURE=1)


10027 Note: This point should only be monitored when the charger is equipped with this
feature. Point will always read 0 on chargers not equipped with feature.
AC Breaker Open Option Enable (ENABLED=1) When set to 1 this indicates the
10028
charger is equipped with the optional AC Breaker Open Alarm Option.
DC Breaker Open Option Enable (ENABLED=1) When set to 1 this indicates the
10029
charger is equipped with the optional DC Breaker Open Alarm Option.
Hydrogen Gas Sensor Option Enable (ENABLED=1) When set to 1 this indicates the
10030
charger is equipped with the optional Hydrogen Gas Sensor Option.
Low Electrolyte/Low Water Level Option Enable (ENABLED=1) When set to 1 this
10031 indicates the charger is equipped with the optional Low Electrolyte/Low Water
Sensor Option.
10032 Optional 407/417S Remote Battery Voltage Sensing Enabled (ENABLED=1)

Holding Registers
Supported Functions: 03 – Read Holding Registers (4X), 06 – Write Single Register
Address Description, Units, Valid Settings/Range Scale Factor
40000 Equalize Timer Mode (0,1 2,3,4) None
40001 Equalize Timer Setting (0 to 144) None
40002 Low Voltage Alarm Threshold, Volts, (0 to MAXAV) 0.1
40003 High Voltage Alarm Threshold, Volts, (0 to MAXAV) 0.1
40004 High Voltage Shutdown Alarm Threshold, Volts, (0 to MAXAV) 0.1
40005 Low DC Current Alarm Threshold, Amps, (0 to MAXAI) 0.1
40006 End of Discharge Alarm Threshold, Volts, (0 to MAXAV) 0.1
40007 Float Voltage, Volts, (MINFV to MAXFV) 0.1
40008 Equalize Voltage, Volts, (MINEV to MAXEV) 0.1
40009 Current Limit, Amps, (MINCL to MAXCL) 0.1
Temperature Compensation Rate, (0 to MAXTCR) V/Cell/C
40010 0.001
Note 0=OFF
40011 Automatic Logging Interval, Minutes, (1 to 60) None
40012 AC Alarm Delay, Seconds, (0 to 300) None
40013 Low Voltage Alarm Delay, Seconds, (0 to 300) None
40014 End of Discharge Alarm Delay, Seconds, (0 to 300) None
Equalize Timer Mode 4 (Auto Equalize on LV Alarm Recovery)
40015 None
Delay, Seconds (1 to 300)
40016 High Voltage Alarm Delay, Seconds, (1 to 300) None
40017 High Voltage Shutdown Alarm Delay, Seconds, (1 to 300) None
40018 Low Current Alarm Delay, Seconds, (1 to 300) None
40019 Low Voltage Alarm Recovery Threshold, Percent (0 to 20) None
40020 End of Discharge Alarm Recovery Threshold, Percent (0 to 20) None
40021 RTC Month, Month, (1 to 12) None
40022 RTC Day, Days, (1 to 31) None
40023 RTC Year, Years, (0 to 4095) None

7
Holding Registers
Supported Functions: 03 – Read Holding Registers (4X), 06 – Write Single Register
40024 RTC Hours, Hours, (0 to 23) None
40025 RTC Minutes, Minutes, (0 to 59) None
40026 RTC Seconds, Seconds, (0 to 59) None
40027 Ground Detection Alarm Delay, Seconds, (0 to 300) None
Ground Detection Alarm Threshold, Milliamps, (10 to 40),
10=1.0mA, 40=4.0mA
40028 Note: This point should only be monitored and written to when 0.1
the Charger is equipped with the optional 407/417S Ground
Detection Board and Binary Input Point 15 is enabled.
40029 Battery Over Temperature Alarm Threshold, C, (25 to 100) None
40030 Automatic Battery Continuity Test Interval, Days (7,14,21,30,60) None
AC Fail Alarm Threshold, Voltage. Note setting the threshold
below the value contained in Input Register 30042 will force the
40031 0.1
threshold to become one half of the AC Voltage Rating of the
Charger.

Input Registers
Supported Functions: 04 – Read Input Registers (3X)

Address Description, Units Scale Factor

Heartbeat. Increments continuously to indicate communications


30000 None
between Controller board and communications board are working.
30001 Board Number. Will read 368 for 368S card. None
30002 Software Version, Version of software on 368S card. None
30003 Voltage, Volts 0.1
30004 Current, Amps 0.1
Equalize Cycle Time Hours Remaining, Hours, Minutes
30005 None
Note: The last two digits are the minutes.
30006 Auto Equalize Timer, Days None
Auto Equalize Timer, Hours, Minutes
30007 None
Note: The last two digits are the minutes.
Low DC Current Alarm Low Limit, Amps. Setting the Low DC
30008 Current Alarm below this will result in disabling the Low DC 0.1
Current Alarm Status Indicator.
30009 Over Temperature Probe Reading, Degrees C None
30010 Temperature Compensation Probe Reading, Degrees C None
30011 Over Temperature Alarm Threshold, Degrees C None
30012 Maximum Alarm Voltage, MAXAV, Volts 0.1
30013 Maximum Alarm Current, MAXAI, Amps 0.1
30014 Maximum Float Voltage, MAXFV, Volts 0.1
30015 Minimum Float Voltage, MINFV, Volts 0.1
30016 Maximum Equalize Voltage, MAXEV, Volts 0.1
30017 Minimum Equalize Voltage, MINEV, Volts 0.1
30018 Maximum Current Limit, MAXCL, Amps 0.1
30019 Minimum Current Limit, MINCL, Amps 0.1
30020 Event Log Space Used, Percent 0.00001

8
Input Registers
Supported Functions: 04 – Read Input Registers (3X)

Address Description, Units Scale Factor

Maximum Settable Temperature Compensation Rate, MAXTCR,


30021 V/Cell/C 0.001
Note: 0=Temperature Compensation OFF
30022 AC Line Voltage, Volts 0.1
30023 AC Line Frequency, Hertz 0.1
30024 Battery Type (LEAD ACID=0, NiCAD=1) None
30025 Battery Cells None
PHASE 1, ACV
Note: This point should only be monitored when Discrete Input
30026 Point 17 indicates enabled and the charger is equipped with the 0.1
optional 411S AC Sensing Board. Discrete Input Point 10017
should also be monitored to verify validity of this reading.
PHASE 2, ACV
Note: This point should only be monitored when Discrete Input
30027 Point 17 indicates enabled and the charger is equipped with the 0.1
optional 411S AC Sensing Board. Discrete Input Point 10017
should also be monitored to verify validity of this reading.
PHASE 3, ACV
Note: This point should only be monitored when Discrete Input
30028 Point 17 indicates enabled and the charger is equipped with the 0.1
optional 411S AC Sensing Board. Discrete Input Point 10017
should also be monitored to verify validity of this reading.
PHASE 1, ACA
Note: This point should only be monitored when Discrete Input
30029 Point 17 indicates enabled and the charger is equipped with the 0.1
optional 411S AC Sensing Board. Discrete Input Point 10017
should also be monitored to verify validity of this reading.
PHASE 2, ACA
Note: This point should only be monitored when Discrete Input
30030 Point 17 indicates enabled and the charger is equipped with the 0.1
optional 411S AC Sensing Board. Discrete Input Point 10017
should also be monitored to verify validity of this reading.
PHASE 3, ACA
Note: This point should only be monitored when Discrete Input
30031 Point 15 indicates enabled and the charger is equipped with the 0.1
optional 411S AC Sensing Board. Discrete Input Point 10017
should also be monitored to verify validity of this reading.
Positive Ground Current, Milliamps
Note: This point should only be monitored when Discrete Input
Point 15 indicates enabled and the charger is equipped with the
30032 0.001
optional 407/417S Ground Detection Board. Discrete Input Points
10015 and 10016 should also be monitored to verify validity of
this reading. The highest this point may read is 4.0mA

9
Input Registers
Supported Functions: 04 – Read Input Registers (3X)

Address Description, Units Scale Factor

Negative Ground Current, Milliamps


Note: This point should only be monitored when Discrete Input
Point 15 indicates enabled and the charger is equipped with the
30033 0.001
optional 407/417S Ground Detection Board. Discrete Input Points
10015 and 10016 should also be monitored to verify validity of
this reading. The highest this point may read is 4.0mA
Ground Detection, Ground to Negative Voltage, Volts
Note: This point should only be monitored when Discrete Input
Point 15 indicates enabled and the charger is equipped with the
30034 0.1
optional 407/417S Ground Detection Board. Discrete Input Points
10015 and 10016 should also be monitored to verify validity of
this reading.
Ground Detection, Positive to Ground Voltage, Volts
Note: This point should only be monitored when Discrete Input
Point 16 indicates enabled and the charger is equipped with the
30035 0.1
optional 407/417S Ground Detection Board. Discrete Input Points
10015 and 10016 should also be monitored to verify validity of
this reading.
Over Temperature Alarm Type
0=NO ALARM
30036 1=FAILURE None
2=DERATE (Charger output is reduced)
3=SHUTDOWN (Charger will be shutdown)
Hydrogen Gas Sensor Output
0=0 Percent
1=1 Percent Detected
30037 None
2=2 Percent Detected
3=Option not available
4=Error reading sensor
Automatic Battery Continuity Test Timer (DAYS)
30038 None
Days to next test, see below for hours and minutes.
Automatic Battery Continuity Test Timer (HOURS,MINS)
30039 None
First two digit are hours, last two are minutes to next test.
Battery Continuity Test Status
0=IDLE
30040 None
1=TEST IN PROCESS
2=TEST FINISHED
Battery Continuity Test Result
0=NOT TESTED
1=TESTING BATTERY
2=TEST PASSED
30041 3=CHECK BATTERY None
4=TEST FAILED
5=TEST NOT STARTED, CHARGER IN EQUALIZE
6=TEST NOT STARTED, CHARGER LOAD > 50%
7=TEST NOT STARTED, ALARM CONDITION PRESENT

10
Input Registers
Supported Functions: 04 – Read Input Registers (3X)

Address Description, Units Scale Factor

Minimum AC Fail Alarm Voltage Setting, MINACFV. Settings below


the minimum are allowed however they will force the alarm
30042 0.1
voltage to be set to one half of the AC Voltage Rating of the
Charger.
Remote Shutdown Alarm (0=NO ALARM,1=ALARM,2=DISABLED)
30043 Note: This point should only be controlled when the charger has None
been ordered with the remote shutdown option.
Optional 417/407S Remote Battery Voltage
30044 Note: This point should only be monitored when Discrete Input 0.1
10034 is enabled.
Low Voltage Alarm Status (0=NO ALARM,1=LOW
30045 None
VOLTAGE,2=LOW BATTERY VOLTAGE)
Number of Float Monitors. Note: This point should only be
30046 None
controlled when the charger has been ordered with this option.
30047 Float Monitor #1 Alarm Status (0=N/A,1=OFFLINE,2=OK) None
30048 Float Monitor #1 Amps (Integer Portion) None
30049 Float Monitor #1 Amps (Fractional Portion) 0.001
30050 Float Monitor #1 Volts 0.01
30051 Float Monitor #1 Degrees C None
30052 Float Monitor #2 Alarm Status (0=N/A,1=OFFLINE,2=OK) None
30053 Float Monitor #2 Amps (Integer Portion) None
30054 Float Monitor #2 Amps (Fractional Portion) 0.001
30055 Float Monitor #2 Volts 0.01
30056 Float Monitor #2 Degrees C None
30057 Float Monitor #3 Alarm Status (0=N/A,1=OFFLINE,2=OK) None
30058 Float Monitor #3 Amps (Integer Portion) None
30059 Float Monitor #3 Amps (Fractional Portion) 0.001
30060 Float Monitor #3 Volts 0.01
30061 Float Monitor #3 Degrees C None
30062 Float Monitor #4 Alarm Status (0=N/A,1=OFFLINE,2=OK) None
30063 Float Monitor #4 Amps (Integer Portion) None
30064 Float Monitor #4 Amps (Fractional Portion) 0.001
30065 Float Monitor #4 Volts 0.01
30066 Float Monitor #4 Degrees C None

11
Document Control and Revision History
Part Number: 143126
Instruction Number: P25-LOPT21S-A77-368S-4
Issue ECN: 20985-31 – 07/20

20985-31 – 07/20

12

You might also like