plc programming course3

12

Upload: danielrcaldwell

Post on 27-Jan-2015

210 views

Category:

Documents


13 download

DESCRIPTION

Keyence PLC Programming Course 3

TRANSCRIPT

Page 1: Plc programming course3
Page 2: Plc programming course3

2

PLCPressure Sensor

MeasuringInstruments

Invertor

Analog I/O UnitKL Series

NEW

Our Analog I/O Provides 3 Big Advantages

Noise Immunity

Visual Set-up

Simple Wiring

AnalogModule

Analog Control for Visual PLC

Cable length: 150 m

The longer the cable, the weakerthe analog voltage signalbecomes.

A very long analog signal cable iseasily affected by other electricalsignals resulting in a weaker signal.

Cable length: 0 m

Cable length: 50 m

1 Extending an analog signal cable leads to greater interference anda weaker signal

Current Problems

Analogsignal

Cable length:50 mCable length: 0 m

Strong signals are unaffected by noise interferenceVisual Analog Solution

Cable length: 150 m

KL

Visual Analog I/O Modules Eliminate Noise Interface inLong Distance Transmission

Page 3: Plc programming course3

3

LK-081

RD-5 0 R

HH

H I

GO

L O

L L

TIMING

SELECT No.

AnalogModule

LK-081

1200 m

AnalogModule

KLKL

KL

Viewing analog signals require a specific display deviceCurrent Problems

The analog unit also serves as a display unitVisual Analog Solution

2

Analog unit

The analog unit alsodisplays results. By placingthe unit close to the analogsensor you can quickly andeasily view the current value.

Analog sensorcontroller

Conventionalmethod

Controlling multiple analog devices requires extensive wiringCurrent Problems

A single cable permits processing of up to 128 channelsVisual Analog Solution

3

When the number of analogdevices increases, so doesthe wiring.

Only one cable isneeded to connectthe analog units,allowing up to 128channels of analogI/O control.

Page 4: Plc programming course3

4

( )2008 2706

2007

2002

SET( )2705RES( )

2704SET( )

2702SET

$0008DW

( )2700SET

$0000DW

$0000DW

$0000DW

( )2701SET( )

2700RES

DM0002STA

DM0000LDA

#00197MUL

#05000DIV

2002 DM0000STA

DM1600LDA

#00025MUL

#00010DIV

2002 DM0000LDA

DM0001STA

DM1800 DM1802 DM1803DM1801

1. How to display measured data in millimetersor inchesThe analog data output from the LK Series displacement sensor can be displayed in either millimeters or inches.

[System configuration]

Display in millimeters(5.000 mm)

Switching

Display in inches(19.70 inch)KL

Analoginput

[Communication settings for the KL unit]

[Description of ladder diagram]

LK Series (Head)

V01N-LK DA4-LK AD2-LKataddnesfosserddats1 H00 – –

sesserddadnesforebmuN H00 – –atadeviecerfosserddats1 H00 – –

sesserddaeviecerforebmuN H80 – –DA4-LKrofsserddA – H00 –AD2-LKrofsserddA – – –

gnitteShctiwsLANIF FFO NO –egnaRDA4-LK – V01-/+ –

Note: LK controller is not shownin the drawing.

KL-N10V Communication setup

Calculates the input voltage value from KL-4AD

Display in "mm"

Display in "inch"

Page 5: Plc programming course3

5

AP-30

OUT1

OUT2

A

mmHg

2007( )2700SET

2002 DM1600LDA

#01000SUB

DM0000STA

( )2008 2706

SET( )2705RES( )

2704SET( )

2702SET

$0008DW

$0000DW

$0000DW

$0000DW

( )2701SET( )

2700RES

DM1800 DM1802 DM1803DM1801

2002 DM0000LDA

#00725MUL

DM0010STA

#00725SUB

#00002DIV

2002 DM0010LDA

DM0100CMP

2009

DM0101CMP

2009

DM0102CMP

2009

DM0115CMP

2009

500

501

502

515

2. How to output the status of plant air pressurein 16 stepsON/OFF output can be obtained in 16 steps using analog data output from the AP Series pressure sensor.

[System configuration]OFF

[Communication settings for the KL unit]

KL

Analog input

ON

OFF ON

Output 2

Output 1

2 output pointsare provided.

Output 1to

Output 16

Output is availablein 16 steps.

* To actually do this, theexpansion units are required.

[Description of ladder diagram]

V01N-LK DA4-LK AD2-LKataddnesfosserddats1 H00 – –

sesserddadnesforebmuN H00 – –atadeviecerfosserddats1 H00 – –

sesserddaeviecerforebmuN H80 – –DA4-LKrofsserddA – H00 –AD2-LKrofsserddA – – –

gnitteShctiwsLANIF FFO NO –egnaRDA4-LK – V5-1 –

Pre

ssur

e

time

Pre

ssur

e

time

KL-N10V Communication setup

Calculates the input voltage value from KL-4AD

