ROCKWELL AUTOMATION PART II

70 74 0
ROCKWELL AUTOMATION PART II

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

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Tài liệu Rockwell automation Tài liệu Tự động hóa Tài liệu cơ điện tử ROCKWELL AUTOMATION PART 1 PLC Overview CompactLogix Controller and Modules ControlLogix Controller and Modules Network Overview Connecting sensors and Actuators to Modules Controller Organizer Tasks and Tags Types Program and Routine Connecting PC to PLC via Serial and Ethernet Download and Test Basic Instructions Enhanced Instructions Analog Module Tasks and Tags In Controller Addon Instruction Handling Minor, Major and IO Faults

EEEF ENHANCED INSTRUCTIONS Bit Field Distribute: BTD File Arithmetic and Logic: FAL Copy File (COP) Synchonous And Copy File (CPS) Digital Alarm Instruction:ALMD Analog Alarm Instruction: ALMA MSG, GSV, SSV Instructions Minor And MaJor Fault HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 MOV_LOGICAL INSTRUCTIONS EEEF Bit Field Distribute: BTD BTD copies specified bits from the source, shifts the bits to appropriate position and write the bits into Destination HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 MOV_LOGICAL INSTRUCTIONS EEEF Bit Field Distribute: BTD BTD copies specified bits from the source, shifts the bits to appropriate position and write the bits into Destination HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 ARRAY FILE INSTRUCTIONS EEEF File Arithmetic and Logic: FAL FAL performs copy, arithmetic, logic and function operations on data stored in an array Selection Mode of operations Structured Text FOR position = TO length DO destination[position] := numeric_expression; END_FOR; HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 ARRAY FILE INSTRUCTIONS EEEF FAL Examples When enabled, FAL copies each element of array into the same position within array When enabled, FAL copies value_1 into the first 10 positions of array_2 HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 ARRAY FILE INSTRUCTIONS EEEF When enabled, FAL dives the value in the current position of array_2 with the value in the current position of array_3 and stores the result in the current position of array_1 HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 ARRAY FILE INSTRUCTIONS EEEF Copy File (COP) Synchonous And Copy File (CPS) The COP and CPS copy the value(s) in the Source to the Destination The Source remains unchanged Difference between COP and CPS HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 ARRAY FILE INSTRUCTIONS EEEF COP and CPS Examples When enabled, COP copies the first 10 elements of array_4 into the first 10 elements of array_5 ST: COP(array_4[0],array_5[0],10); When enabled, CPS copies 100 elements of project_data[0] into the 100 elements of produced_array[0] No I/O Updates or other Tasks can change the data ST:CPS(project_data[0],produced_array[0],100); HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 DIGITAL ALARM INSTRUCTION EEEF Digital Alarm Instruction:ALMD HCMUTE 11_2014 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 DIGITAL ALARM INSTRUCTION EEEF Digital Alarm Instruction:ALMD HCMUTE 11_2014 10 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 RSLOGIX 5000 CONTROLLER TASKS EEEF Examples for using Tasks HCMUTE 11_2014 56 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 RSLOGIX 5000 CONTROLLER TASKS EEEF Priority Periodic and Event Tasks: The priority of each task tells the controller what to HCMUTE 11_2014 57 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR PERIODIC TASKS EEEF Creating a Periodic Task, Putting an appropriate name, selecting Task Type, Periodic and Priority, creating a program and writing a logic program Creating a Periodic Task, enter an appropriate name HCMUTE 11_2014 58 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR PERIODIC TASKS EEEF Selecting Task Type, Periodic and Priority HCMUTE 11_2014 59 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR PERIODIC TASKS EEEF Creating a new Program with appropriate name and a new routine HCMUTE 11_2014 60 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR PERIODIC TASKS EEEF Select Main Routine for writing logic program HCMUTE 11_2014 61 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR PERIODIC TASKS EEEF Selecting Main Routine for writing a Program Add Instruction will executed one every 1000ms HCMUTE 11_2014 62 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 MANAGE EVENT TASKS EEEF Choosing the Trigger for an Event Task HCMUTE 11_2014 63 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 MANAGE EVENT TASKS EEEF Module Input Data State Change Trigger Event Task is trigged whenever data from input change HCMUTE 11_2014 64 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 MANAGE EVENT TASKS EEEF Choosing Trigger for Module Input State Event Task is trigged whenever data65 from inputEmail:phuongtv@hcmute.edu.vn_Phone change 0908248231 HCMUTE 11_2014 PROGRAM FOR EVENT TASKS EEEF Creating an Event Task, enter an appropriate name, Selecting Task Type, event And Priority, creating a Program and writing a logic program Creating an Event Task, enter an appropriate name, Type of Task , Trigger and Priority HCMUTE 11_2014 66 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR EVENT TASKS EEEF Creating a new Program with appropriate name and a new routine HCMUTE 11_2014 67 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR EVENT TASKS EEEF Selecting Main Routine in Event Task to write logic program HCMUTE 11_2014 68 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR EVENT TASKS EEEF Selecting Main Routine in Event Task to write a Program Add Instruction will executed whenever Event Task is Called HCMUTE 11_2014 69 Email:phuongtv@hcmute.edu.vn_Phone 0908248231 PROGRAM FOR EVENT TASKS EEEF Use Trigger Event Instruction to call Event_Task Trigger Task Instruction is placed in another Task HCMUTE 11_2014 70 Email:phuongtv@hcmute.edu.vn_Phone 0908248231

Ngày đăng: 16/08/2020, 01:52

Từ khóa liên quan

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

Tài liệu liên quan