Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 09/23/2017 in all areas

  1. 2 points
    @Cara Bereck Levy may be able to help you. Sales is not Her specific department, however history has shown that She is very quick to respond and assist in any way She can. @Joe Tauser is an authorized distributor and PLC expert in my Land. UPS ships worldwide. Unitronics is an excellent choice.
  2. 1 point
    Understand that all data (including strings) is stored as an integer. Each character requires 8 bits (one byte), and two characters are stored as hex in a regular 16 bit MI. That doesn't mean you have to decipher MI values into hexadecimal string values. The data table search and string HMI elements will do that for you. Read the Help on how Data Tables work. They are a little daunting but very powerful. You can enter data into the table on your PC, but don't forget to download it. It doesn't go down when you download the program. You may or may not want additional screens to enter data on the PLC. Experiment with your code on a live unit until you understand them. If you have questions, post your code. Troubleshooting ladder logic with words is hard. I've attached an example. Joe T. Data table lookup example.vlp
  3. 1 point
    Some of the features in the V700 are still tied to legacy resolutions established for the V350 and V570. Send your project and request to support@unitronics.com and see if they can help. Joe T.
  4. 1 point
    Configure it as a Server and see what happens. Joe T.
  5. 1 point
    That is the official Unitronics USB->serial converter available from your distributor. You can use any converter that has the Prolific PL2303 chipset. A bit of Unitronics history - when the V570 first came out it had that USB port on it covered by a sticker. It was supposed to be supported by a future Visilogic release but that never happened for that particular hardware revision. Joe T.
  6. 1 point
    Agree that he's probably talking about the OS, but if you're not updating the software I see no reason to update the OS.
  7. 1 point
    I've never lost a program during an OS update. If everything goes by the book, no worries. Anything can happen. Always have 3 backups of complex PLC program that took anything over a day to develop. Preferably on three different media types and in three unique physical locations not under the same roof.
  8. 1 point
    Mark S. Thanks you, the screen shot you provided helps bring the picture of the third party hardware into focus. Still intrigued by the 300,001 and 400,001 decimal MODBUS address. I'll have to process this for a while. I'm sure the addition info you posted will accelerate an answer to your troubles. Please clarify: "When I read the analog Inputs I use the read input registers (4) and use a value of 0 and I get back the value that is in register 300001. The offset because the module uses one as the first register." where you say "value of 0" do you mean address of 0? have you tried registers periodic, write, (16), address 40001? Or 40000 accounting for offset. Unilogic's valid MODBUS address range is 0 to 65535, so the 400001 is out of the question. Modscan is great idea. It's referenced in the automation direct manual (see photo). This is an @Joe Tauser question. My best battles are fought and won with gear that is at my fingertips. Or someone lifetime of real world experience.... which I'm still working on.
  9. 1 point
    serial or TCP/IP MODBUS? I was reading this document. So you can read but not write? The Unilogic MODBUS setup is fairly straightforward, most likely an addressing issue. Third party PLC is probably getting the write request packet(s) and just doesn't know what to do with it, or writing to the wrong place?? http://www.simplymodbus.ca/faq.htm 300001 and 400001 (decimal) are a typo? An extra zero? Max analog write address appears to be 49,999
  10. 1 point
    Hi Daniel, you can find example projects on many subjects that could assist you including TCP IP communication: To download UniLogic example folder see the next link: https://unitronicsplc.com/Download/Support/UniLogic/UniLogic Examples_V1.19 Rev 80.7z Please follow the next link to download an example project that will be helpful for you (communicating with a 3rd party device via TCP). https://unitronics.exavault.com/share/view/ju4o-219xdl5i Please see the the next tutorial on how to use "Message Composer":
  11. 1 point
    2017 Training 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. Our Unitronics Training schedule for 2017 is now available http://www.i4automation.co.uk/trainingpdf.aspx Contact us for more information.http://www.i4automation.co.uk/contact.aspx
  12. 1 point
    As Aus states, you have to do it twice. SI 80-85 are system operating buffer registers and there's no rule that says you can't refer to them again. You just have to move Analog input 1 out before you start cranking input 2. Also, don't hang everything on the rail in one net like that. Believe it or not, the network may not compile in the same order you placed the functions in and it may not work. If you chain the functions together in series you are guaranteed solve order. And activate SB 80 last in a separate network, after you've loaded the registers with the data you want. Example attached. The raw input analogs are mapped in the hardware configurator to MI 10 and MI 11, and the scaled outputs are in MI 20 and 21. Joe T. Two analog input scaling.U90
  13. 1 point
    I haven't done this for a while, but essentially just do it all again in another net. SB80 works on all the 80-84 etc within that net. And I have SB80 at the end of the net, instead of the start. cheers, Aus
  14. 1 point
    A guy is standing on the corner of the street smoking one cigarette after another. A lady walking by notices him and says "Hey, don't you know that those things can kill you? I mean, didn't you see the giant warning on the box?!" "That's OK" says the guy, puffing casually "I'm a PLC programmer" "So? What's that got to do with anything?" "We don't care about warnings. We only care about errors."
  15. 1 point
    Hi guys, I usually use this type of transistor board to isolate the PLC outputs from the controlled load. It can switch 3A per channel with 1KHz switching frequency while current draw on PLC output is a few mA. For the 10 channel board, the cost is something like 17 USD. It's significantly cheaper than using relays and requires much less wiring.
  16. 1 point
    SMB 3.0 may have something to do with it. It prevents Win7 PC's and printer/scanners from seeing Win10 PC's shared network folders. Spent hours fighting an issue with that recently. Win10 has a setting in windows features (checkbox) to force support of "SMB 1.0" Disclaimer: less secure, however if it makes things work in a LAN that is relatively well isolated from WAN then why worry to much. My experience with Win10 shared folders being invisible to NOTwin10 machines was not Visilogic related, so it's worth what you paid for it. This is Microsoft We are dealing with, headaches come at no extra charge!
  17. 1 point
    I disregarded IP address range because of quote above. I guess that's a statement, although it does end with a question mark. I thought that address looked like Microsoft's "dummy" address. Any two devices on the same physical LAN and common subnet should be able to communicate. I didn't see or confirm the IP address the phone had obtained. 169.254.x.x is not an address pool I would expect to see in a DCHP router. It would be a good measure to put router, plc, and phone in a more traditional address pool like: 192.168.x.x or 10.0.x.x I have an app on my iphone called "ping lite" that runs IMCP ping command. Very helpful in determining if basic network communication is working between phone and other device (PLC in this case).
  18. 1 point
    Have you checked the internal battery? Never used Jazz series, I know Vision has a system bit that shows 1 if battery is low (SB8). SB300 resets PLC in VisiLogic. I had a V430 lose display for a while. Finally got it back after O/S upgrade, download and burn of ladder, and initialize PLC from info mode. The boot screen would always show up, just not the HMI home screen of program. Display black with no back lighting. Never figured out the exact cause.
  19. 1 point
    You must set PLC name in rung 1 at the right of FB's you already have. APP will not work with no PLC name defined in ladder. Name is your password of sorts, I would suggest making it something more unique than SM43 if it is going to be port forwarded to the public internet. Another note: socket 1 is set to 20256 by default. While redefining socket does no harm, it is not required. Happy coding. -dB
  20. 1 point
    On a V430 two serial ports. Port two can have a second (optional) serial board installed. V1210 has two included serial ports and option for a third. Not sure about others. Specs would reveal. I have used the two included serial ports on a V1210 simultaneously one to a PC and second as a MODBUS master. Please note that the mini USB port (when actively connected) takes over the primary serial port. A bit of an inconvience when wanting to be on online mode and have serial port also working out RJ11 jack. Sounds like two on the V130 also.
  21. 1 point
    RobertW: If you have specifics you can post on forum or call Unitronics support. Both helped me greatly when tranlslating a large program from Visilogic to UniLogic. If you are starting with Unilogic it may actually be easier, I really had to retrain my brain away from all the terminology and form of Visilogic. It's not bad once you get the hang of it. You have a powerful support team to assist you, be NOT afraid to use it Sir.
  22. 1 point
    The SM35 has a buit-in RS232 port that will behave mostly like a V350. You didn't say whether you were doing serial or Ethernet communication. If Ethernet, you will have to add a card to the PLC. The front HMI has no programming ability whatsoever by design. You will need Visilogic and it is free (a great selling feature of Unitronics, BTW). I say mostly because the Samba SM35 is a hobbled version of the V350 with a lot fewer registers. I recommend you study up and compare the memory sizes of the V350 and the SM35: https://myzone-kza3sadj.netdna-ssl.com/wp-content/uploads/2015/12/SMXX-J-R20_TECH-SPEC_02-153.pdf https://myzone-kza3sadj.netdna-ssl.com/wp-content/uploads/2015/12/Vxxx_J_TR20_RH2_TECH-SPEC_01-15.pdf This may or may not come into play depending on which registers in the PLC your application needs to read. Joe T.
  23. 1 point
    I recently came a cross with a UniLogic application that use large structs. For example, one struct was composed of 80 members, and most of the members type was INT16, like so: In memory the struct look like this: struct MyStruct //struct size is 80 * 4 = 320 bytes { INT32 ID; //size 4 INT16 Val_1; //size 2 CHAR[2] padding1; //size 2 INT16 Val_2; //size 2 CHAR[2] padding2; //size 2 //…. INT16 Val_79; //size 2 CHAR[2] padding79; //size 2 } notice the padding that added to the struct. That's common in software in order to align the memory so work will perform more effectively. This padding cause every 2 bytes in an INT16 type an extra "weight" of 2 bytes – so every INT16 is 4 bytes. One can think that the struct size is 4 + 2 * 79 = 162 bytes, when in fact it 320 bytes, almost two times bigger (!). Now, let's try the next approach: In memory: struct MyStruct_NEW //struct size is 4 + 2 * 79 = 162 bytes { INT32 ID; //size 4 INT16[79] Val_Arr; //size 158 } And we got a struct size 162 bytes, as intended. Just imagine we use struct "MyStruct" in a 3,000 line Data Table, we will waste almost 0.5M bytes (3,000 * 158), while "MyStruct_NEW" waste nothing. For conclusion, when creating structs in UniLogic consider the padding factor in order to reduce your PLC memory consumption.
  24. 1 point
    Hi, I'm using UniStream with UniLogic (19.2). I'm unsure on how to use the "SQL Query" function block. the "SQL Query" has 3 fields: Query - Input, SQL query to execute. Parameters - Input, query parameter Outputs - Output , query output When I write the next query: Insert into Agua (Tiempo) Values (T_Agua) How does the PLC knows the direction of the database? What do I put in the Parameters and Outputs fields? Is there any file or webinar that I can check regarding this topic?
  25. 1 point
    Great news, but twice as tall (or 50% taller) is what I need more. I have regular need for 12 contacts in parallel and constantly breaking them into two sets of six is a pain.
  26. 1 point
    Hello Eyal, I have a suggestion that may have been covered already... but here goes. In the Rockwell Logix 5000 world... the UDFB is called an AOI or Add On Instruction... Programmers love to reuse good simple working code, therefore UDFB and AOI's are great tools to have available. The only hang-up I noticed so far with Unilogic is lack of online status when opening a specific instance. Say I use one UDFB nine different times in the control program... I can not open and "troubleshoot" like a normal ladder function. In the Rockwell Logix world I can chose to look at the source code without actual data In/Out or I can select the specific instance and then see all of the In/out parameters and logic power flow for troubleshooting within the AOI. Thanks, Greg
  27. 1 point
    Here is the DLL .Net Communication Driver + DataTables DLL x64.rar
×
http:///