Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Success Stories Corner

smt1000rmi2uc and modbus protocol

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Communities
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • smt1000rmi2uc and modbus protocol
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5022
voidstar_apc
Janeway voidstar_apc
195
Erasmus_apc
Sisko Erasmus_apc
111
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All
Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
Loic74_apc
Crewman Loic74_apc
Crewman

Posted: ‎2021-06-28 09:31 AM

0 Likes
12
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:31 AM

smt1000rmi2uc and modbus protocol

This was originally posted on APC forums on 1/7/2019


Hello, I have recently acquired a SMT1000RMI2UC (smartconnect) with the following specs:

UPS Name: SMT1000RMI2UC
Firmware: v 03.5
Model Name: Smart-UPS 1000
Model SKU: SMT1000RMI2UC
Serial no.: AS1822160080
Product ID: 28-29-86-0C-88-CC

I would like to manage it through the APCUPSD software and MODBUS protocol however I cannot get it to work with the MODBUS options (plugged with USB cable). Does this UPS support modbus at all?

Notes:

1/ I have enabled the MODBUS option on the front LCD panel

2/ Firmware version is 03.5 and PowerChute tells me it is the latest version

Thank you

Labels
  • Labels:
  • Smart-UPS & Symmetra LX | RM
Reply
Share
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Loic74_apc
Crewman Loic74_apc
Crewman

Posted: ‎2021-06-28 09:32 AM

0 Likes
4
1527
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:32 AM

This was originally posted on APC forums on 1/8/2019


So I tried the following in various orders:

  • replaced the RPi power supply (by a power bank)
  • "braindeaded" the UPS
  • fresh install of Debian on RPi

And no improvement much to my frustration.

Basic USB mode (modbus diabled) is rock-solid every time, contrary to the modbus which gives erratic values with intermittent messages about lost/recovered connections every seconds

The last thing I will test is to change the USB cable. I have ordered one and will report back the results

Thank you

Loic

See Answer In Context

Reply
Share
Replies 12
UnexpectedBill_apc
Captain UnexpectedBill_apc
Captain

Posted: ‎2021-06-28 09:31 AM

0 Likes
0
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:31 AM

This was originally posted on APC forums on 1/7/2019


Yes, your UPS supports the MODBUS protocol (the option to enable it would not be present if it did not).

From the release notes, it looks as though you'll need apcupsd version 3.14.13 or later for MODBUS over USB support. That would be where I would start, especially if you are using a version of apcupsd packaged by your operating system's vendor.

Reply
Share
Loic74_apc
Crewman Loic74_apc
Crewman

Posted: ‎2021-06-28 09:31 AM

0 Likes
0
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:31 AM

This was originally posted on APC forums on 1/7/2019


Thank you William.

See below the ouput from the "apcaccess status" command, I am running revision 3.14.14 of apcupsd on Debian8.
Most info I found (with difficulty) online says SMT-type UPS should be upgraded to firmware v9.x or above in order to support MODBUS but my UPS is new and firmware is v03.5 with apparently no option to upgrade. I am confused.

apcaccess status
APC      : 001,027,0670
DATE     : 2019-01-07 20:05:08 +0000
HOSTNAME : raspberrypi
VERSION  : 3.14.14 (31 May 2016) debian
UPSNAME  : raspberrypi
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2019-01-07 20:05:06 +0000
MODEL    : Smart-UPS_1000
STATUS   : ONLINE
BCHARGE  : 100.0 Percent
TIMELEFT : 159.2 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
ALARMDEL : 30 Seconds
BATTV    : 26.6 Volts
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
MANDATE  : 2018-05-28
SERIALNO : AS1822160080
NOMBATTV : 24.0 Volts
FIRMWARE : UPS 03.5 / ID=1015
END APC  : 2019-01-07 20:05:13 +0000

Reply
Share
UnexpectedBill_apc
Captain UnexpectedBill_apc
Captain

Posted: ‎2021-06-28 09:32 AM

0 Likes
0
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:32 AM

This was originally posted on APC forums on 1/7/2019


Different revisions of the Smart-UPS SMT models have different firmware versions, depending upon their hardware ID and product family. What you're seeing is normal.

It appears that you're using the standard USB UPS driver right now with apcupsd. (However, it looks like you are getting more information than a Microlink UPS such as yours would provide to the generic USB UPS driver, making me wonder if data isn't being exchanged over MODBUS anyway.) What happens if you specify the MODBUS driver type in apcupsd.conf?

Reply
Share
Loic74_apc
Crewman Loic74_apc
Crewman

Posted: ‎2021-06-28 09:32 AM

0 Likes
0
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:32 AM

