As we all know that Delta VFD is able to communicate in Modbus. And every device which is capable of Modbus Communication has its Modbus Parameter Addresses for each variable that we can read and write. Delta VFD Modbus Address of Register :-
All the Drives by Delta except VFD-A are compatible to communicate in Modbus Network. You can easily access the Drive Parameters from PLC by writing the logic accordingly. We just have to know the address of Frequency,current etc to write the value and read the values.
In this manual you will find the Modbus address of all the Parameters.
Delta VFD Modbus Parameter Address Table
Also we have explained the step by step of Delta PLC communication with Delta VFD in Modbus with a sample PLC Program.
Dont Forget to Subscribe to get all latest updates. Subscribe to Automation-Talk by Email.
May 31, 2011
Delta Drive Modbus Parameter Address Table Manual
Delta PLC Modbus Communication With Delta Drive
PLC to Drive Communication through RS 485 is a very good way to establish a communication network when we have more drives in the Network.In this article we will see the Communication Parameter Set up in Drive and PLC and also the PLC Program for Delta PLC to communicate through RS 485 port.
Delta PLC RS 485 Communication with Delta VFD-E :-
First of all we need to have the proper Communication cable , its very simple for this all we need is a RJ 45 jack and connect the the PLC with VFD. Just use the Pin 3 SG- and Pin 4 SG+. After the communication cable is ready we need to configure the VFD i.e delta VFD-E , we have to set up the following parameters.
VFD-E parameters for RS485 Communication:-
Parameter Number -------------------Name---------------------------------Value
2.00-------------------------Source of First Master Frequency Command-----3
2.01-------------------------Source of First Operation Command------------3(RS-485 )
9.00-------------------------Communication Address------------------------2
9.01-------------------------Transmission Speed---------------------------3(Baud rate 38400bps)
9.04-------------------------Communication Protocol-----------------------0(7,N,2 (ModbusASCII)
Now after setting these parameters in the Drive ,we have to make a appropriate PLC Program. As we all know that in Modbus Slave device needs to be issue command and it respond accordingly. All the Communication in Modbus is in the form of Queries , a Master device always Send Query to Slave Device and Slave Device respond accordingly.
PLC Program for Delta Modbus / RS 485 Communication :-
First of all we have to decide the communication Protocol settings , in this case we are using
7, N, 2, 38400, ASCII. To send a frame in delta plc we use MODWR Instruction and we have to trigger the bit M1122 to send the frame.
Also we need to read some data from Drive , for example then we have to use the MODRD instruction. We have made a sample program for this. All the comments are written in the program and you can understand it easily. The slave address we have used in the plc logic is 2.
Delta PLC Program for Modbus Communication.
Also to understand the Basics of MODBUS and modbus communication of Omron PLC with Drive and HMI, you can check our MODBUS Section.
UPDATE:- Delta VFD Modbus Parameters Read/Write
Don't forget to subscribe to get all latest updates.Subscribe to Automation-Talk by Email.
May 29, 2011
Download Free NP Designer HMI Software
NP HMI Panels are the widely used HMI panels of Omron Which comes in black and white and colour as well. To program these NP terminals we need s special software called NP Designer. This software is freely available in Omron Website and we have also posted many tutorials on NP designer software and how to use it. See below steps to download free copy of Omron NP designer Software legally. Subscribe to Automation-Talk by Email.
1. Go to Omron247.com Software Registration and Downloads section and click on Automation Systems >> Operator Interface Displays (HMI) to Expand it. You can also register CX-One software here.
2. Now you will see a download link to NP Designer Software Ver 1.01 as shown in Image. Click on it and you can download a free NP designer software at no cost.
We have also posted many other freely available Software you can have a look. You can also Subscribe to Automation-Talk by Email for more updates on free PLC and HMI Software's.
Free PLC Programming Software For DELTA
Delta Electronics is a Automation product manufacturing company like PLC, HMI, Drives etc. Bruce C.H. Cheng is the founder and chairman of Delta Group. Delta PLC are available in Wide varity and are very cost effective and thus find application in many industries in China, India, Japan Etc. In this tutorial we will tell you how to get free PLC programming software of Delta PLC. WPLSOFT is the name of software which is used to program the PLC's of Delta. Subscribe to Automation-Talk by Email.
Get Free Copy of DELTA PLC Programming Software
To get free PLC programming software of Delta PLC's, you will just have to go Delta PLC Website. And then you can go to download section, Where you can choose Programmable controllers and can download a free version of the software. This new version PLC software is compatible with Windows 98, Me, NT4.0, 2000, XP, Vista and Windows 7(32-bit/64-bit). So there is no Problem of Delta PLC Software with Windows 7. Below is the direct link to download the software which is freely available.
Download Delta PLC Programming Software
Delta DOP B HMI Firmware Update Through USB
Well many a times it happens that we have got a HMI program which is made in a higher version and we have the Lower version firmware with us, so it's become difficult to Download the program in HMI. Also many a times we need to Update the firmware in HMI just to match the firmware of the HMI program which we have got. There are many situations where updating firmware is the only solution to the problem.
How to Update DOP-B Series HMI Firmware
Well there are two methods to update firmware in HMI. The simplest one is through the PC i.e just open the Screen Editor Software , click on file and you will find an option for Update of firmware. Well but there can be situation when there is no PC/laptop at site and you need to update firmware. So in this situation we can update the HMI Firmware version by USB Disk.
Updating DOP B HMI Firmware Through USB
Follow the below step by step procedure for updating firmware:-
First of all go to system menu then select system setting and then go to file manager. Here you will see three option, select the middle one "Copy file". And after this press the Right Button up till 4/5 option comes, When this 4/5 comes then you will see Firmware Update option at the right hand side, just select this and after this select USB and Update the firmware.
So its just simple to update firmware like this when you don't have a PC at site. Hope it helped you to clear all your doubts regarding firmware updating in Delta DOP B HMI.
Delta HMI Windows 7 and Vista Driver.
Also you can subscribe to get all latest Updates in Delta PLC and HMI programming. Subscribe to Automation-Talk by Email.
Mint MT Motion Language Programming Tutorial - Part 7
Till now we have learned a lot from our previous tutorials in Mint. In our previous tutorial we saw the useful MINT Motion Keywords and also their syntax and examples. Today in this tutorial we will see the procedure for position control and Homing.Positional Control in Mint Motion Controllers:-
The controller is an incremental based system capable of using either relative or absolute co-ordinates.The POS keyword monitors the axis position
----- positionHere = POS.3
POS is scaled into user units by the SCALE keyword. The controller maintains a parallel ENCODER position value for servo axes
-----myencoder = ENCODER.0
ENCODER can be scaled by the ENCODERSCALE keyword. POS and ENCODER operate independently (if one is zeroed the other is unaffected). ENCODER still operates for axes configured as _cfOFF
MOVEA keyword performs a move to an absolute position
----- MOVEA.0 = 200 : GO.0 ’Move to user unit position 200
MOVER keyword performs a relative move from the current position
----- MOVER.2 = 100 : GO.2 ‘Move forward 100 user units
No motion occurs until the GO keyword is executed.
Reading the POSTARGET keyword during a positional move will return the absolute end point of the move in progress. Reading the POSREMAINING keyword will return the distance left to travel
The move is executed using a trapezoidal move profile defined with ACCEL, DECEL and SPEEDACCELJERK/DECELJERK provides true “S” curve (Nextmove only). MintDriveII uses SRAMP.
ACCEL, DECEL and SPEED can be changed on the fly (while a move is taking place)
The INCA and INCR keywords perform incremental moves…..the target position of the move in progress is overwritten and the axis will respond immediately using the defined accel / speed / decel profile. See below example.
LOOP
IF INKEY THEN ‘ Modify target position by 100
INCR=100:GO ‘ every time a key is pressed
END IF
END LOOPHoming Keyword in Mint MT :-
The HOME keyword begins a datum sequence on an axis
The home switch input is user definable with HOMEINPUT, the speed is definable with HOMESPEED
The HOMEBACKOFF keyword specifies a dividing ratio for the backing off speed
HOMESPEED.0=10: HOMEBACKOFF=5 ‘Backoff at 2. Modes added to detect correct edge of sensor after overshoots.
There are now 12 modes of homing, each represented by pre-defined Mint constants
HOME.0 = _hmPOSITIVE_SWITCH
There are Mint constants for each phase of the homing sequence
_hpIDLE, _hpSEARCH_FOR_HOME, _hpFOUND_HOME,
_hpSEARCH_FOR_Z, _hpFOUND_Z, _hpCREEP, _hpOFFSET_DECEL
Reading the HOMEPHASE keyword returns the current phase of the homing sequence
homing_state = HOMEPHASE.1
Complete Step By Step Tutorial on Baldor Servo and Motion Products Programming Tutorial.
Also dont forget to subscribe to get all latest updates.Subscribe to Automation-Talk by Email.
May 28, 2011
Direct Link Communication Through USB Host In Delta
Well sometimes it happens that PLC is installed in a far cabinet and its very difficult to connect the programming cable OR it may even happen that we dont have the PLC Programming Cable ir also there can be any other reason. We have got a Solution for all these issues. Now with one simple USB cable we can monitor both the HMI and PLC programs. Also we can up-load and Download the PLC program without even connecting the PLC Programming Cable.Connecting PLC to PC without Programming Cable :-
This function in Delta is called Direct Link Function , for this we need to have the PLC connected with HMI. Then we will connect the HMI with our Laptop and we can monitor both the PLC and HMI programs simultaneously with a single cable.
With this feature we can Download/Upload the PLC Program without even having the need of programming cable and also simultaneously monitor the PLC & HMI Program. Direct Link Feature allows the programmer to Connect Directly to PLC with the Help of HMI i.e we bypass the HMI.How to Set Up DirectLink Communication in Delta :-
For setting up the Direct Link function all we need is that make the PLC program and after that got to Options and in Communication Set up just make the communication type as Direct Link. And then go online. Make sure that the Usb cable form PC to HMI and PLC and HMI cable are connected properly. You will see that you can download the plc program in delta plc through usb cable by using direct link communication mode.
See Below Video for a better Understanding.
Important Note :- If you are using the DOP-AE Series HMI than you have to activate the Bypass Mode through system menu.
Dont forget to Subscribe to get all latest Updates in PLC and HMI tips n tricks.
Subscribe to Automation-Talk by Email.
May 27, 2011
Installation Procedure of P&F Double Sheet Sensor
P&F Ultrasonic sensor are very famous in the Industry for their smooth and reliable operation. Various Types of Ultrasonic sensor are there in the Market by P&F which are making the task easier for Industries. Double Sheet sensor is one of the sensor which has proved its usefulness in Paper and Printing Industry.P&F Double Sheet Sensor UDB-18GM35-3E2 Specifications :-
This Sensor is widely used in Printing Industry for the detection of Sheets. This sensor provides three Outputs i.e 1 output for NO Sheet , another Output for "Single Sheet" and third output for "Double Sheet". This is an Ultrasonic Sensor so it can even detect pasted double sheet and also the thin metal and plastic films. This sensor has got very quick response time so that the high Processing speed can be achieved.Teach In Signal also available for programming of the thickness of sheet.
The sensor has got three parts i.e one emitter and 1 receiver and One Signal Unit Box that connects these Emitter and Receiver and also provides the No sheet , Single Sheet and Double Sheet Output. This Sensor needs 20-30VDC power supply to operate and gives PNP type output. Input power Connections in P&F UDB-18GM35-3E2 :-
The Input Supply is to be connected at S1 Connector at Pin 1 and Pin 3. Connect + 24V DC at at Pin No 1 and -24V DC at Pin No 3. Also you can make out the Pin Number by Wire Colours. Mostly the Blue wire is for Negative or Common and Brown Wire is for Positive. Mounting and Installation Procedure for P&F UDB-18GM-3E2 Double Sheet Sensor :-
The most important thing in this type of sensor is that there should be a proper angle between the emitter and receiver ,i.e the angle should be around 20 to 45 degree. Also the Distance between the emitter and receiver head should be from 20 to 80 mm. Also the the emitter should be at Down position and the paper should be almost 10 - 15 mm above Emitter and Receiver at Up Position.
The things told in above paragraph are very important for this Double Sheet Sensor , if the Angle between emitter and receiver is not proper then the sensor will not give proper output. So make sure to have proper angle and the other Installation Things in mind which we told. How to Teach In P&F Double Sheet Sensor :-
Well to teach In the Ultrasonic sensor there is one signal for Teach IN. This can be used for Teaching of the Sensor BUT there is one also another method for this purpose. Just place the Sheet between Emitter & Receiver which we want to teach the sensor and re-cycle the power , so this sheet will be automatically programmed. Also whenever the Sheet is changed just repeat the above procedure.
We hope that the settings told above helped you to install the p&f double sheet sensor correctly , if you still face any problem then you can write to us in comment section.
Dont Forget to Subscribe to get all latest updatesSubscribe to Automation-Talk by Email.
Delta PLC Programming & I/O Addressing
Delta PLC are very popular in the market due to their Economical prices and Nice working. The most Economical basic model of Delta plc is "SS" which is very popular due to its very good price.There are also higher models available with almost all features which we get in all other make PLC , but in DELTA Plc we always get better price as compared to other make PLC.
How to Make PLC Program in Delta PLC :-
Well before going in to programming let us first know the programming software for Delta PLC. WPL SOft is the name of programming software. Version 2.12.06 of WPLSoft is recommended as this one communicates with all windows xp , 7 and vista. Open the software and create a new Project , select the proper PLC Model Over there and click next. Now open the Project and in the left hand side you will see the "Project Work Space" , here click on ladder diagram and we will make the plc logic here.
Input / Output Addressing in Delta PLC :-
Now to make plc logic we need the NO and NC Contacts , Drag the NO contact in the ladder diagram and input its address. The Input Addressing in Delta PLC is from X0 to X177.That is the Input address starts from X0 to X7 - than X10 to X17 and X20 to X27 and so on.Same is the case for Output Addressing. But one thing we keep in Mind is that When we connect I/O Card in "SS" PLC than the input and output addressing for that card starts from X20 and Y20. For example we have a 14SS plc than there will be 8 inputs from X0 to X7 and 6 outputs Y0 to Y5. Suppose one I/O Card of 16 points is connected next to SS CPU. So the Input addressing on this card will begin from X20 and Output Address from Y20.
Download PLC Program in Delta PLC :-
After making the PLC logic , we need to download the plc logic in the PLC. For that we first have the Delta PLC Programming Cable . Connect the Programming cable first and then go to "Options" tab and select "Communication Settings" Here you will see a "Auto - Detect" Button ,click on it and it will automatically detects the communication settings and fill all the things accordingly. Then go to Communication and select Transfer setup Option , here select the PC==PLC option to download the plc logic.
Also there is one sample plc program which you can get from below , a simple start stop logic is made using Delta 14SS plc .
Delta PLC Sample Program.
Hope this post made you understand the basics of Delta PLC. We will be discussing more about Delta PLC , you can subscribe to get all latest updates. Subscribe to Automation-Talk by Email.
May 26, 2011
PLC Program for 2 DG Load Management
Load Management is the essential part of every Industry. DG Load Management and DG Synchronization are two different terms and have different meanings. We have already understood the DG Synchronization. In this article, we will try to understand the basics of DG Load Management and also its PLC programming.
What is DG Load Management?
Load Management as the name tells is the "proper management of load" means balancing the electrical power supply with the load and its behavior. As we all know that there are DG Sets used in Industries for Power Back Up. When the mains fails the DG 1 starts and when the LOAD Increases then the BUS Coupler Closes and DG 2 also starts to Match the Electrical Power with the LOAD. In the LOAD Management there are BUS Couplers and the closing/opening of these Bus Couplers maintain the Load management.
How to do Load Management?
Since electric power cannot be stored and used later, so Electricity is produced and distributed and consumed by Load and it is the place where Load Management Comes into Action.
Also as the Load demand is not fixed so we have to design the system keeping in mind the Maximum Load Condition. As for example when the Induction Hardening Machine is started then at a sudden the load increases by 400 - 600%, so we have to keep in mind all these behaviours of loads. There are many ways for Load Management but here we will focus on Load Management using DG.
PLC Programming for 2 DG Load Management
To do Load Management using DG Sets we will need an Energy Meter that will tell us all the data regarding voltage and current and it will help us to determine the load value. The Energy meter will be connected with PLC in MODBUS via RS 485. We have made this plc program for 2 DG Load Management and using Omron PLC. There are two sections in PLC program , one is for reading data from Energy meter and other is for plc logic.
We have put comments at all places in PLC logic and you will be able to understand it easily. You can download both .pdf and .cxp files from below.
Download 2 DG Load Management PLC Program
Also you can subscribe to get all latest updates in PLC programming and SCADA Tutorials. Subscribe to Automation-Talk by Email.
May 24, 2011
Using Macro In NP HMI | NP Designer Tutorial
NP HMI is a very widely used series of Omron HMI along with the NT series. NP HMI has many functions and features like you can transfer your Program from NP HMI to PC or PC to HMI by USB Pen Drive. Other function of NP is that you can use Macro in this HMI which can reduce PLC programming to some extend. In this tutorial we will learn how to Use Macro's in NP HMI or Any HMI Supporting Macro function like NT, NS, NQ etc. You will find that Macro are very helpful in our PLC programming. Subscribe to Automation-Talk by Email.
Macro are set of Instructions which are used in HMI as a special functions which helps in performing special task while entering into the HMI Screen or leaving the screen. The two macro which are used in HMI are start Macro and End macro.
How To Put Macro In NP or NT HMI
Suppose you want to make a internal PLC bit or any other bit of the PLC to be in ON or Off condition when you are in any screen of the HMI. This can be done by PLC programing and making a bit ON or Off and you can also do this by using Macro in your HMI.
Now to put start or End macro in your HMI program just follow below steps.
1.Click on Start Macro to start the initialization of your macro commands. The start macro will bring you the Macro program writing screen as shown below.
The maximum limit of Row of Macro is 512 lines and maximum limit of lines is 128 bytes.
2.Now Just write your Macro in the macro programing space. If you don't know the macro programming then don't be upset just click on Macro Wizard which will bring you another screen where you can see all commands for your programming like arithmetic, logical, Data conversion, Data transfer, comparison, Flow control, Bit Setting, Comm Setting Etc.
In this you can set up-to 4 variable for only 1 command which helps in educing your programming in PLC end.
We will continue to post more NP HMI Tutorial on macro and help you in Macro function learning till then you can Subscribe to Automation-Talk by Email or keep visiting.
May 23, 2011
Schneider Electric ALTIVAR 66 VFD User Manual
Schneider Electric ALTIVAR® 66 VFD are Adjustable Speed Drive Controllers for Asynchronous Motors. There are widely used Schneider Electric AC drives in industry. This is Instruction Bulletin for VD0C06S304E. The drive provide Constant and Variable Torque and comes in different power range like 1 to 400 hp, 460 V and 1 to 50 hp, 230 V. This manual will help you in Installation, start up, wiring and troubleshooting of ALTIVAR 66 VFD Subscribe to Automation-Talk by Email.
Download Schneider Electric ALTIVAR 66 VFD User Manual
May 21, 2011
Baldor Mint Motion Language Programming Tutorial - Part 6
Mint MT is a very powerful programming software used for programming of Baldor Motion Products. Up till now we have understood the Subroutines,arrays,functions and basic Program Structure. Today in this post we will see the Mint Special Keywords used in Mint language used for the Special motion applications.
Mint Motion Specific Keywords :-
There are specific Keywords available for custom Motion Application in MINT MT Language.MINT includes motion specific keywords such as SPEED,ACCEL,MOVER,MOVEA,JOG,HOME.Most MINT keywords can be abbreviated (useful when entering commands via command line) SPEED/SP,ACCEL/AC,MOVER/MR,MOVEA/MA,JOG/JG,HOME/HM.Mint keywords can refer to an individual axis or to all axes on the controller.
To reference a single axis use:
SPEED[1]= 10
SP.1 = 10
For multiple axes use:
SPEED[0,1] = 10,20
SPEED[0,1] = 10;
Enabling the Servo Drive in Mint :-
Motion Controllers and Intelligent Drives both use the DRIVEENABLE keyword. Motion controllers use a DRIVEENABLEOUTPUT to enable remote drives. Mintdrive II enables the internal drive digitally and sets the DRIVEENABLEOUTPUT if defined.The RESET[axes] keyword clears all errors, zeroes the position(s) and enables the drive(s). Alternatively the CANCEL[axes] keyword can be used to clear errors (the position is maintained) and the DRIVENABLE[axes] keyword can then be issued to enable the drive(s).
Scale Factor in Mint MT Language :-
The SCALEFACTOR keyword allows each axis to be scaled into engineering (user) units Controllers operate in terms of (quadrature) encoder counts - motion related parameter values are multiplied by SCALEFACTOR to translate back to counts.
Example:
If the encoder simulation produces 4096 counts per rev...
SPEED=4096 ‘ 1 rev/second
SCALEFACTOR=4096 ‘ scale to revs/sec
SPEED=1 ‘ still 1 rev/sec
SPEED=2 ‘ 2 revs/sec
NOTE :- Advisable to work in counts with high precision applications (SCALEFACTOR=1).
Constant Velocity Motion:-
Constant velocity motion is performed with the JOG keyword.
Example :- JOG.0 = 20 ‘ JOG at 20 user units/sec.
The motor accelerates at the rate set by the ACCEL keyword to the velocity specified. The motor decelerates to zero velocity at the rate set by the DECEL keyword. Motion continues until stopped (STOP or ST) by the user. JOG is capable of blending (smooth transition from one speed to another).
You can also subscribe to get all latest updates in Baldor Servo Drive Programming.Subscribe to Automation-Talk by Email.
May 19, 2011
ABB ACS355 Drive User Manual
ABB ACS355 Drives are general machinery drives and widely used in industries. This manual provides information needed for planning the installation, installing, commissioning, using and servicing the ACS355 drive. The manual will help you in fault diagnosis and troubleshooting of the AAB drive. Subscribe to Automation-Talk by Email.
Download ABB ACS355 Drives User Manual
May 17, 2011
Allen Bradley PowerFlex 70 AC Drives User Manual
Allen Bradley Power Flex 70 AC Drives are widely used in Industries along with Power Flex 40 AC Drive. On reading this manual you can program and operate Adjustable Frequency AC Drive devices. The manual also tell about the mounting and wiring the PowerFlex 70 Drive. Subscribe to Automation-Talk by Email.
Download Allen Bradley Power Flex 70 AC Drives User Manual
Communicate Delta HMI In Windows 7 32&64 Bit and Vista
Delta HMI AE ,A and AS series are very popular in the market due to their good prices and efficient performance. Screen Editor is the software which is used to program these HMI. But all those who uses windows 7 OS face the problem that the communication doesn't take place. Here in this post we will see that how can we communicate our Delta A,AE,AS series HMI in Windows 7.
How to Communicate Delta Screen Editor in Windows 7/Vista :-
As now a days all new laptops which we buy are pre-installed with windows 7 , so it is necessary that all the software which we use should communicate in Windows 7 platform. But we found that a majority of the Software fail to do so. However the Delta HMI software can be communicated in Windows 7 both 32 bit and 64 bit and also Windows Vista OS.
Omron NP HMI Communicate in Windows 7.
First of all we should have the latest version of Screen Editor Software. You can download it for free from Delta Automation Website. Get the Screen Editor Software 1.05.86 first and install it on your laptop. However it is written on Delta website that this software communicates in windows 7 but you to make a setting first.
Setting in Delta HMI to communicate in Windows 7 :-
After Downloading the software , press the "SYS" button on the HMI for about 5-7 seconds , you will see that the settings Menu will open then select the Communication Setting . Here a page will be displayed for Communication Setting , at the bottom of the page there will be "USB communication Mode" and default value will be 0. Change this value to 1 and save it.
After this re-plug the USB Cable , you will see that after re-plugging of USB Cable the Driver will get Installed Automatically .
After the USB Driver for Windows 7 get installed , re-power the HMI and now you can upload and download the Program in HMI easily.
We hope that after doing the above things you will now easily be able to communicate with Delta HMI in Windows 7. If still you face any problem then you can write in comment section.
Also you can subscribe to get all latest updates in plc programming and HMI programming.
Subscribe to Automation-Talk by Email.
May 15, 2011
Condition Flags in Omron PLC Programming
As we discussed previously about the Internal Bits in PLC, in addition to these plc internal bits Omron PLC have some Condition flags which depicts the results of instruction execution. These special condition flag do not have a address rather they are specified with their symbols. We will see all the condition flag available for use in Omron PLC Programming.
Using Condition Flags In Omron PLC :-
The first thing we should understand is that all of the condition flags are read only and can not be also force set or force reset. Below is the list of Condition Flags in Omron PLC.
1. P_ON -->> It is always ON flag i.e it will always remain ON , this flag is used extensively as execution condition for all the Instructions which need to executed always.
2.P_Off -->> It is always OFF flag i.e it will be always off , used when we want to Stop the execution of a particular rung stopped.
3.P_ER -->> It is Error flag i.e this flag is turned ON when a error occurs i.e when the operand data in an Instruction is Incorrect. So this flag becomes high indicating that the Instruction was stopped because of incorrect operand.
4.P_AER -->> Access Error Flag . It is turned ON when an Illegal Access Error occurs. It gets High when an Instruction tries to access a particular Memory area which is Not desired.
5.P_CY -->> Carry Flag. This Flag is turned ON when there is a carry generated in Arithmetic Operation.
6.P_OF -->> Over Flow Flag. This Flag becomes high when the result of Arithmetic Operation generates a value which cant be stored by the destination Data Word.
7.P_UF -->> Under Flow Flag. Turned ON when the result of calculation underflow the capacity of the result word(s).
Apart from these above mentioned flags there are also condition flags for Equal , Greater than , less than and Not equal. These flags make it is usier to use them in PLC program for making the calculation and getting their results. As there is Compare Instruction in Omron PLC used for comparing the Value of two Data Words , so with the help of these flags we can make the further PLC Logic.
If you still have any doubt then feel free to write us in comment section. Also you can subscribe to get all latest updates in PLC programming , VFD Installation, HMI Programming and SCADA tutorials via E - Mail.Subscribe to Automation-Talk by Email.
May 14, 2011
Internal Bits in PLC Memory Area
Every PLC has its own internal bit which can no be used by the programmer for making the program ,however these internal bits of plc shows the status of plc. Like there are bit defined for most of the functions like run mode , stop mode , time bit etc , These are the status bit which are helpful in determining the errors in plc and sometimes useful in plc program also.
Internal Memory Bit of a PLC :-
The internal auxiliary bits of plc has bits in this area which have preassigned functions. The value to these bits is written or changed by itself depending on the conditions. With the help of these internal bits Ladder programs can be simplified and controllability can be improved by effectively using the bits and words in this area. Some words or bits are set automatically by the system and others are set and manipulated by the user. The Auxiliary Area includes error flags set by self-diagnosis, initial settings, control bits, and status data. Words and bits in this area can be read and written from the program.
There are Internal Auxiliary bits like First Cycle Flag , First_Cycle, Step Flag P_Step, First Cycle Task Flag, P_First_Cycle_Task, Maximum Cycle Time P_Max_Cycle_Time, Present Cycle Time, P_Cycle_Time_Value,Cycle Time Too Long Flag, P_Cycle_Time_Error,Battery Error FlagP_Low_Battery
,Output OFF Bit and much more. These bits give the user a much advanced controllable features.
Also there is a particular area defined for maintaining the details of error log ,so that we can see the log of previous errors occurred in PLC and identify the problem. In addition to Internal Bits there are also Internal Data Words which are used for storing the time value of PLC and much more functions.
Also we will be discussing more about the time bits and words in Omron PLC , till then you can subscribe to get all latest updates regarding plc programming in yours inbox. Subscribe to Automation-Talk by Email.
May 13, 2011
Allen Bradley Power Flex 400 VFD User Manual
Allen Bradley 22C Power Flex 400 Ac adjustable drives are widely used and optimized for control of commercial and industrial fans and pumps. Software which can be used are RSLogix 5000 Integration with Drives, Drive Tools SP Software, Drive Explorer Software etc. It provides a cost-effective solution for speed control in variable torque fan and pump applications. Subscribe to Automation-Talk by Email.
Download Allen Bradley Power Flex 400 AC VFD User Manual
May 12, 2011
Zen Plc Programming With Operation Buttons
ZEN is a programmable realy by Omron ,used mostly in small scale applications where limited I/O's are there. ZEN features very good functions like Weekly timers and Yearly Timers. Also the one of the advantage is that we dont have to carry laptop to site to do its programming. As ZEN plc comes with 8 operation buttons through which plc logic can be developed. So it proves beneficial in all cases where carrying laptop is not an option.
ZEN PLC Programming with Operation Buttons :-
ZEN plc programmable relay comes with 8 operations buttons for easy programming. Although the plc logic can be made in ZEN Programming software and downloaded in ZEN , but sometimes due to unavailability of programming cable or laptop the plc logic can be made with these operation buttons.
There are four operation button for navigating up - down - left and right while making the plc logic. That is these for operation buttons move the cursor up , down , left and right. There is one operation button "del" which is for deleteing inputs, outputs, connection lines, and blank lines. There is one button name "ALT" which is used for changing the Normally open condition to normally closed or vice-versa. Also "ALT" button Changes to connection line write
mode and Inserts a line. If we want to cancel a setting or return to the previous operation
than this can be done with "ESC" button. The last button is "OK" which Confirms the setting.
So with these operation buttons plc logic can be made easily in ZEN programmable relay. Still if you need any help you can write to us in comment sections. Also you can subscribe to get all latest updates on plc programming and scada tutorials though e mail.
Subscribe to Automation-Talk by Email.
May 9, 2011
Weekely Timer Operation in Zen PLC Programming
Programmable Relay ZEN by omron has the function of Weekly timer , and these timers can be set accordingly for any desired operation. These timers proves beneficial in applications like street light , company alarm operation or any such application where we need to repeat a particular thing on daily time basis. There are three different type of Weekly timers available in Omron Zen Programmable Relay.
PLC Programming for Street Light Using Omron Zen :-
Now in this post we will see that how can we use weekly timers available in Omron Zen Programmable relay to make plc program for street light. Let us take example that street lights will have to be on from 6pm in evening to 5am in morning everyday. So for this purpose we will use the Normal operation of timer and define the time range for everyday.
Also if there is another street light that needs to operate only on Wednesday and Friday of every week from 9 in night to 4 in morning ,than this can also be done using another timer.
Also there is one Pulse shot timer available in Omron Zen Programmable relay which remains on for a predefined interval when its input condition goes high. Suppose there is another street light which needs to be turned on every day from 8 pm and needs to be on only for 10 minutes.This thing can be done by using pulse shot timer.
We have made the above plc logic as discussed above , you can download it from below. Both the Zen and PDF file are included.
Street Light PLC Program.
We hope that this automated process of street light operation using plc logic helped you to understand weekly timers in omron ZEN plc. Also you can subscribe to get all latest updates via email.Subscribe to Automation-Talk by Email.
May 8, 2011
Mint Motion Programming Tutorial - Part 5
Up till now we have understood the basics of Mint Language , Scope of Variables and Declaration of Subroutines/Functions. So we have got the complete basic idea about Mint Language. Now we will proceed with Program part i.e the basic program structure and how to make program in Mint Motion language for Baldor Products.
Basic Program Structure for Mint Motion Language :-
MintMT always has a ‘Parent’ task (Main Program) used to Run / stop the child tasks , define child task priorities using TaskPriority , define number of instructions executed in a child task before switching using TaskQuantum , Check child task status using the TaskStatus keyword. The parent task also Contain global Event handlers such as ONERROR and also used for defining global data, functions and subroutines for use by other tasks subroutines and functions.
Important Note :- MintMT program will terminate when the Parent task terminates
How to Define Task in Mint MT :-
Task is same as Program , task are the key builders in a Mint Program. Now let us see that how to declare the task to be used in Mint Program. Tasks are created with the Task keyword.
SYNTAX :-
Task myTask
Loop
….
End Loop
End Task
Note :- Here mytask is the name of Task (you can put any name )
The task defined in program are executed whenever the run command is issued for a particular task in the Mint Program.
Run myTask
Task can be suspended anyway within the program using TaskSuspend. Tasks will run until End Task is executed.
As discussed in Previous tutorial subroutines and functions are local for a task, so this allows data, subroutines and functions of the same name to exist in multiple tasks.Tasks have their own environment variables
AXES strings, Terminal, Timer
Status of task can be read using TaskStatus. Priority of task can be set with TaskPriority
Now the main question arises that when should one use a task in program ? There are mainly 4 points when we prefer task , see below :-
1.When code in an Event would hold out processing of other vital instructions
2.When several unrelated things all need processing ‘simultaneously’
3.To break the program down into logical blocks
4.To allow a section of code to be suspended or terminated at any time by an external source
Hope that this tutorial helped you to understand about creation and usage of task in the Mint Motion language.
Subscribe to Automation-Talk by Email.
Use Counter as Timer in Omron Zen PLC Programming
Zen is a programmable relay by Omron , it is a very basic PLC and generally used for small scale applications. However Zen comes in different models and also analog Inputs can be connected.But the number of timers & Counter are limited . Only 16 timers & 16 counters are available in Zen Programmable Relay. Some times it happens that we need to use more than 16 timers in our program , so in that case what can be the possible solution?
Make Counter to Work as Timer in Omron Zen PLC :-
If it is required to use more than 16 timers and counters are free than we can make the plc logic in such a way that counter will work as timer. Suppose that we need a timer of 10 seconds , another timer of 15 seconds and third timer of 20 seconds. Then first of all make a timer with preset value as 1 second. Note :- Take the timer as flashing type i.e the timer will remain on and off simultaneously for the value set until the input condition is true.
After that make 3 counters and in the preset value put 10 , 15 and 20 seconds. And in the input condition of all the counters put the Timer Done bit. So in this way these counters will behave as timer of 10 second , 15 second and 20 seconds.
So this technique can prove beneficial in the case when timers are falling short. We have made a sample program , you can download it from below. Both the zen and pdf file are included and also you can test the program in the zen programming software simulator.
Counter As Timer in Zen
Also keep reading here for latest plc programming tips and tricks. Also you can subscribe to get all latest updates via e mail.Subscribe to Automation-Talk by Email.
Allen Bradley Power Flex 40 VFD User Manual
Allen Bradley Power Flex 40 VFD is a very powerful drive and is widely used in industry giving high and efficient motor control.
May 7, 2011
Allen Bradley Power Flex 4 VFD User Manual
Allen Bradley Power Flex4 is a widely used Adjustable Frequency AC Drive (VFD). This come with the Integral RS485 communications which enable the drives to be used in a multi-drop network configuration. It utilize less space and are cost effective VFD's. This manual will help you with the basic information needed to install, start-up and troubleshoot the PowerFlex 4 Adjustable Frequency AC Drive. Subscribe to Automation-Talk by Email.
Download AB Power Flex4 User Manual
May 5, 2011
Ultra High Speed Timer In Omron PLC Programming
In the last article we discussed about the high Speed timer functioning. Today we will see another type of timer available in Omron PLC. Ultra High Speed Timer having time base of 1 milli second is available in Omron PLC for achieving better accuracy in real time applications.
TMHH 1 ms Ultra High Speed Timer Omron PLC Programming :-
TMHH is the timer with a timer base of 1 Milli seconds available in Omron PLC with which we can achieve reolution of .01 seconds and achieve higher accuracy in the opearation. The functioning of this timer is also same as all other timers in omron PLC. TMHH timer is of BCD type i.e we have to put "#" before the preset value.
See the syntax below.
TMHH A B
Where A is timer Number and B is preset value.
TMHHX Ultra High Speed Timer Binary Type :-
This type of timer is same as TMHH except that the Preset Value is in BIN type that is we have to put "&" before the preset value.
Example :- TMHHX 01 &2000
So when the input condition goes high than this timer becomes high after 2 seconds.
Important Notes :-
1. The timer must be between 0000 and 0015
2.The status of the timer's PV and Completion Flag will be maintained after the timer times out. To restart the timer, the timer input must be turned OFF and then ON .
3.The setting range for the set value (SV) is 0 to 9.999 s for TMHH(540) and 0 to 65.535 for TMHHX.
Timer numbers are shared with other timer instructions. If two timers share the same timer number, but are not used simultaneously, a duplication error will be generated when the program is checked, but the timers will operate normally. Timers which share the same timer number will not operate properly if they are used simultaneously.
Also if you are facing any issue on using these timers in your program than you can leave a comment. Also don't forget to subscribe to get all latest updates regarding omron plc programming..Subscribe to Automation-Talk by Email.
May 4, 2011
Transfer Many Words/Bits Through Single Instruction In Omron PLC Programming
Many a times it happens that we require to transfer a series of DM words in plc program to other DM words , so instead of writing a single MOV instruction everytime we can use a advanced Instruction XFER to transfer a complete block of DM words from one location to another. Also we will discuss one more instruction XFRB through which we can transfer the bit status from one word to another.
How to Move more than one DM Word in a Single Instruction :-
There is one instruction in omron plc through which we can transfer a more than one Dm word at a time. XFER is the instruction through which we can move up to 65,535 words from one place to another, But all the DM should be in sequential order.
Syntax :- XFER A B C
where A is number of words which you want to move, B is the source starting word and C is the destination first word. See the below example :-
Example :- XFER &10 D100 D200
When this instruction is executed than 10 words starting from D100 will be moved to D200. That is D100 to D109 data will be copied to D200 to D209.
This instruction proves to be very usefull inn the case of Modbus Programming where we have to transfer the whole query in to Modbus DM words.
Transfering Bit Status from One Place to Another :-
Sometimes it is also required in the plc programming that we need to move the bit status from one word to another. So for this purpose we have got one instruction in Omron PLC. XFRB is the Instruction , see its syntax below:-
XFRB A B C
where A is the control word , A is the source word and B is the destination Word.
The value in the control word decides that how many bits will be moved and in which way. The first first four Bits in Control Word will decide which will be starting Bit to be moved , the next four bits will decide the first bit in destination word and the last 8 bits will tell about the number of Bits to be copied. See below example for better understanding.
Example :- XFRB D100 W6 W7 ( D100 = 1426)
So when this instruction is executed than the 20 bits starting from w6.6 will be copied to bits starting from w7.2 , here the control word is D100= 1426 which means that 6 is the starting bit in source word and 2 is the starting bit in Destination word.
We hope that with the use of above instructions in your PLC program you can reduce the length of plc program. Also you can subscribe to get all latest updates in omrom plc programming.Subscribe to Automation-Talk by Email.
May 3, 2011
Using High Speed Timer in Omron PLC Programming
In almost all of the plc program which we make timer is a essential part. In omron PLC the timer is generally of 100ms time base so we can have minimum resolution of 0.1 seconds only. But there are applications where timing is of much importance and in that case High Speed Timer proves Beneficial.
General Opearation of Timer in Omron PLC :-
First of all let us understand the functioning of timer in Omron PLC. All the timers in Omron PLC are Decrementing timer i.e when the timer input condition is off the timer specified by N is reset, i.e., the timer's PV is reset to the SV. When the input condition goes high than it starts decrementing the PV. The PV will continue timing down as long as the timer input remains ON and the timer's Completion Flag will be turned ON when the PV reaches 0000 and timer goes high.
TIMH High Speed Timer BCD Type :-
TIMH Type timer have a base of 10ms for getting high resolution & efficiency. The minimum resolution can be achieved is of .01 seconds. The operation of this timer is same as told above and it is of BCD type that is you have to put the PV preceding by #.
Instruction Format :- TIMH A B
Where A is timer number and B is PV.
Example :- TIMH 01 #300
So when the input condition goes high than the PV starts decrementing and after 3 seconds it will be 0 and timer goes High.
TIMHX High Speed Timer BIN Type :-
This timer is same as told above but the PV which we have to specify is in Binary i.e you have to put the PV preceding by &.
Example :- TIMHX 02 &300
This timer will become high after 3 seconds.
Hope by using the above timers you can achieve better accuracy. If still you face any problem than you can write us in comment section. Also you can subscribe to get all latest updates in Omron PLC Programming.Subscribe to Automation-Talk by Email.
May 2, 2011
Replacing KEB VFD with Fuji Multi Drive
Many a times it happens that we have to replace the existing Variable Frequency Drive with a New Company Drive. So in that case we have to be familiar with VFD of both the Manufacturers. Here in this post we will see how we can replace the existing KEB Drive with Fuji VFD.
Replacing KEB Frequency Drive with Fuji Make Multi Drive :-
Here we will take example of KEB drive in application where the application is that drive is getting a 0 to 10 Volt signal as frequency reference and Start command is from terminal. In KEB frequency Drive the Control terminals have got numbers on them. So if you have got a KEB Drive and thinking it to replace with New one of Different make then this post will help you a lot in making the Control terminals Connections.
First of all cut off the main power and remove the Drive Input Power and Motor Output Wires. Now Note Down the Wire Number on Each Control terminal of KEB Drive. For this Particular application in which we replaced KEB Drive the terminals used were.
Terminal No. 1 ---- >> Variable Voltage Input
Terminal No. 8 ---- >> Zero Voltage Input
Terminal No. 20 ---- >> Common For Input
Terminal No. 16 ---- >> Forward Run Command
Terminal No. 25 ---- >> Relay Output Common
Terminal No. 26 ---- >> Relay Output NC Contact
So how make these existing connection same in Fuji Multi Drive ?
We will tell you that , make the connections as follows :-
Keb Drive Control Terminal ---------------------------Fuji Multi Control Terminal
Terminal No 1-------------------------------------------------------Terminal No. 12
Terminal No 8-------------------------------------------------------Terminal No. 11
Terminal No 25------------------------------------------------------Terminal No. 30B
Terminal No 26------------------------------------------------------Terminal No. 30C
Terminal No 20------------------------------------------------------Terminal No. CM
Terminal No 16------------------------------------------------------Terminal No. FWD
So after Removing control connections from KEB Drive and Making the connections in Fuji Drive as shown above , Now we have to make appropriate Parameters Settings in Fuji Drive , the application we have already discussed above. Make the Following Parameters Set in in the Fuji Multi Variable Frequency Drive.
Parameter Settings in Fuji Multi Drive :-
Paramter Number ---------------------------------------------------------Value
F01 ----------------------------------------------------------------------------- 01
F02 ----------------------------------------------------------------------------- 01
F03 ----------------------------------------------------------------------------- 95
F04 ----------------------------------------------------------------------------- 50
F05 ----------------------------------------------------------------------------- 220
F06 ----------------------------------------------------------------------------- 220
F14 ----------------------------------------------------------------------------- 04
F15 ----------------------------------------------------------------------------- 120
F07 ----------------------------------------------------------------------------- 0.2
F08 ----------------------------------------------------------------------------- 0.2
C32 ----------------------------------------------------------------------------- 200
C35 ----------------------------------------------------------------------------- 0
P01 ----------------------------------------------------------------------------- 4
P02 ----------------------------------------------------------------------------- Motor KW
P03 ----------------------------------------------------------------------------- Motor Amp
P99 ----------------------------------------------------------------------------- 4
Important Note :- F07 and F08 are for acceleration and deceleration time , adjust them according to your application.
So after Making these settings and Control Wiring, Power on the Drive and Run the Machine . You will see that the same operation will be achieved as it was earlier with KEB Drive. However your application is different as told above you will need to make some more parameters settings and Control Terminal Connections.
If you still face any problem you can write us in comment section and we will be happy to help you out. Also you can subscribe to get all latest Updates in Frequency Inverters.
Subscribe to Automation-Talk by Email.
May 1, 2011
How To make Sink Type from Source Type PLC
As we all know that the Outputs in PLC are generally of two types Either Relay type or Transistor Type. Further if we distinguish then There are two types in Transistor Output Type PLC , either Sink type or Source type. Many times it happens that we have got a Source Type PLC and we require Sink type type Output for a particular application.
How to Convert Source Type Transistor Output To Sink Type Transistor Output in PLC :-
The Transistor type output PLC are used in applications when we need to used Pulse type Outputs i.e when we require to run a servo or Steeper Drive. As one case happened with me at site , I have to change the existing PLC , but the plc which was installed earlier was Sink Type and i was having Source Type. So accordingly i changed the wiring for all outputs and the work was Done. But there was one Servo Drive and that Servo can only accept Sink Type Pulses.
So anyhow i have to make first two outputs of PLC to give Sink type Output to run the Servo Motor. So today we will see how we can handle this situation. Suppose first two Outputs you have to use as pulse type and this terminal will give the servo drive pulses for running the servo Motor.
First of all short the Two outputs terminals i.e Y0 and Y1. Give 0 volt at terminal Y1 and take output from terminal Y0. Remember this type of connection will make the Source Type Output to act as Sink Type Transistor Output. All other left Outputs will still act as Source Type Outputs. Now make the PLC program and take out pulses from Y0 output terminal , you will see that Sink Pulses will be outputted.
See the Below Diagrammatic Representation of the Above thing for a better Understanding.
So this way you can easily convert Source type Transistor Output to Sink Type Transistor Output. This technique is very useful when you are at site and you can't get any other PLC to do the work , this works perfect and we have tested it.
Also to get exclusive tips and tutorials on PLC Programming you can subscribe to get all latest updates through mail.Subscribe to Automation-Talk by Email.