View single post by slychiu
 Posted: Thursday Mar 30th, 2017 05:08 pm
 PM  Quote  Reply  Full Topic 
slychiu



Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

In UCM/Modbus Properties, set Modbus Master/Slave as Slave. Modbus Slave ID in this mode is the Modbus ID of the UCM/Modbus. The other Tabs Modbus > Comfort and Alarm> Modbus are not applicable in this mode.

In this mode, third party devices and software are able to control Comfort by sending commands and getting responses.  UCM/Modbus is a Slave and the Modbus device is Master. In Comfigurator, the Modbus Master/Slave is set to Server/Slave. The Modbus ID field applies to the UCM/Modbus Modbus ID as a Slave.
The following Modbus functions are supported

Function Code  Function                        Parameters
1                       Read Coils                      Read from starting address, no of addresses
2                       Read Discrete Inputs     Read from starting address, no of addresses
3                       Read Holding Registers  Read from starting address, no of addresses
4                       Read Input Registers     Read from starting address, no of addresses
5                       Write Single Coil            Write from Address, Value
6                       Write Holding Register   Write from Address, Value


Write Multiple Coils and Write Multiple Holding Registers are not supported


When Modbus Slave is selected, the screen below should be seen in the Modbus Server Tab
This is a convenient lookup reference table which shows the Modbus Addresses  in Decimal and Hexadecimal format of all the Comfort events and registers that are exposed to Modbus.






Each of the items above is a Category that can be expanded by selecting the item


Zones/Inputs
Comfort Zones/Inputs are mapped to Modbus discrete Inputs





Outputs
Comfort Outputs are mapped to Modbus Coils



Flags
Comfort Flags are mapped to Modbus Discrete Inputs




Bypass Inputs
Bypass Inputs are mapped to Modbus Coils.




Counters
Comfort Counters are mapped to Modbus Holding Registers




Sensors
Comfort sensors are mapped to Modbus Holding Regsters




Security/Keypad commands
Key arm security and Autoarm security commands to Comfort are mapped to Holding Registers




Last edited on Thursday Mar 30th, 2017 05:13 pm by slychiu

 Close Window