Host Engineering Forum

General Category => DirectSOFT => Topic started by: dieseltwitch on May 13, 2009, 03:41:12 PM

Title: Saving Setpoint
Post by: dieseltwitch on May 13, 2009, 03:41:12 PM
How do I save set point changes made while the PLC is running into some type of long term memory that can be recalled after the plc loses power?
Title: Re: Saving Setpoint
Post by: b_carlton on May 13, 2009, 06:29:48 PM
Look up 'retentive ranges'. Unlike the Allen-Bradley processors, the AD processors would happily zero out everything on startup unless told otherwise. That's where 'retentive ranges' comes in. It just tells the processor what NOT to zero out. There are some ranges already included. Check to see if the registers you want are included. If not modify the ranges. Be careful though. Make sure you aren't assuming that some items start with zero. If included in the 'retentive range' it could be anything.