SlideShare a Scribd company logo
1 of 5
Download to read offline
13-1
Dr. D. J. Jackson Lecture 12-1Electrical & Computer Engineering
Programmable Logic
Controllers
Ethernet-Based Communication
Setup and MSG Instruction Use
Dr. D. J. Jackson Lecture 12-2Electrical & Computer Engineering
Communications Setup
• Assuming an RSLogix ladder logic program is
properly setup to use one of the PLCs on the
network, two additional data files need to be
created to support use of the MSG instruction
– A MESSAGE data file
• Will hold all information for configured MSG instructions
– A ROUTING INFORMATION data file
• Will hold routing information from configured MSG
instructions
13-2
Dr. D. J. Jackson Lecture 12-3Electrical & Computer Engineering
MESSAGE Data File
• Select a valid file number,
usually the next available
integer after the last
configured data file
• Type: Message
• NAME: MESSAGE (optional)
• Number of elements should
correspond to the maximum
unique number of MSG
instructions in your program
• Use default values for all
other entries/selections
• This example will create the
data file MG9 supporting 10
elements
Dr. D. J. Jackson Lecture 12-4Electrical & Computer Engineering
ROUTING INFORMATION Data File
• The routing information (RI)
data file is used to hold
information for MSG
instructions when multi-hop
communication is used
• Ethernet-based
communication uses this,
even on a local network
• In general, there should be
one element in the routing
information data file for
every unique MSG instruction
• Routing information is placed
in the RI data file when MSG
instructions are configured
and verified
13-3
Dr. D. J. Jackson Lecture 12-5Electrical & Computer Engineering
Sample Program with MSG
• Consider a simple example where one PLC
will be programmed to write one word from
its input data file to the output data file on a
second PLC
– We will use I:0.0 since this corresponds to the
word containing the input switch values on the
PLC trainer
– O:0.0 corresponds to the pilot lamps on the PLC
trainer
Dr. D. J. Jackson Lecture 12-6Electrical & Computer Engineering
Example PLC Program
• This simple program uses one bit (bit 8) from
the free running timer (word 4 in the status
data file) to control sending a message using
element MG9:0 in the message data file
13-4
Dr. D. J. Jackson Lecture 12-7Electrical & Computer Engineering
MSG Setup Screen (This Controller)
• Select Channel 1 for Ethernet
communication on the
configured PLC network
• Select the communication
command as 500CPU write
for writing data from the
source PLC to the target
device
• Set the starting address for
the data to write in the Data
Table Address field
• Size in elements: one word
in this example
Dr. D. J. Jackson Lecture 12-8Electrical & Computer Engineering
MSG Setup Screen (Target Device)
• Set the starting destination
address for the data to write
in the Data Table Address
field
• Local/Remote: Local
• Routing Information (RI) File
– Select a word from the
configured RI data file to hold
routing information for the MSG
instruction
– A good practice would be to use
the same element number as
the MSG instruction you are
configuring
13-5
Dr. D. J. Jackson Lecture 12-9Electrical & Computer Engineering
MSG Setup Screen (Multihop Tab)
• Configure the destination
PLC IP address in the
Multihop Tab
• This information will be used
to automatically populate the
Routing Information data file
when the MSG instruction is
verified when the program is
verified
Dr. D. J. Jackson Lecture 12-10Electrical & Computer Engineering
Routing Information Data File
• After verifying the MSG instruction (i.e. the
ladder program containing the MSG
instruction), the RI data file should be
configured as shown above

More Related Content

What's hot

Netscan and Networx for Management Bandwidth and Traffic with Simple Routing
Netscan and Networx for Management Bandwidth and Traffic with Simple RoutingNetscan and Networx for Management Bandwidth and Traffic with Simple Routing
Netscan and Networx for Management Bandwidth and Traffic with Simple RoutingTELKOMNIKA JOURNAL
 
REDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKS
REDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKSREDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKS
REDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKSijcsit
 
protocols and types of protocols.
protocols and types of protocols.protocols and types of protocols.
protocols and types of protocols.Šhæÿæñ Æhmęd
 
Protocol architecture TCP IP
Protocol architecture TCP IPProtocol architecture TCP IP
Protocol architecture TCP IPToufiqueAhmed13
 
An FPGA-based network system with service-uninterrupted remote functional upd...
An FPGA-based network system with service-uninterrupted remote functional upd...An FPGA-based network system with service-uninterrupted remote functional upd...
An FPGA-based network system with service-uninterrupted remote functional upd...IJECEIAES
 
