Is it possible to make Mb2hal only make reads and writes of the nessisary 
registers, rather than all the registers used all the time? 

Just curious. I am using Mb2hal to control 8 VFDs on a gang router, and the 
slightly awkward way these drives must be addressed causes Mb2hal to have to 
make a lot of seemingly unnecessary reads and writes. 

Each drives registers must be addressed individually (can't send one write to 
all the drives). To oporate the drives, I have to write to 3 different non 
consecutive registers, and read a 3rd block of 6 registers, all of that times 8 
drives. I am pretty sure the 3 writes, do not need to be repeated, more than 
occasionally if at all. The read does need to be done regularly. 

The 3 reads are: 
writing 0 to register #48 - to unlock the drives mb control (only needs to be 
done once, or if serial link is lost) 
writing to register #1 - to start/stop the spindle (only needs writteen tp when 
changing state) 
writing to register #40 - to set the VFD frequency (only needs written to when 
changing the speed) 

The read is : 
reading registers #24-32 (this has to be read at least every 10 seconds to keep 
the drive unlocked (see the first write) also contains all drive status info. 
I don't think all of these would need to be read every time but, it is easier 
to do 1 large block than to pick and choose. 


-- 

======================================== 

Todd Zuercher 
mailto:[email protected] 

======================================== 
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to