
Visit our shop for nerds in control lifestyle products.
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
www.control.com/rss/
To get a personalized feed, become a member at no cost.
The option would report 100 percent as 0x0FA0. 0x0FFF would then correspond to 102.375 percent.
If I convert this 0X0FFF in numeric then it will be a 32716.
How can I scale this Modbus address in 30001 series for 0 - 100 % value with square root considered here?
b = offset (zero in your case)
m = scale factor.
x = original value
y = scaled value
if 100% = 101000, then m = x/y, or 32716 / 101000, or m = 0.323920792. In other words, multiply your original value by 0.323920792, or divide it by 3.087174471. If you don't have floating point math on your device, then you will have to use an integer scale factor (e.g. 3) and 100% will be slightly lower (not 0x0FA0). If you don't have division but have shift right/left, then you can use a right shift of 2 places (which is the same as divide by 4) and accept a lower full scale value.
If this doesn't answer your question, then you need to be clearer as to what your question is.
- ABCs of SBCs: Single board computers for embedded control; Lego learning
- Less, more: NEMA cites less confidence; NAM sees more exports of manufactured goods
- Free webinar on Zigbee for embedded systems
- Better together? Ametek, Dresser-Rand, IntervalZero, Rexroth make acquisitions
- You need 2 monitors: This Website will prove it
- Preview: Mitsubishi iQ controls sequence, motion, process, CNC, robotics; has connectivity
- 30 new Rockwell Automation products integrate hardware, software
- Digital manufacturing: Autodesk Inventor shows component interactions
- Software certified by AT&T: Runs on PDAs, cellphones, enables mobile applications
- Research: HMI supervisory software use increases with service needs
Patronize our advertisers!




