8-3 axis instruction (for virtual pulse outputs), Axis instruction (for virtual pulse outputs), Overview – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 236: Operands

Advertising
background image

213

Virtual Pulse Output Function

Section 7-8

7-8-3

AXIS Instruction (For Virtual Pulse Outputs)

Overview

The AXIS instruction is used to generate a virtual pulse output with trapezoi-
dal acceleration/deceleration.

The operands for the AXIS instruction are a target position specified in pulses
or as an absolute position, and a target speed specified in pulses/s (Hz).
While the AXIS instruction’s input condition is ON, it internally generates the
specified number of pulses and integrates (counts) the number of pulses
(area) in the trapezoid.

Operands

M (Mode Specifier)

Sets the output mode.

• #0000: Relative mode

• #0001: Absolute mode

C (Calculation Cycle)

Sets the calculation cycle.

• #0000: 2 ms calculation cycle

• #0001: 1 ms calculation cycle

• #0002: 0.5 ms calculation cycle

T (First Word of Setting Table)

AXIS

M

C

T

M: Mode specifier

C: Calculation cycle

T: First word of setting table

Address

Name

Description

Setting range

Set/

monitored

T

Internal pulse count
(8-digit hexadecimal)

The present value of internal
pulse counter is stored here.

Relative mode:
0000 0000 to FFFF FFFF

Absolute mode:
8000 0000 to 7FFF FFFF

Monitored
(Read)

T+1

T+2

Bit 15

Virtual pulse output
status

Indicates whether or not the vir-
tual pulse output has started.

OFF: Pulse output stopped
ON:

Pulse being output

Bit 08

Indicates the direction of virtual
pulse currently being output.

OFF: CW
ON:

CCW

Bit 07

Indicates whether or not the vir-
tual pulse output is being
counted.

OFF: Pulse being counted

ON:

Target position reached

(Counting stopped)

Bit 00

Indicates whether or not the vir-
tual pulse output is accelerating/
decelerating.

OFF: Constant speed
ON:

Accelerating/decelerating

T+3 to T+4

Present speed
(8-digit hexadecimal)

The frequency of the virtual
pulse output is stored here.

0000 0000 to 000F 4240 hex
(0 to 1 MHz in 1-Hz units)

Advertising