Variable Duty Ratio Pulse Outputs (Pwm(891) Outputs) - Omron CJ-Series Operation Manual

Built-in i/o. cpu units
Hide thumbs Also See for CJ-Series:
Table of Contents

Advertisement

Built-in Outputs
Pulse Output with Trapezoidal Acceleration/Deceleration (Using PLS2(887))
Determine the pulse output
method and port.
5-2-4

Variable Duty Ratio Pulse Outputs (PWM(891) Outputs)

Overview
Bit Allocations
Wire the outputs.
PC Setup settings
Ladder program
The PWM(891) instruction is used to generate PWM(891) (Pulse Width Mod-
ulation) pulse outputs with a specified duty ratio. The duty ratio is the ratio of
the pulse's ON time and OFF time in one pulse cycle. The duty ratio can be
changed while pulses are being output.
Code
OUT4
OUT5
• CW/CCW method
Pulse output 0 uses OUT0 (CIO 296100) and
OUT1 (CIO 296101).
Pulse output 1 uses OUT2 (CIO 296102) and
OUT3 (CIO 296103).
• Pulse + direction method
Pulse output 0 uses OUT0 (CIO 296100) and
OUT2 (CIO 296102).
Pulse output 1 uses OUT1 (CIO 296101) and
OUT3 (CIO 296103).
The same pulse output method must be set for
both pulse output 0 and pulse output 1.
Power supply for outputs: 24 V DC
• Enable/disable the origin search function. Set the
various origin search parameters if the origin
search function is enabled.
The Origin Search Function Enable/Disable
setting for pulse outputs 0 and 1 is in the
rightmost digit (bits 00 to 03) of Programming
Console addresses 256 and 274, respectively.
• PLS2(887): Specify port number and set the
output method (CW/CCW method or Pulse +
direction method) and pulse output control with
trapezoidal acceleration/deceleration (different
rates can be set for acceleration and
deceleration.)
• INI(880): Specify port number and stop pulse
output when necessary.
• PRV(881): Specify port number and read pulse
output PV when necessary.
Word address
Bit
CIO 2961
04
05
Section 5-2
Function
PWM(891) output 0
PWM(891) output 1
111

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1m-cpu22Cj1m-cpu23

Table of Contents