Jump to content

Emil

Members
  • Posts

    455
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Emil

  1. The easiest way is to set in Hardware configuration I0 as high Speed counter. In the second line, you can define operand (MI) for frequency measurement. See relevant help topic for details. In selected MI you will receive the number of pulses per second - Hz. Then, you need to multiply the this result by 60 to receive the number of pulses per minute. Then, you need to divide this result by the number of pulses your plate gives per revoluiton. The final reult will be in RPM (Revolutions per minute). What is the expected range of results? How many pulses gives your disk per revolution? What is the presision needed? Just note - Enhanced Vision models (for example V130) support special function Frequency measurements. It gives the frequency with resolution and precision of 0.01Hz.
  2. No, sending NULL is not possible. This is the sign of end of string.
  3. For each "character" you can set any value in range of byte (0-255, 0x0 - 0xFF). Please note - if you want to send out values above 127, you need to set communication to 8 data bits 9not default for Jazz 7).
  4. Yes, it's possible. You need ot define the string you want to send as a special variable and thhen to add this variable as SMS and send out. In U90Ladder > Help menu > Sample ... > SMS there is a demo "SMS - print special characters". I hope this well explained example will be useful for you.
  5. Hi Alex,

    I'm not sure if I didn't miss this message.

    You can contact me at support@unitronics.com

  6. Theoretically, this is possible and can be done in Ladder. You just need ot compare status of two inputs. In first though I think this will take 2 to 4 nets. Maybe I'm missing somethhing... But - this will work really, really slow. I think - no more than 10 pulses per second.
  7. The "shaft encoder" funciton (recognizing rotating direction according to A & B signals) - "like in M91" is hardware, microprocessor funciton. CPU of Jazz doesn't support this function. If you really need ot connect shaft encoder A and B signals, you need to use at least M91.
  8. It will count up/down according to rotating direction, if: - You connect Shaft encoder - A & B signals to relevant HSC dedicated inputs (for example A & B ). - You will set in Hardware Configuration of the project HSC to Shadt encoder x 2 or Shaft encoder x 4.
  9. Take care of the noise too. Use relaivelly thick (low resistance), shielded twisted pair. Be sure you connect the shield in one side only to a good grounding point or to 0V of 24v power supply. Check which connection gives you better result.
  10. You need to program Jazz via U90Ladder. You need ot find PC, which answers the requirements of thhis software tool. No "shortways" and "workarounds". When you write the application, you can prepare special Download file from U90Ladder (Tools > UniDownloader designer). Then, this file can be downloaded to the controller via UniDownloader Runner. This application can be downloaded from our site www.unitronics.com and it's relativelly ligth. Anyway, I'll not recommend to use it with a very weak PC.
  11. If the subroutine is scanned always and there is no other logic to affect MI1, you need ot see it on lyne always 2.
  12. The first condition in your rung is DW1 = 0. If this is true, than you add 100 to it. If in this moment MI1 = 0, you will increase it and it will be equal to 1. The next scan DW1 will not be equal to 0 anymore (it will be equal to 100!) and the condition ot increase MI1 will be false. About Russian - you can send me mail to support@unitronics.com in Russian, but the answer anyway will be in English.
  13. The easiest way is to use Unitronics software Remote Operator. It can be downloaded from www.unitronics.com > Support page > Downloads. It's free of charge, easy to use and elegant. Of course the controller needs ot be connected to Ethernet via optional Ethernet card and to have access to Internet - public IP address or port forward. Another option is to build Web server. This funciton is supported by enhanced Vision models - V130/350/560/570/1040/1210. There are two ways to build web server - simple - build in VisiLogic and advanced - via SD card and Ladder.
  14. It seems something is wrong with he connection. Are you sure you connected A & B signals to the right inputs of HSC 0 & 1 or 2 & 3? Are you sure the inputs are set the right way for your encoder (PNP/NPN)? Are you sure encoder gives proper signals? Usually the problem you define comes as result of missing one fo the signals - a or B. My advice: - set temporary HSC to High Speed Counter only. - Connect only signal A to the first input, dedicated to te counter. Check if it's counting properly (always in up direction); - Follow the same procedure with signal B. After receiving good signals both from A & B, try to connect them together and set the counter as Shaft encoder.
  15. In VisiLogic (programming software - free download from www.unitronics com > Support page > Downloads), you need to select Hardware configuration (View menu, of relative icon in Ladder editor, or from Project window (the left one). In hardware configuration you need to select first the model, then, when you click on the picture of the controller itself, you need to go to High Speed counter (HSC). In HSC window, for the relevant HSC (for example I0,1; or I2,3, where you need ot connect your encoder A & B signals to relevant digital inputs, let's say 0 & 1), on drop down menu, you select Shaft encoder x 4. There you need ot link register (recommended ML), which will hold number of pulses. HSC will count count Up or Down according to encoder's direction. On selected register you will receive 4 counts for each encoder's pulse - positive and negative edges of A & B signals). If your encoder gives100 pules/revolution, you will receive 400 counts on each turn. This way you will increase x 4 the resoluiton of the encoder.
  16. Hi Ron, I think the "bottle neck" here is not the PLC scan, but the conversion time of analog inputs. Which hardware you're using for analog inputs? Did you check the conversion method and conversion time for the relevant hardware unit? The scan time of te controller itself depends not only from the numbers of inputs and outputs, but the length of the program and type of operations. HMI also can affect a little the scan time. Usually gthe "normal" scan time for enhanced Vision OPLC is in range 3-7 ms.
  17. Hide cureve? You can link bit to any curve in the trend. Then, activating this bit, the relevant curve "will disapear". Is this what you want to perform?
  18. Printer example - as promised... Ethernet printer.vlp
  19. Hi Friends, The theme is seems to me very interesting! About "normal" office printers - they usally have USB interface and ... Windows driver. In such case it's practically impossible to output print from current controllers. More and more popular are network printers. They have their own drivers, but also their own protocols (ASCII based) to drive them. I'll post soon working example to output print from Vision OPLC via Ethernet to such printer.
  20. Sorry - I didn't pay attntion it's Jazz. There you have not UTC, but still RTC. Right - in Jazz/M91 you will use positive transition contact of SB3. OK - Let's say each time you switch on or off, you can loos up to one second. In your case it seemstheoretically you can loose 10 seconds. Practically I expect this to be within 3-4 seconds total. But - this depends on the scan time of the controller itself. I don't see any relation between SB 3 and SB30. SB 30 rises when Kyepad entry in sepcific display is completed. It has nothing ot deal with time measuring.
  21. It depends how long are start and stop intervals. Then - what is the pecision you need. For most of the cases using SB3 is quite good solution. Some adevices: - If you want to count seconds, it's better to use SB13, which is positive transition contact of SB3. It gives one scan pulse each second. - If resolution better than 1 second is needed, you can use SB7 (0.1 sec, 50% duty cycle) or its positive transitionh contact SB15. If thhe intervalse are long - hundreds and thousends of seconds, maybe it will be better tu use RTC and UTC functions.
  22. SB3 is 1 second generator with 50% duty cycle - halof second ON and half second off. It's updated ruring the scan time. This means, that it's precision is 1 second + up to one scan time. What do you need to perform? Why the precision of SB 3 is important for you?
  23. Are there suppressors on outputs? As motor is strongly inductive load (how much ampers you're passing there), it's more than highly recommended to put suppressors there! Please try and post the result!
  24. Today use of dual up data connection is very low. Most of providers are stoping or have plans to stop support of data calls.
  25. V530 is standard Vision model. There, by default thhe application (*.vlp file) is downloaded and burned. But,in VisiLogic > Project menu > Properties > Download you have option to disable Upload project. It sems this was the case. As once Dung Syao Ping said: "It's very difficult to catch black cat in dark room. Especially if thhe cat is not there". In your case the "cat" (read - the project) is not "there"...
×
×
  • Create New...