Command: Arm Event Timer (105)

Supported Axes:

All

Firmware Limitations:

RMC75/150: n/a

RMC200 CPU: 1.06.0 and newer

RMC200 D24: 1.04A and newer

 

See the Commands Overview topic for basic command information and how to issue commands from PLCs, HMIs, etc.

Command Parameters

#

Parameter Description

Range

1

Module Slot

The number of the slot that contains the module with the high-speed input to be used for event timing.

The first I/O module slot number on the RMC200 is slot 2.

A valid integer slot number from 2 to the maximum number of slots in the base.

2

Event Timer
The event timer number on the module. This is the internal software resource for the timer. See Event Timers for details.

D24: 0-3

3

Event Source

The physical event which will cause the timer to latch.

  • Quad Count (0)

  • In0 Rising Edge (1)

  • In0 Falling Edge (2)

  • In1 Rising Edge (3)

  • In1 Falling Edge (4)

 

D24 Hardware Inputs:

Event Timers

Event Source

Hardware Input

0 or 1

Quad Count (0)

Quad Channel 0

In0 Rising Edge (1)

D20

In0 Falling Edge (2)

D20

In1 Rising Edge (3)

D21

In1 Falling Edge (4)

D21

2 or 3

Quad Count  (0)

Quad Channel 1

In0 Rising Edge (1)

D22

In0 Falling Edge (2)

D22

In1 Rising Edge (3)

D23

In1 Falling Edge (4)

D23

 

A valid integer as described.

4

Timer Mode

  • One-Shot (0)

  • Continuous (1)

  • Alternating (2)

A valid integer as described.

Description

This command arms an Event Timer. Event Timers are used to capture the time of a high-speed input event. For details on using Event Timers, see the Event Timers topic.

 

Slot number
Specifies which slot number of the base contains the module with the high-speed input.

Base

Valid I/O Module Slot Numbers

B5L

2–4

B7L

2–6

B5

2–4

B7

2–6

B11

2–10

B15

2–14

Event Timer and Event Source

The Event Timer is the internal software resource for the timer, not the actual hardware input. The Event Source defines the hardware input to be used. Each Event Timer supports certain Event Sources as listed below:

Event Timers

Event Source Names

Hardware Input

0 or 1

Quad Count: Any change in the quadrature count, useful for calculating velocity from last two counts.

Quadrature Channel 0

In0 Rising Edge, In0 Falling Edge

Discrete Input D20

In1 Rising Edge, In1 Falling Edge

Discrete Input D21

2 or 3

Quad Count: Any change in the quadrature count, useful for calculating velocity from last two counts.

Quadrature Channel 1

In0 Rising Edge, In0 Falling Edge

Discrete Input D22

In1 Rising Edge, In1 Falling Edge

Discrete Input D23

Timer Modes

The following modes are available:

  1. One-Shot
    The Event Timer will capture the time of the first occurrence of the event after the timer is armed.

  2. Continuous
    The Event Timer will continue to capture the time of each occurrence of the event after the timer is armed. The time of the most recent event will be stored in the Event Timer registers.

  3. Alternating
    The Event Timer will capture the time of every other occurrence of the event after the timer is armed.

 

 

See Also

Event Timers | Disarm Event Timer (106)


Send comments on this topic.

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