Sleepy Wombat

MrPLC Admin
  • Content count

    2003
  • Joined

  • Last visited

Posts posted by Sleepy Wombat


  1. There is a screen saver function for the Panel view 5310. It utilises a AB logo splash. I would like a custom image to be the splash for the screen saver. The literature seems to suggest you can display a path to the screen saver image. This returns a blank text when i used on the screen. I did load an image into the project, however can find no way to point the screen saver to the image.
    Has any one else tried this/had any success with it. Very frustrating. Any help appreciated


  2. Hi all, I am doing a project with a car on a rail (inclinator lift) with wireless comms between the car and the control panel for selecting the various stopping stations ie level 1 thru level 4. All good so far with the system... it works. The car has a battery for the wireless system power. however, i am looking at options of charging the battery when it reaches say station 1. The product that interests me is from wieldmuller - however they are really dragging the chain in releasing the product... http://www.weidmueller.com/132685/Products/Connectivity/Contactless-transmission-system/cw_index_v2.aspx I have contacted another company, power by proxi, and again they seem to drag the chain in getting back... http://powerbyproxi.com/products/proxi-point-150/ Has any one done something similar or know of an available product out there... Really only try to charge a damm battery, surely there must be other product out there... any response would be appreciated.. cheers Sleepy..

  3. Is my math wrong, or did I miss something... You have 50 diff moulds. You have 100 diff cycle pattern for each moulds/colour combos. so that would mean 5k of data.. but if you mean that you had 100 CP per mould per colour then that is 50k. Then why would you x by 26 machines when it is a look up for a mould/colour combo.? woulndt the 50k suffice ? For comms to a machine A colour mould recipee will only consist of 100 data tags each time. (or a single array of 100 items). Once a mould recipee selected then simply transfer the 100 tags once only into the PLC. The PLC should run happily with set parameter until the recippe/mould is changed... CXSup can access database files, so might want to look at that. At the machine do they dial up the mould/colour id, or is it all set by the cx supervisor ? You can always test on a small scale first to test the water so to speak and check your code.

  4. There has been some great discussion regards NPN and PNP, sinking sourcing etc.... With Omron input cards they are bipolar.... so you choose the input type by what you wire to the common of the input card.. I always think of it simply in that if I have 24vdc coming in from the sensor for the input then the COM must be a 0VDC. Visa Versa... if 0VDC is coming in as the input then the COM must be 24VDC.... A PNP sensor switches the positive.. hint "P" A NPN sensor switches the negative... hint "N" If in doubt check the wiring diagram for the card to make sure you understand regardless of the IO card manufacture. However I have a bigger concern which was stated in the original post... Are you kidding me..... I hope that company has all the Public Liability and Professional Indemnity insurances up to date.
    1 person likes this

  5. as a guess... nothing to do with the baud rate at all... you have now got the operator to input a real number with decimal point, the PLC might only be setup to expect an ASCII equivalent to a number and not a decimal point ... which in the case of ASCII will be a full stop character. so previously you would of had a string for 25 looking like 3235 which is a single word. where as now you have a string of 25.00 looking like 3235 2E30 30.. which is 2 and half word with a non numerical character thrown in for good measure the "." =2E... You we need to sort this out first. ALSO, I do not know how your PLC program works but you will also have to modify how 2500 will be interpreted / manipulated in your PLC Logic as well to get it to work how you wish.

  6. What PLC model.. SFC wont work with all... you can use any of the above methods mentioned above by Cross or Bits N Bytes and OR simply use KEEP instructions or SET and RSET... If you think you need state logic...have you hand drawn out the state diagram ?\ Have you analysed all the what if scenarios ?

  7. if the back light is gone, perhaps a local disty could replace. I am not aware of an easy upgrade. you might have to get the orig program and then rewrite for a new model screen. I would look at the NB series screen however the more expensive NS series is easier to program. Alternatively, there are many NT20S on ebay from china / us / singapore....

  8. As per pervious post.... adding a little more info on the front of the PLC you will also notice the assigned addresses for the IO on the PLC. you will notice 0ch 1ch for inputs and 10ch, 11ch for outputs. ie as above post.. for inputs Channel 0 first input group addr 000.00, 000.01 --- through 000.11 next inpuut group Channel 1 then 001.00, 001.01 --- through 001.11 same syntax for outputs Channel 10 010.00, 010.01 --- through 010.07 Channel 11 011.00, 011.01 --- through 011.07

  9. Please clarify for me, and excuse my ignorance.... would not the CPT execute the function from left to right regardless ie A + B + C. A, B and C are variables so if A = 8, B = -2 and C =1 then the equation becomes 8 + (-2) + 1 = 7. why do you need the brackets to have CPT (A+B)+C... if you are simply substituting values then in this case executing B + C before adding A is doesnt matter as -2 + 1 = -1 then 8 + -1 = 7. however taking this further so for the following equation A + B * C using the above values the answer should be 8 + (-2 * 1) = 6 so to get the correct answer with CPT you must enter the formula as A + (B * C) other wise CPT would get an answer of 36. (ie (8 + -2) * 6 = 36) I understand why the parentheses are important in this instance but not the first example of A + B + C

  10. If you dont know how to use the inbuilt PID function, then even if you have a process engineer tweak it, i dont understand how you would understand an ST PID. BTW how can you tweak something that is not running, if you mean modify a PID equation then thats different. If you have the process guys pid you could write a ST your self using the standard math functions in the PLC. there is a lot of work involved in writing one from scratch, and you need to understand the engineering behind it. To be honest, I would suggest you get a dedicated standalone process controller (omron temperature) and use that for your pid.

  11. Hey Bob, The Memory view using Bin (2) format will show all the bits and allow forcing, however it is displayed in a contiguous format. Being able to open multiple instances of the same area starting at a user defined address would do the trick for you. The Switch Box utility is nearing what you want... however, it still feels limiting. I wish you could customize it more and display more info. Have used it when debugging a machine and want to confirm a signal is coming on from a limit switch, you can see the bit state transition from black to orange easily from a distance. (especially if commissioning by your self.)

  12. What if you initialise the value of the result before you execute the protocol macro. Isnt there also a flag to indicate if the read was successful ? ie if not successful then write zero to the result. there is a port monitor /busy flag that you could use to make a decision on... lots of diff ways to achieve what you want...

  13. No, I am not aware of a way of exporting to a csv or text file edit the file an import. There is a export comment file - however, it is saved as CMT file and basically gobbleegook.... Pressing the "L" key in CX-Programmer pops up the GO TO Commented Rung Dialog (easy to navigate) while clicking on the "Section/Rung Manager" icon or Menu item Program -> Section/Rung Manager Allows you to move comments and rungs around in the program etc...

  14. Read about the SCL function. Scroll to the bottom and read my last post reply in this topic http://forums.mrplc.com/index.php?showtopic=27674 although you values will differ (ie the full scale of the RAW analogue input will be &255 not &4000.) and your scaled range will be different.

  15. have you ever got the bar code reader to work with a normal pc running a terminal program, ie hyperterminal ? I would suggest taking it back to the basics first of being able to confirm the comms with a PC first. that way you will see the data and be able to confirm the comms. Secondly, as was pointed out to you, the USB to RS232 convertor will not work when plugged directly into a PLC RS232 port as the pin allocation is different, yet I noticed in your last post you went back to plugging in directly. That will not work. The cable diagram given as might not work for the following reason: The PLC and the USB RS233 convertor are designed to have a straight through connection for pin 2 and pin 3 (ie in the diagrams for PLC pin 2 (TXD) to PC pin 2 (RXD) and PLC pin 3 (RXD) to PC pin 3 (TXD). THEREFORE since the PLC and USB RS232 convertor have the same pin allocation for pin 2 and pin 3 YOU will need a cross over here - ie PLC pin 2 to USB pin 3, and PLC pin 3 to PC pin 2. The next important connection is the SG as per diagram PLC pin 9 to USB pin 5 Bridge PLC side 4-5 Bridge USB side 4-6 and another bridge USB side 7-8 rxd if wired properly, the RS232 port LED will flash on the PLC when data is received on the comms port regardless if have not executed the RXD function. this will prove if you are getting any data at all to the PLC port

  16. what do you want to happen when the lamp comes on.. ie stop the machine ? or just indicate.. how do you want to reset the lamp, product flow good / or reset pb. your logic will auto reset the lamp as soon as the cnt is complete cause you use the cnt000 bit to reset the cnt000.