Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,860
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. If you could post links to the modules you're using and upload your PLC program we could be more helpful. Joe T.
  2. Only one action per Case ID is definable. You'd have to make a small function with what you want to do and call it. Joe T.
  3. To expand, I found this on techtarget.com - TCP vs. UDP This process of error detection, in which TCP retransmits and reorders packets after they arrive, can introduce latency in a TCP stream. Highly time-sensitive applications, such as voice over IP (VoIP), streaming video and gaming, generally rely on a transport process such as User Datagram Protocol (UDP), because it reduces latency and jitter by not reordering packets or retransmitting missing data. UDP is classified as a datagram protocol, or connectionless protocol, because it has no way of detecting whether both applications have finished their back-and-forth communication. Instead of correcting invalid data packets, as TCP does, UDP discards those packets and defers to the application layer for more detailed error detection. The header of a UDP datagram contains far less information than a TCP segment header. The UDP header also goes through much less processing at the transport layer in the interest of reduced latency. In summary, Transmission Control Protocol is a handshaking protocol, requiring the end device to respond to the initiating device, hence the need to "connect". TCP is more of a guaranteed data transfer. User Datagram Protocol is a broadcast only mechanism. Since the initiating device isn't trying to verify the connection, it is way faster. We had an application transferring 512 registers every second and UDP gave us the speed we needed. If there's nothing on the network but the PLC and the slaves and it is a hard cabled network then UDP will probably work fine. If you're going through cellular modems, Wi-fi, or any other packet-clogging devices then I'd go with TCP to get more reliability. Joe T.
  4. This is not obvious. I had to call support to ask where the HSC config switch was. First off, HSO is high speed output. That's not what you're looking for. The properties of the on-board IO are cleverly hidden in the Uni-IO & Uni-COM item of the hardware tree. Selecting Gives the Properties window Now you can define the HS Inputs. If you choose Quadrature the additional IO tags are added HSC-0 Counter Value being one of them. Joe T.
  5. I used to tell people to ask the distributor they got the product from for inform One of the fun things about UniStream is you have to assign two IP addresses to it - one for the CPU and one for the Panel. The Panel IP address is where all the computer-esque communications are directed. Point your VNC client at that address. Joe T.
  6. I'd reach out to support@unitronics.com for this one. I'm pretty sure the the one second pulse isn't running off a crystal oscillator. Neither is the real time clock. I tell people that the RTC can drift one minute per month. What is the accuracy of the Hobbs meter? You could be running into a cumulative scan time issue. The scan time of a V570 is typically 5 - 10 ms, and if you're accumulating seconds based on the the one second pulse during the scan you could be off by some amount for each count. If the time accumulator is running for a whole week then you're talking about 604,800 seconds. Six minutes is 360 seconds, so the error is 0.06%. Over a year you could be off by five hours. Does that error matter? I would try an experiment using accumulating TA timers, which are tied to the internal clock and run independently of the scan. Use whatever logic you have enabling the one second pulse and run a 1 hour TA timer. When it times out increment a register to count hours and reset it. At the end of the week you can look at the hour count register and whatever the current value of the TA accumulator is to compare to your Hobbs value. Joe T.
  7. All you need is a Modbus TCP driver. I am 99% sure that all SCADA packages have this driver available, as Modbus is one of the oldest industrial protocols. We use InduSoft Web Studio, now called AVEVA Edge. Many people in the US use Ignition. I don't know what's popular in your part of the world, but I would just ask around. Joe T.
  8. Clarify your question - are you asking what kind of PC-baded SCADA software packages we recommend or for a SCADA-like dedicated HMI product that will emulate the Unitronics screen? Joe T.
  9. @BastianPIA - You've followed the example to configure the Jazz for Modbus serial communications. I don't think this is what you want. Look in the Help for Modbus and click on the link for Modbus/TCP -> Ethernet: Jazz 2 only. You'll see there is a dialog box specifically for Ethernet communication setup. Joe T.
  10. Inputs start at Modbus address 04000 on a Jazz. Have you tried ReadCoils(4002),2 ? Joe T.
  11. 1. I don't put any conditions on my SCAN_EX Modbus Slave block - 2. As Fernando pointed out, your net ID should be 255. 3. All of the V280's memory is open to read via Modbus. Rather than fighting to get the right offset for an ML read, try setting your offset to 0 to read MI 0 to establish a baseline that your communication works. Set your Data Type to INT. If that doesn't work try offset 1. 4. Your "Data Block" is set to 0. Should that be at least 1? Otherwise, upload your program. Joe T.
  12. Translated - Thank you for your response and attention! Would it be possible to create an example within the unilogic programming structure? As this is my first contact with unitronics, I still don't know very well how to use the software-only tools! Another detail! I don't have a movement end confirmation! There is no signal that is triggered every time the movement is completed! Thank you once again for your attention
  13. To expand on Ausman's comments- This application got stuck in the back of my head for some reason and I noodled some more on it. It might have something to do with my antique radio restoration hobby and the videos I've watched of guys making their own vacuum tubes (valves). First off, I wouldn't recommend Fast Mode. Everybody thinks they need to go "fast". I don't see your system changing it's vacuum every 25 ms and the 100 ms response in normal mode is probably fine - It's your choice, but you will get four more times the resolution on your transducer in Normal Mode. You haven't told us the range of your transducer but you have told us you want to display exponents, so I'm guessing you're trying to pull a deep vacuum with a diffusion pump or something like that. Let's say you have one of these OMG sensors - https://schoonoverinc.com/wp-content/uploads/2016/12/Vacuum-Sensors.pdf We'll pick the Penningvac PTR 225 N / PTR 237 N that goes from 1x10^-8 to 5x10^-3 mbar. Converted to numerical representation, that's a range of 0.005 to 0.00000001 mbar. Normalize that to integers with a virtual decimal point at 1x10^-8. So your range is 500,000 to 1. Definitely scale with MLs. Now - using the input in Normal Mode your signal can be sliced into 16,384 pieces. Each count of the A/D converter equals 3.1x10^-7 mbar, which would probably be unacceptable. But let's say I'm wrong here and your range is realistic. You can use a series of divide blocks to extract the scaled actual value into its multiplier and exponent components. Then you can display two numbers next to each other so they look like one: This would probably be easier that trying to create a text string. This is what I do for fun on a Friday night. Joe T.
  14. From the IO-AI8 datasheet, Fast Mode mode is 12 bit. That will make a significant difference in your scaling - 4096 counts vs 1024 counts. What are your expected range of values? First do your scaling in integers as everyone recommends to get your base number with an implied decimal. If your heart (or boss) is truly set on this presentation you'll have to build and display a string to get the visual format you want. Even if you use floats, you can't guarantee that the exponent will appear as the PLC will display it as a regular decimal if it can. Joe T.
  15. As Ausman says, if the PLC returns the model number and O/S version then then communication is working properly. I think what happened here is the OP downloaded the latest version of Visilogic off the Unitronics website (because that's what Unitronics directs you to do) and now it won't communicate because the O/S in the V120 is probably very old. It's been recommended that the O/S be updated but he hasn't mentioned that he's tried that. It's not the most obvious thing in the world for a new user. @Hasan Haider - if you haven't already tried then the way to update the O/S is by clicking on this tab in the communication window - The default baud rate for a V120 is 57600 as DanT says. Try to update the O/S and then you should be able to go online. If this doesn't work, you can reach Official Unitronics Support by emailing support@unitronics.com. Joe T.
  16. You can only have one Modbus Configuration block per port. You've created two Masters trying to share the same port. Use the same Master to call different Slaves. Joe T.
  17. Order these two parts from your friendly local distributor: RJ10-22-CS35 USB to RS232 converter RS232-CB1 Serial Programming cable Joe T.
  18. +1 on using Download only while developing. When you do a simple Download, only the things you've changed are downloaded. Download and Burn takes a ridiculously long time. Don't forget to upload your memory table values (Export PLC Operands to Binary File or Text File) when you're done, too, so you have a record of all your settings. If you have values in Data Tables you need to save those as well. They will save in your project file but you need to make the effort to read and save the Data Tables from the Data Table dialog. Joe T.
  19. OK - so you've got the 20 mm ID unit where 4/20 mA = 5 to 85 l/min: The -RA22 is the high resolution analog input board, where 0 - 20 mA = 0 to 16384 counts. 4 mA = 3277 counts, so your 4/20 signal will be spread over 13,107 counts. If you use a virtual decimal place at 0.xx, you can scale your flowrate input to 5.00 to 85.00 l/min. The -RA22 has four analog inputs which are dedicated to input type. AI 0 and AI1 are for thermocouples and 100 ohm RTDs, and AI 2 and AI 3 are for 0-10VDC or 4/20 mA. You'll need to set the jumpers inside the unit to select the 4/20 input. I'd recommend connecting your flowmeter to AI 2. Your linearization block can be set up like this: I've attached a program showing this. How often you sample it and the math to totalize flow is up to you. Since your input flowrate can be up to 8500, I'd recommend doing your math in MLs as you will quickly overrun the maximum value of an MI which is 32,727. To answer your question, your precision is 0.01 l/min. Joe T. Flowmeter scaling JT.vlp
  20. Need the full model number of the V350. They have different I/O boards. There is a very large difference in the analog input resolution between a -TA24 and a -TR20. Joe T.
  21. Me, neither. You'll have to give us information on your pipe size, flow sensor make and model, which PLC model you want to use, and your anticipated flow rate range before any of us can give you direction. Joe T.
  22. I'm guessing these are motor status bits. If not please clarify. If so, then just write logic to turn on and off an MB with each one. Then your gateway will "read coils" and the address will be the same as the MB address and you can read them all in a block. Is the gateway a commercial product or something you've developed in house? Joe T.
  23. That's your computer identifying itself with it's own IP telling you that the PING did not get a response. It confused me the first time I saw it. Joe T.
  24. Just to clarify, there is no "table". You can read the entire memory of the Jazz via Modbus; you just need to know the MI or MB addresses you are interested in. Can you describe your application in more detail? Are you reading from the PLC with SCADA software or another application (Modbus slave)? Or do you want the Jazz to write to another device (Modbus Master)? Joe T.
  25. Just to be clear, are you reading registers 30001..30010 and writing registers 40001..40010 to the slave? Is MB 4010 your Modbus busy bit defined in your configuration? Can you upload your program? Joe T.
×
×
  • Create New...