System Time Registers

These time registers keep track of system time (time since the RMC started up) or real time. These registers can be used for functions such as delay timers, calculating time between events, and comparing motion controller events with the times of other devices.

Register Name

Data

Type

Access

Time Base

Rollover

Tag Name

RMC75

Address

RMC150

Address

RMC200
Address

System Time - Time base starts when RMC powers up

Time Gear Master

REAL

Read Only

1.0 s

1 s

_Time

%MD20.10

%MD44.10

%MD18.10

Time, 16th Milliseconds

DINT

Read Only

 

0.000 062 5 s

1.5 days
(231 ms/16)

_Controller.SysTime_16thmsec

%MD20.11

%MD44.11

%MD18.11

Time, Seconds

DINT

Read Only

 

1.0 s

68 years
(231 s)

_Controller.SysTime_sec

%MD20.12

%MD44.12

%MD18.12

Time, Milliseconds

DINT

Read Only

 

0.001 s

24.8 days
(231 ms)

_Controller.SysTime_msec

Or: _SysMS

%MD20.13

%MD44.13

%MD18.14

Time, Microseconds

DINT

Read Only

 

0.000 001 s

35.7 minutes
(231 µs)

_Controller.SysTime_usec

%MD20.14

%MD44.14

%MD18.15

Time, Nanoseconds

DINT

Read Only

 

0.000 000 001 s

1 second
(1 billion ns)

_Controller.SysTime_nsec

%MD20.15

%MD44.15

%MD18.16

Time, Loop Ticks

DINT

Read Only

 

Same as the Loop Time

(0.000 125 s to 0.008 s)

3.1 - 198 days
(231 loop times)

_Controller.SysTime_loops

Or: _SysTicks

%MD20.33

%MD44.33

%MD18.17

Real Time - Time base starts Jan. 1, 1970

Real Time UTC, Seconds

DINT

Read/Write

1.0 s

February 7, 2106

(232 s)

_Controller.RealTimeUTC_sec

n/a

n/a

%MD18.18

Real Time Local, Seconds

DINT

Read/Write

 

1.0 s

February 7, 2106

(232 s)

_Controller.RealTimeLocal_sec

n/a

n/a

%MD18.20

Real Time, Nanoseconds

DINT

Read/Write

 

0.000 000 001 s

1 second
(1 billion ns)

_Controller.RealTime_nsec

n/a

n/a

%MD18.19

 

For details on using these registers, see the System Time topic.

 

See Also

System Time | RMC200 Real-Time Clock


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion