Date/time commands, Date/time get, B.6 date/time commands – Nematron Pointe Controller User Manual

Page 332: B.6.1 date/time get

Advertising
background image

Appendix B: Flow Chart Command Reference

Pointe Controller User Guide

330

B.6

Date/Time Commands

Date/Time commands (in a

Process block

) are used to retrieve the system time on

the Pointe Controller unit.

NOTE: The controller’s internal clock is updated whenever a compiled project is
downloaded from your PC to the controller. The time is taken from your PC’s
system time.

B.6.1 Date/Time Get

This command can be selected from the

Date/Time commands

list.

When used in a Flow Chart, the Date/Time Get command retrieves the current
system time on the Pointe Controller unit. The time is expressed as the number of
whole seconds and remaining milliseconds elapsed since January 1, 1970. The
Seconds and Milliseconds values are both returned as 32-bit unsigned integers.

Parameters for this command include:

Seconds Tag – The Logic Memory tag to which the number of seconds
will be written. The tag should be a 32-bit Unsigned Input, Memory, or
Output tag.

To configure the Seconds Tag parameter, click the

button to open a

standard

Select Tag

dialog.

Milliseconds Tag – The Logic Memory tag to which the number of

remaining milliseconds will be written. The tag should be a 32-bit
Unsigned Input, Memory, or Output tag.

To configure the Milliseconds Tag parameter, click the

button to open

a standard

Select Tag

dialog.

Advertising