SlideShare a Scribd company logo
Page 1 of 8 LOGO! 0BA7 in master/master operation
LOGO! ..0BA7 in master/master operation
Preparing basic devices
This example uses two LOGO! basic devices which are both configured as master. One
master functions as server, the other as client.
Set the "Normal" operating mode in both devices and assign the IP addresses. In the example,
the IP address 172.16.202.14 and the subnet mask 255.255.255.0 is used for the server
device and the IP address 172.16.202.2 and the subnet mask 255.255.255.0 is used for the
client device. To set the IP address and the subnet mask on other devices, select the item
"Network; IP address" in the menu.
Note:
The Ethernet adapter of the PC must be set so that it can communicate with the controllers. This means
the IP addresses and the subnet masks must be assigned so that all devices are located in the same
network. The IP address 172.16.202.20 and the subnet mask 255.255.255.0 is used for the PC in the
example. You set these addresses in the TCP/IP properties of the network connection.
Creating a program for the server device
Start by opening a new program. Select "Tools; Ethernet connections..." to create a
connection. First you assign the IP address and the subnet mask of the server.
Then you create the new connection with a right-click on "Ethernet Connections" and "Add
connection". You then configure the properties of the connection.
Page 2 of 8 LOGO! 0BA7 in master/master operation
Then you create the program. In this example the value of analog input AI1 and the frequency
at I3 is written to the client. An input frequency is read by the client at the same time.
Configure the properties of the analog network input. The value is read in from the variables.
The VW address is 5; it is defined in the client connection.
Page 3 of 8 LOGO! 0BA7 in master/master operation
Now edit the VM assignment. Select "Tools; Parameter VM Mapping". Enter the parameters in
the table you want to transmit to the client along with the address in which these are made
available.
Page 4 of 8 LOGO! 0BA7 in master/master operation
Creating a program for the client device
Open a new program. Select "Tools; Ethernet connections..." to create a connection. First you
assign the IP address and the subnet mask of the client.
Then you create the new connection with a right-click on "Ethernet Connections" and "Add
connection". You then configure the properties of the connection.
Page 5 of 8 LOGO! 0BA7 in master/master operation
In the table for data transfer you specify how many data (length) are to be sent or recieved
from the server, which local and remote addresses they have or should have.
In the example 4 bytes (2 words; VW 0 and VW 2) are read by the server and 2 bytes (1 word;
VW 5) is written to the server.
Create the following program by receiving the analog value and the input frequency from the
server and by sending an input frequency to the server.
Parameterize the analog network inputs to receive the values. Enter the local addresses which
you have assigned in the table for data transfer.
Now create the parameter VM assignment. You specified in the table for data transfer that the
input frequency is written to VW 5 of the server.
Page 6 of 8 LOGO! 0BA7 in master/master operation
Data transmission
During the reading process, data are read from the remote server and saved in the local basic
module. During the writing process, data from the local basic module are written to the remote
server. You can save data at any location in the local basic module and save them on the
remote server by entering values in the Address (Local) and Address (Remote) columns.
The following tables include a description of the restrictions for the area and the local address
in case of client connections.
Reading requirements:
Local address Remote address
Address type Range Address type Range
VB
0 to
850
VB
DB.DBB
MB
IB
QB
0 to 0xFFFF
DB[0 to
0xFFFF].DBB[0xFFFFFF]
0 to 0xFFFF
0 to 0xFFFF
0 to 0xFFFF
Note:
Address type:
• VB: Variable byte
• DB.DBB: Data block byte
• MB: Flag byte
• IB: Input byte
• QB: Output byte
Locale address + data length – 1 ≤ 850
Write requirements:
Local address Remote address
Address type Range Address type Range
VB
MB
IB
QB
0 to
850
0 to 3
0 to 2
0 to 1
VB
DB.DBB
MB
IB
QB
0 to 0xFFFF
DB[0 to
0xFFFF].DBB[0xFFFFFF]
0 to 0xFFFF
0 to 0xFFFF
0 to 0xFFFF
Note:
Local address + data length – 1 Max. value of local address type
In the LOGO! basic module, MB, IB and QB are read-only.
Page 7 of 8 LOGO! 0BA7 in master/master operation
Example for reading/writing of digital inputs, outputs and bit memories
Line 1: The inputs I1 to I8 of the server are read by the client
and saved in variable byte 0.
Line 2: The outputs Q1 to Q8 of the server are read by the client
and saved in variable byte 1.
Line 3: The flags M1 to M8 of the server are read by the client
and saved in variable byte 2.
Line 4: The inputs I1 to I8 of the client are written to the variable byte
0 of the server.
Line 5: The inputs I1 to I8 of the client are written to the variable byte
0 of the server.
Line 6: The flags M1 to M8 of the client are written to the variable byte
2 of the server.
Page 8 of 8 LOGO! 0BA7 in master/master operation
To use the data in the control program, use the network inputs.
The following table shows how the read-in data are available in
a variable byte:
Input, output, bit memory Variable
I/Q/M 1 V X.0
I/Q/M 2 V X.1
I/Q/M 3 V X.2
I/Q/M 4 V X.3
I/Q/M 5 V X.4
I/Q/M 6 V X.5
I/Q/M 7 V X.6
I/Q/M 8 V X.7
I/Q/M 9 V Y.0
I/Q/M 10 V Y.1
I/Q/M 11 V Y.2
I/Q/M 12 V Y.3
I/Q/M 13 V Y.4
I/Q/M 14 V Y.5
I/Q/M 15 V Y.6
I/Q/M 16 V Y.7
I/M 17 V Z.0
I/M 18 V Z.1
I/M 19 V Z.2
I/M 20 V Z.3
I/M 21 V Z.4
I/M 22 V Z.5
I/M 23 V Z.6
I/M 24 V Z.7
… …
IB/QB/MB 0
IB/QB/MB 1
IB/MB 2 VB Z
VB Y
VB X

More Related Content

Similar to 06 comunicação mestre mestre

08 comunicação logo! com s7 1200
08 comunicação logo! com s7 120008 comunicação logo! com s7 1200
08 comunicação logo! com s7 1200
Marcio Miranda
 
vdocuments.net_modbus-slave-modbus-master-in-s7.ppt
vdocuments.net_modbus-slave-modbus-master-in-s7.pptvdocuments.net_modbus-slave-modbus-master-in-s7.ppt
vdocuments.net_modbus-slave-modbus-master-in-s7.ppt
AhmedAhmed974840
 
07 comunicação mestre escravo
07 comunicação mestre escravo07 comunicação mestre escravo
07 comunicação mestre escravo
Marcio Miranda
 
Cpu224 xp eth-ethernet_interface
Cpu224 xp eth-ethernet_interfaceCpu224 xp eth-ethernet_interface
Cpu224 xp eth-ethernet_interface
arco zhang
 
Interfacing of Any PLC to Lab VIEW using Modbus Protocol
Interfacing of Any PLC to Lab VIEW using Modbus ProtocolInterfacing of Any PLC to Lab VIEW using Modbus Protocol
Interfacing of Any PLC to Lab VIEW using Modbus Protocol
IRJET Journal
 
IRJET- Braille Oriented Classroom
IRJET-  	  Braille Oriented ClassroomIRJET-  	  Braille Oriented Classroom
IRJET- Braille Oriented Classroom
IRJET Journal
 
Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivity
Quantum Composers
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answers
Đồng Quốc Vương
 
Canatal modulo web m52 web-interface_datasheet
Canatal modulo web   m52 web-interface_datasheetCanatal modulo web   m52 web-interface_datasheet
Canatal modulo web m52 web-interface_datasheet
Xavier Cazares
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Đồng Quốc Vương
 
Writing c code for the 8051
Writing c code for the 8051Writing c code for the 8051
Writing c code for the 8051
Quản Minh Tú
 
Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...
Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...
Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...
RashidFaridChishti
 
Load Balancer Device and Configurations.
Load Balancer Device and Configurations.Load Balancer Device and Configurations.
Load Balancer Device and Configurations.
Web Werks Data Centers
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
satyajit patra
 
Advance Applied Networking with classes.
Advance Applied Networking with classes.Advance Applied Networking with classes.
Advance Applied Networking with classes.
ArcyJeromeGallardo2
 
Running head network design 1 netwo
Running head network design                             1 netwoRunning head network design                             1 netwo
Running head network design 1 netwo
AKHIL969626
 
CCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukarCCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukar
ALLCAD Services Pvt Limited
 
NetworkDesign.CommunityPartnership
NetworkDesign.CommunityPartnershipNetworkDesign.CommunityPartnership
NetworkDesign.CommunityPartnership
James Bussone
 
Ae13 system komm_hb
Ae13 system komm_hbAe13 system komm_hb
Ae13 system komm_hb
confidencial
 
Project 4 (P4) Distance Vector Routing (DV)Instructor Dr.docx
Project 4 (P4) Distance Vector Routing (DV)Instructor Dr.docxProject 4 (P4) Distance Vector Routing (DV)Instructor Dr.docx
Project 4 (P4) Distance Vector Routing (DV)Instructor Dr.docx
wkyra78
 

Similar to 06 comunicação mestre mestre (20)

08 comunicação logo! com s7 1200
08 comunicação logo! com s7 120008 comunicação logo! com s7 1200
08 comunicação logo! com s7 1200
 
vdocuments.net_modbus-slave-modbus-master-in-s7.ppt
vdocuments.net_modbus-slave-modbus-master-in-s7.pptvdocuments.net_modbus-slave-modbus-master-in-s7.ppt
vdocuments.net_modbus-slave-modbus-master-in-s7.ppt
 
07 comunicação mestre escravo
07 comunicação mestre escravo07 comunicação mestre escravo
07 comunicação mestre escravo
 
Cpu224 xp eth-ethernet_interface
Cpu224 xp eth-ethernet_interfaceCpu224 xp eth-ethernet_interface
Cpu224 xp eth-ethernet_interface
 
Interfacing of Any PLC to Lab VIEW using Modbus Protocol
Interfacing of Any PLC to Lab VIEW using Modbus ProtocolInterfacing of Any PLC to Lab VIEW using Modbus Protocol
Interfacing of Any PLC to Lab VIEW using Modbus Protocol
 
IRJET- Braille Oriented Classroom
IRJET-  	  Braille Oriented ClassroomIRJET-  	  Braille Oriented Classroom
IRJET- Braille Oriented Classroom
 
Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivity
 
ccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answersccna 1 v5.0 itn practice final exam answers
ccna 1 v5.0 itn practice final exam answers
 
Canatal modulo web m52 web-interface_datasheet
Canatal modulo web   m52 web-interface_datasheetCanatal modulo web   m52 web-interface_datasheet
Canatal modulo web m52 web-interface_datasheet
 
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answersCcnav5.org ccna 1-v50_itn_practice_final_exam_answers
Ccnav5.org ccna 1-v50_itn_practice_final_exam_answers
 
Writing c code for the 8051
Writing c code for the 8051Writing c code for the 8051
Writing c code for the 8051
 
Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...
Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...
Linux Systems Prograramming: Unix Domain, Internet Domain (TCP, UDP) Socket P...
 
Load Balancer Device and Configurations.
Load Balancer Device and Configurations.Load Balancer Device and Configurations.
Load Balancer Device and Configurations.
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
 
Advance Applied Networking with classes.
Advance Applied Networking with classes.Advance Applied Networking with classes.
Advance Applied Networking with classes.
 
Running head network design 1 netwo
Running head network design                             1 netwoRunning head network design                             1 netwo
Running head network design 1 netwo
 
CCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukarCCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukar
 
NetworkDesign.CommunityPartnership
NetworkDesign.CommunityPartnershipNetworkDesign.CommunityPartnership
NetworkDesign.CommunityPartnership
 
Ae13 system komm_hb
Ae13 system komm_hbAe13 system komm_hb
Ae13 system komm_hb
 
Project 4 (P4) Distance Vector Routing (DV)Instructor Dr.docx
Project 4 (P4) Distance Vector Routing (DV)Instructor Dr.docxProject 4 (P4) Distance Vector Routing (DV)Instructor Dr.docx
Project 4 (P4) Distance Vector Routing (DV)Instructor Dr.docx
 

More from Marcio Miranda

Pi logo csm12-24-86
Pi logo csm12-24-86Pi logo csm12-24-86
Pi logo csm12-24-86
Marcio Miranda
 
Redes ind sist-super-u1_avaliacao-grupo
Redes ind sist-super-u1_avaliacao-grupoRedes ind sist-super-u1_avaliacao-grupo
Redes ind sist-super-u1_avaliacao-grupo
Marcio Miranda
 
Manual pt pt
Manual pt ptManual pt pt
Manual pt pt
Marcio Miranda
 
Logo system manual_en-us_en-us
Logo system manual_en-us_en-usLogo system manual_en-us_en-us
Logo system manual_en-us_en-us
Marcio Miranda
 
Pi logo csm230-86
Pi logo csm230-86Pi logo csm230-86
Pi logo csm230-86
Marcio Miranda
 
Pi logo csm230-86 (1)
Pi logo csm230-86 (1)Pi logo csm230-86 (1)
Pi logo csm230-86 (1)
Marcio Miranda
 
Manual logo 0 ba4 port ma_ind1
Manual logo 0 ba4 port ma_ind1Manual logo 0 ba4 port ma_ind1
Manual logo 0 ba4 port ma_ind1
Marcio Miranda
 
Manual pt pt.pdf1
Manual pt pt.pdf1Manual pt pt.pdf1
Manual pt pt.pdf1
Marcio Miranda
 
Pi logo csm12-24-86 (1)
Pi logo csm12-24-86 (1)Pi logo csm12-24-86 (1)
Pi logo csm12-24-86 (1)
Marcio Miranda
 
Logo p 09_99
Logo p 09_99Logo p 09_99
Logo p 09_99
Marcio Miranda
 
Manual logo! 0_ba7_en
Manual logo! 0_ba7_enManual logo! 0_ba7_en
Manual logo! 0_ba7_en
Marcio Miranda
 
Guia de primeiros passos do logo!
Guia de primeiros passos do logo!Guia de primeiros passos do logo!
Guia de primeiros passos do logo!
Marcio Miranda
 
Manual logo ago_13
Manual logo ago_13 Manual logo ago_13
Manual logo ago_13
Marcio Miranda
 
Manual logo 0 ba5 port ma_ind1
Manual logo 0 ba5 port ma_ind1Manual logo 0 ba5 port ma_ind1
Manual logo 0 ba5 port ma_ind1
Marcio Miranda
 
Manual logo hot
Manual logo hotManual logo hot
Manual logo hot
Marcio Miranda
 
Logo!
Logo!Logo!
Logo e 97
Logo e 97Logo e 97
Logo e 97
Marcio Miranda
 
Gesamtdoku eib a2e
Gesamtdoku eib a2eGesamtdoku eib a2e
Gesamtdoku eib a2e
Marcio Miranda
 
Logo e 96
Logo e 96Logo e 96
Logo e 96
Marcio Miranda
 
Logo e 09_99
Logo e 09_99Logo e 09_99
Logo e 09_99
Marcio Miranda
 

More from Marcio Miranda (20)

Pi logo csm12-24-86
Pi logo csm12-24-86Pi logo csm12-24-86
Pi logo csm12-24-86
 
Redes ind sist-super-u1_avaliacao-grupo
Redes ind sist-super-u1_avaliacao-grupoRedes ind sist-super-u1_avaliacao-grupo
Redes ind sist-super-u1_avaliacao-grupo
 
Manual pt pt
Manual pt ptManual pt pt
Manual pt pt
 
Logo system manual_en-us_en-us
Logo system manual_en-us_en-usLogo system manual_en-us_en-us
Logo system manual_en-us_en-us
 
