News:

  • May 05, 2024, 12:47:07 PM

Login with username, password and session length

Author Topic: Rententive States of Discrete Bits  (Read 3441 times)

Evilbeard

  • Hero Member
  • *****
  • Posts: 160
Rententive States of Discrete Bits
« on: April 14, 2016, 04:32:33 PM »
In my project, I have a HMI controlling a DL06. Some of the pushbuttons on the panel operate discrete bits inside the PLC, C0-C20. Is there a way to save the last status of these bits to retentive memory? For example, when they power the machine down for the weekend, it will be setup one way. When they power it back up Monday morning, it will be in the "default" state. My HMI is replacing a bunch of old switches and pushbuttons, and updating for some newer information/calibrations. Is there a way I can write the register of V40400 (I think this is the V ref I'm looking for off the top of my head) and then load it on the first scan using contact SP0? I tried this, and it doesn't seem to work.

Mike Nash

  • Hero Member
  • *****
  • Posts: 636
Re: Rententive States of Discrete Bits
« Reply #1 on: April 14, 2016, 05:47:04 PM »
C1000-C1777 are retentive by default whereas C0-C777 are not. See the DL06 User Manual 1 on page 5-10 for more info. You can change the retentive ranges if you want.

V40600 would be the start of the C0 range, but is not retentive either by itself. Definitely check the manual.
« Last Edit: April 14, 2016, 05:49:49 PM by Mike Nash »

Evilbeard

  • Hero Member
  • *****
  • Posts: 160
Re: Rententive States of Discrete Bits
« Reply #2 on: April 15, 2016, 05:44:02 PM »
Worked like a charm, thanks!