Author Topic: One 32bit varialble in two DM ?  (Read 9836 times)

dan

  • Newbie
  • Posts: 47
    • View Profile
One 32bit varialble in two DM ?
« on: October 06, 2005, 03:08:24 PM »
Hi,

 I have several variables (about 100 ) that are more the 16bit long.
What will be the easy way to use two DM[] to store 1 variable.

Any other sugestion?

Thanks

Dan


support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:One 32bit varialble in two DM ?
« Reply #1 on: October 06, 2005, 03:49:26 PM »
You can follow the sample program "EEPROM.PC5" which shows you how to store 32-bit variable to the EEPROM (16-bit words). The same method can be used to store 32-bit number or variable in two DMs.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS