Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: davidbgtx on September 12, 2019, 04:26:53 PM

Title: Do_More to WINPLC
Post by: davidbgtx on September 12, 2019, 04:26:53 PM
Anyone know if you can use MWX to write a D value from Do-More to N value in WINPLC. They are both double words. I can read/write Do-More C values to WINPLC F values, no problem, but can't seem to get Numbers to work.
Title: Re: Do_More to WINPLC
Post by: ADC Product Engineer on September 12, 2019, 04:36:53 PM
Probably need to use Publish or Subscribe to swap the high and low words using casting. 
Title: Re: Do_More to WINPLC
Post by: davidbgtx on September 12, 2019, 06:55:14 PM
Probably need to use Publish or Subscribe to swap the high and low words using casting.

Thanks, I have tried that, Publish d179 to MHR179, then MWX'd MHR179. However i didn't check swap byte or word, will give that a try.