Comfort Home Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

UCM/Modbus firmware 7.099 to 7.163
 Moderated by: slychiu
 New Topic   Printer Friendly 
 Rating:  Rating
AuthorPost
 Posted: Saturday Feb 25th, 2017 12:57 pm
   
1st Post
slychiu
Administrator


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

  back to top

UCM/Modbus firmware 7.099 fixes the bug in previous versions

For Modbus Master Mode, Alarm to Modbus mapping did not work

Please upgrade the firmware. In Modules Tab, select UCM/Modbus on the left pane and right click, then select Check for Upgrades"



 Posted: Friday Mar 10th, 2017 01:21 pm
   
2nd Post
slychiu
Administrator


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

  back to top

UCM/Modbus firmware 7.101

This firmware fixes bugs
  1. Fixed BUG Modbus Master Alarm to modbus did not work
  2. Fixed BUG - Modbus Server Input Registers map to Security Last zone, last user, Alarm ID did not work
  3. Fixed bug in read holding registers: keyarm, autoarm, Keypad Digit did not work
  4. Fixed Bug in Slave mode Discrete inputs map to Zones/Inpus did not work



 Posted: Thursday Mar 30th, 2017 03:53 pm
   
3rd Post
slychiu
Administrator


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

  back to top

UCM/Modbus Firmware 7.103
  1. Fixed bug in Modbus master - Alarm to Modbus Security mode (Away. Night, Day, Vacation) when the system is armed or disarmed, the modbus register mapped to other security modes was not reset to 0
  2. Implemented Modbus Monitor Mode display Transmit data  as "> "and Receviev data  as "< " at the start of the line. This requires Comfigurator 3.11.12 to show Monitor Mode
  3. For Modbus Monitor mode delay 300 ms before next poll to prevent the monitor  buffer from overflowing. This means that Monitor mode polling will be slower than without monitor mode.
  4. Modbus Master - added  delay 50 ms before polling the next modbus address to ensure that the Slave being polled has time to respond
  5. Increase timeout for modbus messages to 50 ms to ensure incoming TCP messages donot time out due to TCP/IP delays.



 Posted: Friday Dec 25th, 2020 02:49 am
   
4th Post
slychiu
Administrator


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

  back to top

UCM/Modbus 7.104
Fixed BUG - when Modbus Master mapped to Counter only send 1 byte to Comfort Counter. With the new version, 16 bits are sent to the mapped Comfort counter in signed format -32568 to + 32767 range



 Posted: Friday Dec 25th, 2020 02:54 am
   
5th Post
slychiu
Administrator


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

  back to top

UCM/Modbus 7.135
  • UCM/UniversalFirmware can be upgraded to Modbus
  • Modbus to Comfort - each line allows different Modbus IDs, not all the same ID
  • Fixed BUG Output changes may cause counter message to modbus
  • Delay between successive messages to Modbus increased from 50 ms to 150 ms to prevent the remote slave modbus from overflow
  • Modbus Master Poll interval from 1 sec to 1.5 secs to give more time to reply 
  • Delay from receive to transmit increased to allow remote  modbus more time to receive next command



 Posted: Friday Dec 25th, 2020 03:00 am
   
6th Post
slychiu
Administrator


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

  back to top

Modbus 7.143
Known Bugs
  • Modbus Trouble input was not read from eeprom
  • Modbus master – sensor report from Comfort is not updated to Modbus.This bug will appear if Modbus Master Holding registers are mapped to sensord
Changes
  • Implemented Modbus Trouble Input. Requires Comfigurator 3.13.6
  • For Modbus Master If received function code is not same as the transmitted  function code, consider reply received, not as no reply, so go on to next  poll without delay
  • ucm/modbus slave allow alternative modbus addresses starting from 0000 for each modbus type. Revised Modbus manual can be downloasded from http://www.cytech.biz/product_details.php?item_id=470
  • Fixed Bug Modbus Slave check max size to stop overwrite modbus parameters
  • Slave Mode Fixed bug in Sensors processing 
  • Slave Mode write holding register send 2 bytes to counter instead of 1 byte
  • Slave Mode for counter, if UCM Counter is not initialised from CM9001, send request for counter so Counters are updated. Also update sensors from CM9001 if UCM sensor is not initialised.
  • Monitor Mode size of bytes  64 was 48 max bytes.  ignore bytes after buffer full but allow partial message up to 48  to be sent, without clogging up the Comfort RS485 bus in Monitor mode
  • start poll timeout at reset for ucm/modbus master to fix problem that polling does not start sometimes.
  • dont delay 1.5 secs betwen each poll . introduce  pollcycle time delay 1.5 secs between polling cycles but poll immediately after reply except line 0
  • Flag updated from Comfort sends  write holding register as well as write coil. Previous only write Coil is mapped to coil, but sdid not write hokding regisyter if mapped to Holdning regster. Flag will  write coil 0000 or 0xff00, write holding register as 0000 or 0001
  • Slave Mode for Input registers, modbus addess 00 to 0x1f are sensor registers not alarms so external modbus master with input registers can work with our ucm modbus slave

Last edited on Wednesday Jun 9th, 2021 04:17 am by slychiu



 Posted: Wednesday Jun 9th, 2021 04:19 am
   
7th Post
slychiu
Administrator


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

  back to top

Known Bugs
  • Modbus master – sensor report from Comfort is not updated to Modbus. problem
Modbus 7.144
  • Fixed bug modbus message overflow did not set overflow flag, still put into buffer
  • Fixed Bug EEPROM  modbustrouble input

Last edited on Wednesday Jun 9th, 2021 04:20 am by slychiu



 Posted: Wednesday Jun 9th, 2021 04:24 am
   
8th Post
slychiu
Administrator


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

  back to top

Modbus 7.148

Known Bugs
  • Modbus Master Poll Time in Comfigurator 3.13.7 has been iactivated in this firmware but the defaylt value is 12 seconds polling cycle so it causes the Polling time for Modbus master to be very slow
  • If the Parity does not match the correspodning Modbus device, rubbish characters are received
Bugs fixed
  • Fixed Bug did not handle overflow in modbus message
  • Fixed bug that modbus master processes the wrong reply after query new line  
  • Fixed bug sensor update from Comfort was not updated to Modbus master to send to slave
Changes
  • Dont read new modbus message if current message is not processed
  • If modbus reply to Master  does not match, turn on ERR LED. If reply matches, turn off ERR LED
  • Modbus _master does not query the next line before reply is received
  • Added queue  when there is write modbus for master, instead of send to modbus  direct which may cause collissions
  • Modbus slave  compare received slave id with programmed slave id, fix bug TCP did not   check Slave ID

Last edited on Sunday Sep 5th, 2021 05:48 am by slychiu



 Posted: Sunday Sep 5th, 2021 05:49 am
   
9th Post
slychiu
Administrator


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

  back to top

Modbus 7.153

Known Bugs  
 1. Bug in CRC may occur siometimes     2. address of Modbus slave was wrong for Input registers 0x2000 onwards
    3. alarmtype to modbus was wrong 
    4.modbus troubleinput_was wrong
New Features
  • Fixed BUG from 7.148 – Modbus Master Poll Cycle time if not programmed by Comfigurator 3.13.7 the default is 12.75 seconds which causes very slow polling. If not programmed the default poll cycle gtime is now 3 seconds
  • Fixed BUG. For Modbus RS485 if the Parity does not match the other modbus device, rubbish characters were received.

Last edited on Saturday May 14th, 2022 02:28 am by slychiu



 Posted: Wednesday May 11th, 2022 02:23 am
   
10th Post
slychiu
Administrator


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

  back to top

Modbus 7.160
Bugs Fixed
  1. Fixed problem for Master reply from slave not received on time. increase delay before next poll to allow  multiple replies to be received before next poll  
  2.  Fixed problem with modbus master connect to modbus slave - write holding repeatedly when counter changed  
  3. Modbus Slave fixed BUG address of slave  was wrong for Input registers 0x2000 onwards
  4. Fixed BUG for  index for alarmstate for alarm to modbus
  5. Fixed racing problem when Modbus Master Output is mapped to coil in slave. activate coil register on touchscreen is OK, but when output activate from Comfort C!NN01, the touchscreen slave modbus can turn on and off again due to racing fort due to write holding or write coil made
New Features
  1.  Modbus Master Poll multiple registers  up to 16 registers in 1 poll Subsequent Registers are assigned to sequential Comfort registers of the same type. For Read Discrete Inputs and Read Coils,  assign each bit to sequential registers.  Requires Comfigurator 3.13.8 and above (Not available yet)
  2. Modbus_to_comfort added comfort reg type 11 keypad key for modbus input register
  3. Modbus Master master modbus to comfort- security, Virtual Input, uutput, keypad  can map to holding register and coil as well. because some Modbus HMIs as slave has registers that can be either holding registers or Input registers, coil or discrete input. it is easier to use as coil and holding register because of read/write function
  4. Delay between polls by UCM/Modbus master changed from150 to 100 ms IF the slave does not reply

Last edited on Saturday May 14th, 2022 07:25 am by slychiu



 Posted: Sunday Jun 5th, 2022 06:04 am
   
11th Post
slychiu
Administrator


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

  back to top

UCM/Modbus 7.163

Bugs Fixed
  • Fixed BUG in Modbus Master. when counter, flag etc changed. the next register number will be matched with the next modbus address and write to it. eg modbus address 100 map to ctr 8, if ctr 9 changed it wil write to ctr 9
  • Fixed BUG  modbus master  modbus trouble input sometimes not updated correctly when activated or restored

New Features & Improvements
  • Modbus Master  Delay to next poll of slave is reduced
  • Modbus Master at reset, dont request initial values of Comfort registers for Modbus holding and coil registers so that mapped modbus  holding and coil registers are not written before UCM reads their values assume that the slave has the correct values of the holding and coil registers which should not be wriiten by comfort register initial values.
  • Improved delays in modbus communications, reduce delays



 Current time is 06:26 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems