Thiết bị và hệ thống tự động

6 950 2
Thiết bị và hệ thống tự động

Đang tải... (xem toàn văn)

Thông tin tài liệu

Thiết bị và hệ thống tự động

Lecturer Ph.D Truong Dinh Chau, Department of Automatic Control, Faculty of Electrical – Electronics Engineering, HCM. City University of Technology tdchau@hcmut.edu.vn 091. 543-74-40 Industry Automation Outcome 8 Data Acquisition and Control Cards Master boards Remote I/O Modules Converter I/O Expansion Board Embedded Controllers Compact Embedded Controller Communication Controller Embedded controller Embedded controllerEmbedded controller Embedded controller PC-based controller PC-based controller DAC 0x140 ADC 0x142 DAC 0x144 Master Board Channel 0 Channel 1 . Channel 7 . Channel 0 Channel 1 . Channel 31 . Channel 0 Channel 1 . Channel 7 . Process SensorsActuators Actuators PC-based controller Modbus Embedded Controller HMISCADA Modbus Client (Master) Modbus Embedded Controller Run User Process Update I/O Check Modbus Request . . . RS-485 RS-232 PLC Modbus protocol User-defined protocol Ethernet RS-232 RS-485 I/O Expansion Bus X server X server Web server VxComm TCP/IP Application Program Virtual COM Ethernet I/O Rs-232 TCP/IP Web server Application Device Browser ( IE, Netscape) 7188E series I/O expansion module Hub PLC TCP/IP Server Virtual COM Specified Driver OS • Built-In DOS, MiniOS7, Windows XP Embedded, Linux Embedded… MiniOS7 • Files Download and Execution (.exe, .com, .bat) • Use Autoexec.bat • Can’t Run Another Process ( Function system() of C) • Warm Up Time – 0.1 Second for 20 MHz CPU – 0.05 Second for 40 MHz CPU – 0.5 Second for 8k Main Unit MiniOS7 • Files Download and Execution (.exe, .com, .bat) • Use Autoexec.bat • Can’t Run Another Process ( Function system() of C) • Warm Up Time – 0.1 Second for 20 MHz CPU – 0.05 Second for 40 MHz CPU – 0.5 Second for 8k Main Unit C embedded programming PC-based controller Embedded devices Boolean Logic AND A 0 0 1 1 B 0 1 0 1 X 0 0 0 1 X A B ⋅ = OR A 0 0 1 1 B 0 1 0 1 X 0 1 1 1 X A B+= NOT A 0 1 X 1 0 X A= EOR A 0 0 1 1 B 0 1 0 1 X 0 1 1 0 X A B ⊕ = NAND A 0 0 1 1 B 0 1 0 1 X 1 1 1 0 X A B ⋅ = NOR A 0 0 1 1 B 0 1 0 1 X 1 0 0 0 X A B+= A B A B A B A B A B A X X X X X X C ON START STOP ON C A Burglar Alarm Inputs Output S M W A 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 1 A S M W⋅ ⋅( ) S M W⋅ ⋅( ) S M W⋅ ⋅( )+ += A∴ S W⋅( ) S M⋅( )+ S W M+( )⋅= = A∴ S M W⋅ M W⋅ M W⋅+ +( )⋅= A∴ S M W⋅ M W⋅+( ) M W⋅ M W⋅+( )+( )⋅= C C A D A C B D L U Latches C Timer C Design Case Problem: Develop the ladder logic that will turn on an output light, 15 seconds after switch A has been turned on. A TON Preset 15s delay delay.DN Light Solution: C Heating control TON Timer heat Delay 10s TOF Timer cooling Delay 300s Horn Heating C oils Auto heat.TT heat.DN Auto Auto StopStart Fan cooling.DN C Counters CTU A Counter example Preset 4 Accum. 2 (CU) (DN) example.DN example RES X B C Problem: Develop the ladder logic that will turn on a light, after switch A has been closed 10 times. Push button B will reset the counters A CTU Preset 10 Accum. 0 count B count RES count.DN Light Design Case C Master Control Relays A MCR MCR B C L D U X Y Y C Design Case a system that will turn on a light ‘L’ when input ‘A’ has been turned on between 10 and 15 times. Design Case Computer power button.

Ngày đăng: 18/09/2013, 14:39

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan