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

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


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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
   PM  Quote  Reply 
3rd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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
   PM  Quote  Reply 
4th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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
   PM  Quote  Reply 
5th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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
   PM  Quote  Reply 
6th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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 sensor
  • Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22
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 Aug 31st, 2022 04:12 am by slychiu



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


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

  back to top

Known Bugs
  • Modbus master – sensor report from Comfort is not updated to Modbus. problem
  • Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22
Modbus 7.144
  • Fixed bug modbus message overflow did not set overflow flag, still put into buffer
  • Fixed Bug EEPROM  modbustrouble input
  • Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22

Last edited on Sunday Sep 4th, 2022 04:59 am by slychiu



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


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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
  • Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22
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 4th, 2022 04:59 am by slychiu



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


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
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
Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22 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.
  • Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22

Last edited on Sunday Sep 4th, 2022 04:59 am by slychiu



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


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

  back to top

Modbus 7.160
Known Bugs
  1. Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22
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 Wednesday Aug 31st, 2022 04:14 am by slychiu



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


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

  back to top

UCM/Modbus 7.163

Bugs
  1. Modbus Slave bug - if the external Modbus master polls the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules. Fixed 30/8/22
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

Last edited on Wednesday Aug 31st, 2022 04:15 am by slychiu



 Posted: Wednesday Aug 31st, 2022 04:21 am
   PM  Quote  Reply 
12th Post
slychiu
Administrator


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

  back to top

UCM/Modbus 7.167 (30/8/2022)
Known Issues
  1. UCM/Modbus slavedidl not update counter value from Comfort at reset
  2. BUG from 26/12/20 When UCM/Modbus is is changed from master to slave the Slave  may send wrong info to master
  3. BUG modbus master Read discrete input and  read coil for multiple registers, wrong had error in decoding the registers mapped to modbus
  4. BUG Read Discrete Inputs and Coil < 8 registers gets wrong data
  5. BUG holding registers no of registers >= 8 causes overload and cannot poll correctly.
  6.  Modbus Master coil map to arm security did not work for multiple registers in Modbus to Comfort table
  7. BUG write to modbus holding register and coil in eventqueue did not work if modbus to comfort table is empty
Changes
  1. Fixed Modbus Slave bug - if the external Modbus master polled the slave Holding register very fast, it may hog the Comfort RS485 Bus and prevent proper communication with other modules.
Please upgrade the firmware if UCM/Modbus is configured as a Slave

Last edited on Wednesday Oct 12th, 2022 04:29 am by slychiu



 Posted: Wednesday Oct 12th, 2022 04:37 am
   PM  Quote  Reply 
13th Post
slychiu
Administrator


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

  back to top

UCM 7.168 (11/10/22)
  1.  Fix BUG from 26/12/2affect modbus changed from master to slave may send wrong info to master . may cause slave not to get correct info from CM9001
  2. modbus master   fix BUG for read discrete input read coil for multiple registers, fix BUG for  the order of bits for 1 to 16 registers
  3. FIXED modbus slave bug at reset, ucm/modbus slave did not update counter values from modbus 
  4. FIX BUG holding registers no of registers >= 8 causes rs485 overload and cannot poll correctly. modbus.inc .
  5. Fix BUG modbus master holding register mapped to sensor always send sensor value to rs485 even when changed
  6. Modbus master fix BUG sensor match for multiple registers in modbus to comfort  was wrong
  7. Modbus Master BUG write to modbus Coil or Holding Register for Alarm To Modbus table  not work if modbus to comfort is empty
  8. Modbus Master  map to arm security mode status to slave handles write coil multipke registers correctly
UCM/Modbus 7.168 will be released soon to fix the above bugs in 7.167 and earlier



 Current time is 05:21 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems