Lecture: Communication in PLC

Similar documents
ก ก Information Technology II

Organizations have developed standard sets of protocols

Industrial Fieldbus Technologies: Understanding the basics and simplifying your decision

LATEST/ADVANCED COMMUNICATION PROTOCOLS USED IN SCADA SYSTEMS

Module 1. Computer Communications and Networking

M242 COMPUTER NETWORS AND SECURITY

Chapter 2 Network Models 2.1

IE102: SCADA Programming, Maintenance & Troubleshooting

Embedded Systems. 8. Communication

Introduction to LAN Protocols

Introduction to LAN Protocols

Chapter 1: Introduction

Serial Communication

Network Models. Presentation by Dr.S.Radha HOD / ECE SSN College of Engineering

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

Profibus and Modbus: a comparison

Anybus-CC CFW-11. User s Manual. Phone: Fax: Web: -

Outline: Connecting Many Computers

Introduction to Fieldbus Technology

CARRIER SENSE MULTIPLE ACCESS (CSMA):

AnyBus -X Modbus Plus Slave

Summary of MAC protocols

1: Review Of Semester Provide an overview of encapsulation.

LANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs, connecting devices are needed.

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

Chapter Topics Part 1. Network Definitions. Behind the Scenes: Networking and Security

Data Communications. Course Design Data Communications. Pre/Post Test (80 Questions/80 Points) Upon Request None No No No

Introduction. The fundamental purpose of data communications is to exchange information between user's computers, terminals and applications programs.

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

Network Topology. By Dr. Piya Techateerawat. Bus Topology Ring Topology Star Topology Fully Connected Topology. Combined Topology

Industrial Ethernet Comparison for Motion Control Applications

Links. Error Detection. Link Layer. Multiple access protocols. Nodes Links Frame. Shared channel Problem: collisions How nodes share a channel

MODBUS Protocol for MiCOM P30 Series

CS-461 Internetworking. Dr. Mohamed Aboutabl

Sri Vidya College of Engineering and Technology. EC6703 Embedded and Real Time Systems Unit IV Page 1.

Data Transmission and Home Networks. Gralla: part 2

Content. Deterministic Access Polling(1) Master-Slave principles: Introduction Layer 2: Media Access Control

Medium Access Protocols

Computer Networks รศ.ดร.อน นต ผลเพ ม. Assoc. Prof. Anan Phonphoem, Ph.D. Kasetsart University, Bangkok, Thailand

Cutler-Hammer ELC Serial Driver Help Kepware Technologies

CS1302 / Computer Networks

CO General Specifications GS48D62Z00-00E-N GENERAL. ProSafe-COM extended communication system

PRODUCT INFORMATION. DeviceNet Triple Play Digital Communications Board. SA Actuator with AUMA Matic Motor Controls

Universal Serial/PROFIBUS DP Gateway GT200-DP-RS User Manual V6.1 SST Automation

CHAPTER -1. Introduction to Computer Networks

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

GE Fanuc IC695ETM001. Rx3i PacSystem

PRODUCT INFORMATION. AUMA Actuators, Inc. Pittsburgh PA USA. Triple Play Digital Communications Board DeviceNet / Modbus CDN455

SERIAL BUS COMMUNICATION PROTOCOLS USB

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Migration from Classical Fieldbus Technologies

Modbus Hans-Petter Halvorsen

Raj Jain. The Ohio State University Columbus, OH

PLC COMMUNICATIONS IN A PROCESS CONTROL SYSTEM

Link Layer and Ethernet

Data Link Layer -2- Network Access

Industrial Data Communications - Fundamentals

EKI-6332 & EKI-136x- MB_setup example SOP. Revision Date Revision Description Author April/2018 V1.0 Initial release ICG AE Jacky.

# DEFINITIONS TERMS. 5) A set of devices interconnected by media links. Network

MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1a CONTENTS

Link Layer and Ethernet

Integrating Information Systems: Technology, Strategy, and Organizational Factors

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

PROFIBUS. Sharani Sankaran

Training Venue and Dates September, 2019 $4,000 Dubai, UAE PLC & SCADA Systems Trainings will be conducted in any of the 5 star hotels.

IFC 100 Supplementary instructions

Chapter 6: Network Communications and Protocols

Contents. Introduction to Networking. Preface...i. Introduction... xix

Npefm!681F! !!!681F!Gjcfspqujd!Usbotdfjwfs! Gjcfspqujd!Ofuxpsl!Tpmvujpo!! Model 570E Features. The Fiberoptic Communications Specialists

ABB Modbus RTU Driver for JMobile

COMPONENTS OF DATA COMMUNICATION

Data Link Layer -2- Network Access

Chapter 2 Network Models 2.1

Chapter 2 Network Models 2.1

Modbus Unsolicited Serial Driver PTC Inc. All Rights Reserved.

Module 16: Distributed System Structures

Lecture #11 Power system communication

Netwoking Essentials

Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

This PDF document is a sample chapter from the book...

Research and Realization of HART Protocol Based on Wireless Short Range Network Technology Kaiyuan Meng 1, a, Qingnian Cao 2, b

Module 15: Network Structures

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Lecture 2. Basics of networking in automotive systems: Network. topologies, communication principles and standardised protocols


Local Area Networks. Ethernet LAN

Bristol BSAP. Bristol Standard Asynchronous/Synchronous Protocol. Product Data Document 454ds-6a August 31, Page 1. Features.

MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1b3 CONTENTS

ABB Drives. User s Manual. Modbus Adapter Module RMBA-01

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Chapter 11: Input/Output Organisation. Lesson 17: Standard I/O buses USB (Universal Serial Bus) and IEEE1394 FireWire Buses

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

TIME SYNCHRONIZATION OVER AN AIRCRAFT NETWORK USING PRECISION TIME PROTOCOL

3. Data Link Layer 3-2

Communication Networks

NETWORK SECURITY ITEC 435

Chapter 8 LAN Topologies

Integrated Services Digital Network

Transcription:

PROGRAMMABLE CONTROLLERS Jerzy Kasprzyk Lecture: Communication in PLC 1. Introduction CPU PADT (Programming And Debugging Tool), RS232 (RS 485) protocols (SNP, Modbus, etc.), Ethernet; LAN (Local Area Network) - communication modules; Field Network (Fieldbus) - communication modules (distributed control systems); GSM (Global System for Mobile Communication) GSM modules or other devices (GSM modems) connected with CPU using standard RS, data exchange via SMS (Short Message Service).

2. Local Area Networks Network topology: Star Ring Bus In industrial LANs or in field buses digital data are transmitted mainly via: twisted cables, concentric cables, light pipes. Basic access methods to a link: physical allocation, e.g. in Master-Slave communication; controlled access, e.g. based on the token-passing; random access, e.g. CSMA/CD in Ethernet.

3. Communication Protocols Data transfer involves some rules that should be settled for: electrical, mechanical and functional characteristics of a link; ways to control data transfer from a transmitter to receiver. Standardization organizations: ISO (International Standards Organisation), EIA (Electronic Industries Association), CCITT (Consultive Committee on International Telephone and Telegraph) and others have proposed different multilayer communication protocols: in each layer different functions and protocol characteristics are defined; each layer is independent from each other, but for proper functioning of the layer, the lower layers have to work correctly. Different protocols are based mostly on the OSI (Open System Interconnection) standard proposed by ISO, which represents the 7 layers hierarchy: application layer access to communication services from the application, identification and safety of data; presentation layer syntactics for coding, formatting and transforming the data; session layer settling and interrupting of connections, synchronization, data flow control and buffering; transport layer specification of links between terminals, point-to-point maintenance; network layer transparent data exchange between nodes, services for addresses, paths etc.; data link layer access to the medium, error detection and servicing; physical layer transfer of bit sequences via medium, definitions of electrical and mechanical interface. MAP (Manufacturing Automation Protocol) based on OSI and designed in General Motors plays a particular role in the history of distributed control systems.

4. Industrial Networks Basic requirements: work in the real-time (time to transmit data from one node to another is determined); immunity to disturbances typical in industrial environment. Master-Slave protocols (e.g. MODBUS) Two types of data transmission: Query-Response; Broadcast. Uniform data frame format and standard set of functions. Token-passing protocols (e.g. GENIUS) This protocol is dedicated for communication between many nodes (peer-to-peer) and guarantees reliability at high speed. The main features: distributed architecture (there is no central node); it can be easy extended; frame dimension is limited; time is guaranteed, network can work even if one of the nodes is broken down. Two types of frames: service frames (token); data frames. Token is transferred between nodes and only the owner of the token can send the frame, that is available for all others nodes. Data are transmitted with a constant sweep depending on transfer speed, the number of nodes and the number of transferred bytes.

To transfer the token correctly, one should set in each station: number in the network (unique), number of the last station. It can be declared in a software or hardware way. Examples of Token-passing networks: Genius of GE Fanuc, Sycoway N10 of CEGELEC. The PROFIBUS protocol uses the Token-passing method for the access to a link between Master stations, and Master-Slave method for communication between the Master and simple slave devices. In the Modbus Plus network, the Modbus protocol is used to transfer data between two stations, however Token-passing is used to control the access to the network. In the Industrial Ethernet: Modbus over TCP/IP.

5. Modbus Protocol Query response cycle: Frame in the ASCII mode each byte is coded as two ASCII characters (0..9, A..F): Each character contains 10 bits: Advantage: consecutive characters can be sent with arbitrary time intervals between them.

In RTU (Remote Terminal Unit) transmission starts after silence that last time needed to transmit at least 3.5 characters. Frame in RTU mode: Information unit contains 11 bits: Advantage: greater capacity flow in the network. Typical function codes: 01 Read Coil Status; 02 Read Input Status; 03 Read Holding Registers; 04 Read Input Registers; 05 Force Single Coil; 06 Preset Single Register; 13 Program Controller; 14 Poll Controller; 15 Force Multiple Coils; 16 Preset Multiple Registers; etc.

Data addressing: coil 0001 in data is presented as 16#0000 address, coil 0127 as 16#007E (126 decimal); register 40001 is presented as 16#0000 address, while 40108 as 16#006B (107 decimal) An example of the query in the ASCII/RTU modes: An example of the answer in the ASCII/RTU modes: FFB in Concept: XXMIT or RTXMIT from the COMM library

6. Modbus Plus Network Basic elements: Token-passing in the network: In Concept the group MBP from the COMM library: CREADREG (Continuous Register Reading) CWRITREG (Continuous Register Writing) MBP_MSTR (Modbus Plus Master) READREG (Read Register) WRITEREG (Write Register)