CAS 2700-44 Mitsubishi UPS, Modbus (RTU and TCP), BACnet, Web and Cloud Gateway


CAS 2700-44 Mitsubishi UPS, Modbus (RTU and TCP), BACnet, Web and Cloud Gateway


Table Of Contents

1.    Start Here – Instructions
2.    How the System Works
3.    Requirements
4.    Hardware Support
5.    Driver Support
6.    Driver Limitations
7.    Driver Configuration
8.    Special Pages
9.    Error, FYI, and Other Messages
10.  FAQ
11.  Version Info
12.  Tools
13.  Datasheets and Manuals



1. Start Here

1.    Connect power and an Ethernet cable to the device.
The power LED should illuminate and the Ethernet LEDs should periodically blink.


2.    Start logging application to record information about this device.
Note: logging information is sent via UDP broadcast to Port 514 (SYSLog).


3.    Determine the device’s IP address using CAS IP Setup utility
By default the device uses DHCP to allocate an IP Address. This utility also has the ablity to set the static IP address of this device.


4.    Browse to the information page with your internet browser (IE, FireFox, Chrome) to ensure that this device is working correctly.
This page will contain information about the current system including driver version information.

http://<IP ADDRESS>/bin/system/info


5.    Connect the UPS device to Port 1 on the Gateway


6.    Browse to the Mitsubishi UPS configuration page with your browser. Configure the serving connections (BACnet IP, Modbus RTU or Modbus TCP). Configure the Mitsubishi UPS device connection and driver settings. Save the configuration. And Restart the Gateway.
This page will contain the configuration fields.

http://<IP ADDRESS>/bin/mitsubishiups/


7.    Browse to the Status Page to see the current status of the connected Mitsubishi UPS device.
These pages will contain the device status.

http://<IP ADDRESS> or
http://<IP ADDRESS>bin/mitsubishiups/reports


2. How the System Works

This device (CAS 2700-44) cycles though a list of preconfigured tasks, requesting values from Veeder Root devices. The values are then stored in an internal database. The values can be served in serveral formats, including BACnet IP, Modbus RTU, Modbus TCP, and Web Server.

The driver is configured using a web browser, where the user can configure both the Gateway and the serving capabilities. The web browser can also be used to aid in debugging and can serve the current data to a web page for viewing.


Devices Supported

The CAS2700-44 supports configuration for connecting to the following Mitsubishi UPS systems:

  • 7011A
  • 2033C
  • 2033D
  • 9800AE
  • 9900A
  • 9900B
  • 9900C
  • 1100AB

Block Diagram


3. Requirements

The following is a list of requirements needed:
•    Web Brower – used for web serving, configuration, and debugging. We recommend Firefox or Chrome.
•    Mitsubishi UPS, Modbus (RTU and TCP) and BACnet & HTML Gateway
If testing is needed, also install LogView4net or WireShark to help in troubleshooting. See the Tools section for more information.


4. Hardware Support

This driver was developed to support the following:
•    Mitsubishi UPS, Modbus (RTU and TCP) and BACnet & HTML Gateways:
o    7011A
o    2033C
o    2033D
o    9800AE
o    9900A
o    9900B
Driver was tested using the DP-A12-1.OK UPS device.


5. Driver Support

This driver was developed to serve to the following clients:
•    BACnet IP
•    Modbus RTU
•    Modbus TCP
•    Web Server


6. Driver Limitations

This driver has the following limitations:
•    Max of 1 http connections.
•    Max of 1 UPS device connected.
•    Limited to the UPS devices listed in the configuration.
•    Polls for Status Groups (Battery, Input, Output, Bypass, and Alarm) and Nominal Values only.


7. Driver Configuration

The Mitsubishi UPS Gateway device can be configured from the following web page:

http://<IP ADDRESS>/bin/mitsubishiups/config

This configuration screen allows the user to configure BACnet IP, Modbus TCP, and Modbus RTU connections for serving the data. It also allows for the configuration of the Mitsubishi UPS, Modbus (RTU and TCP) and BACnet & HTML Gateway.

BACnet Server