Pi logo csm230-86
Pi logo csm230-86Pi logo csm230-86
Pi logo csm230-86
 
Pi logo csm230-86 (1)
Pi logo csm230-86 (1)Pi logo csm230-86 (1)
Pi logo csm230-86 (1)
 
Manual logo 0 ba4 port ma_ind1
Manual logo 0 ba4 port ma_ind1Manual logo 0 ba4 port ma_ind1
Manual logo 0 ba4 port ma_ind1
 
Manual pt pt.pdf1
Manual pt pt.pdf1Manual pt pt.pdf1
Manual pt pt.pdf1
 
Pi logo csm12-24-86 (1)
Pi logo csm12-24-86 (1)Pi logo csm12-24-86 (1)
Pi logo csm12-24-86 (1)
 
Logo p 09_99
Logo p 09_99Logo p 09_99
Logo p 09_99
 
Manual logo! 0_ba7_en
Manual logo! 0_ba7_enManual logo! 0_ba7_en
Manual logo! 0_ba7_en
 
Guia de primeiros passos do logo!
Guia de primeiros passos do logo!Guia de primeiros passos do logo!
Guia de primeiros passos do logo!
 
Manual logo ago_13
Manual logo ago_13 Manual logo ago_13
Manual logo ago_13
 
Manual logo 0 ba5 port ma_ind1
Manual logo 0 ba5 port ma_ind1Manual logo 0 ba5 port ma_ind1
Manual logo 0 ba5 port ma_ind1
 
Manual logo hot
Manual logo hotManual logo hot
Manual logo hot
 
Logo!
Logo!Logo!
Logo!
 
Logo e 97
Logo e 97Logo e 97
Logo e 97
 
Gesamtdoku eib a2e
Gesamtdoku eib a2eGesamtdoku eib a2e
Gesamtdoku eib a2e
 
Logo e 96
Logo e 96Logo e 96
Logo e 96
 
Logo e 09_99
Logo e 09_99Logo e 09_99
Logo e 09_99
 

Recently uploaded

Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
Celine George
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 

Recently uploaded (20)

Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17How Barcodes Can Be Leveraged Within Odoo 17
How Barcodes Can Be Leveraged Within Odoo 17
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 

06 comunicação mestre mestre

  • 1. Page 1 of 8 LOGO! 0BA7 in master/master operation LOGO! ..0BA7 in master/master operation Preparing basic devices This example uses two LOGO! basic devices which are both configured as master. One master functions as server, the other as client. Set the "Normal" operating mode in both devices and assign the IP addresses. In the example, the IP address 172.16.202.14 and the subnet mask 255.255.255.0 is used for the server device and the IP address 172.16.202.2 and the subnet mask 255.255.255.0 is used for the client device. To set the IP address and the subnet mask on other devices, select the item "Network; IP address" in the menu. Note: The Ethernet adapter of the PC must be set so that it can communicate with the controllers. This means the IP addresses and the subnet masks must be assigned so that all devices are located in the same network. The IP address 172.16.202.20 and the subnet mask 255.255.255.0 is used for the PC in the example. You set these addresses in the TCP/IP properties of the network connection. Creating a program for the server device Start by opening a new program. Select "Tools; Ethernet connections..." to create a connection. First you assign the IP address and the subnet mask of the server. Then you create the new connection with a right-click on "Ethernet Connections" and "Add connection". You then configure the properties of the connection.
  • 2. Page 2 of 8 LOGO! 0BA7 in master/master operation Then you create the program. In this example the value of analog input AI1 and the frequency at I3 is written to the client. An input frequency is read by the client at the same time. Configure the properties of the analog network input. The value is read in from the variables. The VW address is 5; it is defined in the client connection.
  • 3. Page 3 of 8 LOGO! 0BA7 in master/master operation Now edit the VM assignment. Select "Tools; Parameter VM Mapping". Enter the parameters in the table you want to transmit to the client along with the address in which these are made available.
  • 4. Page 4 of 8 LOGO! 0BA7 in master/master operation Creating a program for the client device Open a new program. Select "Tools; Ethernet connections..." to create a connection. First you assign the IP address and the subnet mask of the client. Then you create the new connection with a right-click on "Ethernet Connections" and "Add connection". You then configure the properties of the connection.
  • 5. Page 5 of 8 LOGO! 0BA7 in master/master operation In the table for data transfer you specify how many data (length) are to be sent or recieved from the server, which local and remote addresses they have or should have. In the example 4 bytes (2 words; VW 0 and VW 2) are read by the server and 2 bytes (1 word; VW 5) is written to the server. Create the following program by receiving the analog value and the input frequency from the server and by sending an input frequency to the server. Parameterize the analog network inputs to receive the values. Enter the local addresses which you have assigned in the table for data transfer. Now create the parameter VM assignment. You specified in the table for data transfer that the input frequency is written to VW 5 of the server.
  • 6. Page 6 of 8 LOGO! 0BA7 in master/master operation Data transmission During the reading process, data are read from the remote server and saved in the local basic module. During the writing process, data from the local basic module are written to the remote server. You can save data at any location in the local basic module and save them on the remote server by entering values in the Address (Local) and Address (Remote) columns. The following tables include a description of the restrictions for the area and the local address in case of client connections. Reading requirements: Local address Remote address Address type Range Address type Range VB 0 to 850 VB DB.DBB MB IB QB 0 to 0xFFFF DB[0 to 0xFFFF].DBB[0xFFFFFF] 0 to 0xFFFF 0 to 0xFFFF 0 to 0xFFFF Note: Address type: • VB: Variable byte • DB.DBB: Data block byte • MB: Flag byte • IB: Input byte • QB: Output byte Locale address + data length – 1 ≤ 850 Write requirements: Local address Remote address Address type Range Address type Range VB MB IB QB 0 to 850 0 to 3 0 to 2 0 to 1 VB DB.DBB MB IB QB 0 to 0xFFFF DB[0 to 0xFFFF].DBB[0xFFFFFF] 0 to 0xFFFF 0 to 0xFFFF 0 to 0xFFFF Note: Local address + data length – 1 Max. value of local address type In the LOGO! basic module, MB, IB and QB are read-only.
  • 7. Page 7 of 8 LOGO! 0BA7 in master/master operation Example for reading/writing of digital inputs, outputs and bit memories Line 1: The inputs I1 to I8 of the server are read by the client and saved in variable byte 0. Line 2: The outputs Q1 to Q8 of the server are read by the client and saved in variable byte 1. Line 3: The flags M1 to M8 of the server are read by the client and saved in variable byte 2. Line 4: The inputs I1 to I8 of the client are written to the variable byte 0 of the server. Line 5: The inputs I1 to I8 of the client are written to the variable byte 0 of the server. Line 6: The flags M1 to M8 of the client are written to the variable byte 2 of the server.
  • 8. Page 8 of 8 LOGO! 0BA7 in master/master operation To use the data in the control program, use the network inputs. The following table shows how the read-in data are available in a variable byte: Input, output, bit memory Variable I/Q/M 1 V X.0 I/Q/M 2 V X.1 I/Q/M 3 V X.2 I/Q/M 4 V X.3 I/Q/M 5 V X.4 I/Q/M 6 V X.5 I/Q/M 7 V X.6 I/Q/M 8 V X.7 I/Q/M 9 V Y.0 I/Q/M 10 V Y.1 I/Q/M 11 V Y.2 I/Q/M 12 V Y.3 I/Q/M 13 V Y.4 I/Q/M 14 V Y.5 I/Q/M 15 V Y.6 I/Q/M 16 V Y.7 I/M 17 V Z.0 I/M 18 V Z.1 I/M 19 V Z.2 I/M 20 V Z.3 I/M 21 V Z.4 I/M 22 V Z.5 I/M 23 V Z.6 I/M 24 V Z.7 … … IB/QB/MB 0 IB/QB/MB 1 IB/MB 2 VB Z VB Y VB X