BPS: A Performance Metric of I/O System
BPS: A Performance Metric of I/O System BPS: A Performance Metric of I/O System
BPS: A Performance Metric of I/O System Ahmed Imair
 

What's hot (8)

Netscan and Networx for Management Bandwidth and Traffic with Simple Routing
Netscan and Networx for Management Bandwidth and Traffic with Simple RoutingNetscan and Networx for Management Bandwidth and Traffic with Simple Routing
Netscan and Networx for Management Bandwidth and Traffic with Simple Routing
 
REDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKS
REDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKSREDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKS
REDUCTION OF MONITORING REGISTERS ON SOFTWARE DEFINED NETWORKS
 
protocols and types of protocols.
protocols and types of protocols.protocols and types of protocols.
protocols and types of protocols.
 
Protocol architecture TCP IP
Protocol architecture TCP IPProtocol architecture TCP IP
Protocol architecture TCP IP
 
An FPGA-based network system with service-uninterrupted remote functional upd...
An FPGA-based network system with service-uninterrupted remote functional upd...An FPGA-based network system with service-uninterrupted remote functional upd...
An FPGA-based network system with service-uninterrupted remote functional upd...
 
BPS: A Performance Metric of I/O System
BPS: A Performance Metric of I/O System BPS: A Performance Metric of I/O System
BPS: A Performance Metric of I/O System
 
Mail server
Mail serverMail server
Mail server
 
Addressing
AddressingAddressing
Addressing
 

Viewers also liked

The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...Buabuanana
 
Runwal codename walk
Runwal codename walkRunwal codename walk
Runwal codename walkthelaunch
 
The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...Buabuanana
 
The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...Buabuanana
 

Viewers also liked (13)

Lect08
Lect08Lect08
Lect08
 
Lect06
Lect06Lect06
Lect06
 
The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...
 
Lect14
Lect14Lect14
Lect14
 
Lect07
Lect07Lect07
Lect07
 
Lect04
Lect04Lect04
Lect04
 
Runwal codename walk
Runwal codename walkRunwal codename walk
Runwal codename walk
 
The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...The effects of reading method on the comprehension performance of Saudi EFL s...
The effects of reading method on the comprehension performance of Saudi EFL s...
 
Lect13
Lect13Lect13
Lect13
 
Lect03
Lect03Lect03
Lect03
 
Lect09
Lect09Lect09
Lect09
 
Lect02
Lect02Lect02
Lect02
 
The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...The effects of reading method on the comprehension performance of saudi efl s...
The effects of reading method on the comprehension performance of saudi efl s...
 

Similar to Lect12

Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...
Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...
Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...TELKOMNIKA JOURNAL
 
11 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa1411 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa14John Todora
 
Wireless Data Acquisition System Using ARM Cortex M-3
Wireless Data Acquisition System Using ARM Cortex M-3Wireless Data Acquisition System Using ARM Cortex M-3
Wireless Data Acquisition System Using ARM Cortex M-3IOSR Journals
 
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfA NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfSaiReddy794166
 
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONcscpconf
 
An ethernet based_approach_for_tm_data_analysis_v2
An ethernet based_approach_for_tm_data_analysis_v2An ethernet based_approach_for_tm_data_analysis_v2
An ethernet based_approach_for_tm_data_analysis_v2Priyasloka Arya
 
Chapter16 and 17
Chapter16 and 17Chapter16 and 17
Chapter16 and 17Saurav
 
Chapter16and17
Chapter16and17Chapter16and17
Chapter16and17Saurav
 
Lecture 1.1 Introduction to Networking.ppt
Lecture 1.1 Introduction to Networking.pptLecture 1.1 Introduction to Networking.ppt
Lecture 1.1 Introduction to Networking.pptRaidTan
 
Running head network design 1 netwo
Running head network design                             1 netwoRunning head network design                             1 netwo
Running head network design 1 netwoAKHIL969626
 
Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...
Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...
Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...journalBEEI
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...IJMER
 
Verilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorVerilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorIJERA Editor
 

Similar to Lect12 (20)

Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...
Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...
Design of Digital to Analog Voice Data Packet Conversion from Ethernet Protoc...
 
11 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa1411 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa14
 
Wireless Data Acquisition System Using ARM Cortex M-3
Wireless Data Acquisition System Using ARM Cortex M-3Wireless Data Acquisition System Using ARM Cortex M-3
Wireless Data Acquisition System Using ARM Cortex M-3
 
E010113235
E010113235E010113235
E010113235
 
