XW2B-80J7-1A Omron, XW2B-80J7-1A Datasheet - Page 213

no-image

XW2B-80J7-1A

Manufacturer Part Number
XW2B-80J7-1A
Description
RELAY UNIT
Manufacturer
Omron
Datasheet

Specifications of XW2B-80J7-1A

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
XW2B80J71A
Pulse Outputs
Changing the Frequency in Steps
Accelerating the Frequency at a Fixed Rate
190
Note
In this example, the SPED(885) instruction is used to change the speed of a
pulse output from port 2 from a frequency of 3,000 Hz to 50,000 Hz. In this
case, the pulse output is a CCW continuous mode output.
Speed control timing will be accurate when frequency changes are executed
by SPED(885) instructions in interrupt tasks called by input interrupts.
In this example, the ACC(888) instruction is used to accelerate the pulse out-
put from port 2 from a frequency of 3,000 Hz to 50,000 Hz at an acceleration
rate of 500 Hz/2 ms.
Present frequency
3,000 Hz
Present frequency
3,000 Hz
Target frequency
50,000 Hz
Target frequency
50,000 Hz
0002.00
0002.01
0002.00
0002.01
Frequency
Frequency
SPED executed.
SPED executed.
Acceleration rate
500 Hz/2 ms
D00000
D00001
D00002
D00000
D00001
0
C
0
1
3
0
SPED executed.
ACC executed.
C
0
F
5
0
3
0
@SPED
@ACC
4
0
0
@SPED
@SPED
#00000BB8
#00000BB8
5
0
Acceleration rate
D00000
Target frequency
D00000
0
0
#2
#1
#2
#1
#2
#1
#2
#1
Target frequency
When CIO 0002.00 turns ON,
SPED starts a pulse output from
port 2 at 3,000 Hz (3 kHz) in
CCW continuous mode.
When CIO 0002.01 turns ON,
SPED changes the frequency
to 50,000 Hz (50 kHz) in CCW
continuous mode.
When CIO 0002.00 turns ON,
SPED starts a pulse output from
port 2 at 3,000 Hz (3 kHz) in
CCW continuous mode.
When CIO 0002.01 turns ON, ACC is
executed in mode 1 (CCW direction,
acceleration, and continuous mode) to
accelerate the frequency at 500 Hz/2 ms
to 50,000 Hz (50 kHz).
Time
Time
Section 7-6