Calculates the pressure value by unit of 0.1 Psi

Output by 16-step tolerance

Page 6: Plc programming course3

6

( )2008 2706

2007

2002

SET( )2705SET( )

2704SET( )

2702SET

$0000DW

( )2700SET

$0000DW

$0008DW

$0000DW

( )2701SET( )

2700RES

DM1700STA

DM1000LDA

#00100MUL

#00125DIV

2002 DM0020STA

0000LDA

$00FFANDA TBIN

2002

DM1800 DM1802 DM1803DM1801

DM1000STA

DM0020LDA

#05000MUL

#00006DIV

[Communication settings for the KL unit]

3. How to change motor speed using a digitalswitchAnalog voltage is output according to the digital switch number when changing the rotating speed of an inverter motor.

[System configuration] When using a 1-digit digital switch

KL

Analog output

Invertor

When using a 2-digit digital switch

Adjustment can beperformed in finer steps.

Spe

ed

time

timeS

peed

[Description of ladder diagram]

V01N-LK DA4-LK AD2-LKataddnesfosserddats1 H00 – –

sesserddadnesforebmuN H80 – –atadeviecerfosserddats1 H00 – –

sesserddaeviecerforebmuN H00 – –DA4-LKrofsserddA – – –AD2-LKrofsserddA – – H00

gnitteShctiwsLANIF NO – –egnaRDA4-LK – – V5-0

KL-N10V Communication setup

Input by Digital Switch (0000 to 0007)

Converts the Digital Switch input value to voltage.

Controls speed of the inverter

Page 7: Plc programming course3

7

( )2008 2706

2007

2002

SET( )2705SET( )

2704SET( )

2702SET

$0000DW

( )2700SET

$0000DW

$0008DW

$0000DW

( )2701SET( )

2700RES

DM1700STA

DM1000LDA

#00100MUL

#00125DIV

2002 DM0020STA

0000LDA TBIN

2002

DM1800 DM1802 DM1803DM1801

DM1000STA

DM0020LDA

#05000MUL

#01450DIV

[Communication settings for the KL unit]

4. How to change air pressure using a digital switchAnalog voltage is output according to the digital switch number when changing air pressure with electropneumaticregulator.

[System configuration]Usually

KL

Analog output

IN

OUT

Electro-pneumaticRegulator

The regulator is manuallyadjusted.

When using this system

The regulator isautomatically adjustedthrough the digital switch.

Pre

ssur

eP

ress

ure

time

time

[Description of ladder diagram]

V01N-LK DA4-LK AD2-LKataddnesfosserddats1 H00 – –

sesserddadnesforebmuN H80 – –atadeviecerfosserddats1 H00 – –

sesserddaeviecerforebmuN H00 – –DA4-LKrofsserddA – – –AD2-LKrofsserddA – – H00

gnitteShctiwsLANIF NO – –egnaRDA4-LK – – V5-0

KL-N10V Communication setup

Input by Digital Switch (0000 to 0015)

Converts the Digital Switch input value to voltage.

Controls speed of the inverter

Page 8: Plc programming course3

8

AP-30

OUT1

OUT2

A

mmHg

2007( )2700SET

2002 DM1700STA

DM1000LDA

#00010MUL

#00025DIV

2002 DM0000STA

DM1600LDA

#00125MUL

#00100DIV

( )2008 2706

SET( )2705SET( )

2704SET( )

2702SET

$0008DW

$0000DW

$0008DW

$0008DW

( )2701SET( )

2700RES

DM1800 DM1802 DM1803DM1801

2002 DM0000LDA

TM10STA

#00002MUL

#10000LDA

DM1000STA

TM10SUB

5. How to transmit analog data to a distant pointwithout data deteriorationAnalog data is amplified, inverted and output to a recorder located 1,200 m away.

[System configuration]

[Communication settings for the KL unit]

AP

KL

1 to 5 V

KV

10 through 0 VInverted data

Recorder

When directly transmitting analog data

Vol

tage

Noise Actual data

Deteriorated

Resultant data

When using this system

Data deterioration can be preventedand noise can be eliminated.

* The KV Series can also be used to amplify analog dataV

olta

ge

1200 mm

[Description of ladder diagram]

V01N-LK DA4-LK AD2-LKataddnesfosserddats1 H80 – –

sesserddadnesforebmuN H80 – –atadeviecerfosserddats1 H00 – –

sesserddaeviecerforebmuN H80 – –DA4-LKrofsserddA – H00 –AD2-LKrofsserddA – – H80

gnitteShctiwsLANIF NO FFO –egnaRDA4-LK – V5-0 V01-0

KL-N10V Communication setup

Calculates the input voltage value from KL-4AD

Converts the 0-5V range to 10-0V range.

Calculates the output voltage through KL-2DA

Page 9: Plc programming course3

9

Page 10: Plc programming course3

10

Page 11: Plc programming course3
Page 12: Plc programming course3