One-shot pulse output (stim(980)), Pulse counter timer function (stim(980)) – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 211

Advertising
background image

188

Pulse Outputs

Section 7-6

• Select pulse output 1 or 2.

2.

Wire the output.

• Output: CW and CCW

• Output power supply: 5 V DC

3.

Make the necessary System Setup settings (Pulse Output Tab Page

− Op-

eration Mode).

• Set the pulse output operation mode (in the Pulse Output Tab Page

Operation Mode) to relative pulse output or absolute linear pulse output.

• Set the clock speed for pulse outputs 1 and 2.

4.

Create the necessary ladder programming.

• Use PLS2(887) to start pulse output control with trapezoidal acceleration/

deceleration from the specified port (acceleration and deceleration are
specified separately).

• Use INI(880) to stop pulse output from the specified port.

• Use PRV(881) to read the pulse output PV of the specified port.

One-shot Pulse Output (STIM(980))

1,2,3...

1.

Determine pulse output port.

• Select pulse output 1 or 2.

2.

Wire the output.

3.

Make the necessary System Setup settings.

• Set the pulse output operation mode (in the Pulse Output Tab Page

Operation Mode) to 1 shot.

4.

Create the necessary ladder programming.

• Use STIM(980) (with C1 = #0001 or #0002) to turn ON the one-shot pulse

output.

Note

The STIM(980) one-shot pulse output function can be used at the same time
as an STIM(980) timer interrupt function (one-shot timer or scheduled timer).

Pulse Counter Timer Function (STIM(980))

1,2,3...

1.

Determine pulse output port.

• Select pulse output 1 or 2.

2.

Make the necessary System Setup settings.

INI

PLS2

PRV

A621

A620

A623

A622

A624
A625

CW

CCW

CW

CCW

Pulse output
port 1

Pulse output
port 2

Single-phase pulse output
with trapezoidal
acceleration/deceleration

Start
output

Ladder program

Ladder program

Stop pulse output.

Set number of output pulses.

Target frequency: 20 Hz to 1 MHz

Acceleration/deceleration rates
(set separately)(1 or 2 ms cycle,
1 Hz to 9,999 Hz)
Start pulse output.

Pulse output
mode

System Setup

Mode settings for
ports 1 and 2

Port 1

Port 2

Port 1
Port 2

Refresh status (once each cycle
just after instruction execution)

Pulse output status

Pulse output PV

Refresh PV (once each cycle)

Refresh PV (immediate refresh)
Read pulse output PV

Starting frequency: 0 Hz to 1 MHz

HIGH-SPEED
COUNTER
PV READ

MODE CONTROL

PULSE
OUTPUT

Advertising