The configuration for BACnet IP data serving. Parameters include:
•    Port – This is the TCP port for the BACnet server. This should match your BACnet clients BACnet port. Default: 47808
•    Device ID – This is the object instance for the Device object. It should be unique to your network. Default: 389001


Modbus Slave
The configuration for Modbus RTU / Modbus TCP data serving.
Note: The Modbus RTU and Modbus TCP share the Device ID.
Parameters include:
•    Baud Rate – This is the baud rate for the connection to ModbusRTU. Messages polled need to match this baud rate. Default: 9600
•    Device ID – This is the object instance for the Device object. It should be unique to your network.
•    Port – This is the TCP port for the ModbusTCP server. ModbusTCP clients should connect to this port. Default: 502


Mitsubishi UPS Configuration
The configuration for the connection to the Mitsubishi UPS device. Parameters include:
•    Device Type – This is the type of UPS device that will be connected to the Gateway for polling of status values. The type will determine which BACnet objects to create if using BACnet IP to serve values.
•    Baud Rate – This is the baud rate for the connection to the Mitsubishi device. Messages polled need to match this baud rate. Default: 9600


Mitsubishi UPS Settings
The settings for the driver. Parameters include:
•    Default Value – This is value that all data will be defaulted to on system startup and if the connection is ever lost to the device. This value also represents unavailable parameters or bad values. Default: -1
•    Scan Interval – This is the amount of time in seconds between sets of message polls sent to the device. Default: 10 seconds
•    Timeout Time – This is the amount of time in seconds to wait for a valid response message from the device before timing out. Default: 3 seconds
•    Number of Retries – This is the number of retries to attempt after a message has resulted in a timeout. Default: 3
•    Time Between Retries – This is the amount of time in seconds to wait between each retry. Default: 1 second


Mitsubishi UPS Status
This section is for configuring which statuses to be poll for values.
•    Battery Status
•    Input Status
•    Output Status
•    Bypass Status
•    Alarm Status
•    Nominal Values


Save Configuration
When all the configuration is finished, press the Save Configuration to save the configuration, restart the Gateway, and begin polling for data values.


8. Special Pages

When using a web browser(Firefox or Chrome) to test or troubleshoot the device, the some of the following web pages will be useful.

Mitsubishi UPS config
This page lets the user configure and add Mitsubishi UPS tasks to the system.
The user can also input BACnetIP, ModbusRTU, and ModbusTCP configuration data here.


System actions
This page allows the user to disable and enable certain features of the system


System information
This page shows information about the current session. It includes driver version information and running statsitcs


System tables
This page displays the current state of each table in the internal database. Note: this page is proccess intensive and will slow down the requests from the BACnet system



9. Error, FYI, and Other Messages

The following messages are some of the messages that a user will notice when using LogView4net to debug and test the driver.


[CSQLiteDB] FYI: Database saved to the file system
This is normal. The device will attempt to save the database to the file system once every 30 seconds or after certain events. This message is notification that the database was succesfuly saved to the file system


[CSQLiteDB] Error: Exception Code=[1], Message=[no such column: modified]
On start up the device attempts to reset all running tables back to their defaults. This error is normal for some drivers that do not use the ports or devices tables.


[VeederRoot] Debug(20): Task (1) took a total of [77.6]ms, response=[1]
This is normal. This message is notification that task 1 was executed and took 77.6ms to complete with the response code of 1 (OK)
Note: This message may not be broadcast depending on the logging level set by the system.

Response codes:
1 = OK
2 = FAIL
3 = Timeout


[Http] Request{2}=[bin/system/info]
This is normal. This message is notification that a HTML request was made of the system.


[Http] Request{10}=[favicon.ico]
This is normal. favicon.ico is requested by the browser on load of a new domain.
More information on favicon.ico


Database Clean up
This is normal. When the database fills up with values the older values are archived to the file system.
The database clean up triggers can be configured from history configuration page


10. FAQ


What is the device’s IP address and how do I change it?
By default the device will use DHCP to acquire an IP address dynamically. Use CAS IP Setup to detect/change the device’s IP address.


