The text of a manual · part 16 of 18
Simatic S5 to RSLogix 5000 Application Conversion Guide: Chapter 7: Drive and Loop Control
Pages 115 to 118 of 140, from Simatic S5 to RSLogix 5000 Application Conversion Guide
The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Siemens 6ES5-431-8MA11, Siemens 6ES5-451-8MA11 and Siemens 6ES5-452-8MR11
Page 115
Chapter
7
Drive and Loop Control
Encoder/Positioning Modules
These are intelligent I/O modules that can calculate the position of a rotary or linear axis based on electronic encoder input signals. The module then processes this information to calculate and produce the required output for the positional control of speed drives. The modules determine the position of a rotary cam by counting and processing the high speed pulses generated by an encoder. These high speed pulses are connected to the input channel of the module. These pulses are at too high a frequency to be processed by standard digital input modules. The encoder/positioning modules are rated for pulse input signals up to 500 kHz, while a standard digital input module is suitable for counting pulses up to a maximum frequency of 100 Hz. Furthermore, the modules have their own microprocessors that allow them to handle these position control tasks autonomously thus reducing the load to the S5 central processor.
Logix Servo Drive Controllers
The Logix controllers use a range of modules called SERCOS interface modules that serve as a link between the Logix platform and intelligent servo drives. The SERCOS interface is an open, controller-to-digital drive interface designed for high-speed, real time, serial communication by using noise-immune, fiber-optic cables. The following Logix Motion Interface Modules can be used to control servomotors. • • • • • •
1756-M16SE 1756-M08SE 1756-M03SE 1756-M02AE 1756-HYD02 1756-M02AS
Using these modules and the RSLogix 5000 motion instruction set, detailed drive-status information can be sent from drive to controller and from controller to drive.
115Publication LOGIX-AP010B-EN-P - May 2010
115
Page 116
Chapter 7
Drive and Loop Control
The RSLogix 5000 motion instruction set provides commands for a variety of operations to control servo drives including the following: • •
• • •
Replacing S5 Positioning Module with Logix
Change the state of an axis – enabling/disabling an axis or setting the output voltage to an axis. Control the axis position – stopping/jogging an axis or sending an axis to a home position. Changing the speed, acceleration or deceleration of an axis. Initiate action on all axis – perform certain actions, such as shutdown, on all axis. Tune an axis – calculate the gain and dynamic limits of an axis. Control Multi-Axis Coordinated Motion – start a linear/circulate move for axis of a coordinated system. Calculate the position of one co-coordinated system with respect to another coordinate system.
The S5 servomotor control module relies on hard-wired input signals from an encoder to determine the position of an axis and it outputs a hard-wired analog ±10V signal to a motor drive to control the motor. An S5 servomotor control module can control only one motor and can receive only encoder reference data from one encoder. In RSLogix 5000 software, commands to the motor and status information from the motor are all transmitted along a fiber-optic link. This fiber-optic link can network to multiple drives so that the speed and position of several axis of movement is easily controlled in a coordinated way. In upgrading S5 servomotor control to a Logix controlled system, it is likely that the encoder and drive must be upgraded to an intelligent drive compatible with the Logix fiber-optic network and its speed and position controlled with a RSLogix 5000 motion interface modules. In some applications it may be possible to retain the encoder and wire it to an Allen Bradley encoder/counter module (model no.1734-IJ or 1734-IK). The servomotor could then be a controller via an analog output module. However, this would not give the same degree of accuracy or consistency achieved by using a Logix SERCOS drive interface module.
Controller with Motion
116
The 1756-L60M03SE controller combines a 1756-L6x controller and a SERCOS motion module in a two-slot module. This controller is ideal for small motion systems and can control three SERCOS axes with the included interface. This controller can control as many as six axes if you add an additional motion module,1756-L60M03SE.
Publication LOGIX-AP010B-EN-P - May 2010
Page 117
Drive and Loop Control
S5 Analog Control Modules
Chapter 7
S5 has a number of intelligent I/O modules dedicated to the control of analog signals.
IP 243 Analog Module This module is used for the quick processing of analog input signals. It has eight high-speed analog input channels with a maximum conversion time of 35 µs. It includes two comparators that allow the comparison of analog values with each other. It is generally used in process control applications where the use of standard analog input and output modules would be too slow to provide the required response.
IP 244 Temperature Controller Module This module is used for closed-loop PID temperature control and limit monitoring of analog signals. There are 16 analog input channels, 12 of which are configured for thermocouples. The manipulated variables are output in binary form by using pulse width modulation.
IP 252 Closed Loop Control Module This module can be configured for dedicated fast control loop applications in the S5 system. It has eight analog inputs and eight analog outputs. It can execute eight closed-loop applications in parallel. Because it processes these loops internally, it does not draw on the S5 CPU resources. However, it is possible to transfer data between the CPU and the IP 252. It also has inputs for two tachogenerators whose pulse trains can be processed by the IP 252 to evaluate actual motor speed.
IP 260 Loop Controller Module This is a single-channel loop controller that is used in the control of process variables such as temperature, pressure, and flow. All the process variables required for closed-loop control are acquired via the four analog input channels. PID control is performed on the process signal and the resultant-calculated manipulated variable is output to the process via two digital controller outputs or via the analog output, depending on the controller type.
Publication LOGIX-AP010B-EN-P - May 2010
117
Page 118
Chapter 7
Drive and Loop Control
Logix Analog Control
The RSLogix 5000 instruction set includes a PID block that executes control over a process variable. The PID calculations are performed on an analog signal coming from a standard analog input module. The PID output is transferred to the corresponding control variable via a standard analog output module. The PID calculations are performed by the controller so no dedicated hardware module is required.
A PID Tag is defined in the tag database and it automatically generates all the required PID elements.
In the FBD language, an enhanced PIDE block is also available.
118
Publication LOGIX-AP010B-EN-P - May 2010