News:
Home
Help
Search
Login
Register
July 01, 2026, 05:06:38 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Simple Analog Question.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Simple Analog Question. (Read 7593 times)
Bobby
Sr. Member
Posts: 60
Simple Analog Question.
«
on:
May 09, 2015, 02:39:53 PM »
Hello all!!
I am still new to PLC programming and am working on my first project using a do-more plc. I have a 16 bit analog card in my rack. I understand that the resolution of that card is 65,536. My former training taught me that 0=0volts and 65,536=10volts for example. But with the do-more is shows the range being -32768 to +32767. Does that just mean the -32768 would read out a 0 volts and that +32767 would read out 10 volts? (or 5 depending on the settings I guess). Also if that is correct why do it like this? Is there a benefit that I do not see?
Thanks,
Bobby
Logged
plcnut
Hero Member
Posts: 814
Re: Simple Analog Question.
«
Reply #1 on:
May 09, 2015, 03:36:35 PM »
It sounds like your module is set up for bi-polar (-5 to +5vdc). If you set it for uni-polar then it should be 0-65535.
Logged
Circumstances don't determine who we are, they only reveal it.
~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com
BobO
Host Moderator
Hero Member
Posts: 6164
Yes Pinky, Do-more will control the world!
Re: Simple Analog Question.
«
Reply #2 on:
May 09, 2015, 11:13:18 PM »
The analog data types, WX and WY, are signed by default. If you need 16 bit unipolar, you need to append the unsigned cast operator, e.g., WX0:U.
Logged
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO
LWgreys
Hero Member
Posts: 117
Re: Simple Analog Question.
«
Reply #3 on:
May 17, 2015, 07:09:45 PM »
Which analog module do you have?
Logged
Print
Pages: [
1
]
« previous
next »
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Simple Analog Question.