What happens when the disk is full?
Undefined, it is unknown what will occur when the disk is full. Please monitor the disk and regularly clean up the database.


How to clean up the database?
The database will automatically archive/delete the bottom 20% of the records once it reaches the configured threshold. You can manually clear the database with the Delete all data command.


The system takes a long time to start up.
The system should take 30-45 seconds to start up and make its first poll of the BACnet device. If the system it taking longer then 45 seconds check the logs for error messages.


Debug and logging
CAS BACnet IP data client broadcasts logging information in UDP packets on port: 514 (SYSLog). The logging information can be viewed with a 3rd party open source tool called Log View 4net or Wireshark.


How do I view the archived values?
There are three ways of viewing the archived values.
•    Removing the SD card and viewing the files manually.
•    Browsing to the history’s archive page.


•    FTP to the device and download the files manually


How do I connect to the device via FTP?
You can connect to the device using any standard FTP client including FileZilla anonymously. The FTP server is located on port 21.


Why is the current time so small?
The current time is in seconds since the last restart.


What happens if the database is accidentally deleted or is missing?
The driver can rebuild the database if it is missing. If using a logging application there will be errors when the driver starts if the database is missing. Simply browse to the configuration page to configure the driver once again and save the configuration. Do not forget to set the logging level if you want to see debug information. Once the configuration has been saved, the device should begin polling once again.


Can I change the BACnetIP device name?
No, the device name that is displayed on the BACnetIP client or HMI cannot be changed.


Can I change the BACnetIP device instance number?
Yes, the device instance number is configurable and is an option in the configuration page.


Can I change the BACnetIP device object instance number?
No, the device object instance number cannot be changed.


I can’t find the BACnet device, what do I do?
Either use CAS BACnet Explorer or contact us for support.


What is the default BACnetIP port?
The default port for BACnetIP is 47808.


I need more help, what do I do?
If the above steps were unable to help you solve your trouble-shootings then feel free to call us for support.
You can reach us by:
Phone: 1-866-383-1657 (Toll Free)


11. Version Info

Name Version Last Updated
System Core 0.02 19 April 2011
BACnet IP 0.02 19 April 2011
Modbus RTU 0.01 19 April 2011
Mitsubishi UPS 0.02 05 August 2011

The most updated version information can be found by querying the device.


12. Tools

CAS IP Setup
This tool allows you to set the IP address of the device to either a static IP address or DHCP.

Download CAS IP Setup

CAS firmware update tool
This tool allows you to update the firmware on the device.

Download CAS firmware update tool

Log View 4net
A free (open source) log monitor / log viewer. UDP traffic, event logs, etc..
•    Files and folders
•    Incoming UDP traffic
•    EventLogs
•    SQL- Server tables
•    Atom and RSS feeds
•    StdOut and StdErr
•    Multiple actions, such as highlight, ignore and sound, based on event content.
•    Supports multiple simultaneous listeners in each session.
•    Supports several simultaneous sessions (MDI).

Download Log View 4net


Manuals and Datasheets

– CAS_DFS_CAS2700-44-Mitsubishi_UPS_SEC-Gateway

– CAS-2700-44-Mistubishi-UPS to Modbus and BACnet Manual



FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface.

Among others, the features of FileZilla include the following:
•    Easy to use
•    Supports FTP, FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP)
•    Cross-platform. Runs on Windows, Linux, *BSD, Mac OS X and more
•    IPv6 support
•    Available in many languages
•    Supports resume and transfer of large files >4GB
•    Tabbed user interface
•    Powerful Site Manager and transfer queue
•    Bookmarks
•    Drag & drop support
•    Configurable transfer speed limits
•    Filename filters
•    Directory comparison
•    Network configuration wizard
•    Remote file editing
•    Keep-alive
•    HTTP/1.1, SOCKS5 and FTP-Proxy support
•    Logging to file
•    Synchronized directory browsing
•    Remote file search

Download FileZilla


PuTTY: A Free Telnet/SSH Client
PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator.

Download PuTTY

If you liked this post;
  • Please consider subscribing to our RSS feed