Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 21, 2012, 08:30:16 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
Ethernet SDK
>
CTRIO reads from HEICCMRequest
Pages: [
1
]
« previous
next »
Print
Author
Topic: CTRIO reads from HEICCMRequest (Read 1264 times)
mbelyus
Newbie
Posts: 2
CTRIO reads from HEICCMRequest
«
on:
September 01, 2009, 01:24:28 pm »
I have a CTRIO that I am moving the counter to V2200. When I try to read the value @V2200 I get some odd readings. I looks like I'm grabbing data in the middle of a write. I am using the counters on a D06 and they read from from CT174 & CT176, but the reading from the H0-CTRIO is odd. Do I need to check a bit to make sure that the transfer is complete?
Thanks,
Matt
Logged
MikeS
Host Moderator
Posts: 176
Re: CTRIO reads from HEICCMRequest
«
Reply #1 on:
September 02, 2009, 09:50:10 am »
if you haven't scaled the data from the CTRIO, the default is a 32-bit signed value - so the value from each counter channel will consume two consecutive V-locations.
if you've scaled the count in the CTRIO, then the value will reflect that scaled type, but still consume 2 consecutive v-locations.
does this help at all?
the values from the built-in counters in the DL06 are the same as the CTRINT module, so that's not the same format (16-bit BCD, i think) as the CTRIO.
Logged
Good design costs a lot. Bad design costs even more.
mbelyus
Newbie
Posts: 2
Re: CTRIO reads from HEICCMRequest
«
Reply #2 on:
September 02, 2009, 05:13:04 pm »
Thanks. There's no scaling, but it was that I forgot to convert to BCD. I did that and it worked fine.
Thanks,
Matt
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...