Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 03/08/2020 in all areas

  1. 1 point
    When you're local you can connect to it with a USB or serial cable and avoid all the Ethernet issues. That makes troubleshooting much easier.
  2. 1 point
    I typically just use SB 13 to increment an ML. You can then divide that by 360 to get you hours to the tenth of an hour for display.
  3. 1 point
    The PLC doesn't care whether the code runs or not. The poor programming practice is due to the fact that conditional subroutines can often execute in ways you don't expect (for instance, coils being left in limbo). There is no reason to do it that way. Ladder logic is not the same as regular computer programming and should not be treated that way. Except for very unusual circumstances, the only purpose for subroutines (in ladder logic) is to break your code up into manageable chunks. Every line (ladder rung) in the entire program should be executed on every scan. This avoids unexpected behavior and ensures that you don't trigger the Watchdog Timer. Bear in mind, I am giving my opinion on best programming practice. Other experienced programmers may have a slightly different opinion and there is no absolute right or wrong here. I am providing the benefit of my experience and skill which you may accept or ignore.
  4. 1 point
    If you want a button to be inactive during certain times, use the "Disable mode" function, but your solution doesn't solve the problem you're stating. Since you can only push the button when you're on a certain screen and the only check you're performing is to check to see if you are on that screen, then you aren't accomplishing anything.
  5. 1 point
    Go to HMI ... Font Handler menu. Then select the font you want add special characters (defaul fonts cannot be modified) and select those required characters
  6. 1 point
    It would be nice if the programming environment had the option of a dark theme or editable theme in general. after many hours of programming the bright white background just starts putting some strain on your eyes.
  7. 1 point
    Thank you for posting your program. The VNC server was not enabled. It's in a real obvious place (sarcasm) - "Password Management" - and is disabled by default. I enabled it with no password. I recommend you change this in the future if there's anything else on the network. Joe T. Starlord test JT.ulpr
  8. 1 point
    What is the I/O module the encoder is connected to? Typically on a V570 you use a Snap IO module which allows some of the inputs to be configured as encoder type. These are automatically high speed and take care of the rising and falling edges for you. Joe T.
  9. 1 point
    Permanently run remote access or remote operator on the PC and tuck it away in a little used corner of the desktop? Or....have a look at UniDDE, or perhaps UniOPC https://unitronicsplc.com/Download/SoftwareUtilities/UniDDESetup_1_3_6.exe DDE will likely give you the basics of what you want, but you might need a little script running to cycle things periodically to fully achieve your needs. So you'd have a little excel window running and updating with just the info you want visible. cheers, Aus
  10. 1 point
    Hey i wanna thank you Flex727 and Ausman i finally got it to work. i digged a little in the Forum and found some other code from Ofir and i'd putt it all together and gotit to work. ill post my code for anyone who is struggling with this kind off problem. ABB VFD.vlp
  11. 1 point
    Dear colleagues, I'd like to share my first project using Unistream. It consists in a test bench for an important manufacturer of industrial HVAC systems and compressors in a new factory in Spain. When a new compressor is finished in the production line, it has to pass the test bench in order to be suitable for selling. These compressors can reach up to 250 KVA of power in 50 or 60 Hz and there are three independent lines: - The first line is for machines from 200 to 460 volts in 50 and 60 Hz and up to 250 KVA. - The second line is for machines from 12 to 48 volts in 50 and 60 Hz - The third line is for machines from 12 to 48 volts in DC. I used Unistream mainly for three reasons: - I needed to communicate with 5 Modbus RTU slaves (Power meters). Comms are quite easy with Unilogic. - I needed to use function blocks to control the great amount of contactors during the commutations. I can also manage them individually in manual mode with a unique faceplate indexing the data of the instance based on the object pressed in the screen. I wanted to integrate also interlock management and the fail-to-start alarms so the function block was almost mandatory. - I had a big datalogging requirement with the test results with the powers, currents, voltages, power factor from all the power meters to allow the operator to analyze the data from the test. There was requirements for trends and for exporting the data to CSV files. So the control consists in a sequence of steps which also requires intervention of the operator to select the frequency, and voltage. Once this is selected, the PLC will close the contactor with the 50 Hz or will start the speed drive with 60 Hz. It will also close the correspondent output of the transformer with the selected voltage and then it will start the fine tuning by regulating a variac up or down acting as a voltage stabilizer. I tried to do this with a PID but it’s quiet complicate since the variac is not analogic. You have to increase or decrease the voltage on it through two digital outputs (up and down). Trying to tune this PID resulted into impossible or not reaching a minimum error between the setpoint and the output or continuously oscillating. So I created my own PID where I sent a continuous pulse or small pulses depending on the distance between SP and MV. With this and a configurable minimum error I could set the MV with less than 0.5 volt error. The part with the communications was quite tricky as I couldn’t communicate with the 5 Modbus RTU slaves at the speed I needed and I had continuous congestions making the RS485 network to crash. Since the values from the power meters were used as the MV for my PID, I needed more speed so we added the TCP module to three of them. Then I had Modbus TCP and RTU but the change in the network performance was very important. The datalogging part was also challenging, because of the amount of data. I added a “record” mode on each line to start the datalogging, create a new CSV and close it once the test was completed. I’d like to thank to my colleagues in Grupo Galiana (Spain) for developing and building this amazing machine and the Unitronics forum people for the help. It was really challenging but the effort was well worthwhile. Thanks to everyone. Best Regards
  12. 1 point
    Yes, it was already implemented and would be available on the next release of UniLogic.
  13. 1 point
    This is one part of ladder code where I try to resolve the problem mentioned above. In tutorial is written that only variable which is links to si85 can use in other operation in code. It bothers me... Please help M.Tiola
  14. 1 point
    Yes Kratmel, there was an unfortunate problem with it, but however you look at it, it was pretty unique! cheers, Aus
  15. 1 point
    Did anyone else note the absolutely amazing thing that happened at ⅓ of a minute into forty to nine pm, nine days before the end of February? 🧐 You'll never see it again! And yes....it did take me a while to make this question as circuitous as possible. cheers, Aus
  16. 1 point
    I have one at the secret development lab. I'll post it later. Joe T.
  17. 1 point
    I moved this to a more appropriate forum. You can find example UniLogic projects here: https://unitronicsplc.com/Download/Support/UniLogic/UniLogic_Example_Projects.zip
  18. 1 point
    Hello, Open font handler by clicking the (A) icon on the toolbar, from there you can add a new font.
  19. 1 point
    Hello Ricardo, A good and safe way to have internet remote access via Webserver or VNC is to use a VPN router with integrated cloud service. There are various options available such as Ewon, Tosibox and MBconnectLine products.
  20. 1 point
    Joe, Please I need you help. I have problem with PID !!! I don´get the PID: Control Value - the PID output I did´t see the fail. I have setup the PID configuration . But I have some bug in program. Are you able to look at it maybe correct it. I have take form Unitroncs Test PLC for testing the possibility to work out the program for this machine. I have this situation my Input signal is some PT 100 and with them i have to control some temperature in machine, but my controller i some proportional valve 0-10 V DC Second step is when I get this to control the steps of heating with time at sample 3 C in one minute. But that´s is second step. Please look at program Main Module ; 0 GLAVNI MODUL ; net 64;65
  21. 1 point
    First you need to scale your analog input that you have your RTD connected to. What are the specs on your RTD transmitter? From the -T20 specifications: You've mapped MI 0 to Analog Input 0. So at 4 mA MI 0 will return 204, and at 20 mA it will read 1023, which is the output from the 10 bit A/D converter. You need to know what real temperatures that corresponds to and us a LINEAR block to do the scaling before you feed it into the PID block. Read the Help on how this block works. A common spec for an RTD transmitter is 4/20 mA = 0 - 250 C. Here's how the LINEAR block should look for this scaling: The PID CONFIG block should only be called once at startup, and the input should be the scaled temperature: You have to put values in the input parameters before the PID block will function. You can use the power-up values to eliminate setting them with the program. Now the big question - do you know how PID works? The output of the block will be an analog value that will span between the Control Value high and low limits. I put some in for you, but if you don't understand what they mean you need to spend some time reading ALL the Help on the block. You'll probably have to convert the output to some kind of time proportional signal to drive a discrete output. You'll also have to run Auto-Tune or set the P, I, and D parameters manually while it's running. Joe T. Termotunel JT.vlp
  22. 1 point
    Make sure the box circled in red is NOT checked when you create your timer.
  23. 1 point
    Hi, I want to create a pop-up in my application. Because the crf21part 11 , I need to create a pop-up for user insert your sign and comment for actions log's. regards, Mauro.
  24. 1 point
    hi all. Dont want to create new topic so write in the same. I created custom control for pump (for example), add local structure for this custom control. After it placed CC on main screen and linked global structure. Is any option to not place CC equal to the numbers of pumps and operating only with one CC? I mean: 1. Create STRUCTS>MOTOR_STATE 2. Create local 3. Placed on main screen and choose tag as structure 4. In ladder add code like this. It will work correctly? So main idea is when I press on pump on main screen custom cotrols pop-ups and I can operate by this pump. Thank you a lot for help.
  25. 1 point
    Use "Legal Entry" in the HMI input to know when the timer has been updated. Then compare the Timer Preset with the min and max values you want. You can either reset the preset to the min or max value, or pop up a screen that informs the operator that they've made an error. The option you suggest does exist for numeric entries and I agree that it would be nice to have it for Timer inputs also.
  26. 1 point
×
×
  • Create New...