4
CPM2B-S Features and Functions Section 1-1
Built-in Motor Control Capability
Synchronized Pulse
Control
Synchronized pulse control provides an easy way to synchronize the opera-
tion of a peripheral piece of equipment with the main equipment. The output
pulse frequency can be controlled as some multiple of the input pulse fre-
quency, allowing the speed of a peripheral piece of equipment (such as a sup-
ply conveyor) to be synchronized with the speed of the main piece of
equipment.
High-speed Counters and
Interrupts
The CPM2B-S has a total of five high-speed counter inputs. The one high-
speed counter input has a response frequency of 20 kHz/5 kHz and the four
interrupt inputs in counter mode have a response frequency of 2 kHz.
The high-speed counter can be used in any one of the four input modes: dif-
ferential phase mode (5 kHz), pulse plus direction input mode (20 kHz), up/
down pulse mode (20 kHz), or increment mode (20 kHz). Interrupts can be
triggered when the count matches a set value or falls within a specified range.
The interrupt inputs in counter mode can be used for incrementing counters or
decrementing counters (2 kHz) and trigger an interrupt (executing the inter-
rupt program) when the count matches the target value.
Easy Position Control with
Pulse Outputs
CPM2B-S PCs have two outputs that can produce 10 Hz to 10 kHz pulses
(single-phase outputs).
When used as single-phase pulse outputs, there can be two outputs with a
frequency range of 10 Hz to 10 kHz with a fixed duty ratio or 0.1 to 999.9 Hz
with a variable duty ratio (0 to 100% duty ratio).
When used as pulse plus direction or up/down pulse outputs, there can be
just one output with a frequency range of 10 Hz to 10 kHz.
High-speed Input Capabilities for Machine Control
High-speed Interrupt Input
Function
There are four inputs used for interrupt inputs (shared with quick-response
inputs and interrupt inputs in counter mode) with a minimum input signal width
of 50 µs and response time of 0.3 ms. When an interrupt input goes ON, the
main program is stopped and the interrupt program is executed.
Quick-response Input
Function
There are four inputs used for quick-response inputs (shared with interrupt
inputs and interrupt inputs in counter mode) that can reliably read input sig-
nals with a signal width as short as 50 µs.
Stabilizing Input Filter
Function
The input time constant for all inputs can be set to 1 ms, 2 ms, 3 ms, 5 ms,
10 ms, 20 ms, 40 ms, or 80 ms. The effects of chattering and external noise
can be reduced by increasing the input time constant.
Other Functions
Interval Timer Interrupts The interval timer can be set between 0.5 and 319,968 ms and can be set to
generate just one interrupt (one-shot mode) or periodic interrupts (scheduled
interrupt mode).
Analog Settings There are two controls on the CPU Board that can be turned to change the
analog settings (0 to 200 BCD) in IR 250 and IR 251. These controls can be
used to easily change or fine-tune machine settings such as a conveyor belt’s
pause time or feed rate.
Long-term Timer TIML(–) is a long-term timer that accommodates set values up to 99,990 sec-
onds (27 hours, 46 minutes, 30 seconds). When combined with the SEC-
ONDS TO HOURS conversion instruction (HMS(–)), the long-term timer
provides an easy way to control equipment scheduling.
Encoder
CPM2B-S
Motor driver Motor
Pulses are output as a fixed multiple of the input frequency.