SlideShare a Scribd company logo
1 of 29
KOMUNIKACIJE
U AUTOMATIZIRANOM
POSTROJENJU
Mr.sc.Davor Gadže
nastupno predavanje, 15.12.2005.
POVEZIVANJE DVA UREĐAJA
 Komunikacija između
dva uređaja
Analognim signalima
Digitalnim signalima
npr.UPRAVLJAČKO
SIGNALIZACIJSKI
PANEL
UREĐAJ A UREĐAJ B
INFORMACIJA
INFORMACIJA
npr.
ELEKTROMOTORNI
POGON
POVEZIVANJE DVA RAČUNALA
APLIKACIJSKI
PROCES
RAČUNALO A
KOMUNIKACIJSKI
PODSUSTAV
KOMUNIKACIJA
KORISNIK-KORISNIK
KOMUNIKACIJA
RAČUNALO-RAČUNALO
MREŽA ZA PRIJENOS PODATAKA
APLIKACIJSKI
PROCES
RAČUNALO B
KOMUNIKACIJSKI
PODSUSTAV
KOMUNIKACIJA
RAČUNALO-
MREŽA
KOMUNIKACIJA
RAČUNALO-
MREŽA
ISO/OSI referentni model
Što je to OSI ?
 • ISO - International Organization for
Standardization
 • Open Systems Interconnection (OSI) model
 • 1974.
 • 7 slojeva
 • omogućava sklapanje komunikacijskog lanca
od modula različitih proizvođača
ISO OSI Seven Layer Model: Simple Repeated Bits
7 Application- < -------End--------to--------End------- > Application-
6 Presentation < -------End--------to--------End------- > Presentation
5 --Session--- < -------End--------to--------End------- > --Session---
4 -Transport-- < -------End--------to--------End------- > -Transport--
3 --Network--- < -------End--------to--------End------- > --Network---
2 -Data Link-- < -------End--------to--------End------- > -Data Link--
1 --Physical-- < ## > --Physical-- < ## > --Physical-- < ## > --Physical--
L Stack Num 1 Link Stack Num 2 Link Stack Num 3 Link Stack Num 4
ISO OSI Seven Layer Model: Data Link Layer Switching
7 Application- < -------End--------to--------End------- > Application-
6 Presentation < -------End--------to--------End------- > Presentation
5 --Session--- < -------End--------to--------End------- > --Session---
4 -Transport-- < -------End--------to--------End------- > -Transport--
3 --Network--- < -------End--------to--------End------- > --Network---
2 -Data Link-- < ## > -Data Link-- < ## > -Data Link-- < ## > -Data Link--
1 --Physical-- < == >
-
PHY-
-
-
-
PHY-
< == >
-
PHY-
-
-
-
PHY-
< == > --Physical--
L Stack Num 1 Link Stack Num 2 Link Stack Num 3 Link Stack Num 4
ISO OSI Seven Layer Model: Routed/Filtered Transmissions
7 Application- < -------End--------to--------End------- > Application-
6 Presentation < -------End--------to--------End------- > Presentation
5 --Session--- < -------End--------to--------End------- > --Session---
4 -Transport-- < -------End--------to--------End------- > -Transport--
3 --Network--- < ## > --Network--- < ## > --Network--- < ## > --Network---
2 -Data Link-- < -- > -DLL-
-
-
-DLL- < -- > -DLL-
-
-
-DLL- < -- > -Data Link--
1 --Physical-- < == >
-
PHY-
-
-
-
PHY-
< == >
-
PHY-
-
-
-
PHY-
< == > --Physical--
L Stack Num 1 Link Stack Num 2 Link Stack Num 3 Link Stack Num 4
BAKRENI MEDIJI
OPTIČKI MEDIJI
 Monomode
 Multimode stepped index
 Multimode graded index
FIZIČKI SLOJ
 RS-232 – prednosti: jeftin, rasprostranjen
 RS485/422 – prednosti: pouzdan, rasprostranjen,
strujni prijenos signala
 ETHERNET – prednosti: jeftin, rasprostranjen
0 1 0 0 1 1 0 0
Transmisijski
signal (+V)
Transmisijski
signal (+V)
Prijemni
signal
Uzorak
0 1 0 0 0 1 0 0
Primljeni
podatak
t
RS-232
RS-422
RS-485
Sloj TCP/IP MODBUS
TCP
MODBUS
RS232/RS4422/RS485
PROFIBUS
Aplikacijski FTP
HTTP
Modbus Modbus Profibus
Prezentacijski
Sekvencijski
Transportni TCP TCP
Mrežni IP IP
Link 802.3/802.2 802.3/802.2
Fizički 10/100/1000
BaseT
10/100/1000
BaseT
RS232/RS4422
/RS485
RS485
• Definicija fizičkog sloja: RS232, RS422, RS485
• 9600 bps, 8 data bits, 1 stop bit, bez pariteta
• Prijenosni mod RTU
• Funkcija 3 (Read Multiply Registers)
• Funkcija 6 (Write Single Register)
• Funkcija 16 (Write Multiply Registers)
PRIMJER MODBUS PROTOKOLA
Check field calculation
The check field allows the receiver to check the
validity of the message. The check field value is
the
Cyclical Redundancy Check (CRC) based on the
polynomial x16+x15+x2+1. CRC is counted
from all
message bytes preceding the check field.
a) Upit - Request:
0103201500019E0E (in HEX)
01 = Adresa kontrolera
03 = Modbus function number (reading)
2015 = 2015 HEX = 8213 DEC = podatak o
naponu Baterije
0001 = Podatak o dužini registara
9E0E = CRC (Check field calculation)
b) Odgovor - Answer
01 03 02 00F9 7806 (in HEX)
01 = Adresa kontrolera
03 = Kao i u upitu
02 = dužina podataka u bajtovima
00F9 = podatak =249 u decimalnom prikazu, ali
je 8213 objekt definiran s jednim decimalnim
mjestom.
Zadnji dio je 7806 (CRC).
TVZ_Komunikacije_nastupno_predavanje.ppt
TVZ_Komunikacije_nastupno_predavanje.ppt
TVZ_Komunikacije_nastupno_predavanje.ppt
TVZ_Komunikacije_nastupno_predavanje.ppt
TVZ_Komunikacije_nastupno_predavanje.ppt

More Related Content

Similar to TVZ_Komunikacije_nastupno_predavanje.ppt

Litmus_Loop Edge_Handout
Litmus_Loop Edge_HandoutLitmus_Loop Edge_Handout
Litmus_Loop Edge_Handout
David Sidhu
 
WSN-4000 NPI_20110324
WSN-4000 NPI_20110324WSN-4000 NPI_20110324
WSN-4000 NPI_20110324
Eric Lo
 
Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless
Living Online
 

Similar to TVZ_Komunikacije_nastupno_predavanje.ppt (20)

11. PI_Ford_Dunton_IOLINK_Safety.pdf
11. PI_Ford_Dunton_IOLINK_Safety.pdf11. PI_Ford_Dunton_IOLINK_Safety.pdf
11. PI_Ford_Dunton_IOLINK_Safety.pdf
 
H.D.L Design for Ultra High Multi Frequency Rate P.R.B.S Generator for Identi...
H.D.L Design for Ultra High Multi Frequency Rate P.R.B.S Generator for Identi...H.D.L Design for Ultra High Multi Frequency Rate P.R.B.S Generator for Identi...
H.D.L Design for Ultra High Multi Frequency Rate P.R.B.S Generator for Identi...
 
Wan
WanWan
Wan
 
Bus de datos y Software de DDC
Bus de datos y Software de DDCBus de datos y Software de DDC
Bus de datos y Software de DDC
 
Catálogo DDC con bus de datos y software para aeronáutica
Catálogo DDC con bus de datos y software para aeronáuticaCatálogo DDC con bus de datos y software para aeronáutica
Catálogo DDC con bus de datos y software para aeronáutica
 
Litmus_Loop Edge_Handout
Litmus_Loop Edge_HandoutLitmus_Loop Edge_Handout
Litmus_Loop Edge_Handout
 
WSN-4000 NPI_20110324
WSN-4000 NPI_20110324WSN-4000 NPI_20110324
WSN-4000 NPI_20110324
 
Introduction to PROFINET - Derek Lane of Wago
Introduction to PROFINET -  Derek Lane of WagoIntroduction to PROFINET -  Derek Lane of Wago
Introduction to PROFINET - Derek Lane of Wago
 
Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless
 
Intro to IO-Link
Intro to IO-LinkIntro to IO-Link
Intro to IO-Link
 
Bioaccess V2
Bioaccess V2Bioaccess V2
Bioaccess V2
 
cisco-air-cap3602i-r-k9-datasheet.pdf
cisco-air-cap3602i-r-k9-datasheet.pdfcisco-air-cap3602i-r-k9-datasheet.pdf
cisco-air-cap3602i-r-k9-datasheet.pdf
 
Training Report BHARAT ELECTRONICS LIMITED
Training Report BHARAT ELECTRONICS LIMITEDTraining Report BHARAT ELECTRONICS LIMITED
Training Report BHARAT ELECTRONICS LIMITED
 
cisco-air-cap3602i-e-k9-datasheet.pdf
cisco-air-cap3602i-e-k9-datasheet.pdfcisco-air-cap3602i-e-k9-datasheet.pdf
cisco-air-cap3602i-e-k9-datasheet.pdf
 
Cy-Net3 Network Module
Cy-Net3 Network ModuleCy-Net3 Network Module
Cy-Net3 Network Module
 
LINKSTAR TECHNOLOGIES LIMITED - COMPANY PROFILE AND CAPABILITY
LINKSTAR TECHNOLOGIES LIMITED - COMPANY PROFILE AND CAPABILITYLINKSTAR TECHNOLOGIES LIMITED - COMPANY PROFILE AND CAPABILITY
LINKSTAR TECHNOLOGIES LIMITED - COMPANY PROFILE AND CAPABILITY
 
Ai 500-050 Field Monitoring Device
Ai 500-050 Field Monitoring DeviceAi 500-050 Field Monitoring Device
Ai 500-050 Field Monitoring Device
 
Ds xbeeadapters
Ds xbeeadaptersDs xbeeadapters
Ds xbeeadapters
 
cisco-air-cap3602i-n-k9-datasheet.pdf
cisco-air-cap3602i-n-k9-datasheet.pdfcisco-air-cap3602i-n-k9-datasheet.pdf
cisco-air-cap3602i-n-k9-datasheet.pdf
 
cisco-air-cap3602i-s-k9-datasheet.pdf
cisco-air-cap3602i-s-k9-datasheet.pdfcisco-air-cap3602i-s-k9-datasheet.pdf
cisco-air-cap3602i-s-k9-datasheet.pdf
 

Recently uploaded

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 

Recently uploaded (20)

Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 

TVZ_Komunikacije_nastupno_predavanje.ppt

  • 2. POVEZIVANJE DVA UREĐAJA  Komunikacija između dva uređaja Analognim signalima Digitalnim signalima npr.UPRAVLJAČKO SIGNALIZACIJSKI PANEL UREĐAJ A UREĐAJ B INFORMACIJA INFORMACIJA npr. ELEKTROMOTORNI POGON
  • 3. POVEZIVANJE DVA RAČUNALA APLIKACIJSKI PROCES RAČUNALO A KOMUNIKACIJSKI PODSUSTAV KOMUNIKACIJA KORISNIK-KORISNIK KOMUNIKACIJA RAČUNALO-RAČUNALO MREŽA ZA PRIJENOS PODATAKA APLIKACIJSKI PROCES RAČUNALO B KOMUNIKACIJSKI PODSUSTAV KOMUNIKACIJA RAČUNALO- MREŽA KOMUNIKACIJA RAČUNALO- MREŽA
  • 4. ISO/OSI referentni model Što je to OSI ?  • ISO - International Organization for Standardization  • Open Systems Interconnection (OSI) model  • 1974.  • 7 slojeva  • omogućava sklapanje komunikacijskog lanca od modula različitih proizvođača
  • 5.
  • 6.
  • 7. ISO OSI Seven Layer Model: Simple Repeated Bits 7 Application- < -------End--------to--------End------- > Application- 6 Presentation < -------End--------to--------End------- > Presentation 5 --Session--- < -------End--------to--------End------- > --Session--- 4 -Transport-- < -------End--------to--------End------- > -Transport-- 3 --Network--- < -------End--------to--------End------- > --Network--- 2 -Data Link-- < -------End--------to--------End------- > -Data Link-- 1 --Physical-- < ## > --Physical-- < ## > --Physical-- < ## > --Physical-- L Stack Num 1 Link Stack Num 2 Link Stack Num 3 Link Stack Num 4
  • 8. ISO OSI Seven Layer Model: Data Link Layer Switching 7 Application- < -------End--------to--------End------- > Application- 6 Presentation < -------End--------to--------End------- > Presentation 5 --Session--- < -------End--------to--------End------- > --Session--- 4 -Transport-- < -------End--------to--------End------- > -Transport-- 3 --Network--- < -------End--------to--------End------- > --Network--- 2 -Data Link-- < ## > -Data Link-- < ## > -Data Link-- < ## > -Data Link-- 1 --Physical-- < == > - PHY- - - - PHY- < == > - PHY- - - - PHY- < == > --Physical-- L Stack Num 1 Link Stack Num 2 Link Stack Num 3 Link Stack Num 4
  • 9. ISO OSI Seven Layer Model: Routed/Filtered Transmissions 7 Application- < -------End--------to--------End------- > Application- 6 Presentation < -------End--------to--------End------- > Presentation 5 --Session--- < -------End--------to--------End------- > --Session--- 4 -Transport-- < -------End--------to--------End------- > -Transport-- 3 --Network--- < ## > --Network--- < ## > --Network--- < ## > --Network--- 2 -Data Link-- < -- > -DLL- - - -DLL- < -- > -DLL- - - -DLL- < -- > -Data Link-- 1 --Physical-- < == > - PHY- - - - PHY- < == > - PHY- - - - PHY- < == > --Physical-- L Stack Num 1 Link Stack Num 2 Link Stack Num 3 Link Stack Num 4
  • 11. OPTIČKI MEDIJI  Monomode  Multimode stepped index  Multimode graded index
  • 12. FIZIČKI SLOJ  RS-232 – prednosti: jeftin, rasprostranjen  RS485/422 – prednosti: pouzdan, rasprostranjen, strujni prijenos signala  ETHERNET – prednosti: jeftin, rasprostranjen
  • 13. 0 1 0 0 1 1 0 0 Transmisijski signal (+V) Transmisijski signal (+V) Prijemni signal Uzorak 0 1 0 0 0 1 0 0 Primljeni podatak t
  • 17. Sloj TCP/IP MODBUS TCP MODBUS RS232/RS4422/RS485 PROFIBUS Aplikacijski FTP HTTP Modbus Modbus Profibus Prezentacijski Sekvencijski Transportni TCP TCP Mrežni IP IP Link 802.3/802.2 802.3/802.2 Fizički 10/100/1000 BaseT 10/100/1000 BaseT RS232/RS4422 /RS485 RS485
  • 18.
  • 19.
  • 20. • Definicija fizičkog sloja: RS232, RS422, RS485 • 9600 bps, 8 data bits, 1 stop bit, bez pariteta • Prijenosni mod RTU • Funkcija 3 (Read Multiply Registers) • Funkcija 6 (Write Single Register) • Funkcija 16 (Write Multiply Registers) PRIMJER MODBUS PROTOKOLA
  • 21.
  • 22.
  • 23. Check field calculation The check field allows the receiver to check the validity of the message. The check field value is the Cyclical Redundancy Check (CRC) based on the polynomial x16+x15+x2+1. CRC is counted from all message bytes preceding the check field.
  • 24. a) Upit - Request: 0103201500019E0E (in HEX) 01 = Adresa kontrolera 03 = Modbus function number (reading) 2015 = 2015 HEX = 8213 DEC = podatak o naponu Baterije 0001 = Podatak o dužini registara 9E0E = CRC (Check field calculation) b) Odgovor - Answer 01 03 02 00F9 7806 (in HEX) 01 = Adresa kontrolera 03 = Kao i u upitu 02 = dužina podataka u bajtovima 00F9 = podatak =249 u decimalnom prikazu, ali je 8213 objekt definiran s jednim decimalnim mjestom. Zadnji dio je 7806 (CRC).