Programmable Logic Controller
Programmable Logic Controller
Scanni ng Field Update i/p Image table Execut e Update o/p O/P field Device s
Basic Instruction:-
Relay
Push Button
SLOT #1--------IF2OF2 card is inserted. Analog I/O: 4-20 mA(i/p) :0-10 V DC(o/p)
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:-
SV1-------O:0/0 SV2--------O:0/1
Ladder Diagram:-
: 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.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)
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:-
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
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
N 7:0..20 c N 7:1..10 c
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.