Jump to content

Search the Community

Showing results for tags 'unitronics'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • New! UniLogic V1.23 introduces MQTT!!
    • VisiLogic:9.8.64 - Link to mobile app, Ladder: 2x the Space!
    • New!!! ***** U90 Ladder*****
  • UniStream HMI + PLC Programmable Controllers & UniLogic Software
    • UniStream: Hardware
    • UniLogic Software
    • UniLogic UDFBs
    • Industry 4.0, IioT, MQTT--Looking forward
  • Vision, Samba, Jazz and M90 PLC + HMIs & Software
    • Vision & Samba PLC + HMI Controllers & VisiLogic Software
    • Jazz, M91 PLCs and U90Ladder
  • Software Utilities
    • SD Card Suite
    • Remote Operator
    • Remote Access
    • DataXport and DataXls
    • UniDownloader
    • UniOPC
    • UniDDE
  • Utilities for .net and Visual Studio
    • Unitronics PCOM Protocol
    • COM Object ActiveX .dll
    • .NET driver
  • Project Design
    • ...I have a project...what hardware do I need?
  • User Application Stories
    • Just finished a great project?
  • Tips and Tricks
    • Best Programming Practices
    • Tips and Tricks
  • Job Board
    • Projects seeking Programmers
    • Programmers seeking Projects
  • General Discussion
    • We're Listening...
    • The Lounge
  • News and Announcements Copy

Blogs

  • Unitronics' Blog: PLCs, HMIs and more
  • Saragani's Blog
  • Simon's Blog
  • Ash Neilson's Blog
  • Joe Tauser's Blog
  • Unitronics en Español
  • Powered by AMPS
  • Alldrives UK's Blog
  • Unitronics, Howman Style
  • PLCNewbie's Blog
  • Telestar Automation Blog
  • Webinars Collection
  • Tim's Corner
  • Blog
  • TELESTAR (Italian)
  • i4 Automation
  • i4 Automation (UK)
  • Unistream UDFB's

Categories

  • From Headquarters: Sample Applications
    • From Headquarters: VisiLogic
    • From Unitronics: U90 Ladder applications
  • User-submitted Applications
    • From Users: VisiLogic applications
    • From Users: U90 Applications

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests

Found 26 results

  1. Hello every one, I'm programming on Visilogic and when I build my project i have 1 warning on all my Nets : "Whenever the application uses a block delay or a loop - it may cause the PLC watchdog" and i don't know how to resolve it. Hope you can help me. Thanks, Baptiste. programme_automate_grenailleuse_V3.vlp
  2. We are proud to announce the Unitronics' Community MVPs for 2017! In 2017, the Unitronics Community welcomed over 600 new topics, and over 3,000 new posts. Our MVPs help to make this possible. These guys have great general expertise in all things control, specific expertise in Unitronics programmable controllers, and a knack for getting to the heart of a problem. All three devote a great deal of time and energy to the community—not only to help forum members, but also as community moderators, helping the forum to run smoothly. >Drum roll< This year's MVPs are: Joe Tauser, of Joe Tauser & Associates, located in St.Louis, Missouri, USA, http://www.jtauser.com/ Barry Lanier—you know him as Flex727—located in Allen, Texas, USA (near Dallas) blanier@arc-controls.com The one and only Ausman. On a personal note, I truly value the patience these individuals show in helping forum members pinpoint the source of a problem, the solutions they find—and their humor. A little humor goes a long way! This year, I'd also like to give an Honorable Mention—a shout-out to Dustin Brewer, of Brewer Electronics, http://www.brewerelectronics.com, known as Hotwires, for his participation in 2017. In recognition of their fine work, the profiles of our MVPs will be marked with a new icon for 2017 Thanks, and may all your apps run bug-free in the year 2018!
  3. i4 Automation

    2018 Training Schedule

    All new customers get a free place on one of our training course's. Plus we offer the option to "Fast Track" your project with focused training on your application. 2018 schedule is out now on our website. http://www.i4automation.co.uk/training.aspx
  4. We are pleased to present the Unitronics 2017 Roundup! Read on to learn about some of our proudest achievements in 2017. Awards 2017 was a year in which our tradition of excellence in innovation was recognized by: - Frost & Sullivan, a major market research and analysis firm. Frost & Sullivan conducted an in-depth review of Unitronics products, specifically our 3 major product series--Samba, Vision, and UniStream--in relation to the dynamic, competitive market that challenges PLC manufacturers. Unitronics was awarded their Best Practices Awards for product innovations. - Control Engineering, honoring our Samba 7" with an Control Engineers’ Choice Award in the category of Hardware – integrated HMI controllers. This was the 6th—yes SIXTH—year in a row that Unitronics' programmable controllers have received this prestigious industry award. Product Releases We welcomed two major additions to our UniStream line of PLC + HMI programmable controllers: - UniStream 5" – PLC + HMI + I/O built into one unit Compact, contemporary, and connected, these bring you bring you all of the power and functionality of UniStream, the same elegant, color-touch HMI panel, and a range of built-in I/O configurations. It is available in two versions: UniStream 5" (B5) and UniStream 5" Pro (B10). Both series support important fieldbus protocols such as MODBUS, Ethernet/IP and CANopen, as well as SNMP, VNC, FTP, SMS, email, and communications via GSM/GPRS modem. The Pro version also offers a built-in Webserver, audio jack, video support–and SQL, a plus for OEMs facing Industry 4.0. - Multi-touch HMI panel UniStream USP-104-M10 offered our first integrated Multi-Touch panel, enabling gestures such as swipe, double-tap, press & tap, and more, including Two-Hand operation – a recognized safety measure. - UniLogic The award-winning programming environment for UniStream received an all-new Hardware Configuration upgrade, and a number of added features, including CANopen EDS Import, View, Edit, and new EDS Ladder Functions, powerful MODBUS features: Aperiodic via Ladder, Add Aperiodic/ Periodic Operations per slave, singly or in batches. We also included support for MYSQL. Trade Shows This year, our team participated in major trade shows: • PPMA Processing & Packaging Machinery Association, in the UK • SPS IPC Drives in Germany and in Italy • ATX – the Automation Technology Expo, held in both New York and Toronto • OTC2017, the Offshore Technology Conference in Houston, Texas Contribute to our Roadmap for 2018! Many of our finest products and feature addition have been jumpstarted by a suggestion from you, a member of the automation sector. Don't be shy—write to us with your suggestions and ideas! Follow us on Social Media Click on the icons below to keep updated with the latest and greatest from the Unitronics team! Thanks for reading—may you have a marvelous 2018, and may all your applications run bug-free!
  5. @Cara Bereck Levy, I just signed up for the new forums and was very quietly screaming in my head the entire time because I did it on my hotel's unsecured Wi-Fi. It looks like the Unitronics website's security certificates are assigned to your Cloudflare transparent proxy rather than your unitronics.com domain. When any modern browser sees that, it warns users that your website is insecure and they should not proceed. Fortunately (well, not really), most people won't ever see that warning, because your Google preferred search domain and DNS listing bring anyone looking for Unitronics straight to the http:// website. Even if you manually go to https://forum.unitronics.com, as soon as you click any link you're back at the insecure, http://forum.unitronics.com website. If you sign up or sign in from a public hotspot, that means the entire exchange is sent in clear, easily sniffed/intercepted, insecure plaintext that tells anyone who might be doing evil things what your email and password are. Hopefully nobody has ever done that with a password they reuse for online banking or anything important! Could you let your IT folks know that they may want to look at the website setup?
  6. Nice story here: Bimetec, a company specializing in agricultural solutions, used a Unitronics Vision1210 and a 4.3-inch Samba programmable logic controller for this retrofit project. Read about how they boosted speed and efficiency by clicking here.
  7. Hi I have Unitronics Jazz PLC Jz20-J-T40 PLC. When I connect to my PLC and make online changes, like forcing bit that changes my output, PLC shuts down. This bit that I force, turns ON pump on Output, and then I should get confirmation work signal on Input, but instead, it shuts down. When I'm not connected to PLC, and this same situation happens, it works normally, i can also see confirmation work on my PLC screen. But when I'm connected it shuts down on same place. I have 8 pumps that works this way, and same thing happens on all of them. Does my model of Jazz PLC can work in mode that I'm trying to work in (online debugging with I/O changing) or not? Please help. Thankful in advance, Nikola Ljubinkovic
  8. Hi I have Unitronics Jazz Jz-20-T40 PLC. I have all the newest software and PLC system. When i power ON my PLC, and then using USB i connect it to my laptop, connection is working fine and i can see PLC from laptop. Then, when I download PLC Program to my Jazz PLC, it downloads normally, and as it should, PLC reboots. On my other Jazz PLCs it turns ON again, and it's still connected to my laptop. But, on this specific model, when i finish download, and try to connect to it again, it displays 4-5 messages that says restart U90, PC and so on. When I try to connect to it again, I get same message. I tried to restart U90, still the same. I really don't want to restart laptop, so I tried to unplug and plug USB. It shows me that i don't have needed drivers for this device. I click update device software, it says it's already newest, as it should. Then i try to install from U90, it says that I already have it. Then I unplug and plug again, and everything works normally. Every time I download, i need to unplug and plug USB twice, before I can again debug my PLC. It just needs to be reconnected twice, without installing anything at all. It confuses me a lot. Please help. Thankful in advance, Nikola Ljubinkovic
  9. Ljuba

    OPC Communication Slow

    Hi, I have two Jazz JZ20-J-T40 PLC-s, and one V130-J-TR20 PLC. I am using zView SCADA. I tried to connect them via Ethernet by using switch, but I cannot use two different PLCs on this SCADA. Then i tried to connect them to SCADA via uniOPC, but communicating is just too slow. I have just one bit that goes from 0 to 1 in 0.5 seconds, and back to 0 in 0.5 (1 second pulse), just for testing, still it's too slow. It runs normally for like 2,5 seconds, and then just stops, and changes in 4-10 seconds, or just freezes for 2-3 minutes, and then changes. My PC Spec are not in the way of this, I am sure of that, i have tried it on my weakest and strongest laptop, still exactly the same results, too slow with just one bit for each of the PLCs, that is 3 bits total. Does anyone had the same problem, is there a way of fixing this? Regards Nikola Ljubinkovic
  10. This was an excellent year - a year of growth - for the Unitronics community. We now number over 20,000 members! I can back this up with hard statistics for 2016: We welcomed over 3,000 new members to our user forum… …who made 2,100 posts … in 526 new topic! We all benefit from forum members who devote big blocks of time to helping others. These people put a lot of effort into writing detailed answers to questions and aiding others in trouble-shooting their applications. This year, three of our top posters from 2016 were again top contributors to the Unitronics community. Our top UniGuru MVPs for 2016 are: Joe Tauser Barry Lanier (forum name: Flex727) Ausman In recognition of their fine work, the profiles of our MVPs will be marked with a new icon for 2016: In recognition of their fine work, the profiles of our MVPs will be marked with a new icon for 2016: Our most valuable commodity is, always, time—to volunteer that time to help other people using your expertise is truly worthy of respect--thanks to you all! Youtube Channel The official Unitronics Youtube channel, https://www.youtube.com/user/UnitronicsWebinars is growing. In 2016, our top video clips were the: Webinar: HMI Tricks and Tips for VisiLogic, with over 8,000 views: https://www.youtube.com/watch?v=1MwhQkdbC6s PLC Training: Introduction to UniLogic, HMI + PLC Application Software, with over 6,000 views: https://www.youtube.com/watch?v=BV30MkDQYPk WEBINAR: Unitronics Vision - CANOpen, also with over 6,000 views: https://www.youtube.com/watch?v=iIkBJ4NheCc Media - We're in the NEWS! Unitronics was featured in a number of trade magazines in 2016—if you missed these articles, check 'em out now! IEN, Industry Interview feature: How Will Industry 4.0 Influence the Future of PLCs? IEN feature article. Hardware Division Benny Magrafta, Unitronics R&D Manager, Software Division, was extensively quoted: HMI checklist: What to consider when shopping for an HMI solution IEN - Industrial Products in Spotlight IEN featured an application based on the UniStream PLC + HMI, 10.4, a project done for Djurdjevic is a meat production company based in Serbia Is it possible for an automated system to run so efficiently you forget it’s there? We are proud to continue to bring you Unitronics true All-in-One value: our complete range of automation products and software from the pioneers of the PLC + HMI controller, backed by Unitronics unparalleled sales and tech support. Enjoy them in 2017!!
  11. ESTIMATED GOOD, I AM CONDUCTING A PROJECT THAT CONSISTS OF COMMUNICATING A UNITRONICS V120-22-R2C WITH A SCREEN REDLION G310 BY BUS RS485 ASCII PROTOCOL, THE SCREEN ALLOWS TO WORK WITH THE PROTOCOL OF UNITRONICS PCOM ASCII MASTER, I AM PERFORMING TESTS WITH THE V120 TO SEND DATA AND THE I GET THROUGH AN RS485 BUS EMULATED IN WINDOWS BUT I CAN NOT COMMUNICATE WITH THE SCREEN. E REVISED THE PARAMETERS OF COMMUNICATION, THE MAPPING OF VARIABLE ... AND NOTHING. I LEAVE THE TOPIC. GREETS CREATRIOS.
  12. Hi! I figured I may have run into trouble here and thought to ask for your opinion. I got my hands on Bautz DSK-12 AC motor driver and Unitronics Samba (4.3 inch, transistor type) PLC and acquaintance of mine asked me to do some programming. Firstly, I discovered that encoder (what I have to use) is running on 5v (actually to get encoder values from driver I have to feed it 5v and not any higher). Thought that I could buy fast (50kHz) optocoupler to ramp up 5v to 24v and feed it into PLC. Secondly, I discovered that this type of motor driver takes +/-10v to change motor direction and velocity. (ex. there is 2 pins, first pin has to have ZERO aka reference voltage and other pin has to have zero to +10v OR zero to -10v, accordingly which direction user wants to motor go). I do not have any thought how to fix this one. Do I have to order some kind of additional position controller or is there something else what can I do? Bautz DSK12 datasheet: http://www.ahs-antriebstechnik.de/pdf-dateien-e/Servo Drives Servo Amplifier/Manual DSK12-gb.PDF (German version, for german friends out there: http://www.servodyntechnik.de/DSK_12_d.PDF) Help from you guys would be greatly appreciated. Greetings, Steven
  13. Hello, I use the Unitronics V350-35-T38, where port 1 is RS232 and port 2 is the ethernet card. When I had setup GSM modem on the port 1 and I had tried to download the program to the PLC I had got a message that I had to change the firmware (OS) in the PLC to the version which support ProfiBus and dial function. So I did that, but then the ethernet card was unavaible. I need both - GSM modem and ethernet card. I tried this in the latest version of Visilogic. Then I tried 9.6 version of Visilogic because in the past we used both and we used this version. I do not know why now it is not possible. Could you help me? Thank you in advance.
  14. Hello mates! I have got a problem with CANopen connection between my Unitronics V560 and gateway Turck BL20-E-GW-CO. As u see on the picture I attached after connecting my PLC and Turck gateway Err red diode is turned on. In this case, user manual says: "Faulty or interrupted communication between BL20-CANopen gateway and other CANopen. Possible causes: – CAN-BusOff – Heartbeat error – Guarding error – Transmit timeout" "– Check that the fieldbus ends with a termination resistor, if the BL20-CANopen gateway is the last node in the bus topology. – Check the seating of the CANopen bus connector (or the joints in the case of direct wiring). All connections must be correct and properly seated. – Check the CANopen cable for possible damage, and for correct connections. – Check that the correct bit rate has been set. – Check that the NMT-master is still functioning properly." - I have turned on termination resistor (my gateway is first and the last one at once). I even added extra one to PLC between H and L signal. - My connectors seats well - Cables do not have any issues - Bit rate which I set in "COM PORT INIT" block is the same as in gateway - My master PLC (V560) works What can be issue of my problem? How could I cope with that? Thanks for your time. Cheers!
  15. Hello, My project involves filling a data table with real time data, and in order to progress through the experiment it needs to read the last 100 values recorded, sort them, and then get the resultant range. So I only need to read the last 100 values of the column I am currently fillling up during the program, but I only see a function that copies the entire row to a vector. This wouldn't work as the column has more numbers than the MI memory has operands. Is there any way to only put part of a column into a vector? Thanks in advance!
  16. Samba™ is an all-in-one palm-sized HMI + PLC + onboard I/Os. As a trendsetter in the field of all-in-one PLC + HMI integrated controllers, Unitronics has specifically developed Samba for applications that require PLC control, but that are limited by budget to simple text displays. System integrators and OEMs often develop applications that require PLC control, but that settle on simple text displays due to limited budget. Samba's beautiful HMI 3.5” QVGA 16-bit touchscreen enables data entry and display of variable data, including color Trend graphs and alarm screens. The HMI supports 24 user-designed screens, and up to 40 images per application. The integrated PLC controller offers a broad range of features including 2 auto-tuned PID loops, time-based RTC control, datalogging, recipes and more. Internal memory holds 0.5 MB of application logic, plus 512K for fonts and 0.5 MB for images. Onboard I/Os offer digital, analog, and high-speed functionality. The flat fascia and IP66/IP65/NEMA4X rating makes Samba an excellent fit for the food & pharmaceutical industries--ideal wherever spray/wipe down requirements apply. Samba offers a built-in RS232 port. You can add an additional RS485 serial, Ethernet, or CANbus port. Samba supports GPRS/GSM, email, SMS, as well as industrial TCP/IP protocols, MODBUS, DF1 slave, CANopen, J1939 and more—and it may be adapted to any 3rd-party protocol. Unitronics free VisiLogic software provides a single simple environment for hardware and communications configuration, Ladder application development, and HMI design, including a free library of industrial images. Free utilities support remote PC access and data export. Unitronics offers free technical support for all of their products, and an active user forum. Samba offers all the functionality system integrators need for small applications, reduces space requirements, wiring, and eliminates the need to set up Panel-PLC communication—resulting in an excellent price/performance ratio. For more information, go to: http://www.unitronics.com/plc-hmi/samba
  17. Hello! I dont find enywhere; if unitronics macros for Eplan p8 even exist? I need Jazz, and all visilogic macros for Eplan. On "main" unitronics website i dont find it. Does macros even exsist??
  18. good fellow, I present below a video (in Spanish) of the application made ​​in cúcuta / Colombia. a counter tile production system where, thanks to a network of sensors installed you can post all production was implemented. part of this is calculated among other things: machine cycles lost time effectiveness square meter format produced break caused ton consumed in production lifespan of punches, dies Spaces within the furnace mimico of production in the end visualize all this is possible through web server sms OPLC email and scada done by my using dde excel and vba successes http://www.youtube.com/watch?v=ObB3oenmYFQ&feature=share&list=UUIDHP3ZVEBlfVoyINIjvqJw
  19. i4 Automation

    Unitronics Visilogic Training

    We know its the summer Holidays but looking forward we have some places on our next training course in September. 3 day Visilogic training starting on September 17th. Book early to avoid disapiontment. More information. "The course was great and the products are great too – I’ll try my best tomorrow to see if there’s any chance of trying to integrate these into the stuff we’re doing –it would certainly make my life easier!" MB (experienced PLC programmer). Many thanks for the training day. Really learnt a lot yesterday – I think the “stabilisers” have been taken off the bike – so I need to get some practise with this unit, and try to make it do a few things such as counting, and speed measurement ! DB (first time PLC user). Limited places so please contact us for more information.
  20. As has been noted elsewhere... Protective Lexan Covers are Now Available for All Vision Controllers. Even though the Unitronics Vision controllers are very economical, there’s no sense damaging them when you can easily apply a durable protective cover. We now offer a self-adhesive Lexan protective film custom cut for each Vision controller from Unitronics. This includes the V130, V350, V280, V290, V530, V560, V570, V1040and V1210. These protective covers are resistant to the following chemicals: Acetone, Methylene Chloride, Isopropyl Alcohol, Ethyl Acetate, Gasoline, Diesel Fuel, Coffee, Clorox3, Vinegar and more… AMPS currently has covers in stock to protect the V130, V350 and V570 controllers.
  21. My company, AMPS Industrial Controls, recently finished the installation and start-up on a control system for the Custar Stone Quarry project we mentioned late last year. This quarry is located in northwest Ohio and it supplies stone for road projects all over the region. We are pleased to say that everything went very well and the quarry is now up and running with wireless Ethernet communication between all three control stations. This was really a fun project so we would like to take this opportunity to explain it in some detail... Background – Unitronics Vision System With Wireless Ethernet from Westermo The stone quarry in Custar, Ohio is quite old. It has been crushing stone and providing northwest Ohio with rock for over 100 years! One problem, though, is that the numerous expansions and upgrades which have happened over the decades have resulted in control stations positioned all over the place. Our job was to integrate all the conveyors and crushers into one central PLC-based control system that could be operated from any location in the quarry. Ideally, this would be done wirelessly so as to simplify installation. Of course, reliability was a great concern. This quarry runs year-round and downtime is very costly. We must ensure that any breakdown in wireless communication would not result in shutting down the quarry. Safety was also a big concern. Great care would need to be taken to safely control crushing equipment remotely. AMPS Industrial Controls would also build the electrical control panels which must hold up to harsh outdoor conditions and be very reliable. We decided a control system based upon the Unitronics Vision line of PLCs would be a good solution. These controllers could be coupled with wireless Ethernet radio modems from Westermo to allow control from anywhere in the quarry. AMPS would handle the programming of the PLCs and would design the system to be reliable, easy to use and intuitive for the operators. Unitronics V570 to Control Main Operator Station The 5.7″ color touch-screen on the Unitronics V570 could serve as the HMI for the main control station. The new V1040 may have been an even better product but it had not quite been released when we started the job. This station is located at the highest point in the quarry inside a booth with a window so the operator can see everything that’s going on. It’s a small booth, though, so we didn’t want to take up too much space. The Unitronics V570 was a perfect fit. From this perch, the operator can control all the conveyors and crushers that wind through the quarry. In the photo below, you can see the main control station circled in red. Unitronics V350 to Control Other Stations The other two control stations only really required small HMI screens because the operators are not used as often. Most of the everyday control will take place from the main station. Because the large color touch-screens were not needed here, we selected the V350. Still part of the Vision series of controllers, the V350 provides full Ethernet capability with extensive I/O options but packaged with a smaller color touch-screen. The photo below shows the small booth where one of the V350 electrical control panels is installed. Not fancy but very nice accommodations in cold weather. Wireless Ethernet Communication Details The Westermo RM-240 was perfect for this application. These devices were easy to configure with a web browser. They formed their own WiFi network on site and were very reliable. The antennas were installed at each location and have been very reliable in all weather conditions. Each Vision PLC from Unitronics was installed with an Ethernet module to connect to the Westermo devices. Modbus IP is the protocol we used. I can’t speak highly enough of both the Unitronics and Westermo products. This control system has been in use for a couple months now and we haven’t had a single phone call from the customer. It is controlling every conveyor and crusher in the quarry. Even a crusher that draws 4,000 starting Amps! As always, it was nothing but pleasure working with the Unitronics Vision controllers.
  22. Matthew

    Increased Inventory

    Having analyzed our 2010 sales, looking particularly at areas of dynamic growth, we are increasing our inventory of Unitronics products. The increases will be seen mainly in the Vision Series of OPLCs but Snap I/O modules and Expansion I/O modules will also be increased. 2010 was a great year for us, in no small part due to the growth we saw in Unitronics sales. This is nice to see because it comes as a direct result of the strategy of increasing our presence on the web and emphasizing the quality, features and value of the Unitronics products. The control system design and electrical control panels side of the business has also been partly responsible for the growth so it is accurate to say our 2010 sales were balanced very well between standard control system components and electrical control panels. The Unitronics product line will continue to be one we emphasize in 2011 so we are in the process of ramping up inventory levels. This may take several weeks but shortly we will have a broad representation of V130, V350, V560, V570 and V1040 PLCs along with a good assortment of I/O modules on our shelf. Our goal is to fill orders for our OEM customers directly from our inventory and have all the most common PLCs available even if it’s not one currently used by one of our regular customers. Unitronics Vision, Jazz and I/O items we will stock include… V130-33-R2 V130-33-RA22 V130-33-T2 V130-33-TA24 V350-35-R2 V350-35-T2 V350-35-TA24 V560-T25B V570-57-T20B V1040-T20B V200-18-E1B V200-18-E3XB V200-18-E4XB V200-18-E5B V200-18-E6B EX-A1 EX-RC1 IO-AI4-AO2 IO-ATC8 IO-D16A3-RO16 IO-D16A3-TO16 IO-DI16 IO-DI8-RO8 IO-DI8-TO8 IO-RO16 EX-D16A3-RO8 EX-D16A3-TO16 GSM-KIT-41J V100-17-ET2 V200-19-ET1 JZ10-11-R16
  23. Twelve years ago when I started writing basic ladder programs for PLCs I made a lot of mistakes. Seemed like I was always getting halfway through a project only to realize I'd taken the wrong approach and needed to take two steps back before I could move forward. Frequently this resulted in me scrapping the entire program and starting over. I told myself that was fine. I was learning, right? Well... a dozen or so years later I'm still learning. Now I say, "You never want to stop learning," but I'm not sure I believe myself. I mean, wouldn't it be better to stop making mistakes, altogether? I suppose that's not likely to happen so here's the tale of my latest misstep:One of my projects for an OEM control system uses several data tables. Even though we've already built hundreds of these electrical control panels and the machines work great, we're constantly updating and improving the PLC/HMI program. Some of these changes affect the data tables. No problem, except...Two of the data tables are frequently accessed by a third-party wireless, handheld device called SynTrack. Here's where my mistake comes in: I should have put these data tables first in the list. Whenever you make a change to a data table, the starting location of all the data tables following it will change. The starting location of your first data table will never change, though, so it would have been a good idea for me to put one of these two first in the list of 7 or 8 tables. It wasn't a big deal to change this but there is an issue with the second data table that Syntrack needs to access.I can only have one table in the first position. What happens, though, when I make a change to the first data table? The starting location of table number two will change but I don't want to force changes to the software in SynTrack. An easy solution is to add a column in the first data table which holds an offset value to tell SynTrack what the starting location of table two is. SynTrack always knows where to find the first table and that first table will tell it where to find the second table. Simple but effective. Now I can make changes to any data table and SynTrack can keep up with my changes without the need to revise its software. I just need to remember to change the value of this offset integer.You can bet I'll remember this in future projects. It was aggravating to make the change this time around because changing the order of data tables required me to delete the originals and then search them all out in ladder, point to the new tables and then re-address all the fields in each of those DT function blocks.Hopefully my time-consuming mistake will help you, though.As always, I encourage you to stop by my primary website and visit my company blog where we regularly discuss Unitronics and other controls news.
  24. Matthew

    The Fascinating World of Twitter

    Well, I never thought it would happen but people have convinced us to enter the world of Twitter. We'll be tweeting often about Unitronics, control system design and the electrical control panels we build. We'd be honored to have you follow us @matthew_AMPS.
  25. Saragani

    Build your own SD Card Explorer

    People who see the SD Card Explorer in action usually sometimes wish to have the same functionality in their own application.Some of them contact Unitronics in order to get some details on the protocol, or ways that they can do the same, while others fear from the worst: that it's a lot of work.I know very few people that will be happy to write the whole protocol by themselves.The only guy I can think of in that matter is Ash Nielson... I have no idea where he gets his strength and energy from, but the solution for this problem is actually simpler than you think.You don't have to be energetic as Ash in order to write your own SD Card Explorer because the .Net communication driver actually contains all the logic If you don't know what the .Net communication driver, then please refer to the Downloads section on the main website (not the forum) it has some examples + the source code of the .Net communication driver.For those of you who does know how to work with it, I can assume that you are already familiar with the all mighty and magical PLC object.Within the PLC object, hides a small sub class called SD.This class gives all the capabilities of reading and writing files and also listing directories and deleting files.So how do we get started:Lets assume that we have a Serial port called serialLets create a PLC object:PLC plc = PLCFactory.GetPLC(serial, 0);All the code that I will write will be in C#, but the syntax in VB.net is not much different.Now that we have a PLC object called plc, we can access it's SD Class.Please note that SD capabilities are only available to the Enhanced PLCs (V570/V130/V350).Before I give any more code examples, I'll list the Public functions inside the SD Class:public Folder Dir(ProgressStatusChangedDelegate del)Returns a Dir of all Folders and files in the SD (Dirs the Root). ProgressStatusChanged is being used to return the Status, Pecentage and Action of the current Statuspublic Folder Dir(SdFolder sdFolder, string filesExtension, bool scanSubFolders, ProgressStatusChangedDelegate del)Requests Dir Syncrhronously. Accepts SdFolder enum as the path to list, extension for example "*.*", and some other paremeterspublic Folder Dir(string folderName, string filesExtension, bool scanSubFolders, ProgressStatusChangedDelegate del)Requests Dir Syncrhronously. Same as above, but path is string and not enumpublic byte[] ReadFile(string folderName, string fileName, ProgressStatusChangedDelegate del)Read File Syncrhronously. Reads the whole file from SD and then returns it's content as Byte Arraypublic byte[] ReadFile(SdFolder sdFolder, string fileName, ProgressStatusChangedDelegate del)Read File Syncrhronously. Reads the whole file from SD and then returns it's content as Byte Array.Gets SdFolder as path instead of stringpublic void ReadFile(string sourceFolderName, string sourceFileName, string targetFolder, bool resumeRead, ProgressStatusChangedDelegate del)Read File Syncrhronously. Reads the file and each chunk that is being read is instantly written into diskpublic void WriteFile(SdFolder sdFolder, string fileName, byte[] fileContent, ProgressStatusChangedDelegate del)Write File Syncrhronously. Since we only allow writing files into Authorized folders only then this function only accepts SdFolder enum as path and not as stringpublic void DeleteFile(string folderName, string fileName, ProgressStatusChangedDelegate del)Deletes a file... DUHH!!! (Sorry, I had to do that)public void DeleteFile(SdFolder sdFolder, string fileName, ProgressStatusChangedDelegate del)Same as above, but with SdFolder enum as pathAlso consider using:public static string GetSdFolderAsString(SdFolder sdFolder)and the opposite function:public static SdFolder GetSdFolderFromString(string path)Coming up next... Real code. SD Card Explorer Code revealed.Come back to our next episode next week
×