C - create a time-based variable, Appendix c, Create a time-based variable – Rockwell Automation 1753-PCS-PAR Using RSLogix Guard PLUS! with GuardPLC Controllers User Manual

Page 117: Appendix

Advertising
background image

1

Publication 1753-PM001A-EN-P - November 2005

Appendix

C

Create a Time-based Variable

To create a timer variable, you need to create a value field, enter the
time value, and connect that field to your function block.

1. In the Function Block Diagram Editor, right-click in any open

space on the page and choose Create Value Field.

2. Move the cursor to position the value field.

3. Click on the place where you want the value field to reside.

4. Enter the timer value preceeded by T#.

Time values can be entered in days (d), hours (h), minutes (m),
seconds (s), and milliseconds (ms).

Timer Value Examples

Description

T#14.7h

14.7 hours

T#10ms

10 milliseconds

T#23h17m

23 hours and 17 minutes

T#5d13h45m6s7.8ms

5 days, 13 hours, 45 minutes, 6 seconds, and
7.8 milliseconds

Advertising
This manual is related to the following products: