News:

  • May 05, 2026, 10:17:42 PM

Login with username, password and session length

Author Topic: Do-more designer and real data  (Read 11108 times)

Henryp

  • Hero Member
  • *****
  • Posts: 161
Do-more designer and real data
« on: April 22, 2013, 01:09:29 PM »
The Do-more designer doesn't seem to have the ability in a data view window to show DLV memory as a real number.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Do-more designer and real data
« Reply #1 on: April 22, 2013, 01:28:49 PM »
The Do-More is highly typed compared to the DL products. Ech type has its own memory area. The 'V' memory is for unsigned 16 bit words. 'Real' memory values are stored in the 'R' memory area.
An output is a PLC's way of getting its inputs to change.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Do-more designer and real data
« Reply #2 on: April 22, 2013, 01:51:44 PM »
The Do-more designer doesn't seem to have the ability in a data view window to show DLV memory as a real number.

Implied via casting. Needs to be DWORD aligned, which is also the only way it can be used as real in an instruction. To view DLV0-1 as real enter DLV0:R.
"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

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: Do-more designer and real data
« Reply #3 on: April 22, 2013, 01:56:43 PM »
The PUBLISH/SUBSCRIBE instructions' primary purpose is for moving numeric data from type-less Guest Protocol memory (like DLV) into the strongly-typed Do-more Data Blocks (like D, R, N, V or user-defined strongly-typed data-blocks).

Key functionality built-in to these instructions are
1. support for BCD conversion (to/from)
2. support for mis-aligned data (e.g. reals that cross on odd-word boundaries like DLV1/DLV2 as a REAL, which is not supported using Casting mechanism of Do-more).

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Do-more designer and real data
« Reply #4 on: April 22, 2013, 02:09:35 PM »
The PUBLISH/SUBSCRIBE instructions' primary purpose is for moving numeric data from type-less Guest Protocol memory (like DLV) into the strongly-typed Do-more Data Blocks (like D, R, N, V or user-defined strongly-typed data-blocks).

Key functionality built-in to these instructions are
1. support for BCD conversion (to/from)
2. support for mis-aligned data (e.g. reals that cross on odd-word boundaries like DLV1/DLV2 as a REAL, which is not supported using Casting mechanism of Do-more).

...and this too. ;)
"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