SlideShare a Scribd company logo
ML- 200 
Basic of Instruction 
List 
SHIVAM SINGH 
PROJECT ENGINEER 
+91-8527199116 
shivam.technisys@gmail.com
Data Type- 
Basic Data Type-
Data Type……
Data Type……..
Data Type Hierarchy Chart-
Initial Value-
Data Type Structure-
Data Type Structure…….
Data Type Structure…….
Data Type Structure…….
Data Type Structure……
Data Type Structure……
Variable- 
 A variable has its own value and refers to data used in a 
program. ‘Variable’refers to something that can vary such as 
an input/output of PLC, memory, etc. 
Variable Expression 
 Variables can be expressed in two ways: by giving a name to 
a data element using an identifier (Variable by Identifier) or 
by directly assigning a memory address or an input/output 
of PLC to a data element (Direct Variable). 
 A variable by identifier must be unique within its ‘effective 
scope’ (program area where the variable was declared) in 
order to distinguish it from other variables. 
 A direct variable is expressed as one, which starts with the 
percentage sign (%) followed by the ‘location prefix’, a prefix 
of the data size, and more than one unsigned integer 
divided by a period (.).
Variable Expression……..
Variable…..
Program Type- 
Function 
 A function has one output and does not have any data with 
status in it. That is, to be a function, consistent input must 
yield consistent output. 
 An internal variable of a function cannot have an initial value. 
 Users can't declare a function as VAR_EXTERNAL and use it. 
 Use of direct variables inside the function is not allowed. 
 A function is called by program elements and used. 
 Data transfer from program composition elements which call 
the function, to the function, is executed through an input of 
a function. 
 A function block or a program cannot be called from inside a 
function.
Program Type……. 
Function Block 
 A function block can have several outputs. 
 A function block has data inside. 
 A function block must declare the instance as it declares 
variables before using them. Instance is a set of variables used 
in a function block. 
 A function block must have its data memory to preserve the 
output value as well as variables used inside, which is called 
as “instance.” 
 A program is a kind of a function block and also needs to 
declare “instance.” 
 However, users cannot call a program inside a program or a 
function block for use, contrary to a function block.
Program Type….. 
 Users can declare a direct variable inside a function block, 
and moreover, users can use a direct variable declared as 
Global Variable and allocated according to ‘Assign (AT)’after 
declaring it as VAR_EXTERNAL. 
 Calling a program inside the function block is not allowed. 
Program 
 Users can use a program after declaring an instance like a 
function block. 
 Use of direct variables in the program is allowed. 
 A program does not have input/output variables. 
 A program can call functions or function blocks.
Honeywell PLC ML-200R Instruction Basics
Honeywell PLC ML-200R Instruction Basics

More Related Content

What's hot

Simatic manager siemens S7 guide
Simatic manager  siemens S7 guideSimatic manager  siemens S7 guide
Simatic manager siemens S7 guide
Roopesh Matale
 
Dcs operator training
Dcs operator trainingDcs operator training
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
satyajit patra
 
Simens plc training. simatic working-with-step-7
Simens  plc  training. simatic working-with-step-7Simens  plc  training. simatic working-with-step-7
Simens plc training. simatic working-with-step-7
SAIL,Rourkela steel plant.Rourkela.
 
Yokogawa Centum-VP-Engneering-Course.pptx
Yokogawa Centum-VP-Engneering-Course.pptxYokogawa Centum-VP-Engneering-Course.pptx
Yokogawa Centum-VP-Engneering-Course.pptx
SibabrataChoudhury2
 
CENTUM CS300 R3
CENTUM CS300 R3CENTUM CS300 R3
CENTUM CS300 R3
AhmedAmri23
 
Basics of PLC
Basics of PLCBasics of PLC
Basics of PLC
mohit oza
 
CENTUM VP - 2014 version
CENTUM VP - 2014 versionCENTUM VP - 2014 version
CENTUM VP - 2014 version
Yokogawa
 
Plc presentation
Plc presentationPlc presentation
Plc presentationAkshay Modi
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HS
Shivam Singh
 
Dcs
DcsDcs
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Ahmed Elsayed
 
PLC and Industrial Automation - Technology Overview
PLC and Industrial Automation - Technology OverviewPLC and Industrial Automation - Technology Overview
PLC and Industrial Automation - Technology Overview
Nereus Fernandes
 
Plc basics
Plc   basicsPlc   basics
PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.
Tahmid Rongon
 
Omron plc training
Omron plc trainingOmron plc training
Omron plc training
Hesham Abdelhady
 
Introduction to plc (s7)­
Introduction to  plc (s7)­ Introduction to  plc (s7)­
Introduction to plc (s7)­
majitra
 
Profinet Training
Profinet Training Profinet Training
Profinet Training
ICP DAS USA, Inc.
 

What's hot (20)

Simatic manager siemens S7 guide
Simatic manager  siemens S7 guideSimatic manager  siemens S7 guide
Simatic manager siemens S7 guide
 
Dcs operator training
Dcs operator trainingDcs operator training
Dcs operator training
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
 
Simens plc training. simatic working-with-step-7
Simens  plc  training. simatic working-with-step-7Simens  plc  training. simatic working-with-step-7
Simens plc training. simatic working-with-step-7
 
Yokogawa Centum-VP-Engneering-Course.pptx
Yokogawa Centum-VP-Engneering-Course.pptxYokogawa Centum-VP-Engneering-Course.pptx
Yokogawa Centum-VP-Engneering-Course.pptx
 
CENTUM CS300 R3
CENTUM CS300 R3CENTUM CS300 R3
CENTUM CS300 R3
 
Basics of PLC
Basics of PLCBasics of PLC
Basics of PLC
 
CENTUM VP - 2014 version
CENTUM VP - 2014 versionCENTUM VP - 2014 version
CENTUM VP - 2014 version
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HS
 
Dcs
DcsDcs
Dcs
 
S7 1200 basic
S7 1200 basicS7 1200 basic
S7 1200 basic
 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
 
PLC and Industrial Automation - Technology Overview
PLC and Industrial Automation - Technology OverviewPLC and Industrial Automation - Technology Overview
PLC and Industrial Automation - Technology Overview
 
Plc basics
Plc   basicsPlc   basics
Plc basics
 
PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.
 
NFS-320
NFS-320NFS-320
NFS-320
 
Omron plc training
Omron plc trainingOmron plc training
Omron plc training
 
Introduction to plc (s7)­
Introduction to  plc (s7)­ Introduction to  plc (s7)­
Introduction to plc (s7)­
 
Profinet Training
Profinet Training Profinet Training
Profinet Training
 

Viewers also liked

Acs800 preventive maintenance kits
Acs800 preventive maintenance kitsAcs800 preventive maintenance kits
Acs800 preventive maintenance kits
Everton Souza
 
BASICS OF FIELDBUS
BASICS OF FIELDBUSBASICS OF FIELDBUS
BASICS OF FIELDBUS
Shivam Singh
 
High Voltage Direct Current(Hvdc) transmission
High Voltage Direct Current(Hvdc) transmissionHigh Voltage Direct Current(Hvdc) transmission
High Voltage Direct Current(Hvdc) transmission
University of Gujrat, Pakistan
 
Allen Bradley- Micrologix PLC Instructions
Allen Bradley- Micrologix PLC InstructionsAllen Bradley- Micrologix PLC Instructions
Allen Bradley- Micrologix PLC Instructions
NFI - Industrial Automation Training Academy
 
HVDC
HVDC HVDC
HVDC presentation
HVDC presentationHVDC presentation
HVDC presentation
sagnikroychowdhury
 
High Voltage Dc (HVDC) transmission
High Voltage Dc (HVDC) transmissionHigh Voltage Dc (HVDC) transmission
High Voltage Dc (HVDC) transmission
ZunAib Ali
 
Distributed Control System Basics
Distributed Control System BasicsDistributed Control System Basics
Distributed Control System Basics
Pratap Chandra
 

Viewers also liked (8)

