You are on page 1of 13

PROGRAMMABLE LOGIC

CONTROLLER
PLC
 A PLC monitors inputs, makes decision based on
its PROGRAM, control OUTPUTS to automate
a process or machine.
 PLC consists of input modules, CPU, o/p
modules.
 An i/p accepts a variety of digital or analog
signals from various field devices & converts
them into a logic signal that can be used by the
CPU.
PLC
 The CPU makes the decisions & executes control
instructions based on program instruction in memory.
 Output modules convert control instructions from CPU
into a digital or analog signal that can be used to control
various field devices.

 Example for PLC output and PLC Input


INPUT & OUTPUT ELEMENTS
 I/P Elements :
Push buttons
Limit switches
Proximity
Relay contacts etc.,

 O/P Elements :
Solenoid Valves
Relay coils
Indicator Lamp etc.,
PROGRAMMABLE MACHINE CONTROL

Y
PROGRAMMABLE LOGIC CONTROL
 FANUC LADDER
 Fanuc ladder is the program software used with
the Fanuc PLC to create the PLC operating
program.
 Ladder is a Sequential type program which control
machine tools and other systems.
 Ladder program is produced using PMC
instruction
 Fapt ladder consists of a number of instructions
that must be arranged in a logical order to obtain
the desired PLC operation.
PROGRAMMABLE LOGIC CONTROL
 Fanuc Ladder
 Sequence of the ladder diagram is converted into
machine language instruction which is done by
PMC programmer and stored into the memory.
 PMC’s CPU executes these instructions
sequentially.
PROGRAMMABLE LOGIC CONTROL
 AND and OR operation
PROGRAMMABLE LOGIC CONTROL
 The most commonly used programming functions
in Ladder are normally open (NO) contact,
normally closed (NC) contact and coils.
 The normally open contact (NO) is true (closed)
when the input or output status bit controlling
the contact is 1.
 The normally closed contact (NC) is true (closed)
when the input or output status bit controlling
the contact is 0.
 Coils represent relays that are energized when
power flows to them. When a coil is energized, it
causes a corresponding output to turn on by
changing the state of the status bit controlling
that output to 1.
PLC SCAN
PLC SCAN consists of:
 INPUT PROCESSING.
 PROGRAMMING PROCESSING.
 OUTPUT PROCESSING

 Basically there are 3 levels of sequence program.


Level-1 has highest priority. Its maximum
scanning time is 8ms. All ‘Emergency Stop’
signals and major interrupts are handled in this
level.
 Level-2 has relatively lower priority. Its scanning
time is remaining part of 1st level scanning.
PROGRAMMABLE LOGIC CONTROL
 Fanuc Ladder Important Functions.
 Timer
 Counter
 Jump
 Compare
 Decode
 Rot Function
 Move Function
 COIN (Coincidence Check)
 COD (Code Conversion)
 DSCH (Data Search)
 Window Function
 Call
G SIGNALS - PMC TO CNC

 G8.4 Emergency Stop


 G8.0 Feed interlock all axes
 G8.5 Feed Hold
 G130.0 Feed Interlock X axis
 G130.1 Feed Interlock Y axis
 G130.2 Feed Interlock Z axis
 G7.2 Cycle start
 G29.4 Spindle speed Arrival
 G29.6 Spindle Stop Signal
 G46.1 Single Block Signal
 G70.4 Spindle Command Reverse
 G70.5 Spindle Command Forward
 G70.6 Spindle Orient
F SIGNALS - CNC TO PMC

 F0.5 Cycle running


 F0.6 Servo Ready

 F1.0 System Alarm signal

 F1.1 Reset signal

 F45.3 Spindle speed Matching signal

 F45.7 Spindle Orientation Completion signal

You might also like