Functions
19
Program Example
TIM
000
A
250
Value of the analog
setting 0 (0 to 200)
1. Analog timer for 0.0 to 20.0 seconds 2. Analog timer for 0.0 to 60.0 seconds
MUL(32)
250
#0003
DM0500
TIM
001
DM 0500
B
25313(ON)
BCD multiplication
Value of the analog setting 0
(0 to 200)
Triples the above value
Multiplication result (0 to 600)
Pulse Output Function
The CPM1A with transistor output has a function that is capable
of outputting a pulse of up to 2 kHz.
When used in combination with a Stepping Driver or Servodriv-
er, positioning can be easily performed.
Application Example
Changing the speed of the Stepping Motor.
Stepping Motor Driver
Stepping Motor
Output point
01000 or 01001
25,000 pulses
200 Hz
1 kH
Z
00000 turns ON 0001 turns ON (limit switch)
Pulse rate
Output
frequency
Program Example
PULS(65)
000
000
DM 0000
15000
MOV(21)
#5000
DM 0000
25315
MOV(21)
#0002
DM 0001
MOV(21)
#0200
DM 0100
@SPED(64)
000
000
DM 0100
MOV(21)
#0020
DM 0100
25315
00200
15000
00001
0 0025000
DM 0001 DM 0000
1 scan turns ON.
1 scan turns ON.
Speed change limit switch
Changes to 200 Hz when the
limit switch is turned ON.
Frequency data (x 10 Hz)
Output mode (single)
Frequency conversion:
Pulse rate (BCD 8 digits)
Pulse rate setting
Sets the initial frequency to
2,000 pulses/second.
Sets the number of output pulses as
25,000 (times) in the data memory area.
Output port (output point 01000)