Acs800 preventive maintenance kits
Acs800 preventive maintenance kitsAcs800 preventive maintenance kits
Acs800 preventive maintenance kits
 
BASICS OF FIELDBUS
BASICS OF FIELDBUSBASICS OF FIELDBUS
BASICS OF FIELDBUS
 
High Voltage Direct Current(Hvdc) transmission
High Voltage Direct Current(Hvdc) transmissionHigh Voltage Direct Current(Hvdc) transmission
High Voltage Direct Current(Hvdc) transmission
 
Allen Bradley- Micrologix PLC Instructions
Allen Bradley- Micrologix PLC InstructionsAllen Bradley- Micrologix PLC Instructions
Allen Bradley- Micrologix PLC Instructions
 
HVDC
HVDC HVDC
HVDC
 
HVDC presentation
HVDC presentationHVDC presentation
HVDC presentation
 
High Voltage Dc (HVDC) transmission
High Voltage Dc (HVDC) transmissionHigh Voltage Dc (HVDC) transmission
High Voltage Dc (HVDC) transmission
 
Distributed Control System Basics
Distributed Control System BasicsDistributed Control System Basics
Distributed Control System Basics
 

Similar to Honeywell PLC ML-200R Instruction Basics

Lecture11 abap on line
Lecture11 abap on lineLecture11 abap on line
Lecture11 abap on lineMilind Patil
 
Function C programming
Function C programmingFunction C programming
Function C programming
Appili Vamsi Krishna
 
C functions list
C functions listC functions list
Functions-Computer programming
Functions-Computer programmingFunctions-Computer programming
Functions-Computer programming
nmahi96
 
PRELIM-Lesson-2.pdf
PRELIM-Lesson-2.pdfPRELIM-Lesson-2.pdf
PRELIM-Lesson-2.pdf
jaymaraltamera
 
FUNCTION CPU
FUNCTION CPUFUNCTION CPU
FUNCTION CPU
Krushal Kakadia
 
Sample for Simple C Program - R.D.Sivakumar
Sample for Simple C Program - R.D.SivakumarSample for Simple C Program - R.D.Sivakumar
Sample for Simple C Program - R.D.Sivakumar
Sivakumar R D .
 
Function
FunctionFunction
Function
rishabh agrawal
 
Unit 2 CMath behind coding.pptx
Unit 2 CMath behind coding.pptxUnit 2 CMath behind coding.pptx
Unit 2 CMath behind coding.pptx
PragatheshP
 
What is sap security
What is sap securityWhat is sap security
What is sap security
grconlinetraining
 
Notes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsNotes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculations
William Olivier
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
kingshuk_goswami
 
cp Module4(1)
cp Module4(1)cp Module4(1)
cp Module4(1)
Amarjith C K
 
Function in C
Function in CFunction in C
Function in C
Dr. Abhineet Anand
 
Presentation on c programing satcture
Presentation on c programing satcture Presentation on c programing satcture
Presentation on c programing satcture
topu93
 
Presentation on c structures
Presentation on c   structures Presentation on c   structures
Presentation on c structures
topu93
 
Oracle Concurrent Program Setup document
Oracle Concurrent Program Setup  documentOracle Concurrent Program Setup  document
Oracle Concurrent Program Setup document
venkatesh gurusamy
 
Data warehousing unit 4.1
Data warehousing unit 4.1Data warehousing unit 4.1
Data warehousing unit 4.1
WE-IT TUTORIALS
 
Oracle plsql and d2 k interview question1
Oracle plsql and d2 k interview question1Oracle plsql and d2 k interview question1
Oracle plsql and d2 k interview question1
Arunkumar Gurav
 

Similar to Honeywell PLC ML-200R Instruction Basics (20)

Lecture11 abap on line
Lecture11 abap on lineLecture11 abap on line
Lecture11 abap on line
 
Function C programming
Function C programmingFunction C programming
Function C programming
 
C functions list
C functions listC functions list
C functions list
 
Functions-Computer programming
Functions-Computer programmingFunctions-Computer programming
Functions-Computer programming
 
