Jump to content

Michael_P

Moderators
  • Posts

    65
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Michael_P

  1. Hi Nick, That looks great. That is exactly what I would do. The start condition can use a 'one shot' or positive transition, However your reset condition should have the NO contact as you have shown. This is going to perform exactly like the electricians diagram unless further logic in the ladder is giving it other commands.
  2. HI Nick, The Electricians drawing is crystal clear to me. The clamp is a NO push button, then a NC most likely a stop button. CR8 (control relay is sealing or maintaining contact the circuit) This is common for a start stop circuit if manually wired with buttons and physical control relays. It is a traditional way of defining the sequence, an electrians way of thinking. You are very close, please try the below. If 1 is the start,and it is pressed and 2, the stop is not set then set the coil, 1 2 --[ ]-- --[/]--(S)- If 2, the stop goes high reset the coil 2 --[ ]---®--
  3. HI SMM, You can definitely use indirect addressing to generate a FIFO Vector of your desired length. You can then set formula function blocks to control the average, using the Vector length as a factor for calculation.
  4. HI SMM, I may have the spark you are looking for, I have written an example that uses a formula function block and a factor for division. http://forum.unitronics.com/files/file/34-%7B%3F%7D/
  5. Version Visilogic

    522 downloads

    Example of a simple rolling average.
  6. Version Document

    889 downloads

    Use to troubleshoot communication between PC and PLC
  7. Hi Zecarlos, To reset the HSC at a certain number of pulses you can use the "High Speed Counter Reload" found in the hardware configuration. Reload enables you to immediately load 0 into a high-speed counter when the counter value reaches a target value. Note that you cannot set the Reload input to Frequency Measurement. Please see the blow image, You can find further instruction in the help file if you reference high speed counter in the search tab.
  8. Hi Delphin, To combine the two applications you can Export the Subroutines as well as the HMI displays from one of the projects. You can then open the next application and Import the HMI and Ladder (subroutines) keep in mind you need to be cognizant of Operand addresses as to not overwrite any values. You will find the import/ Export commands will be under project, within VisiLogic.
  9. Hi Mike, The last condition that the controller sees the output in the logic/subroutines is the condition it will write to the output. Therefore if you had a 2 rung program with 2 compare statements where the first net will energize the coil and the second net is false and does not energize the coil, the coil will never energize, as the last statment tells the output to turn off. If you are using multiple instances of the same output it is recommended to use set and reset coils. With this method the set condition of the first command will not be reset by the logic it sees later in the net. It will be reset only by a reset coil. You will have to program a condition to reset the output.
  10. All Unitronics software is intended to be run with administrative privlages. It also requires the User Account Control (UAC) to be turned all of the way down. Please ensure your users attempting to access these files have the same privlages and or settings to ensure they can open the files as intended,
  11. Hi Alltechno, The application was not responding as you had intended because of the Variables in relation to the Pointer. The HMI organizes the variables in a numerical order. This can be found in the project explorer window in the related HMI. If you reference application you will find that variable numbers 1-6 are used for the numeric entry data. Variables 8-13 are for the pointer. I have included an image to help define the variables. I have also included a modified application which accounts for the difference in variables by setting an offset of 6. Thank you V120_Keypad entry.vlp
  12. Hi Total_N, You can use the Images by pointer on the HMI, Define all of your images for your automation in that location. Use an incrementing MI to drive the images by pointer. Use a timer to Jump to the main screen. For example Upon startup set a bit (MB0) use that bit to drive a one second pulse. Use that pulse to drive an incrementer. Use the elapsed time of the automation IE- 10 images at 1 second exposure each image = 10 second automation. therefore use MB0 to run a TD timer for 11 seconds. When the Timer drives high after 11 seconds use a positive transition to reset MB0 and Jump to your main screen.
  13. It may be helpful to review the Webiniar- "CANBus + UniCan Communication" The .vlp file is available for download on the page so you can have an example to follow. It should awnser a lot of questions for you. http://www.unitronics.com/Content.aspx?page=can
×
×
  • Create New...