Date and Time Display Buttons
NOTE: Time and Date buttons do not display any text when viewed in TPD5. The time or date is only visible once the project is loaded on a touch panel.
Creating a Date Display Button
A Date Display button is a button that displays the current date on the panel. It is a read-only (non-interactive) button. To create a date button:
- Create a new button. The button can be of any type, but normally you would use the General button type.
- In the Programming tab of the Properties window, click the Address Port field to enable the drop-down menu.
- Select 0-setup port from the drop-down menu (FIG. 406):
FIG. 406 Address Port: 0 - Setup Port
- Click the Address Code field to enable the drop-down menu (none, Date Display, Time Display).
- Click the plus (+) symbol next to Date Display to expose a drop-down menu of time display formats to choose from (FIG. 407):
- Select the desired display format.
The following table provide visual representations of each date display style, as it appears on the touch panel:
FIG. 407 Address Code: Date Display options
| Date Display Options | |
|---|---|
| Address Code Setting | Example (as the button appears on the panel ) |
| Weekday | |
| dd month, yyyy | |
| dd/mm | |
| dd/mm/yyyy | |
| mm/dd | |
| mm/dd/yyyy | |
| month dd, yyyy | |
| yyyy-mm-dd |
Creating a Time Display Button
A Time Display button is a button that displays the current time on the panel. It is a read-only (non-interactive) button. To create a time button:
- Create a new button. The button can be of any type, but normally you would use the General button type.
- In the Programming tab of the Properties window, click the Address Port field to enable the drop-down menu.
- Select 0-setup port from the drop-down menu (FIG. 408):
FIG. 408 Address Port: 0 - Setup Port
- Click the Address Code field to enable the drop-down menu (none, Date Display, Time Display).
- Click the plus (+) symbol next to Time Display to expose a drop-down menu of time display formats to choose from (FIG. 409):
FIG. 409 Address Code: Time Display options
- Select the desired display format.
The following table provide visual representations of each time display style, as it appears on the touch panel:
| Time Display Options | ||
|---|---|---|
| Address Code Setting | Example (as the button appears on the panel ) | |
| 24 hour | ||
| AM | PM | |
| Standard | ||
| Standard AM/PM |