This was originally posted on APC forums on 1/7/2019


Thank you William,

Well, not sure what I did this time but it is now (almost) working. After enabling the MODBUS option from the LCD panel and setting the apcupsd.conf file for MODBUS operation, I disconnected the USB cable from the port and reconnected it, maybe that helped.

Anyways, see below what output I am getting now. It is much more verbose BUT I am getting a connection lost message followed by a connection restored message every second. Not sure what is happening.

Broadcast message from root@raspberrypi (somewhere) (Mon Jan  7 21:42:19 2019):
Communications restored with UPS APC UPS
Warning communications lost with UPS APC UPS


APC      : 001,038,0883
DATE     : 2019-01-07 21:37:19 +0000
HOSTNAME : raspberrypi
VERSION  : 3.14.14 (31 May 2016) debian
UPSNAME  : APC UPS
CABLE    : USB Cable
DRIVER   : MODBUS UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2019-01-07 21:37:14 +0000
STATUS   : COMMLOST
LINEV    : 225.6 Volts
LOADPCT  : 13.6 Percent
LOADAPNT : 16.0 Percent
BCHARGE  : 99.0 Percent
TIMELEFT : 159.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
OUTPUTV  : 225.6 Volts
DWAKE    : 0 Seconds
DSHUTD   : 0 Seconds
ITEMP    : 27.0 C
BATTV    : 27.2 Volts
LINEFREQ : 50.0 Hz
OUTCURNT : 0.69 Amps
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : OK
STATFLAG : 0x05000108
MANDATE  : 2018-05-28
SERIALNO : AS1822160080
BATTDATE : 2018-08-17
NOMOUTV  : 230 Volts
NOMPOWER : 700 Watts
NOMAPNT  : 1000 VA
FIRMWARE : UPS 03.5 / 00.5
END APC  : 2019-01-07 21:42:35 +0000

Reply
Share
Loic74_apc
Crewman Loic74_apc
Crewman

Posted: ‎2021-06-28 09:32 AM

0 Likes
0
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:32 AM

This was originally posted on APC forums on 1/7/2019


Well that must have been a fluke. Somehow I am now getting an eratic MODBUS communication between the UPS and apcupsd with varying values. APCTEST command returns the following. I will setup a fresh install Debian and start from scratch...

root@raspberrypi:~# apctest


2019-01-07 22:02:20 apctest 3.14.14 (31 May 2016) debian
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = MODBUS UPS Driver
Setting up the port ...
0.010 apcupsd: ModbusUsbComm.cpp:258 WaitIdle: interrupt_read failed: Success
0.557 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
0.731 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=21)
0.955 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
1.066 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=21)
1.178 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
1.851 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
2.018 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
2.565 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
2.796 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
2.916 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
Doing prep_device() ...
3.363 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
3.531 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=21)
3.756 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
3.868 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=21)
3.980 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
4.019 apcupsd: ModbusUsbComm.cpp:269 WaitIdle: Out of sync
4.019 apcupsd: ModbusUsbComm.cpp:270 Dumping 64 bytes @ 0x7ec04504
4.019 apcupsd: ModbusUsbComm.cpp:270 00000000  89 01 03 02 02 bc 00 00 00 00 00 00 00 00 00 00  ................
4.019 apcupsd: ModbusUsbComm.cpp:270 00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
4.020 apcupsd: ModbusUsbComm.cpp:270 00000020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
4.020 apcupsd: ModbusUsbComm.cpp:270 00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
4.566 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT

You are using a MODBUS cable type, so I'm entering MODBUS test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing MODBUS UPSes.

Getting UPS capabilities...4.852 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=37, rx=7)
4.964 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=37)
5.131 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=21)
5.355 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=21, rx=7)
5.467 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=21)
5.579 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
6.572 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
6.796 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
6.964 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
7.043 apcupsd: ModbusUsbComm.cpp:269 WaitIdle: Out of sync
7.043 apcupsd: ModbusUsbComm.cpp:270 Dumping 64 bytes @ 0x7ec045bc
7.043 apcupsd: ModbusUsbComm.cpp:270 00000000  89 01 03 02 00 08 00 00 00 00 00 00 00 00 00 00  ................
7.043 apcupsd: ModbusUsbComm.cpp:270 00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
7.043 apcupsd: ModbusUsbComm.cpp:270 00000020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
7.043 apcupsd: ModbusUsbComm.cpp:270 00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
7.589 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
7.756 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=9, rx=7)
7.868 apcupsd: ModbusComm.cpp:201 SendAndWait: Wrong size (exp=7, rx=9)
8.059 apcupsd: ModbusUsbComm.cpp:269 WaitIdle: Out of sync
8.059 apcupsd: ModbusUsbComm.cpp:270 Dumping 64 bytes @ 0x7ec045bc
8.059 apcupsd: ModbusUsbComm.cpp:270 00000000  89 01 03 02 00 01 00 00 00 00 00 00 00 00 00 00  ................
8.059 apcupsd: ModbusUsbComm.cpp:270 00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
8.059 apcupsd: ModbusUsbComm.cpp:270 00000020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
8.059 apcupsd: ModbusUsbComm.cpp:270 00000030  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
8.604 apcupsd: ModbusUsbComm.cpp:142 ModbusRx: TIMEOUT
SUCCESS

Reply
Share
UnexpectedBill_apc
Captain UnexpectedBill_apc
Captain

Posted: ‎2021-06-28 09:32 AM

0 Likes
0
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:32 AM

This was originally posted on APC forums on 1/8/2019


I would have a few other suggestions: try another USB port or cable, and make sure your Raspberry Pi's power supply is sufficient to support the load and working properly.

Worst case, you can also try "braindeading" the UPS. This involves safely powering down any attached load, shutting off the UPS from the front panel, unplugging it from the wall, and disconnecting the batteries. With the batteries disconnected, depress the power button on the UPS. It will probably react briefly, which is pretty normal.

After doing that, reconnect the batteries, restore power to the UPS and reconnect the load to be protected.

Reply
Share
Loic74_apc
Crewman Loic74_apc
Crewman

Posted: ‎2021-06-28 09:32 AM

0 Likes
0
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:32 AM

This was originally posted on APC forums on 1/8/2019


Thank you William,

I will try the braindeading procedure first because I need to order the USB cable as it is specific (male-male type B).

As for the Rpi it should be fine because the power supply is the original from Raspberry and the communication works fine with the default USB com mode. Only the MODBUS com mode is problematic. Anyways, will trey this as well, I have nothing else to try! 😞

Cheers

Loic

Reply
Share
Loic74_apc
Crewman Loic74_apc
Crewman

Posted: ‎2021-06-28 09:32 AM

0 Likes
4
1528
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-06-28 09:32 AM

This was originally posted on APC forums on 1/8/2019


So I tried the following in various orders:

  • replaced the RPi power supply (by a power bank)
  • "braindeaded" the UPS
  • fresh install of Debian on RPi

And no improvement much to my frustration.

Basic USB mode (modbus diabled) is rock-solid every time, contrary to the modbus which gives erratic values with intermittent messages about lost/recovered connections every seconds

The last thing I will test is to change the USB cable. I have ordered one and will report back the results

Thank you

Loic

Reply
Share
disbalance
disbalance
Cadet

Posted: ‎2021-11-01 03:06 AM . Last Modified: ‎2021-11-01 03:07 AM

In response to Loic74_apc
0 Likes
1
1425
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-11-01 03:06 AM . Last Modified: ‎2021-11-01 03:07 AM

Hi @Loic74_apc 

 

I’m facing the same issue after enabling the Modbus protocol. 

 

In the terminal, I’m seeing  messages like bellow

 

 

Broadcast message from root@sensor (somewhere) (Mon Nov  1 12:00:21 2021)

                                                                               

Communications restored with UPS c1500                                 

                                                                               

                                                                               

Broadcast message from root@sensor (somewhere) (Mon Nov  1 12:00:22 2021)

                                                                               

Warning communications lost with UPS c1500

 

 

 

Did you find the solution to this problem ?

 

 

  • Tags:
  • english
Reply
Share
peterpavlik_apc
Crewman peterpavlik_apc
Crewman

Posted: ‎2021-11-21 01:41 PM . Last Modified: ‎2021-11-21 02:03 PM

In response to disbalance
0 Likes
0
1305
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-11-21 01:41 PM . Last Modified: ‎2021-11-21 02:03 PM

Hello, I have the same problem with my (second piece, first has problem to enter green-mode) of APC SMT750i smart UPS via USB cable to apcupsd@RPi with Raspbian Stretch.

I have recently upgraded UPS firmware from to ver. 9.6 and having a problem exactly like yours.

Today I tried downgrade the UPS firmware back to ver. 9.4, done UPS braindead & coldstart procedures, loaded factory defaults via display menu and still the same behaviour:

Apcupsd daemon 3.14.14 re-connects to UPS and sending messages to console every second until I stop the service.

Every second I receive following emails with the many details about my UPS connection Lost and Restored.

OMV Communication with UPS APCUPS lost