IP Utilites
IP UtilitesIP Utilites
IP Utilites
 
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdfA NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
A NETWORK-BASED DAC OPTIMIZATION PROTOTYPE SOFTWARE 2 (1).pdf
 
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
 
An ethernet based_approach_for_tm_data_analysis_v2
An ethernet based_approach_for_tm_data_analysis_v2An ethernet based_approach_for_tm_data_analysis_v2
An ethernet based_approach_for_tm_data_analysis_v2
 
Chapter16 and 17
Chapter16 and 17Chapter16 and 17
Chapter16 and 17
 
Chapter16and17
Chapter16and17Chapter16and17
Chapter16and17
 
Lecture 1.1 Introduction to Networking.ppt
Lecture 1.1 Introduction to Networking.pptLecture 1.1 Introduction to Networking.ppt
Lecture 1.1 Introduction to Networking.ppt
 
Running head network design 1 netwo
Running head network design                             1 netwoRunning head network design                             1 netwo
Running head network design 1 netwo
 
Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...
Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...
Comparison study of 8-PPM, 8-DPIM, and 8-RDH-PIM modulator FPGA hardware desi...
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...
 
Verilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC ProcessorVerilog Implementation of 32-Bit CISC Processor
Verilog Implementation of 32-Bit CISC Processor
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day 1
Ccna day 1Ccna day 1
Ccna day 1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 

Lect12

  • 1. 13-1 Dr. D. J. Jackson Lecture 12-1Electrical & Computer Engineering Programmable Logic Controllers Ethernet-Based Communication Setup and MSG Instruction Use Dr. D. J. Jackson Lecture 12-2Electrical & Computer Engineering Communications Setup • Assuming an RSLogix ladder logic program is properly setup to use one of the PLCs on the network, two additional data files need to be created to support use of the MSG instruction – A MESSAGE data file • Will hold all information for configured MSG instructions – A ROUTING INFORMATION data file • Will hold routing information from configured MSG instructions
  • 2. 13-2 Dr. D. J. Jackson Lecture 12-3Electrical & Computer Engineering MESSAGE Data File • Select a valid file number, usually the next available integer after the last configured data file • Type: Message • NAME: MESSAGE (optional) • Number of elements should correspond to the maximum unique number of MSG instructions in your program • Use default values for all other entries/selections • This example will create the data file MG9 supporting 10 elements Dr. D. J. Jackson Lecture 12-4Electrical & Computer Engineering ROUTING INFORMATION Data File • The routing information (RI) data file is used to hold information for MSG instructions when multi-hop communication is used • Ethernet-based communication uses this, even on a local network • In general, there should be one element in the routing information data file for every unique MSG instruction • Routing information is placed in the RI data file when MSG instructions are configured and verified
  • 3. 13-3 Dr. D. J. Jackson Lecture 12-5Electrical & Computer Engineering Sample Program with MSG • Consider a simple example where one PLC will be programmed to write one word from its input data file to the output data file on a second PLC – We will use I:0.0 since this corresponds to the word containing the input switch values on the PLC trainer – O:0.0 corresponds to the pilot lamps on the PLC trainer Dr. D. J. Jackson Lecture 12-6Electrical & Computer Engineering Example PLC Program • This simple program uses one bit (bit 8) from the free running timer (word 4 in the status data file) to control sending a message using element MG9:0 in the message data file
  • 4. 13-4 Dr. D. J. Jackson Lecture 12-7Electrical & Computer Engineering MSG Setup Screen (This Controller) • Select Channel 1 for Ethernet communication on the configured PLC network • Select the communication command as 500CPU write for writing data from the source PLC to the target device • Set the starting address for the data to write in the Data Table Address field • Size in elements: one word in this example Dr. D. J. Jackson Lecture 12-8Electrical & Computer Engineering MSG Setup Screen (Target Device) • Set the starting destination address for the data to write in the Data Table Address field • Local/Remote: Local • Routing Information (RI) File – Select a word from the configured RI data file to hold routing information for the MSG instruction – A good practice would be to use the same element number as the MSG instruction you are configuring
  • 5. 13-5 Dr. D. J. Jackson Lecture 12-9Electrical & Computer Engineering MSG Setup Screen (Multihop Tab) • Configure the destination PLC IP address in the Multihop Tab • This information will be used to automatically populate the Routing Information data file when the MSG instruction is verified when the program is verified Dr. D. J. Jackson Lecture 12-10Electrical & Computer Engineering Routing Information Data File • After verifying the MSG instruction (i.e. the ladder program containing the MSG instruction), the RI data file should be configured as shown above