Professional Documents
Culture Documents
Contents
1. High-speed counting of wafer rings ......................... 2 2. Palletizing operation made easy ............................... 4 3. Pitch feeding operation made easy .......................... 6 4. The KV enables creation of a simple revolution indicator .................................... 8 5. Tension [synchronous] control with a single KV unit ...................................................................... 10 6. Improving tact time and accuracy for the reject ejection line ........................................ 12 7. High-speed, accurate positioning of wafers .......... 14 8. Reliable counting of large numbers ....................... 16 9. With the KV, analog input is easy ........................... 18 10. Accurate positioning of transparent stickers on a mount sheet ..................................................... 20
Contents
1. High-speed counting of wafer rings ................................................... 2
Use the KV Series to count wafer rings and display the count values.
2.
3.
4.
5.
6.
Improving tact time and accuracy for the reject ejection line ....... 12
Use the KV Series to control the reject ejection system.
7.
8.
9.
[Control description]
The LV-11/LV-H32 digital fiberoptic sensor counts wafer rings. The count value is displayed on the KVs Access Window.
[Wiring example]
24 VDC
The KV Series offers a high-speed scan time that make full use of the capabilities of the LV Series, a digital fiberoptic sensor providing high-speed response and a small beam spot. Connect the sensor to input 0000 of the KV.
[Advantages of the LV Series digital fiberoptic sensor] I Conventional method A reflective photoelectric sensor is used for counting. Malfunctions occur when the gaps between the wafer rings become narrow. The sensor should be re-adjusted at changeovers between 6-inch wafers and 8-inch wafers. I Advantages The LV-H32, a long detecting distance and small beam spot sensor, is free from malfunctions. It can count both 6-inch and 8inch wafers with the same distance and sensitivity settings. Re-adjustment is unnecessary at changeovers. The amplifier features a digital display and allows for fine adjustment to obtain optimal sensitivity easily.
To enable high-speed input, use the HSP instruction to set the input time constant for input 0000 to 10 s. Wafer rings are detected with the LV and are counted with the built-in counter of the KV. Set the preset value as 500. When the count value reaches the preset value, the counter will automatically reset. When the count value reaches the preset value, output 0500 of the KV is turned ON for 500 ms. Using the high-precision 1-ms timer instruction (TMS) of the KV enables time setting in the unit of 1 ms.
When the count value reaches the preset value, output is turned ON for 500 ms.
C000 T001 0500
0500
The Access Window is a useful window that displays the status of the KV. It can also be used as a counter.
Previous combination
A display function at normal counter-level is added to a PLC. A single KV Series unit does double duty for the conventional combination of a PLC and a counter or a PLC and a display device.
[Description of control]
Speed (Hz)
Point 1 10000
[Wiring example]
Stepping motor driver Start 24 VDC Twisted-pair cable CW (pulse) CCW (rotation direction)
The positioning function of the KV supports a 1-pulse method motor driver. Connect output 0502 to a pulse train input terminal and output 0503 to a rotation direction output terminal.
LL
(1): The target is moved by 10000 pulses and then returned to the original position. (2): The target is moved by 12000 pulses and then returned to the original position. (3): The target is moved by 14000 pulses and then returned to the original position.
L L
L
*
Just input values for the specific DM and turn special relay 2310 ON. The KV automatically performs ramp-up/ down control calculation and output pulses. The number of output pulses can be specified within a range of 0 to 4294967295. To divide the number of output pulses into two to store them in two DMs, use the following expression: Expression for DM setting value calculation No. of output pulses / 65536 = A with a remainder of B A: Value of DM1485 (upper 16 bits of No. of output pulses) B: Value of DM1484 (lower 16 bits of No. of output pulses)
Extremely easy!
0000 #01000 #05000 #03000 #00001 #34464 2310 DW DW DW DW DW DM1480 DM1481 DM1482 DM1485 DM1484 Operating Acceleration/ No. of output Startup frequency frequency deceleration pulses 5 kHz 1 kHz 100,000 time 3 seconds
( SET )
L
Movement to position 1
Specify the parameters for the initial setting. Startup speed: 500 Hz Operating speed: 5000 Hz Acceleration/deceleration time: 3000 ms Movement (upper 32 bits): 0
L
1001 JMP
1000 STG
0503
( SET )
#10000 DW DM1484
2310
2309 1200
1200
When positioning operation is activated, special relay 2309 turns ON. At the rising edge of relay 2309, utility relay 1200 is turned ON. The operation advances to the next stage.
Return operation from point 1
1001 STG 2309 1100 0503 2310 2309 1201 1201
STG and JMP instructions are most appropriate for controlling sequential movement such as palletizing.
( RES )
1100
1002 JMP
When positioning operation is finished, special relay 2309 turns OFF. At the falling edge of relay 2309, utility relay 1100 is turned ON. The next operation is executed.
Movement to position 2
1002 STG 2309 1101 1101 0503 #12000 DW DM1484 2310 2309 1202 1202 1003 JMP
( SET )
( RES )
1004 JMP
Movement to position 3
1004 STG 2309 1103 1103 0503
( SET )
#14000 DW DM1484
2310
2309 1204
1204
1005 JMP
( RES )
1006 JMP
When the palletizing operation is completed, output 0500 is turned ON for 3 seconds.
1006 STG 2309 1105 1005 0500 #00030 T000 T000 ENDS
Write ENDS instruction at the end of STG instruction. JMP instruction can also be used to jump to 1002 and set the palletizing as an infinite loop operation.
END
ENDH
[Description of control]
Speed Operation stops when input 0001 turns ON. Pitch feeding is executed every time input 0002 turns ON.
Time Operation starts when input 0000 turns ON. The feeding is repeated 4 times.
L L
(2)
L
(3)
(1)
(1)
: The operation starts when input 0000 turns ON and continues until input 0001 turns ON.
(2) to (5): Pitch feeding is executed every time input 0002 turns ON. (The feeding is not activated until input 0002 turns ON.) After four pitch feeding operations, output 0500 turns ON for 3 seconds and then the operation finishes.
[Wiring example]
Stepping motor driver
Start
Stop
24 VDC
Pitch feeding
The positioning function of the KV supports a 1-pulse method motor driver. Connect output 0502 to a pulse train input terminal and output 0503 to a rotation direction output terminal.
Just input values for the specific DM and turn special relay 2310 ON. The KV automatically performs ramp-up/down control calculation and output pulses. The number of output pulses can be specified within a range of 0 to 4294967295. To divide the number of output pulses into two to store them in two DMs, use the following expression: * Expression for DM setting value calculation No. of output pulses / 65536 = A with a remainder of B A: Value of DM1485 (upper 16 bits of No. of output pulses) B: Value of DM1484 (lower 16 bits of No. of output pulses)
Extremely easy!
0000 #01000 DW DM1480 Startup frequency 1 kHz #05000 #03000 #00001 #34464 2310 DW DW DW DW DM1481 DM1482 DM1485 DM1484 Operating Acceleration/ No. of output frequency deceleration pulses 5 kHz 100,000 time 3 seconds
( SET )
L
2309 1300 1300 1001 JMP
When positioning operation is activated, special relay 2309 turns ON. At the rising edge of relay 2309, utility relay 1300 is turned ON. The operation advances to the next stage.
Confirmation of the start point of pitch feeding/stop operation
1000 STG 0001 1200 1200 2308 2309 1400 1300 1002 JMP
At the rising edge of input 0001, special relay 2308 is turned ON. The operation is slowed down and stopped.
Execution of pitch feeding (first time)
1002 STG 0001 1201 #03000 DW #00500 DW DM1482 #00000 DW DM1485 #01000 DW DM1484
L L L
( SET )
#05000 DW DM1481
#01000 DW DM1482
2310
STG and JMP instructions are most appropriate for controlling sequential movement such as pitch feeding.
1301
1003 JMP
1201
DM1481
The parameters for the pitch feeding are: Startup frequency: 500 Hz Operating frequency: 3000 Hz Acceleration/deceleration time: 500 ms Movement: 1000 pulses
Write ENDS instruction at the end of STG instruction. JMP instruction can also be used to jump to 1002 and set the pitch feeding as an infinite loop operation.
ENDH
[Description of control]
The frequency counter function of the KV counts the ON/OFF signals from the sensor connected to input 0004. The result is displayed on the built-in Access Window. The number of revolutions is counted in units of rpm.
[Wiring example]
24 VDC Fiberoptic sensor
The frequency counter function of the KV is fixed at input 0004. When a rotary encoder is used instead of a sensor, a single phase input (phase A only) is used.
( SET )
The frequency counter function of the KV automatically calculates the frequency of input pulses using high-speed counter CTH0 included with the KV. Just input the sampling time (ms) to DM1404 and turn special relay 2305 ON. The measured frequency (Hz) is automatically input to DM1405. * Parameters used for frequency counter function DM1404: Measurement cycle (sampling time) (ms) DM1405: Measurement result (Hz) 2305: Enable/disable the frequency counter
( SET )
Specify the parameter for the initial setting of the frequency counter function. Sampling time: 1000 ms To enable high-speed input, use the HSP instruction to set the input time constant for input 0004 to 10 s. The following expression is used to obtain the number of revolutions (rpm) from the measured frequency (Hz): rpm = Hz x 60 s / No. of pulses for one revolution In this example, the number of pulses for one revolution is set to 200 pulses.
The number of revolutions (rpm) is obtained from the measured frequency (Hz).
2002 DM1405 LDA #00060 MUL #00200 DIV DM0000 STA
END
ENDH
The following applications are possible with the frequency counter function:
Unacceptable
[Control description]
Monitor the amount of the material fed constantly from the loader side, then automatically adjust the amount of the material taken up at the unloader side. Two fiberoptic sensors monitor the sag of the material. Adjust the transfer speed so that the amount of the sag remains within the specified range.
[Wiring example]
Synchronous control is achieved by combining the frequency counter function and specified frequency pulse output function. These are the built-in functions of the KV Series. This is a single-phase speed control. Connect the phase A output from the rotary encoder to input 0004 and the pulse-train input terminal of the stepping motor to output 0502. Install sensors to detect the upper and lower limits of the sag (connected to inputs 0000 and 0001).
10
( SET )
The frequency counter function of the KV Series automatically calculates the frequency of input pulses using the built-in high-speed counter CTH0. The measured frequency (Hz) is automatically stored in DM1405 only when the sampling time (ms) is input to DM1404 and special utility relay 2305 is turned ON. The specified frequency pulse output function outputs pulses at a specified frequency using the built-in high-speed counter CTH1. The pulses are automatically output from output 0501 only when the output frequency (Hz) is input to DM1936 and special utility relay 2306 is turned ON. Synchronous control is performed by combining these two functions.
( SET )
Specify the initial setting for the frequency counter function. Sampling time: 1000 ms
To enable high-speed input, use the HSP instruction to set the input time constant for input 0004 to 10 s.
The following expression is used to convert the values so that the numbers of rotation at the input and output sides match. Output frequency = Input frequency x No. of pulses in one motor rotation/No. of pulses in one encoder rotation This example assumes that the motor provides 1000 pulses in one rotation and the encoder provides 360 pulses in one rotation.
Change the transfer speed according to the sag detected by the sensors.
0000 0001 DM0000 LDA DM0000 LDA #00120 MUL #00100 DIV DM1936 STA DM1936 STA 2306
( SET )
2306
When the sag exceeds the upper limit of the sensor, the unloader is operated at the speed of 120% to increase the sag. When the sag is within the stable operation range of the sensor, the unloader is operated at the speed of 100%. When the sag exceeds the lower limit of the sensor, the unloader is operated at the speed of 80% to decrease the sag.
0000 0001
( SET )
2306
0000 0001
DM0000 LDA
#00080 MUL
#00100 DIV
DM1936 STA
( SET )
END
ENDH
11
6. Improving tact time and accuracy for the reject ejection line
Use the KV Series to control the reject ejection system.
[Control description]
Use two fiberoptic sensors to differentiate rejects. Sensor 0 detects the presence of the target, and another sensor differentiates rejects simultaneously at the timing. If the product is judged as a reject, it is ejected immediately.
[Wiring example]
The high-speed reject ejection system can be built by using the interrupt function of the KV and the FS-01 Series high24 VDC Fiberoptic sensor (for target detection)
speed response fiberoptic sensors. Connect the sensor for target detection to input 0000 and the one for reject differentiation to input 0001.
Input processing Direct input Interrupt input Scan time Program execution Return to the next line of the interrupt Output processing Interrupt processing (0000 to 0015)
In the interrupt processing, a process can be executed at the instant of the interrupt, independent of the scan time. There is no delay caused by input timing.
12
At the start of operation, execute an EI instruction to enable the interrupt input/output function.
To enable high-speed input, use the HSP instruction to set the input time constant for inputs 0000 and 0001 to 10 s.
( RES )
END
The ejection output 0500 is turned ON for 50 ms, then is turned OFF. Using the high-precision 1-ms timer instruction (TMS) of the KV enables time setting in the unit of 1 ms.
( SET )
RETI
When input 0000 from the target detection sensor turns ON, the interrupt program is executed immediately. If input 0001 from the differentiation sensor turns ON during the interrupt execution, the ejection output 0500 turns ON. The programs between INT and RETI are executed only when input 0000 turns ON. This is the same as the AND circuit program using inputs 0000 and 0001.
ENDH
The interrupt input/output function can be used for various applications. Application example: Filling control of medicine (tablets) Constant rate feeding (Cutting at a specified length: Position data can be changed)
Cutter Sensor KV
Motor
The interrupt input/output function is the best for quickly and accurately controlling the response speed between the sensor reaction and output, such as for a filling machine or a cutter.
13
[Control description]
Use the FS-V10/FU-12 fiberoptic sensor for wafer positioning. When the sensor detects the notch, the KV immediately outputs a stop signal.
[Wiring example]
24 VDC Fiberoptic sensor (for notch detection)
Quick and accurate positioning is achieved by using the interrupt function of the KV and the FS-01 Series high-speed and highaccuracy fiberoptic sensors. Connect the sensor for notch detection to input 0000 of the KV.
Input processing Direct input Interrupt input Scan time Program execution Return to the next line of the interrupt Output processing Interrupt processing (0000 to 0015)
In the interrupt processing, a process can be executed at the instant of the interrupt, independent of the scan time. There is no delay caused by input timing.
14
At the start of operation, execute an EI instruction to enable the interrupt input/output function.
To enable high-speed input, use the HSP instruction to set the input time constant for input 0000 to 10 s.
( RES )
END
The stop output 0500 is turned ON for 50 ms, then is turned OFF. Using the high-precision 1-ms timer instruction (TMS) of the KV enables time setting in the unit of 1 ms.
( SET )
RETI
When input 0000 from the notch detection sensor turns ON, the interrupt program is immediately executed to turn on output 0500. Always-ON relay 2002 is used as the execution condition for the programs between INT and RETI. This is because the motor stopping output 0500 must be turned on whenever input 0000 turns ON.
ENDH
The interrupt input/output function can be used for various applications. Application example: Filling control of medicine (tablets) Constant rate feeding (Cutting at a specified length: Position data can be changed)
Cutter Sensor KV
Motor
The interrupt input/output function is the best for quickly and accurately controlling the response speed between the sensor reaction and output, such as for a filling machine or a cutter.
15
[Control description]
Count the number of output pulses (amount of movement) of the encoder connected to the KV, then display the count value with the KV-D20. The value is displayed with a positive or negative sign to indicate the direction of rotation (movement).
[Wiring example]
24 VDC
Rotary encoder
The 24-bit high-speed counter function of the KV allows for the counting of large numbers. Moreover, the KV features two points of two-phase input with a maximum response speed of 30 kHz that enables a wider range of applications. For high-speed counter CTH0, connect phase A to input 0004 and phase B to input 0006. For CTH1, connect phase A to 0005 and phase B to 0007.
No. 0 1 2 3 0 1 2 3
Function of switch Not used Clears DM0000 to DM0999 at power-on. Clears DM1000 to DM1899 at power-on. Switches comparator for CT H0 between 24-and 16-bit. Switches comparator for CTH1 between 24-and 16-bit. Clears values of counter, CTH and CTC. Write-protects program in KV PLC. Read-protects program in KV PLC.
ON Clears DM. Clears DM. 24-bit 24-bit Clears values. Yes Yes
The KV Series normally offers the 16-bit high-speed counter function (0 to 65535). Setting the MEMSW instruction changes it to the 24-bit high-speed counter (0 to 1677215). To set the 24-bit counter, set the MEMSW instruction by turning ON Bit 3 of SW3 to set CTH0, or by turning ON Bit 0 of SW4 to set CTH1.
16
Set the MEMSW instruction to use high-speed counter 0 as a 24-bit counter. At the start of operation, high-speed counter 0 is enabled in the double multiplication mode and the current value is reset.
To enable high-speed input, use the HSP instruction to set the input time constant for inputs 0004 and 0006 to 10 s.
Specify high-speed counter 0 as the device to be displayed on the first line of the KV-D20 (#23000). Set the display attribute to disable changing values ($8000) and to show signs ($0200) therefore ($8200) * Setting a two-word display is unnecessary because the KV-D20 automatically recognizes the 24-bit high-speed counter and enables the two-word display.
ENDH
Contact comment setting to use the KV-D20 as a nameplate Input a contact comment with LADDER BUILDER for KV Ver1.5, KV series ladder programming support software. Half-width alphanumeric and katakana characters can be used. Input the comment to be displayed with the KV-D20 to Comment 1.
After the comment is input, just specify the comment transfer setting. Then the comment will be displayed with the KV-D20.
17
[Control description]
The AP Series pressure sensors connected to each device measure the pressure values. The pieces of resulting analog data are input to the KV for centralized control.
18
The pressure values measured with the AP-43 units (0 to 1 MPa) are input as analog voltage between 1 to 5 V. The following expression is used to obtain the pressure value from the input voltage. Pressure (Pa) = (1000000/4000) x Digital value
Collect the measured values of the AP-43 units.
2002
DM1600 #00250 LDA MUL DM1604 #00250 LDA MUL DM1608 #00250 LDA MUL
The measured value of the AP-43 input to Ch0 of the KL-4AD at address 00H is stored in DM0000. (Unit: Pa) The measured value of the AP-43 input to Ch0 of the KL-4AD at address 08H is stored in DM0001. (Unit: Pa) The measured value of the AP-43 input to Ch0 of the KL-4AD at address 10H is stored in DM0000. (Unit: Pa)
END
ENDH
19
[Control description]
Use the LV-21/LV-H42 digital fiberoptic sensor to detect the transparent stickers on a mount sheet. The sticker is stopped at a specified position by controlling the motor. When the sensor detects the end of the sticker, the KV outputs a motor stop signal immediately.
[Wiring example]
24 VDC
Use the KV Series that offers a high-speed scan time to make full use of the capabilities of the LV Series, a digital fiberoptic sensor providing highspeed response and long detecting distance. Connect the sensor to input 0000 of the KV.
20
Input processing Direct input Interrupt input Scan time Program execution Return to the next line of the interrupt Output processing Interrupt processing (0000 to 0015)
In the interrupt processing, a process can be executed at the instant of the interrupt, independent of the scan time. There is no delay caused by input timing.
At the start of operation, execute an EI instruction to enable the interrupt input/output function.
To enable high-speed input, use the HSP instruction to set the input time constant for input 0000 to 10 s.
Operate a motor.
1000 #00500 #01000 #01000 #65535 #65535 2310 DW DW DW DW DW DM1480 DM1481 DM1482 DM1485 DM1484 END
Use the built-in positioning control function of the KV Series to operate the motor. Startup speed: 500 Hz Operating speed: 1000 Hz Acceleration/deceleration time: 1000 ms Amount of movement: 4294967295 pulses
( RES )
RETI
When input 0000 from the sticker detection sensor turns ON, the interrupt program is immediately executed to reset special utility relay 2309. At the reset of special utility relay 2309, the built-in positioning control function of the KV Series forces the motor to stop. Always-ON relay 2002 is used as the execution condition for the programs between INT and RETI. This is because special utility relay 2309 must be reset whenever input 0000 turns ON.
ENDH
21
22
23
24
KEYENCE CORPORATION OF AMERICA Corporate Office 50 Tice Blvd., Woodcliff Lake, NJ 07675, U.S.A.
Boston Office Phone:781-453-2244 Fax:781-453-2255 New Jersey Office Phone:201-291-4000 Fax:201-291-8860 Pennsylvania Office Phone:610-768-8993 Fax:610-337-1067 Charlotte Office Phone:704-423-0070 Fax:704-423-0066 Atlanta Office Phone:770-951-1222 Tampa Office Phone:813-998-9886 Cleveland Office Phone:216-464-7530 Columbus Office Phone:614-799-3400 Michigan Office Phone:734-591-9922 Indianapolis Office Phone:317-471-3551 Chicago Office Phone:847-969-0001 Minneapolis Office Phone:612-449-5163 St. Louis Office Phone:314-275-9174 Fax:314-275-9175 Texas Office Phone:972-733-6790 Fax:972-733-6791 Denver Office Phone:303-756-5242 Fax:303-756-5466 Phoenix Office Phone:602-225-2400 Fax:602-225-2425 Portland Office Phone:503-699-0500 Fax:503-699-8400 Northern California Office Phone:925-225-1550 Fax:925-225-1440 Los Angeles Office Phone:310-851-8635 Fax:310-851-8681