Member Login
Search
Past & Future Posts
Sponsored Communities
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Cool stuff
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
Life is like a bowl of soup with hairs floating on it. You have to
eat it nevertheless.
-- Flaubert
eat it nevertheless.
-- Flaubert
RSS Feed
www.control.com/rss
from the Automation List department...
Unity Pro DDTI cannot give located physical address for DDT (Derived Data Types ) elements. Only option is to give a starting address for the DDT itself. If my DDT contains different datatypes, the address allocation is not proper. Any thoughts on this?
We are running into the same problem. It looks like if you mix and match data types such as real, int, and bool, it assigns your addressing for you.
You can re-order so it is a better fit though. For example, we have 5 REAL's followed by 2 INT's and then 10 BOOLS. (Note that BOOL's use a byte of a word.) If we start at MW3000, 17 words are used, MW3000 to MW3016. Be sure to add some spares in case you want to add a real or a bool later.
Another approach is to make a separate DDT for BOOLS, REALS, INTS, etc. For example have MOTOR_Bool for your first DDT and have MOTOR_Real for your second DDT. This way you can use M1000 for your BOOL's and MW3000 for your reals. This would save memory since we are not wasting 7 bits for each BOOL this way.
You can re-order so it is a better fit though. For example, we have 5 REAL's followed by 2 INT's and then 10 BOOLS. (Note that BOOL's use a byte of a word.) If we start at MW3000, 17 words are used, MW3000 to MW3016. Be sure to add some spares in case you want to add a real or a bool later.
Another approach is to make a separate DDT for BOOLS, REALS, INTS, etc. For example have MOTOR_Bool for your first DDT and have MOTOR_Real for your second DDT. This way you can use M1000 for your BOOL's and MW3000 for your reals. This would save memory since we are not wasting 7 bits for each BOOL this way.
From Control Engineering magazine...
Related articles from Control Engineering magazine- You need 2 monitors: This Website will prove it
- 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
- Listen in: Watching a migration in progress
- HMI/SCADA: Microsoft Fluent technology helps enhance Proficy iFIX 5.0
- Eliminating diagnostic delays
- Speedier production management application development
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.
Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!



