Example of position control – KEYENCE KV-D20 User Manual
Page 54
3. Examples of Ladder Programs
3
54
3. Assign counter C000 to the device displayed on the second line (specify
"#21000" in DM1581). Set the attributes so that the number of spaces at the
right end is "5" ($0050), the counter preset value is hidden (Bit 12: ON), chang-
ing the preset value is disabled (Bit 14:ON), and changing the value is disabled
(Bit 15: ON) (DM1681 = $D050).
Assign counter C001 to the device displayed on the third line (specify "#21001"
in DM1582). Set the attributes so that the number of spaces at the right end is
"5" ($0050), counter preset values are hidden (Bit 12: ON), changing the preset
value is disabled (Bit 14:ON), and changing the value is disabled (Bit 15: ON)
(DM1682 = $D050).
Comment
Example of position control
Operate the KV-D20 to use the simplified positioning control function of the KV
basic unit. Each parameter is set in the numeric value change mode of the operator
screen.
➮
Refer to "Changing numeric values individually" on page 49.
When an error relating to the simplified positioning control function occurs, the KV-
D20 displays the message according to the error code and produces a beep
sound.
The user message display is canceled by pressing the key of the KV-D20.
The customized switches are assigned to the following functions:
F1: Starts positioning.
F2: Slow-down stop
F3: Emergency stop
F4: Not used
The customized lamps are assigned to the following functions:
LED1: Illuminates during positioning.
LED2: Not used
LED3: Not used
LED4: Not used
➮
Refer to the NEW KV Series User's Manual "Chapter 11 Positioning Control" on page 647.
Operator screen
Switch comment screen
Lamp comment screen
Relay
Counter
10000
10001
C000
C001
Device
No.
Comment 1
D E F E C T I V E : P A C K S
* M I L K C A R AM E L
N O
1 * *
* * * * A B C D E
C O . * * * * *
P R O D U C E D : P A C K S
F1
F2
F3
F4
1
2
3
4
LED1:POSITIONING
LED2:RLY 2505
LED3:RLY 2506
LED4:RLY 2507
F1:START
F2:SLOWDOWN STOP
F3:EMERGENCY STOP
F4:RLY 2503
STARTUP SPD:
RUN SPD:
ACCEL/DECEL SPD:
MOVE:
kv_d20_manual.p65
08.3.10, 6:09 PM
54