Sei sulla pagina 1di 24

PLC and PLC Programming

PLC Architecture
Types of PLC in ODC lab

Name of PLC DAServer used Protocol used

GE PLC DASGESRTP SRTP


Siemen’s PLC DASSIDIRECT S7
Allen Bradley DASABCIP ABCIP
DASABTCP ABTCP

SRTP: Service Request Transfer Protocol


ABCIP:
ABTCP:
Tools used to configure and program PLC
PLC Tool
GE PLC Proficy Machine Edition
Siemen’s PLC SIMATIC Manager
Processor Memory Organization
• The memory of PLC is organized by types
• Memory space can be divided into two
broad categories
 Program memory
Data memory
Program Scan
Scan Process
Data Flow overview
CPU
PLC Programming languages
The three most PLC Programming language
structures are

Statement List
Relay-Type Instructions

NO Contact NC Contact Coil


AND Operation(Example)

Ladder Diagram

NO Contact NO Contact Coil

(LD:Load , A: add)
Statement List

Functional Chart
Discrete Input /Output
Analog Input/Output
Counters
• Counters are built in function blocks for PLC
programming
• Counters are common instructions used for counting
and giving the output accordingly

CU: Count up
CD: Count down
NO Contact R: Reset
PV: Preset value
CTUD: Count Up/down Counter
C48: Name of the counter
Coil
Creating a Project in Proficy Machine Edition

• File -> New Project


• Write the project name
• Select the project template
• Project template involves the type of PLC
Hardware Configuration in PME

• Expand Hardware Configuration


• Expand Main Rack
• Select slot0 and add power supply module
• Select catalog number for power supply
• Select slot1 and add CPU module in Main Rack
• Select Ethernet tab and change IP address of
the PLC to be connected
Hardware Configuration in PME
Hardware Configuration in PME
To Download data to PLC online
Developing logic in PME

• Expand Logic in Project tab of Navigator


• Expand Program Blocks
• Add new LD block
• Write the program in provided LD block using
LD instructions
Developing logic in PME
Modes of Operation
Variations in the run mode
Thank You

Potrebbero piacerti anche