Virtual Pulse Output FunctionSection 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

 

AXIS

M

C

T

M:Mode specifier

C:Calculation cycle

T: First word of setting table

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)

Address

Name

Description

 

Setting range

Set/

 

 

 

 

 

 

monitored

 

 

 

 

 

 

T

 

Internal pulse count

The present value of internal

Relative mode:

Monitored

 

 

(8-digit hexadecimal)

pulse counter is stored here.

0000 0000 to FFFF FFFF

(Read)

T+1

 

 

 

 

Absolute mode:

 

 

 

 

 

 

 

 

 

 

8000 0000 to 7FFF FFFF

 

 

 

 

 

 

 

T+2

Bit 15

Virtual pulse output

Indicates whether or not the vir-

OFF: Pulse output stopped

 

 

 

status

tual pulse output has started.

ON:

Pulse being output

 

 

 

 

 

 

 

 

 

Bit 08

 

Indicates the direction of virtual

OFF:

CW

 

 

 

 

pulse currently being output.

ON:

CCW

 

 

 

 

 

 

 

 

Bit 07

 

Indicates whether or not the vir-

OFF: Pulse being counted

 

 

 

 

tual pulse output is being

ON:

Target position reached

 

 

 

 

counted.

 

 

 

 

 

(Counting stopped)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit 00

 

Indicates whether or not the vir-

OFF: Constant speed

 

 

 

 

tual pulse output is accelerating/

ON:

Accelerating/decelerating

 

 

 

 

decelerating.

 

 

 

 

 

 

 

 

 

T+3 to T+4

Present speed

The frequency of the virtual

0000 0000 to 000F 4240 hex

 

 

 

(8-digit hexadecimal)

pulse output is stored here.

(0 to 1 MHz in 1-Hz units)

 

 

 

 

 

 

 

 

213

Page 236
Image 236
Omron FQM1-MMP21, FQM1-CM001 Axis Instruction For Virtual Pulse Outputs, Operands, Mode Specifier Sets the output mode