AutomationDirect Technical Support
AutomationDirect | Direct Sales in US and Canada | 1-800-633-0405

DL205 Frequently Asked Questions AutomationDirect Logo


Question

How do I use a variable as a timer preset?

Answer

In your timer box where you are currently typing 'Kxxx' for the preset you would put a V memory address such as V2000. Make sure that this address is only used for this purpose. Now open a data view and type in V2000. You would use this same V memory address for every timer that you want to have the same value.


Click the yellow E button with the red circle and slash in the upper left of the data view window to enable edits. Now you should have a column titled edits on the right of the V2000 you typed in. Enter your value in this column next to V2000 and press the middle of the three buttons at the top right of the data view.


Please note that you can use other V memory addresses than V2000. The full list of available addresses is available in the PLC -> Memory map menu item. Also you can find the list of available memory in Chapter 3 (or 4 depending on the PLC model) of the User manual.


FAQ Subcategory: CPU & Programming

This item was last updated on 2010-09-10
Document ID: 1338


The information provided in the AutomationDirect knowledge base is provided "as is" without warranty of any kind. AutomationDirect disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall AutomationDirect or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if AutomationDirect or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion of limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.


Copyright © 1999- AutomationDirect.com. ALL RIGHTS RESERVED