
Reverse Induction Motor Using Plc Mitsubishi With Delay
I want to use an incremental rotary encoder with my Allen Bradley PLC to move induction motor (3 Phase) in clockwise. Please help me with the program how to use High Speed Counter Values to move motor reverse and forward. This allows you to slow down axis before reaching stop position.
Neither Cisco AnyConnect Security Mobile Client nor Cisco VPN Client worked. Ever since I upgraded my Surface to 10074 build I haven’t been able to VPN into my work network. As per the suggestion, went to Control Panel- Network and Internet - Network and sharing centerBut could not find the Cisco AnyConnect secure mobility client connection. Here’s the message ffrom the the cisco anyconnect client ver 4.3.03xxx on Windows1011:47:31 PM Contacting xxx country11:47:32 PM Posture Assessment: Required for access11:47:32 PM Posture Assessment: Checking for updates11:47:33 PM Posture Assessment: Initiating11:47:36 PM Posture Assessment: Active11:47:36 PM Posture Assessment: Initiating11:47:39 PM Hostscan is performing system scan11:47:39 PM Hostscan is performing software scan11:47:39 PM Hostscan is updating software11:47:39 PM Hostscan state idle11:47:39 PM Hostscan is waiting for the next scan11:47:40 PM Ready to connect.
Paper Menu >>
Journal Menu >>
Intelligent Control and Automation,2011, 2, 330-339 doi:10.4236/ica.2011.24038 Published Online November 2011 (http://www.SciRP.org/journal/ica) Ethernet Control AC Motor via PLC Using Nader N. Barsoum, Pin Rui Chin Department of El ectri cal and C om puter Engineering, Curtin University Sarawak Campus, E-mail: nader.b@curtin.edu.my, chinpinrui@yahoo.com Received July 5, 2011; revised July 26, 2011; accepted Sept em be r 3, 2011 Remotely control applications over a wide area had been commonly used in the industries today. One of the common applications requires remote control and monitoring is inverter fed induction drive system. Drive system has various types of controller, in order to perform some actions such as control the speed, forward and reverse turning direction of the motor. This approach can be done by Programmable Logic Controller (PLC), and with the rise of the technology, Ethernet module will be used in order to achieve the remote con- trol system. Plus the PLC today can be controlled not only using its original software, but 3rd party software as well, such as LabVIEW. LabVIEW is a human machine interfaces design software that is user friendly. It can be easily communicate with different hardware. Keywords: LabVIEW, PLC, Ethernet, Induction Motor, OPC Servers, Inverter In the past, engineers had been designing the engineering systems that require a lot of hardwares. It is merely im- possible to design distance control of the system as more hardwares and wiring were needed. In addition, if engi- neers wish to improve the design, all the unrelevant hardwares need to be scrap away, which is not sustain- With the rise of the technology, programmable logic controller (PLC) have eased the engineering design and lessen materials required, it is because the entire design is implemented in software programming paradigm. PLC had been commonly used in the industry, including con- trolling induction motor inverter fed variable drive sys- tem. Design distance control machinery is now possible, even by using Ethernet as the communication device Apart of design the program structure by its own pro- prietary software, the convenience part of PLC is the accessibility and controllability by other softwares. Note that such softwares must have driver utility of the par- ticular PLC. Therefore engineers can use LabVIEW [2], which has various types of industrial applications which are in virtual instrument (VI) instead of the real and 2. Project Design Configuration & NI OPC Server has OMRON FINS Ethernet driver that CPU11-ETN21 PLC with LabVIEW. OMRON origi- nally supplies their customers with FINS gateway, inter- facing software that communicates with the PLC and its proprietary software, OMRON CX-Programmer over the With the OMRON FINS Ethernet driver in NI OPC, users can setup the server by just a few simple setups and create variable tags that can be linked directly to the PLC’s registers. These tags are named as OPC tags. The NI OPC Servers also have NI OPC Quick Client that enable users to monitor the status of the PLC in real-time. As long as the OPC tags had been created, the com- simplified as the driver can automatically apply the rele- vant FINS commands provided the tags are correctly configured [3]. Meanwhile in LabVIEW, the program can be design by using Shared Variables which is link to 2.2. LabVIEW LabVIEW is the acronym for Laboratory Virtual Instru- mentation Engineering Workbench and is a graphical development environment for generating flexible and scalable design, control, and test applications rapidly at minimal cost. With LabVIEW, engineers and scientists are able to interface with real-world signals, analyse data for meaningful information, and share results through intuitive displays, reports, and the Web. Regardless of programming experience, LabVIEW makes development The programming style used in LabVIEW is G programming, which is abbreviation for graphical pro- gramming. It is also known as dataflow programming as it is depending on the structure of the graphical block diagram to execute the user-designed program. Com- friendly as the user can design the program by simply arrange and wiring the relevant icons together [3]. LabVIEW programs are named as virtual instruments, or VI, because their appearance and operation mimic the physical instruments, such as oscilloscope and multi- meters [4]. Similar to other conventional programming, LabVIEW has standard features such as looping struc- tures, data structures, event-handling, object-oriented programming. LabVIEW also has an extensive library of math functions similar to MATLAB libraries and also formula nodes that allow text-based programming for certain sections of the code that require complex logical structures. Besides that, LabVIEW also has networking library functions that can easily allow users to reference Compared to other softwares like Microsoft Visual Basic, LabVIEW is a better option as it comes together with a library of functions included Shared Variables Project Library, which is bound to the OPC tags, that allow server and client communication by connecting relevant icons with the Shared Variables. If Microsoft Visual Basic (VB) is used, the OMRON FINS Ethernet driver must be developed using the MS Comm function and this would require more time to develop the code [3]. LabVIEW has front-end interface applications that al- low user to design and then use for controlling systems. In general LabVIEW has three main elements: the front panel, the block diagram and the connector panel. The front panel allows the user to build the controls and in- dicators. The controls are including knobs, push buttons, dials, and other input mechanism. Indicators are graphs, LEDs, and other output displays. Meanwhile, the block diagram let user to add code using VIs and structures to control the front panel objects. The connector panel al- lows user to represent a single VI as a sub VI icon that can be called in another VI. The elements are illustrated Shared variable is a library function variable that al- Front Panel Figure 1. Three main elements of LabVIEW software. Copyright © 2011 SciRes. ICA Copyright © 2011 SciRes. ICA lows sharing of data between applications or different data sources across a network. There are many existing LabVIEW queues, and Real-Time FIFO. Compared to Datasocket Communication, using shared variable is user friendly as the configuration can be done by simple setup in the library instead of writing URL and perform more series. There are 4 units used in this PLC, namely Power function (CJ1M-CPU11-ETN21), Basic Input Unit (CJ1W-ID211), and Basic Output Unit (CJ1W-OC211). There is an End Cover for the PLC unit. All these units can be connected by assembled them together and lock the sliders by moving them towards the back of the units. The End Cover must be connected on the far right hand side of the PLC. Otherwise fatal error will occur Figure 2 demonstrates the arrangement of the PLC In order to let the PLC to operate through the Ethernet, the PLC must be given an IP address with a destination node number (DA1) that is not a duplicate of DA1s of other IP addresses in the network. The destination node number is also known as the last octet of an IP address. The PLC node number is configured by turning the dials on the CJ1W-ETN21 module as illustrated in Figure 3 the PLC must also be given a unit number in the network Node No × 161 is the most significant bit (MSB) of the node address whereas ×160 is the least significant bit (LSB) of the node address. IP addresses are in decimal form therefore any reference made to the DA1 of the PLC Ethernet module in software configurations must be in decimals. To convert any hexadecimal number to decimal, the following example can be applied [3]: The PLC is configured with the IP address 10.1.136.46, for the implementation described in this paper. The router is for personal home network. Therefore the IP addresses associated with the devices in the network is ble frequency drive can be used to alter the frequency of the electrical power supplied to the motor so in order to Figure 2. Connection for PLC units in this project [7,8]. Figure 3. CJ1W-CPU11-ETN21 hardware configuration. The SYSDRIVE 3G3MV-A2007 inverter is suitable for a variety of applications as it incorporates many con- venient controls and I/O functions that are easy-to-use as well as open loop vector control function. The advan- tages of vector control function are that it ensures a torque output that is 150% of the rated motor torque at an output frequency of 1 Hz, allows powerful revolution at low frequencies and restrains the revolution fluctuation The list of function parameters of the 3G3MV inverter need to be configured in order to control the 3 phase The Ethernet control systems presented in this paper is to control squirrel cage three phase induction motor. In order to achieve the objectives, the establishment of the communication between PLC and LabVIEW is crucial as LabVIEW is 3rd party software instead of using the software implemented in the PLC itself. Thus, the im- plementation used LabVIEW to perform the start and stop operation of the motor, either in forward or reverse frequency of the motor. However, this system is not a supervisory control and data acquisition (SCADA) since there is no practical data measurement acquire from the The system has three-layer network architecture illu- As illustrated in Figure 5, user gets the authority to control through the host computer, which is a laptop. Then the input data by the user will convert into Boolean Logic Controller through Ethernet cable and router. Once the Boolean data have been processed by the PLC, the relevant address in the basic output of the PLC will be turned on. This process allow the 3G3MV Inverter/ Variable Frequency Drive to operate the Three Phase Squirrel Cage Induction Motor according to the input data given by the user. In addition, 3G3MV Inverter/ Variable Frequency Drive also serve as inverter between the power supply unit and the motor as the input power is single phase power, while the Squirrel Cage Induction The objective of the VI program in this paper is to allow user to make the decision of the start and stop operation of the motor, either in forward or reverse direction, and varying the speed by changing the frequency of the motor, by perform two simple step. Firstly select the turning direction by press the push button in the VI Front Panel, which is either forward or reverse. Secondly, vary the speed by turning the Frequency knob to the value of the frequency that the user desire. Figure 6 illustrate the Copyright © 2011 SciRes. ICA Copyright © 2011 SciRes. ICA Figure 4. Three layer network architecture. Before running the VI, make sure all the hardwares have been switched on and configured correctly, and launch the NI OPC Quick Client so that the OPC tags can be browsed by the shared variables in this VI. There are 5 OPC tags was created and used in the im- plementation, and the details of the tags have been tabu- By referring to Figure 6, the Green push button is the switch to determine the motor is turning in forward di- rection. Meanwhile, the Orange push button is the switch to determine the motor is turning in reverse direction. Both Green and Orange light indicators at the right hand side show whether the push buttons have been switched ON. The knob labelled as “Frequency” is the key pro- gram to control the frequency as well as the speed of the motor. The push button labelled as “Stop” function to Figure 7 illustrate the VI Block Diagram, which the programming part of the VI. By referring to the Figure 7, the Red colour square boxes with dotted lines are the VI components that are visible in both Front Panel and Block Diagram. For Example the push buttons, knob, light indicator. Meanwhile, the Red colour square boxes without dotted lines are the VI component that is visible Table 1. The details of OPC tags and its connection to inverter. OPC Tag name PLC Address Connected Terminal Terminal Name Outputbit 1 CIO0001.01 S1 Multi-function input 1 (Forward/Stop) Outputbit 2 CIO0001.02 S2 Multi-function input 2 (Reverse/Stop) Outputbit 5 CIO0001.05 S5 Multi-function input 5 (Multi-step speed reference 1) Outputbit 6 CIO0001.06 S6 Multi-function input 6 (Multi-step speed reference 2) Outputbit 7 CIO0001.07 S7 Multi-function input 7 (Multi-step speed reference 3) in Block Diagram but they are not visible in Front Panel, which are essential VI to structure the program. For example, shared variables, formula node, number to Boolean converter (consist of number to Boolean array and index array) and the While loop. The While loop, which is similar concept with the While loop in C Programming, is used in this VI to ensure the program execute continuously until the stop button is triggered. The VI block diagram consists of two parts of the program. First part of the program is to allow user to switch on either Forward or Reverse direction of the squirrel cage induction motor. The second part of the program is to vary the frequency of the motor by changing By referring to Figure 8, if the user has switched on the Forward button, the signal will be transmitted to the “outputbit1” shared variable, which is in write mode, i.e. the signal will be written into the PLC. Then once the signal has been successfully written to the PLC, the light indicator of the output address 1.01 of the PLC, and the “Forward” direction indicator in the LabVIEW’s Front Panel will light. This process identical to the reverse di- By referring to the Figure 9, the Red colour square boxes indicate the VI named formula node, where the language used in the formula node is C. After the user set the value of the frequency by turning the “Frequency Variable” knob, the value will be sent to the formula The output of the formula node has been divided into 336 (Write Mode) (Read Mode) Figure 8. VI block diagram program (motor orientation switching part). x, y and z, in which the number is either 0 or 1. In order to be readable by the shared variables, it is necessary to signal is in Boolean format and sent to the shared variable, the information will be written into the PLC, and the light indicator of the output address 1.05, 1.06, 1.07 of the PLC will light up according to the desired Table 2 below describes the relationship between the multi-step speed references 1 through 3 and frequency The concept of frequency varying in Table 2 is crucial as the PLC communicates with the variable frequency drive in Boolean format. The value of each frequency refe- rence can be set in the function parameters of the vari- able frequency drive. In this paper, the value of each frequency reference has been tabulated in Table 3. By referring to Table 3, as long as the user has set the input frequency according to any of the condition, the number will be converting into Boolean in which it will arrange according to the relevant Multi-step speed refer- ence. Then this Boolean number will trigger the variable frequency drive and determine the frequency and as well as the speed of the squirrel cage induction motor accord- ing to the output condition listed in Table 3. For example, if the user set the input as 8 Hz, in which the input range . Therefore, the Boo- ean number of Multi-step speed reference 1 is 1, and l Copyright © 2011 SciRes. ICA Copyright © 2011 SciRes. ICA Boolean Converter Va ri ab les Figure 9. VI block diagram program (motor frequency varying part). Table 2. Relationship between multi-step speed references and frequency reference [6]. (Set value: 6) Multi-step speed reference 2 (Set value: 8) Frequency ref. 2 ON OFF OFF Frequency ref. 4 ON ON Frequency ref. 5 OFF OFF ON Frequency ref. 7 OFF ON ON Table 3. Conditions of input frequency in LabVIEW for varying f r e quency reference. in LabVIEW (Hz) Multi-step speed reference 2 (Outputbit 6) Multi-step speed Output frequency of induction motor (Hz) 7 ≤ x < 14 1 0 0 7 21 ≤ x < 28 1 1 0 21 35 ≤ x < 42 1 0 1 35 x > 48 1 1 1 49 338 the rest are 0. Then, this signal triggers the variable fre- After the implementation, test is performed in order to verify that the system is working smoothly. Figure 10 Figure 11 shows the PLC Ethernet Module light indi- cators that light up when the project VI is executing. And Figure 12 shows the snapshot of the Squirrel Cage Three In conclusion, the objective, scope and fundamental re- quirements of the project had been achieved. But there are some defects in this project. Firstly, there is a delay of time during the execution, which every decision made by the user through LabVIEW will take about 30 seconds in average to send the signal to the PLC. The delay mainly caused by the poor specification of the Laptop used for implementation, that leads the LabVIEW to take long time to execute the program and generate the Boo- Secondly, the Ethernet connectivity between the Lap- top and the PLC is easily disconnected. This problem arises also due to the poor specification of the Laptop used. This problem happen when the Laptop had used up too much RAM, causing the laptop lag and unable to use temporary. Therefore user cannot make too many actions and changes at the same time as it will crash the program. Thirdly, there is limitation in the speed control as there are only 3 multi-step references in the VFD. The fre- quency changes in this project cannot perform in smaller steps unless there are additional multi-step references In overall, choosing LabVIEW as the human machine interface for the implementation is a proper decision as it has various types of applications and functions that are easy to understand and use. Additionally, this approach is more economical as the objectives of the system im- plementation have been achieved with only basic func- tionality of the LabVIEW toolkits used, which are shared OMRON CJ1 series PLC is easy to install and setup. Both hardware and software configuration can be easily done. It can carry out additional functions by simply add more units with various functions, like the Ethernet unit. The 3G3MV inverter is a user friendly VFD that al- lows the user to configure the function parameter easily Special thanks to Daniel Wong and Jacintha Roland for Copyright © 2011 SciRes. ICA Figure 11. PLC ethernet module light indicator status. Figure 12. Induction motor running in forward direction. their remarkable advice throughout the design and im- 7. References [1]W.-F. Chang, Y.-C. Wu and C.-W. Chiu, “Design and Implementation of a Web-Based Distance PLC Labora- tory,” Proceedings of the 35th Southeastern Symposium on System Theory, Morgantown, 16-18 March 2003, pp. [2]M. Rodrigues, J. Mendes and J. Fonseca, “Application of a Web-Based Monitoring and Control System in Plastic Rotational Moulding Machine,” IEEE International Con- ference on Industrial Technology, Hammamet, 8-10 De- [3]N. N. Barsoum and J. A. Roland, “Ethernet LabVIEW Control,” Undergraduate Thesis, Curtin University Sara- [4]National Instruments, “Getting Started with LabVIEW,” Na- tional Instruments, Technique Report 373427F-01, 2009. [5]National Instruments, “Using the LabVIEW Shared Vari- http://zone.ni.com/devzone/cda/tut/p/id/4679 [6]N. N. Barsoum and Y. Y. Ng, “PLC Humidity Control In- verter Fed Induction Motor,” Undergraduate Thesis, Cur- [7]OMRON Industrial Automation, “SYSMAC CJ Series Programmable Controller,” OMRON, Technique Report [8]OMRON Industrial Automation, “CJ1M CPU Units with Ethernet Functions,” OMRON, Technique Report, 2005. |
Motor Starter
While the lighting control system previously discussed is useful to explain basic PLC operation, a more practical, and only slightly more complex, application is start-stop control of an AC motor. Before examining the PLC program, first consider a hard-wired approach.
The following line diagram illustrates how a normally open and a normally closed pushbutton might be connected to control a three-phase AC motor.
In this example, a motor starter coil (M) is wired in series with a normally open, momentary Start pushbutton, a normally closed, momentary Stop pushbutton, and normally closed overload relay (OL) contacts.
Momentarily pressing the Start pushbutton completes the path for current flow and energizes the motor starter (M). This closes the associated M and Ma (auxiliary contact located in the motor starter) contacts.
The motor will run until the normally closed Stop button is pressed, unless the overload relay (OL) contacts open. When the Stop button is pressed, the path for current flow is interrupted, opening the associated M and Ma contacts, and the motor stops.
This is how hard-wired motor starter functions. Now, let’s discuss a little bit about PLC running the same //
PLC and motor control application
This motor control application can also be accomplished with a PLC. In the following example, a normally open Start pushbutton is wired to the first input (I0.0), a normally closed Stop pushbutton is wired to the second input (I0.1), and normally closed overload relay contacts (part of the motor starter) are connected to the third input (I0.2).
These inputs are used to control normally open contacts in a line of ladder logic programmed into the PLC.
Initially, I0.1 status bit is a logic 1 because the normally closed (NC) Stop Pushbutton is closed. I0.2 status bit is a logic 1 because the normally closed (NC) overload relay (OL) contacts are closed. I0.0 status bit is a logic 0, however, because the normally open Start pushbutton has not been pressed.
Normally open output Q0.0 contact is also programmed on Network as a sealing contact. With this simple network, energizing output coil Q0.0 is required to turn on the motor. Trilian bass demo.