Soft PLC Research And Development System Based On PC ZHOU Wenjun 1, a



Similar documents
Disturbance Recoder SPCR 8C27. Product Guide

IEC The Fast Guide to Open Control Software

Software INTERACT. MachineLogic. The Shortest Distance Between Man and Machine

Siemens and National Instruments Deliver Integrated Automation and Measurement Solutions

Straton and Zenon for Advantech ADAM Copalp integrates the straton runtime into the ADAM-5550 device from Advantech

Web Datalogger. Unit RS232C. General-purpose modem RS485. IP address search screen

Introduction to the Actuator Sensor-Interface

AXIS 262+ Network Video Recorder

CPU PN/DP: Configuring an ET. 200S as PROFINET IO device SIMATIC. PROFINET CPU PN/DP: Configuring an ET 200S as PROFINET IO device

Optimize your simple machines... Modicon M218 Selection Guide

FREQUENTLY ASKED QUESTIONS (FAQs) 123Scan 2 Scanner Configuration Utility

Design and Development of SMS Based Wireless Home Appliance Control and Security System

applicomio Profibus-DP

S7 for Windows S7-300/400

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

The Design of DSP controller based DC Servo Motor Control System

FREQUENTLY ASKED QUESTIONS (FAQs) 123Scan 2 Scanner Configuration Utility 19 April 2011

Current and Ultrasonic Testing System

E-Blocks Easy Internet Bundle

Page 1 / 14 Groupe MOBILITECHMIOSBOX Technical Specification MWP-DT1010. Technical specifications

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODUL E04

CPU systron S S S 250c. systron S S S 250c. CPUs to the process modules. Stand-alone PLC

Fingerprint Based Biometric Attendance System

Designing VM2 Application Boards

Manual Serial PCI Cards

Industrial Multi-port Serial Cards

PC control for flexible packaging

Sample Project List. Software Reverse Engineering

DME4 V1.23 ( ) V1.30 ( ) V1.31 ( ) V1.32 ( ) V1.33 ( ) V1.34 ( ) V1.35 ( ) V2.00 ( ) V2.

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

Lecture 4 Profibus. Urban Bilstrup Urban.Bilstrup@ide.hh.se

WinCON8000-R2/R8. Hardware User s Manual

Latest Power Plant Control System

M2M/IoT Solutions.

Design and Implementation of IaaS platform based on tool migration Wei Ding

Configuring the Siemens TC35 modems for use with the MI2292

Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

REQUIREMENTS FOR AUTOMATED FAULT AND DISTURBANCE DATA ANALYSIS

Trace Port Analysis for ARM7-ETM and ARM9-ETM Microprocessors

Design of Strong-motion Monitoring System for Dam-reservoir D s e i s gn of Stro r ng-mo m tion Monito t ri r ng Syst s em

Design of UPS Battery Remote Monitoring System

The Answer to the 14 Most Frequently Asked Modbus Questions

Omron I/O Driver (Series 2) Programmable Serial Interface Card

The Advanced JTAG Bridge. Nathan Yawn 05/12/09

Definitions and Documents

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual Rev.1

Real-time processing the basis for PC Control

Substation Automation Systems. Nicholas Honeth

Configuring PROFINET

SIMATIC S It s the Interplay that makes the difference. Siemens AG All Rights Reserved.

EDI Distributor Control Interface Wiring and Setup Instructions

Linear Motion and Assembly Technologies Pneumatics Service. Industrial Ethernet: The key advantages of SERCOS III

Automation Unit TM 1703 ACP Flexible automation and telecontrol

Skyworth LCD Video Wall Controller User Manual Please read the user guide book carefully before using this product

Modbus and ION Technology

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

RcWare SoftPLC Modbus server mapping editor User manual

Study on the Auto Air Conditioning Controller Testing System Based on Lab Windows/CVI

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

WinCon Programmable Automation. Controller

DIGITAL CONTROL SYSTEM PRODUCT SOLUTIONS

UNLOCK YOUR IEC TESTING EXCELLENCE

Design of Elevator Monitoring and Alarm System Based on WiMAX Hong Jiang 1,a, Yongfang Shi,2,b, Lei Qi 1,c

Factory Automation SIMATIC LOGO!..0BA6. Colin Limbert. Factory Automation Department. Product Manager LOGO! and S7-200

Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE A5. PLC-Simulation with S7-PLCSIM

SBC6245 Single Board Computer

Mobile Operating Systems Lesson 05 Windows CE Part 1

Processor. User Guide

The Key Technology Research of Virtual Laboratory based On Cloud Computing Ling Zhang

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

The integrated HMI-PLC

PLC Support Software at Jefferson Lab

Modbus and ION Technology

Copyright Copyright 2014 SerVision Ltd. All Rights Reserved.

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Design and Verification of Nine port Network Router

White Paper. Technical Capabilities of the DF1 Half-Duplex Protocol

Programming A PLC. Standard Instructions

BECKHOFF. Application Notes. BC9000: Getting Started Guide. For additional documentation, please visit.

EasyCAP Video Capture with Audio Quick Installation Guide

AXIS 211A Network Camera

FINS Gateway For OMRON PLCs

Router Lab Reference Guide

Enterprise Network Virus Protection Research Yanjie Zhou 1, Li Ma 2 Min Wen3

Using installed Fieldbus Wiring to carry Ethernet Communications

The Secrets of RS-485 Half-duplex Communication

OFF-LINE COMMUNICATIONS WITH CINCINNATI EQUIPMENT Pg. 1 of 5

A Design of Video Acquisition and Transmission Based on ARM. Ziqiang Hao a, Hongzuo Li b

DS1104 R&D Controller Board

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

Parking Guidance System

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

WHQL Certification Approval...2 User Interface K software FIFO 4 Universal PCI Interface...5 Ready for 64-bit System...5

SCADA and Monitoring for Solar Energy Plant

1-Port R422/485 Serial PCIe Card

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

Transcription:

Research And Development System Based On PC ZHOU Wenjun 1, a 1 Nanning College for Vocational Technology, Nanning, 530008, Guangxi, China a ZhouWenjun1031@yeah.net Keywords: Research; PC; Development Abstract. With the development of industrial control technology, the drawbacks of traditional PLC gradually emerged. Although most of the PLC manufacturers have similar programming language, the PLC hardware and software products are not compatible. Also, their configuration, addressing and grammatical structure are inconsistent. Every PLC company uses their own program software which is quite expensive, less compatible and lots are needed to operate under DOS environment. This leads to inconvenience to users and also is not conducive to the PLC program transplant. With the development of control technology, the inconsistency has become increasingly prominent. PLC technology is a newly developed PC-based technology, which is in accordance with IEC61131-3 international programming standards and having good openness and cost-effective. Actually soft and traditional PLC operate base on same theory in terms of their functions, it can be divided into development and operation. Through the development of PLC editing, it can be downloaded into the operating for the control functions. Advantages of technology and its Advantages of A. Open architecture. has a wide range of I / 0 ports and a variety of field bus interface, which supports a variety of hardware. Users can choose the appropriate hardware based on their own requirements for the composition of soft PLC. B. Sufficient instruction and control. The instructions of traditional PLC are fixed; however, the actual industrial control may need to further define their algorithms. supports a variety of control algorithms and also users can embed their own control algorithms. C. Enhanced data processing capabilities. Make full use of the PC resources, for example, greater capacity memory, high-speed CPU and other hardware. D. Strong network communication. not only connects to enterprise management information, facilitating the integration of enterprises, but also monitors industrial facility operation, achieving data transmission and online monitoring, editing, simulation, debugging and other functions. E. Standardized editing language. technology is developed based on the IEC61131-3 standard, thus, it would be easier to master the standard language development. Although soft PLC has various advantages, this technique still has some problems needed to be solved. For instance, the reliability of the equipment that required to work in a worse industrial environment; the real-time control, the preferred operating of soft PLC is Windows NT, however, it is not a hard real-time operating. Traditional PLC is a hard real-time, and so, it can provide fast, deterministic and repeatable reaction. architecture Comparison between soft and traditional PLC: The construction of traditional PLC is shown as the figure 1. 1737

Information Management System The man-machine interface of the upper monitor Field bus Traditional PLC Communication interface CPU The I/O Factory equipment Figure1. The construction of traditional PLC The construction of is shown as the figure 2. Enterprise information management Internet Network communication Instruction parse The I/O Factory equipment Figure2. The construction of The theory of soft PLC In general, the working process of soft PLC is similar to traditional one. First, users use PC soft PLC development to develop a user program, and then compile and simulation, download to the soft PLC operating after verification. The operating will run the, explain and then operate according to the traditional PLC format. Development of PC could monitor every I / O status. In the process of running soft PLC, and it works in the same way as a traditional PLC, which incorporate cyclic scanning mode. development is a common integrated development environment that provides a standard IEC61131-3 programming language, grammar and the corresponding instructions, etc. for users to develop their own application in line with their own requirements. The operating will perform the compiled application; meanwhile completing the service requested corresponding to the target. For the I \ O sub, they will complete the on-site control signal input and output driven and managed in the operation of the. The developmental trend of According to numerous professional organization and PLC manufacturers, they predict that the automation of PC-based will occupy 30% of the control in 2010. In recent years, soft PLC has play an role in industrial area, and the usage is increasing every year. According to ARC surveys and estimation, the global market of soft PLC was 36 million US dollars in 1997 market reached $ 145 million in 2000 and nearly double the in 2001. Nonetheless, due to the instability of the soft PLC, traditional PLC has been occupied for more than 30 years, the product is very mature, which lead to users are skeptical in using the soft PLC. Due to the immaturity of the soft PLC product, in the coming few years, products will need to have the following improvement: 1738

I. Further enhance the openness of the current soft PLC products as its mainly based on Windows, which is not supporting applications of other operating ; without the support of open hardware and software, it cannot guarantee the openness of the product; it does not allow users to change the underline control algorithms, it does not strictly comply with the international standards, etc. II. Further enhancing the reliability and timeliness, and this is the important factor for improving real-time of the operating. Existing real-time operating can only meet the basic need of industrial control. As some higher level real-time operating s emerged, it will definitely and greatly enhance the timeliness and reliability of the soft PLC. Design of the control System design plan In the control scheme, software platform can use either Windows NT, WincE or Linux operating. Field bus cards, field bus and remote I / O s (or general purpose I / O boards and I / O Terminal Board) is responsible for dealing with industrial control field, the gathered input signal will be processed by PLC operating, and control application written by the soft PLC development will also be interpreted and executed by the PLC operating. The connection between the development and the operating is based on network communication channel, the output signals will be processed to a local (or remote control to complete appropriate local control (or long-range remote control and the control scheme is shown in Figure 3. Field bus IPC(or EPC) DI Remote digital input development Field bus card DO AI Remote digital output Remote analog input AO Remote analog output operating General I/O board I/O terminal board The input signal The output signal Figure3. System control scheme In the design, function is defined as follows: rtn = GT _ ExInpt( unsignedshort * ( unsignedchar * ( ) ( ) _ memory + _ plc _ mem _ adress._ in _ plc)) ; ( )(( ) rtn = GT _ ExOpt( 8 unsignedshort * unsignedchar * _ memory + _ plc _ mem _ address. _ out _ plc)) ; 1739

control System hardware has good openness, various hardware platforms, including both traditional PLC hardware, and also having updated and embedded chip which is the excellent hardware platform for the network environment of PC or DCS. System-specific development Specific will convert the PLC source program produced by universal program into operating which can recognize the code, and downloaded to the operating. The two main parties include: PLC source compiler, communication of development and operating. A. Complier implementation.current uses the design similar to PL/0 complier. Please refer to figure 4. In this compile mode, the process of converting instruction into target code can be divided into two stages: interpretation and generation. Instruction analysis is the process of comparing and accessing, which is making a comparison between the specific operation code, operand data and the data in the database, in order to determine correctness of the instruction. Forms Management application is used for establishing connections between reference variables, constants and the interpretation, the error handling application is used for providing error message for wrong location and the nature of error occurred during the process of instruction interpretation. B. Communication between operating and development process. In this, Communication between operating and development process has similar theory with general PC and traditional PLC. The host will first connect with PLC via cable for communication. Development use RS232 / RS422 for connection between PLC and PC. The host and serial ports are RS232 and RS422 respectively; it requires a converter cable to connect the host and client for the purpose of conversion. C. Communication is triggered by the host computer, the PC first sends the handshake, after PLC received it, and it sends back the signal to the handshake. The PC will start sending instructions after receiving back the signal; PLC will send data to the host after receiving the data. The host will check the data. if the data is wrong, it will request PLC resend it and displayed the process correctly. Conclusion Based on the analysis of soft PLC technology, its structure and principles, we propose to develop a PC-based soft PLC control scheme and also a suitable hardware platform development. When users use the soft PLC operating under the PC hardware platform, they can directly use this tool, which can save a lot of time and have important practical significance. Acknowledgements The key project of guangxi higher education teaching reform project (2013jgz181), Nanning vocational and technical college to build key course construction project between colleges (south post word [2012] no. 172). References [1] Huang Y, LIN Y, YU H. Research and Implementation of the SoftPLC Technology [J][J]. Computer Engineering, 2004, 1: 063. [2] Jianfeng Z F W X L, Wei W Y Z. An Approach to Editing System[J]. Computer Engineering and Applications, 2005, 7: 038. [3] ZHU W, WANG W, DING H, et al. Open Architecture SoftPLC Based on Embedded PC [J][J]. 1740

Machinery & Electronics, 2002, 3: 3-7. [4] Kaiming Y H Y P Y, Jinsong W. Research and Development of RTLinux Based [J][J]. Computer Engineering and Applications, 2002, 22: 045. [5] Jingang G, Jianchun C, Xiongwei L. Development of Soft-PLC of CNC System[J]. 2004. 1741