Announcement

Collapse
No announcement yet.

PL question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • trimixdiver1
    started a topic PL question

    PL question

    I did a move of a real number (r) to a PL, it doesnt show the data after the decimal. What am I missing?
    Thanks

  • trimixdiver1
    replied
    Thank you!

    Leave a comment:


  • BobO
    replied
    PL is integer. You can use it to move real values, but you either need to cast to real or use PUBLISH and SUBSCRIBE to move data in and out.

    As a cast: COPY R0 to PL0:R will write the 32 bit real in R0 to PL0 and PL1 (which are 16 bit integers). Reverse at the other end.

    Leave a comment:

Working...
X