APC : 001,039,0899
DATE : 2021-11-21 22:24:34 +0100
HOSTNAME : OMV
VERSION : 3.14.14 (31 May 2016) debian
UPSNAME : APCUPS
CABLE : USB Cable
DRIVER : MODBUS UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2021-11-21 22:24:28 +0100
MODEL : Smart-UPS 750
STATUS : COMMLOST
LINEV : 244.8 Volts
LOADPCT : 31.2 Percent
LOADAPNT : 27.3 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 32.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 2 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 246.2 Volts
DWAKE : 0 Seconds
DSHUTD : 90 Seconds
ITEMP : 32.8 C
BATTV : 27.0 Volts
LINEFREQ : 50.0 Hz
OUTCURNT : 0.81 Amps
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : ??
STATFLAG : 0x05000108
MANDATE : 2017-11-29
SERIALNO : DELETED
BATTDATE : 2020-12-15
NOMOUTV : 230 Volts
NOMPOWER : 500 Watts
NOMAPNT : 750 VA
FIRMWARE : UPS 09.4 / 00.5
END APC : 2021-11-21 22:24:36 +0100

 

But apctest is kinda working for me, I get to the menu every time and can start some functions (f.e. self-test), but some other options are unstable.

One time I can View manufacturing date but not Battery date.

Other time I can View Battery date but not Manufacturing date.

...

Can the problem be related to RPi3 USB2 ports driver or some USB communication parameters (speed/parity/...)?

Is USB modbus communication sensitive for something, needs USB driver support etc?

  • Tags:
  • english
Reply
Share
peterpavlik_apc
Crewman peterpavlik_apc
Crewman

Posted: ‎2021-11-21 02:04 PM

In response to Loic74_apc
0 Likes
1
1305
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-11-21 02:04 PM

Hello, I have the same problem with my (second piece, first has problem to enter green-mode) of APC SMT750i smart UPS via USB cable to apcupsd@RPi with Raspbian Stretch.

I have recently upgraded UPS firmware from to ver. 9.6 and having a problem exactly like yours.

Today I tried downgrade the UPS firmware back to ver. 9.4, done UPS braindead & coldstart procedures, loaded factory defaults via display menu and still the same behaviour:

Apcupsd daemon 3.14.14 re-connects to UPS and sending messages to console every second until I stop the service.

Every second I receive following emails with the many details about my UPS connection Lost and Restored.

OMV Communication with UPS APCUPS lost

APC : 001,039,0899
DATE : 2021-11-21 22:24:34 +0100
HOSTNAME : OMV
VERSION : 3.14.14 (31 May 2016) debian
UPSNAME : APCUPS
CABLE : USB Cable
DRIVER : MODBUS UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2021-11-21 22:24:28 +0100
MODEL : Smart-UPS 750
STATUS : COMMLOST
LINEV : 244.8 Volts
LOADPCT : 31.2 Percent
LOADAPNT : 27.3 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 32.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 2 Minutes
MAXTIME : 0 Seconds
OUTPUTV : 246.2 Volts
DWAKE : 0 Seconds
DSHUTD : 90 Seconds
ITEMP : 32.8 C
BATTV : 27.0 Volts
LINEFREQ : 50.0 Hz
OUTCURNT : 0.81 Amps
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : ??
STATFLAG : 0x05000108
MANDATE : 2017-11-29
SERIALNO : DELETED
BATTDATE : 2020-12-15
NOMOUTV : 230 Volts
NOMPOWER : 500 Watts
NOMAPNT : 750 VA
FIRMWARE : UPS 09.4 / 00.5
END APC : 2021-11-21 22:24:36 +0100

 

But apctest is kinda working, I get to the menu every time and can start some functions (f.e. self-test), but some other options are unstable.

One time I can View manufacturing date but not Battery date.

Other time I can View Battery date but not Manufacturing date.

...

Can the problem be related to RPi3 USB2 ports driver or some USB communication parameters (speed/parity/...)?

Is modbus communication sensitive for something, needs USB driver support etc?

  • Tags:
  • english
Reply
Share
peterpavlik_apc
Crewman peterpavlik_apc
Crewman

Posted: ‎2021-12-02 12:14 AM

In response to peterpavlik_apc
0 Likes
0
1245
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-12-02 12:14 AM

Seems I got the solution for modbus via USB problem for my RPi 3B/Raspbian.

I even tried serial connection without any luck.

Solution for me was to upgrade firmware on my RPi 3B via:

"rpi-update" to latest version "c827259e4adb63d1dd36e21d51dcd4243d0c1255".

After reboot modbus via USB started to work as expected, no more reconnect messages.

Hope this helps

 

  • Tags:
  • english
Reply
Share
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account?Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2023 Schneider Electric, Inc