DS Unit 6.ppt
DS Unit 6.pptDS Unit 6.ppt
DS Unit 6.ppt
 
PRELIM-Lesson-2.pdf
PRELIM-Lesson-2.pdfPRELIM-Lesson-2.pdf
PRELIM-Lesson-2.pdf
 
FUNCTION CPU
FUNCTION CPUFUNCTION CPU
FUNCTION CPU
 
Sample for Simple C Program - R.D.Sivakumar
Sample for Simple C Program - R.D.SivakumarSample for Simple C Program - R.D.Sivakumar
Sample for Simple C Program - R.D.Sivakumar
 
Function
FunctionFunction
Function
 
Unit 2 CMath behind coding.pptx
Unit 2 CMath behind coding.pptxUnit 2 CMath behind coding.pptx
Unit 2 CMath behind coding.pptx
 
What is sap security
What is sap securityWhat is sap security
What is sap security
 
Notes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculationsNotes how to work with variables, constants and do calculations
Notes how to work with variables, constants and do calculations
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
 
cp Module4(1)
cp Module4(1)cp Module4(1)
cp Module4(1)
 
Function in C
Function in CFunction in C
Function in C
 
Presentation on c programing satcture
Presentation on c programing satcture Presentation on c programing satcture
Presentation on c programing satcture
 
Presentation on c structures
Presentation on c   structures Presentation on c   structures
Presentation on c structures
 
Oracle Concurrent Program Setup document
Oracle Concurrent Program Setup  documentOracle Concurrent Program Setup  document
Oracle Concurrent Program Setup document
 
Data warehousing unit 4.1
Data warehousing unit 4.1Data warehousing unit 4.1
Data warehousing unit 4.1
 
Oracle plsql and d2 k interview question1
Oracle plsql and d2 k interview question1Oracle plsql and d2 k interview question1
Oracle plsql and d2 k interview question1
 

Recently uploaded

addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 

Recently uploaded (20)

addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 

Honeywell PLC ML-200R Instruction Basics

  • 1. ML- 200 Basic of Instruction List SHIVAM SINGH PROJECT ENGINEER +91-8527199116 shivam.technisys@gmail.com
  • 2. Data Type- Basic Data Type-
  • 13. Variable-  A variable has its own value and refers to data used in a program. ‘Variable’refers to something that can vary such as an input/output of PLC, memory, etc. Variable Expression  Variables can be expressed in two ways: by giving a name to a data element using an identifier (Variable by Identifier) or by directly assigning a memory address or an input/output of PLC to a data element (Direct Variable).  A variable by identifier must be unique within its ‘effective scope’ (program area where the variable was declared) in order to distinguish it from other variables.  A direct variable is expressed as one, which starts with the percentage sign (%) followed by the ‘location prefix’, a prefix of the data size, and more than one unsigned integer divided by a period (.).
  • 16. Program Type- Function  A function has one output and does not have any data with status in it. That is, to be a function, consistent input must yield consistent output.  An internal variable of a function cannot have an initial value.  Users can't declare a function as VAR_EXTERNAL and use it.  Use of direct variables inside the function is not allowed.  A function is called by program elements and used.  Data transfer from program composition elements which call the function, to the function, is executed through an input of a function.  A function block or a program cannot be called from inside a function.
  • 17. Program Type……. Function Block  A function block can have several outputs.  A function block has data inside.  A function block must declare the instance as it declares variables before using them. Instance is a set of variables used in a function block.  A function block must have its data memory to preserve the output value as well as variables used inside, which is called as “instance.”  A program is a kind of a function block and also needs to declare “instance.”  However, users cannot call a program inside a program or a function block for use, contrary to a function block.
  • 18. Program Type…..  Users can declare a direct variable inside a function block, and moreover, users can use a direct variable declared as Global Variable and allocated according to ‘Assign (AT)’after declaring it as VAR_EXTERNAL.  Calling a program inside the function block is not allowed. Program  Users can use a program after declaring an instance like a function block.  Use of direct variables in the program is allowed.  A program does not have input/output variables.  A program can call functions or function blocks.