Transcript
CAS-2700-21 SEC Protocol for Mitsubishi UPS Modbus / BACnet / HTML Gateway
CAS270021 SEC(Serial)ProtocolforMitsubishiUPS Modbus(RTUandTCP)/BACnet/HTMLGateway
COMPUTER ENVIRONMENT SOLUTIONS
© Chipkin Automation Systems, 3495 Cambie St- Box 211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024 Email:VANCOUVER-CALGARY-EDMONTON
[email protected] Website: www.chipkin.com PH: 604.606.7960 - 403.250.5672 - 780.436.6059 e-mail:
[email protected], web: www.ces.ca
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page2of38
TABLEOFCONTENTS TABLEOFCONTENTS ...................................................................................................................... 2 1.
SEC Protocol for Mitsubishi UPS Gateway Description................................................. 4
2. Connections ......................................................................................................................... 5 2.1. BlockDiagram .................................................................................................................... 5 2.2. Wiring/Connections ......................................................................................................... 6 2.2.1. MitsubishiConnections ............................................................................................... 6 2.2.2. ModbusRTUConnections ........................................................................................... 7 2.3. LimitationsandBestPractices ........................................................................................... 8 3. Configuration and Settings ................................................................................................ 9 3.1. MitsubishiUPSConnectionSettings ................................................................................. 9 3.2. ModbusTCPSettings .......................................................................................................... 9 3.3. ModbusRTUSettings ......................................................................................................... 9 3.4. BACnetIPSettings ........................................................................................................... 10 3.5. OtherSettings ................................................................................................................. 10 3.6. ConfigurationSettings ..................................................................................................... 10 3.7. ChangeConfigurationSettings ........................................................................................ 11 4.
Reading Data using HTML / Web Browser ................................................................... 13
5. Reading Modbus Data ...................................................................................................... 14 5.1. ModbusFunctionSupported(RTUandTCP)................................................................... 14 5.2. ModbusDataMap ........................................................................................................... 14 5.3. InterpretingModbusData ............................................................................................... 17 5.4. TestProcedure–UseCASModbusScanner ................................................................... 18 6. Reading BACnet Data ...................................................................................................... 20 6.1. MostCommonBACnetProblem ..................................................................................... 20 6.2. InterpretingBACnetData ................................................................................................ 20 6.3. BACnetObjects ................................................................................................................ 21 6.4. BACnetTestProcedure.................................................................................................... 24 7. Commissioning, Diagnostics and Trouble Shooting ...................................................... 28 7.1. WhattoTaketoSiteforCommissioning ......................................................................... 28 7.2. GatewayStatus ................................................................................................................ 32 7.3. GatewayDiagnostics ....................................................................................................... 32 7.4. Debuglog. ........................................................................................................................ 32 7.5. MitsubishiUPSConnection ............................................................................................. 34 7.6. AnotherMethodforChangingtheIPAddressDHCP .................................................... 35 7.7. DiscoveringtheGateway ................................................................................................. 36 7.8. DownloadingNewFirmware ........................................................................................... 36 8.
Specifications ..................................................................................................................... 37
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page3of38
BlankPage
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 1.
Page4of38
SEC Protocol for Mitsubishi UPS Gateway Description
TheSECprotocolcanbeusedtoconnecttosuitablyenabledUPS’smanufacturedbyMitsubshi. ThisisaserialprotocolusingRS232.Theprotocolisnodeless,soonlyoneUPScanbe connectedtoportofthegateway. TheGatewayconnectstotheUPS,readsdataandstoresitinternally.Whenaremotesystem requestsdata,thisdataisservedinaformthatisappropriatetotherequestingprotocol.In theeventthattheconnectiontotheUPScontrollerislost,ordatacannotberead,thegateway cansignalthistotheremotedataclient. Thegatewayrequiresminimalconfigurationandcanbeconsideredaplugandplaycomponent ofasystem,inthatitisreadytooperateoutoftheboxwiththedefaultconfiguration.
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 2.
Page5of38
Connections
2.1.
BlockDiagram
Monitor and Control UPS's that support SEC protocol using BACnet, Modbus or Web
Free BACnet test software with purchase* Confidently test the BACnet interface. Discover devices and their objects. Test and document them. Arm yourself with a powerful field tool. Full license.
BACnet IP
Modbus TCP
HTTP and other web protocols
Ethernet Network Connection via std networking interfaces such as hubs, switches, routers. We are always adding to the library of protocols and can add yours.
CAS-2700-21 Gateway
RS232 Modbus RTU Master
Modbus RTU Device(s)
Mitsubushi UPS RS485 for Modbus RTU server
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page6of38
2.2.
Wiring/Connections
2.2.1.
MitsubishiConnections
ANullModemcableissuitable.
9 Pin Female
9 Pin Female
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
Required connections 2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 2.2.2.
Page7of38
ModbusRTUConnections
Port0–RS485ModeTerminals DB9Terminal1jumperto3
RS485–Positive
DB9–Terminal2jumperto4
RS485–Negative
DB9–Terminal5
RS485Common
Jumper7to8
Jumper6to9
-ve +ve
9 Pin Female
Signal common
2010©
1
Sh
2
9
3
8
4
7
5
6
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page8of38
2.3.
LimitationsandBestPractices
MaximumNumberofUPSdevicesperGateway Only1MitsubishiUPSdevicecanbeconnectedtoasinglegateway.Thisisalimitationof RS232andoftheSECprotocol. RS232BestPractices We recommend a maximum of 30ft for the RS232 cable. A well made cable in a clean environmentcaneasilyrunto100ftandprovidesatisfactoryperformance.
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 3.
Page9of38
Configuration and Settings 3.1.
MitsubishiUPSConnectionSettings
ThebaudrateisaconfigurablesettingfortheMitsubishiUPSdevice.
BaudRate=1200,2400,4800,9600,19200
DefaultBaudRate=9600
ThesesettingsarehardcodedsincetheycannotbechangedintheMitsubishiUPSdevice. Parity=None DataBits=8 StopBits=1 3.2.
ModbusTCPSettings
ToconnectusingModbusTCPyouneedtoknowtheIPaddressofthegatewayandthe Modbus‘Station’number(alsoknownas‘DeviceAddress’or‘NodeID’) ModbusStationNumber=1(Thisparameterisconfigurable). Review section 7.6 Another Method for Changing the IP Address DHCP to see the defaultIPAddresssettingsandhowtochangethem. 3.3.
ModbusRTUSettings
ToconnectusingModbusRTUyouneedtosettheconnectioncorrectlyandtheModbus ‘Station’number(alsoknownas‘DeviceAddress’or‘NodeID’) ModbusStationNumber=1(Thisparameterisconfigurable–sharedwithModusTCP). ConnectionSettings:9600(or19200)Baud,8DataBits,1StopBit,NoParity.TheBaud Rateisconfigurable.ThedeviceisaModbusRTUslave.
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page10of38
3.4.
BACnetIPSettings
BACnetsupportsdiscovery.ThusanyBACnettoolwilldiscoverthegatewayandreport its properties. Each gateway must be allocated a unique device instance number and thusthisisaconfigurablesetting. TheDefaultBACnetSettingsare DeviceInstanceNumber=389001(Thisparameterisconfigurable) ItisimportanttonotethatBACnetmessagescannotpassfromonesubnettoanother without a BACnet technology called BBMD installed. The easiest installation and the bestwaytoavoidthiscomplicationistosetthegateway’sIPaddresssothatitisonthe samesubnetastheBACnetdataclient(usuallytheBAS/Scadasystem). Review section 7.6 Another Method for Changing the IP Address DHCP to see the defaultIPAddresssettingsandhowtochangethem. 3.5.
OtherSettings
Timeout: If the gateway loses it connection to the controller it will mark the data as unreliable after some time has passed. The same is true if one particular data item cannot be read – that data item will be marked as unrealizable. This will affecthowremoteModbusorBACnetclientswillseethedata. Timeout=120seconds(Default) Thissettingcanbechanged. 3.6.
ConfigurationSettings
UseaBrowserandbrowsetotheIPaddressoftheGateway.Forexample: http://192.168.1.113/bin/mitsubishiups. 2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page11of38
3.7.
ChangeConfigurationSettings
UseaWebBrowserandtypethefollowingintotheaddressbar: http://192.168.1.113/bin/mitsubishiups IPAddressofyourunit.
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page12of38
ChangetheSettingsandclickSubmittosavethem.Tocancelchangessimply closethepagewithoutsubmitting. TheModbusStationIDissharedbetweenModbusRTUandModbusTCP NoteonIPAddresses:AnothermethodisprovidedtochangetheNetmaskand Gatewayaddress. Changesdonottakeeffectuntilthedevicerestarts.UsetheResetbuttonthe webpageorrecyclethepower.
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 4.
Page13of38
Reading Data using HTML / Web Browser UseaWebBrowsertobrowsetothispage. http://192.168.1.113/status This is the IP address of your gateway Youarepresentedwithascreensimilartothisone.(Ageisexplainedinthesection ‘GatewayStatus’ofthismanual)
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 5.
Page14of38
Reading Modbus Data NeedtoknowmoreaboutModbus?Readthisguide. http://www.chipkin.com/september2010newsletter
5.1.
ModbusFunctionSupported(RTUandTCP)
The Gateway supports functions 1, 2, 3, and 4. Most masters should be configured to use function 3 (Read Holding Registers). However it will respond to polls that use the otherfunctionswithoffsetequaltozero.Youcanreadthisdataas3xxxx,1xxxx,0xxxx or4xxxxdata. 5.2.
ModbusDataMap
Modbus Holding Register 40001 40002 40003 40004 40005 40006 40007 40008 40009 40010 40011 40012 40013 40014 40015 40016 40017 40018 40019 40020 40021 40022 40023 40024 40025 40026 2010©
Engineering Description BatteryCondition BatteryStatus BatteryCharge SecondsOnBattery EstimatedMinutes EstimatedCharge BatteryVoltage BatteryCurrent BatteryTemperature InputLineBads InputNumLines InputFrequency1 InputVoltage1 InputCurrent1 InputPower1 InputFrequency2 InputVoltage2 InputCurrent2 InputPower2 InputFrequency3 InputVoltage3 InputCurrent3 InputPower3 OutputSource OutputFrequency OutputNumLines
Units None None None seconds minutes None 0.1volts 0.1amps Degrees None None 0.1Hz 0.1volts 0.1amps Watts 0.1Hz 0.1volts 0.1amps Watts 0.1Hz 0.1volts 0.1amps Watts None 0.1Hz None
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 40027 40028 40029 40030 40031 40032 40033 40034 40035 40036 40037 40038 40039 40040 40041 40042 40043 40044 40045 40046 40047 40048 40049 40050 40051 40052 40053 40054 40055 40056 40057 40058 40059 40060 40061 40062 40063 40064 40065 40066 40067 40068 40069 40070 40071 40072 40073 2010©
OutputVoltage1 OutputCurrent1 OutputPower1 OutputLoad1 OutputVoltage2 OutputCurrent2 OutputPower2 OutputLoad2 OutputVoltage3 OutputCurrent3 OutputPower3 OutputLoad3 BypassFrequency BypassNumLines BypassVoltage1 BypassCurrent1 BypassPower1 BypassVoltage2 BypassCurrent2 BypassPower2 BypassVoltage3 BypassCurrent3 BypassPower3 AlarmTemperature AlarmInputBad AlarmOutputBad AlarmOverload AlarmBypassBad AlarmOutputOff AlarmUPSShutdown AlarmChargerFailure AlarmSystemOff AlarmFanFailure AlarmFuseFailure AlarmGeneralFault AlarmAwaitingPower AlarmShutdownPending AlarmShutdownImminent NominalInputVoltage NominalInputFrequency NominalOutputVoltage NominalOutputFrequency NominalVARating NominalOutputRating LowBatteryTime AudibleAlarm LowVoltageTransferPoint
Page15of38
0.1volts 0.1amps Watts None 0.1volts 0.1amps Watts None 0.1volts 0.1amps Watts None 0.1Hz None 0.1volts 0.1amps Watts 0.1volts 0.1amps Watts 0.1volts 0.1amps Watts None None None None None None None None None None None None None None None Volts 0.1Hz Volts 0.1Hz Voltamps Watts Minutes None Volts
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page16of38
40074 40075 40076
HighVoltageTransferPoint BatteryInstalledDate NominalBatteryLife
Volts None Days
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page17of38
5.3.
InterpretingModbusData
Modbusdoesnothaveamechanismforreportingthevalidityofdata.What happensifthegatewaylosesitsconnectiontotheMitsubishiUPSdevice?Aftera timeoutperiodhaselapsedthegatewaywillregardthedataithadread previously,asunreliable. Theremotedataclientwillseethevalue65535(1,configurable)intheregisters thatcontainunreliabledata.Inotherwords,ratherthanservetheold(possibly obsolete)data,thegatewayservesavaluethatclearlyidentifiesthatthedatais invalid. SomevalueshavebeenencodedasIEEE754formatfloatingpointnumbers. Thesevaluesuse2x16bitregisters.TheyareclearlyidentifiedintheModbus Map.SinceModbusdoesnotsupportfloatingpointnumberssoallothervalues areservedaswholenumbers.
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page18of38
5.4.
TestProcedure–UseCASModbusScanner
YoucantesttheModbusTCPdatausingfreetestsoftwareprovidedbyChipkin AutomationSoftware. Thisisalinktothedownloadpage.http://www.chipkin.com/casmodbus scanner Configurethescannerasfollows 1. Addaconnection–specifytheIPaddressofthegateway 2. Addadevicetotheconnection.Setthedevice=1 3. AddaRequesttothedevice:ReadHoldingregisteroffset=1Length=68 Theresultshouldbelikethis.
4. ClickthePollButton 5. Usethevaluesfoundinthe‘int16columnandthedatamaptabletoreview thedata. 2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page19of38
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 6.
Page20of38
Reading BACnet Data BACnetsupportsdiscovery.Whenyoudiscoverthegateway,objectsandpropertiesyou willfindappropriatelynamedobjectsthatreportdatafromtheMitsubishiUPSdevice. Because BACnet supports discovery, usually knowledge of the BACnet Device Instance Numberdoesnotneedtobeknowninadvance. Each BACnet device (like the gateway) needs to have a unique instance number. Thereforeitmaybenecessaryforyoutochangetheinstancenumber. NeedtolearnsomeBACnetbasics?Readthisguide. http://www.chipkin.com/bacnetsolutions 6.1.
MostCommonBACnetProblem
IfthedeviceorapplicationthatisreadingtheBACnetdataisonanothersubnetthenit will not discover or be able to talk to the gateway. This can be resolved two ways. 1. Change the IP address of the gateway to be on the same subnet – a simple task. 2. InstallBBMD–anontrivialtask–butataskyoucanoftenpassthebuckon–itisthe responsibilityofthecompanyinstallingtheBASsystemtoprovideBBMD.Youcanread moreaboutitatthislink.http://www.chipkin.com/articles/bacnetbbmd 6.2.
InterpretingBACnetData
IfthegatewaylosescommunicationswiththeMitsubishiUPSdeviceorifadatapoint cannotbereadfromthecontroller,the‘OutofService’propertyofthedataobjectisset true once the timeout has expired. The value of the ‘Present Value’ property is not changed,thusthelastgoodvaluewillbeshown. Scaling:SomeBacnetobjectstransportscaleddata.ThevaluesservedasBACnetvalues are the same as those served on Modbus. They are always whole numbers. Thus for example, referencing section you see thecurrent is served as 0.1 Amps. Thus if the Modbus register contains the value 123 it means the current is 12.3 Amps. The same appliestoBACnet.IfthePresentValueoftheobjectis123itmeans12.3Amps. 40018
InputCurrent2
0.1amps
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 6.3.
Page21of38
BACnetObjects ThefollowingisalistofpossibleBACnetObjects.Pleasenotethatwhichobjects appearinaBACnetexplorerwilldependonwhichUPSdevicewasselected,and whichStatusgroupswererequested
2010©
x
analog_input1(battery_condition)
x
analog_input2(battery_status)
x
analog_input3(battery_charge)
x
analog_input4(seconds_on_battery)
x
analog_input5(estimated_minutes)
x
analog_input6(estimated_charge)
x
analog_input7(battery_voltage)
x
analog_input8(battery_current)
x
analog_input9(battery_temperature)
x
analog_input10(input_line_bads)
x
analog_input11(input_num_lines)
x
analog_input12(input_frequency_1)
x
analog_input13(input_voltage_1)
x
analog_input14(input_current_1)
x
analog_input15(input_power_1)
x
analog_input16(input_frequency_2)
x
analog_input17(input_voltage_2)
x
analog_input18(input_current_2)
x
analog_input19(input_power_2)
x
analog_input20(input_frequency_3)
x
analog_input21(input_voltage_3)
x
analog_input22(input_current_3)
x
analog_input23(input_power_3)
x
analog_input24(output_source)
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
2010©
x
analog_input25(output_frequency)
x
analog_input26(output_num_lines)
x
analog_input27(output_voltage_1)
x
analog_input28(output_current_1)
x
analog_input29(output_power_1)
x
analog_input30(output_load_1)
x
analog_input31(output_voltage_2)
x
analog_input32(output_current_2)
x
analog_input33(output_power_2)
x
analog_input34(output_load_2)
x
analog_input35(output_voltage_3)
x
analog_input36(output_current_3)
x
analog_input37(output_power_3)
x
analog_input38(output_load_3)
x
analog_input39(bypass_frequency)
x
analog_input40(bypass_num_lines)
x
analog_input41(bypass_voltage_1)
x
analog_input42(bypass_current_1)
x
analog_input43(bypass_power_1)
x
analog_input44(bypass_voltage_2)
x
analog_input45(bypass_current_2)
x
analog_input46(bypass_power_2)
x
analog_input47(bypass_voltage_3)
x
analog_input48(bypass_current_3)
x
analog_input49(bypass_power_3)
x
analog_input50(alarm_temperature)
x
analog_input51(alarm_input_bad)
Page22of38
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual x
analog_input52(alarm_output_bad)
x
analog_input53(alarm_overload)
x
analog_input54(alarm_bypass_bad)
x
analog_input55(alarm_output_off)
x
analog_input56(alarm_ups_shutdown)
x
analog_input57(alarm_charger_failure)
x
analog_input58(alarm_system_off)
x
analog_input59(alarm_fan_failure)
x
analog_input60(alarm_fuse_failure)
x
analog_input61(alarm_general_fault)
x
analog_input62(alarm_awaiting_power)
x
analog_input63(alarm_shutdown_pending)
x
analog_input64(alarm_shutdown_imminent)
x
analog_input65(nominal_input_voltage)
x
analog_input66(nominal_input_frequency)
x
analog_input67(nominal_output_voltage)
x
analog_input68(nominal_output_frequency)
x
analog_input69(nominal_va_rating)
x
analog_input70(nominal_output_rating)
x
analog_input71(low_battery_time)
x
analog_input72(audible_alarm)
x
analog_input73(low_voltage_transfer_point)
x
analog_input74(high_voltage_transfer_point)
x
analog_input75(battery_installed_date)
x
analog_input76(nominal_battery_life)
Page23of38
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page24of38
6.4.
BACnetTestProcedure
YouhavebeenprovidedwithaUSBkeytotheCASBACnetExplorer.Thiskeyactivates the software. It cannot run without it. If you don’t have your USB key, you can still activatetheapplication–itrequiresaninternetconnection.Avideoprovideshelp. http://www.chipkin.com/articles/casbacnetexplorersoftwareactivationvideo Youmightalsowanttorefertothesearticles. http://www.chipkin.com/articles/casbacnetexplorerusbsoftwareactivationproblems http://www.chipkin.com/casbacnetexplorerlicensesfaq Installandactivatetheapplication.Downloadfromhere. http://www.chipkin.com/casbacnetexplorer/ Procedure 1. Starttheapplication 2. ClickSettings 3. CheckIP–uncheckMSTPandEthernet 4. Clickonthenetworkcardyouwilluse. 5. ClickOk. 6. Nowclickdiscover 7. ClickSend
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page25of38
Device(s) were discovered. Click the + to open up.
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page26of38
Select the device and click discover again.
Check the ‘Discover properties’ box. Click the Send button.
2010© Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page27of38
You get a list of objects with properties.
Out of Service=False means data from UPS is valid. True=UPS data has timed out and cannot be read.
2010©
Present value is the value found in the UPS Device.
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 7.
Page28of38
Commissioning, Diagnostics and Trouble Shooting
7.1.
WhattoTaketoSiteforCommissioning
1. Thegatewayandothersuppliedcomponents. 2. USB>232Converter Anywilldo.Thiswillallowyouruntestsusingthe232serialconnection.Connecttothe deviceandfindoutwhichCOMportisnowavailable,useCASModbusScannertoretrieve data. 3. SerialCables ANullModemcableisusedtoconnecttothegatewaydiagnosticport.Takeonewithyou. ANullModemcableisusedtoconnecttheMitsubishiUPSDevicetotheGateway. 4. Laptop 5. GatewayIPAddressAllocationTool Downloadfrom
http://www.chipkin.com/articles/casgatewayipaddresstool 6. Wiresharkpacketsniffersoftware–freedownload
http://www.wireshark.org/download.html 7. CASModbusScanner–freedownload
CASModbusScannerisautilitytoretrievecoils,inputs,holdingregisters,andinput registersfromaModbusenableddevice.Valuesretrievedfromthedevicecanbe viewedinmanydifferentformatsincludingBinary,HEX,Uint16,Int16,Uint32,Int32, andFloat32. http://www.chipkin.com/casmodbusscanner 2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page29of38
8. SerialMiniTester
9. DB9andDB25maleandfemaleconnectormakeupkits(Solderfree) Alwaysusefulbutnotrequiredifyouhavetestedyourcablepriortoattendingthesite. 10. Rx/TXcrossover.
Alwaysusefulbutnotrequiredifyouhavetestedyourcablepriortoattendingthesite.
Itisusefultobeabletoswaptheconductorsconnectedtopins2and3.Takea modulewithyou.Itiseasierthanchangingthewires. Forexample,theZiotekNullModemAdapterDB25 http://www.cyberguys.com/product details/?productid=751&rtn=750&core_cross=SEARCH_DETAIL_SIMILAR#page=page 1
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page30of38
11. GenderBenders Alwaysusefulbutnotrequiredifyouhavetestedyourcablepriortoattendingthesite.
12. EthernetPatchcables 13. Hub UsedasalastresortifthereareproblemsonModbusorBACnet 2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page31of38
Ahubisnotaswitch.Ahubcanbeusedfortroubleshootingwhereasonlya‘supervised’ switchcan.Mostswitchesarenotsupervised. http://www.chipkin.com/articles/hubsvsswitchesusingwiresharktosniffnetwork packets
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page32of38
7.2.
GatewayStatus
Browsetohttp://192.168.1.113/statusandyouwillbethevaluesofdata,data ageanddataqualityinformation. The"dataage"isnowlongithasbeeninsecondssincethedatawaslast updated.Thisvalueshouldbelessthen~10asitonlytakes12sectopollevery pointontheMitsubishiUPSdevice.Thestatusisbasedoffthedataage,when thedataagereaches[MitsubishiUPSdatatimeout]{default:120sec}thestatus willchangeto"BAD"andbehighlightedinred. Youmustmanuallyrefreshthispagetogettheupdatedvalues. 7.3.
GatewayDiagnostics
PowerLed:GreenSolid=NormalCondition. RJ45LED:Greentoshowlink. 7.4.
Debuglog. ThedebugmessagesaresentonUDPport65534tothebroadcastIPaddress: {255.255.255.255}asplainASCIItext.Youcanuse"logview4net"tooltoview andrecordedthedebugmessagesastheyaresentfromthedevice. Logview4net Freeandopensourcetoolbuilttoviewingandmonitoringlogs.Itworkswith manydifferentfileformatsandprotocolsincludingUDP.Thistoolcanbe downloadfor"free"fromthepublisherswebsitehttp://logview4net.com/
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page33of38
Set IP Address Port=65534 and Encoding=US-ascii
Click Done
Timeout
Abnormaloperation.Nocommunicationwithdevice.PerformMitsubishi UPSConnectionDiagnostics. 2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page34of38
Operating Normally Occasional timeout messages should be tolerated.
NormalOperation. 7.5.
MitsubishiUPSConnection
Useaminitestertochecktheserialports. ConnectthecabletotheMitsubishiUPSdeviceonly–RDshouldbegreen.Ifitisn’tthis meansthecabletotheMitsubishiUPSdeviceiswrongortheportisn’tworking. Connectthecabletothegatewayonly–TDshouldbegreen.Ifitisn’tthismeansthe cabletothegatewayiswrongortheportisn’tworking. DuringnormaloperationRDwillflickergreen/red
2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page35of38
7.6.
AnotherMethodforChangingtheIPAddressDHCP
ThisdevicesupportsDHCPandDHCPisenabled. Whenshippedthedevice IP=192.168.1.x Mask=255.255.255.0 Gateway=192.168.1.1 IfyousimplywanttochangetheIPaddressthenusethesimplermethodprovidedin section3.7ChangeConfigurationSettings. AtoolisprovidedtochangetheIPaddressofthegateway.Thetoolcanbedownloaded from: http://www.chipkin.com/articles/casgatewayipaddresstool Whenyoustartthistoolitdiscoversgatewaysandlistthemintherighthadside‘Select aUnit’area.Iftheareaisblankthenclickthe‘SearchAgain’button.Ifitremainsblank checkthattheEthernetconnectionismade–isthereagreenlinkLEDontheRJ45and onthehub/switchyouareconnectedto.
TochangetheIPaddresscompletetheFieldsandclickthe‘Set’button. 2010©
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 7.7.
Page36of38
DiscoveringtheGateway
UsethetoolprovidedtochangetheIPaddresstodiscoverthegatewayandlearnwhat itspreallocatedIPaddressis.Seesection7.6AnotherMethodforChangingtheIP Address 7.8.
DownloadingNewFirmware
Ifyouaresentnewfirmwareyouwillbeprovidedwithspecificinstructions.Theseare generic–i.e.folderandfilenamesmaybedifferent. Atoolisprovided.Itcanbedownloadedfrom http://www.chipkin.com/articles/casgatewayfirmwaredownloadtool ScreenShotfromtheFirmwareupdatetool.
2010©
File name and path may change. You will be provided with specific instructions.
Click to find a gateway (discover)
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual 8.
Page37of38
Specifications x x x x x x x x x
2010©
UL and ULc approved 10/100BaseT with RJ-45 connector 1x RS232 Port 1x RS485 Port (Different Models have additional ports) 2MBytes flash memory, 8MBytes of SDRAM Power: 5-24VDC Operating Temperature: 0 to 70 C Dimensions: 4.2" x 3.25" x 1" LEDs: Link, Speed/Data, Power
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024
CAS270021SECProtocolforMitsubishiUPSGatewayManual
Page38of38
RevisionHistory Date
Resp
Format
DriverVer.
12Jul2011 13Jul2011
ACF PMC
1.00
2010©
Doc. Rev. 0 1
Comment DocumentCreated Updatedconnectiondiagrams.
Chipkin Automation Systems, 3495 Cambie St. Unit211, Vancouver, BC, Canada, V5Z 4R3 Tel: (866) 383-1657, Fax: (416) 915-4024