You are on page 1of 30

PROGRAMMABLE LOGIC CONTROLLER:I/P Scan Program Scan O/P Scan Overhead

Scanni ng Field Update i/p Image table Execut e Update o/p O/P field Device s

IF2OF2 2 Analog i/p

User Image Progra table channels m

2 Analog o/p channels

MTB- Marshalling terminal block RTB - Removable terminal block I/P-------MTB-------IF2OF2

Basic Instruction:-

Symbo Ladder l Diagra m Symbo l

Relay

Push Button

1. XIC- NO Examine if closed.

2. XIO- NC Examine if open. Symbo l 3. OTE- O/P enables. Symbo l

Allen Bradley India, US Software: MICRO LOGIC Ml 1200

GE Fanuc Korea S 90, 30

Siemens America S7(WIN CC)

SLC 500 COMPACT LOGIC CONTROL LOGIC

Emergency condition- Trapping action PLC as safety manager.

Watchdog Timer:Load PLC to 75% of its capacity. Addressing:

Number of digital I/Ps =14 I: 0/0--------- I: 0/13

SLOT #1--------IF2OF2 card is inserted. Analog I/O: 4-20 mA(i/p) :0-10 V DC(o/p)

SLOT #2 IB16 card is inserted Addresses from I: 2/0-------I: 2/16.

SLOT #3 OW16 card is inserted Addresses from O: 3/0-------I: 3/15.

Instructions:4. OTL--------O/P Latch. 5. OTU---------O/P Unlatch.

6. OSR---------One Shot rising/ONS------One shot. File Management. File no. 0 1 2 3 4 5 6 7 8 File Name I O S B T C R N F Type I/P status O/P status Status of system Bit(B3:255/15) Timer Counter Control Integer Float

Application of OSR:-

PROB: 1: PB pressed lamp ON. :2nd time PB pressed lamp OFF.

PROB: 2: Hacksaw Application.[Machine Automation]:

SV1-------O:0/0 SV2--------O:0/1

F.P.R.--------I:0/2 R.P.R.--------I:0/3 START-------I: 0/0 STOP----------I: 0/1

Ladder Diagram:-

Timer:ON DELAY TIMER:-

: world , / : bit Timer base: 1sec, 0.01 sec, 0.001 sec. T 4:0.ACC: accessing accumulator value, T 4:0.TT: timer timing bit,

T 4:0.DN timer done bit.

OFF DELAY TIMER:Used when high to low transition.

T 4:0.PRE: accessing preset value, T 4:0.EN: timer enable bit. Problem: 3: Compressor loading / Unloading.

1. HDP(High discharge press interlock). 2. Feedback failure interlock. 3. LPB(Low pressure bypass)(CNC) When START PB on control panel is pressed turn on the on the compressor. Interlocks associated with compressor operation.

1.f/b failure : 1 RPM s/w is mounted on compressor to give f/b ON. If this f/b is not available within 5sec after compressor is started then trip compressor. 2.Low press bypass : for the 1st 10 sec after the compressor is started bypass the low press s/w. after 10 sec if LP s/w is active trip the compressor. 3.High Discharge press[HDP] when compressor is started at any point of time if HDP s/w is active trip. 4. stop to start delay : when compressor is started or tripped because of any of the above reasons, compressor should not be for next 30 sec. Start I:0/0 Stop I:0/1 F/B I:0/2 LPB[NC]: I:0/3 HDP :I:0/4 COMPRESSOR: O:0/0 Other interlocks (dry running float s/w)

Problem 4:Alarm Annuciator:

WLSH

WPSH

WTSH

ACK

TEST

Wlsh O:0/0 Test:I:0/0 P.B. WTsh O:0/1 Ack:I:0/1 P.B. WPsh O:0/2 LSH:I:0/2 Hooter O:0/3 TSH:I:0/3 PSH I:0/4 LS H 0 X X X X X 1 1 PS H 0 X X X 1 1 X X TS H 0 1 1 0 X X X X TES AC T K 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 HOOTE WLS R H 0 1 0 0 1 1 1 0 0 X X X X X 1 1 WPS H 0 X X X 1 1 X X WTS H 0 1 1 0 X X X X

0 X

X X

X X

0 1

0 X

0 1

0 1

X 1

X 1

RETENTIVE TIMER:-

Handling Analog I/Os:-

For micrologic series: i/p: 4-20 mA 0-10 V Count: 4-20 mA:6242 0-10 V:31208 ADC -15 Bit resolution DAC- 15 bit resolution SCALE INSTRUCTION(SCL):

Comparison Instruction LES < LEQ <= GRT > GEQ => EQU = LIM

When H.L>L.L and L.L <=A<=H.L ---O/P active When H.L<L.L and H.L <=A<=L.L ---O/P inactive

Problem: ON-OFF Controller with Dead Band

Temp Range = 0 c - 100 c SP= N7:0 DB=N7:1 I/P= I:1.0 Scaled PV Digital SV = F8:0 = O:0/0

START I:0/0

UTT LTT

= SP+DB = SP-DB

Profile control: Ramp and soak.

N 7:0..20 c N 7:1..10 c

N 7:10..10 min N 7:11..20 min

N 7:2..10 c N 7:3..-5 c N 7:4..-5 c N 7:5..-15 c For semen #1

N 7:12..10 min N 7:13..10 min N 7:14..30 min N 7:15..10 min

(10-20)c/10 min=-1 c/min. Simulation of ramp in PLC.

PID:PID Instructions: 23 integer words N 7:0. N 7:22 N 7:23PV N 7:24.CV. Range for PID----Digital count acceptable. As i/p & o/p. Count: 0-16383 for PID Normal count:6242---31208.

You might also like