Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,868
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. I don't know what SB 305 is. Where did you get that? As far as reading coils, do you know if your SCADA system is issuing function 01? What address are you giving it? Joe T.
  2. 1. The Ping command is used this way- 2. Can you connect to it if you plug directly in with a cable from your PC. If not, please post your program. Joe T.
  3. Your ID address reads as value 0. That should be something you set on your device, and it usually defaults to 1. This can be a problem, as 1 is usually reserved for the master and I start numbering slaves at 2. There is a conflict in the supplied information on your sheet - it says 40001 to 40016 and the address zone is 0x01 to 0x0F. 0x0F hex is actually decimal 15, so this is clearly an error. Try putting a 2 in the ID Address (which is the Master), reading address 1, and changing Status Generator back to a single dimension tag. Let's just try to read one thing to establish communication. Also post your program so we can look at the whole picture. Often there are things deeper in the configuration that beginners miss. You've only posted a couple of pictures of what you're doing, not everything that could cause a problem. Joe T.
  4. Open a command window on your PC and try to ping the PLC's IP address. That will tell you if your cable and basic IP configuration are good. As AlexUT points out about, you need to get your addresses straight. Let us know what your configuration is on both the PLC and the PC. Joe T.
  5. To help, we need to know specifically what you are trying to do and you need to do some ground work first. Define what tags and I/O you want to transfer and let us know. You'll need to configure a Slave table in the UniStream. Look at the Help and take a swing at it. Post your program so we can check it out with any questions you have. As far as the M340 goes, will you post a link to a programming manual that covers how to set it up as a Modbus TCP master? Joe T.
  6. Good troubleshooting. Thanks for letting us know the solution. Joe T.
  7. Change the address to 0. Here's why- Modbus holding register addresses are designated as 4xxxx. When you enter the address in UniStream as above, the "4" is implied. In the original Modbus specification, the register count starts at 40001, which is the first holding register. Unitronics reads the actual memory of the device, which starts at 0. Different manufacturers use different conventions for Modbus, either 1 or 0 based. It looks like yours is using 1, so you have to subtract 1 from each address. As I've said before, this is all confusing to a new user. Verify your port parameters - 8N2 is rather unusual. It's usually 8N1. Did you define your tag "Status Generator" as a 16 element array? Joe T.
  8. Info mode allows you to access the PLC functions and registers. Search the Help for it. Joe T.
  9. You need to break your 115 into two pieces, 1 and 15, and display them separately separated by a ":". All you need to do is divide your accumulated time by 100 to get hours and then immediately move the remainder (SL 4) into another register for minutes. Use leading zeros on the minute register. If you post your code and tell us which register is the off time (containing 115) I'll hack it in for you. Joe T.
  10. Systematic problem elimination- The problem may be in your wiring. I saw that you have 4 mA on each wire but that doesn't mean that there's not something flowing between the channels. These modules are not isolated. Disconnect all the inputs and put a jumper between I and COM on each channel. It will still show out of range but the values to the PLC should read zero. Let us know what happens. Joe T.
  11. Are there any other analog modules that are working properly? The EX-A2X may have an issue. Or is it connected to an EX-RC1? Vision or UniStream? Joe T.
  12. That looks correct. Did you load it into a V130 and test it? Joe T.
  13. As you've discovered, floats are not a choice in the Swap Bytes function. What exactly are you trying to do? Are you reading data from an external device? Joe T.
  14. OK, I must admit I didn't even know about the existence of that function and the frequency resolution it's capable of. Excellent detective work on your part. For everyone else, it's under Utils->Immediate->Frequency Measurement based on HSC. I'm going to hook an old school analog function generator to a PLC and see how well it works at low frequencies. Well done. Joe T.
  15. Yes, the slave is part of the Modbus TCP configuration. Post your code so we can see what you're doing. Joe T.
  16. @AlexUT - When was this added? @Cara Bereck Levy Also - let somebody know that the link to the Visilogic version changes loads the Bug Report document, not the Version Changes. Joe T.
  17. @Cara Bereck Levy Yes. Plus - 1. Ask one of the technoboys what happens if a negative signal is applied, Have them actually hook one up if they have one. If this is indeed single ended and non-isolated then it should return a zero for a negative input. Get back to us with what happens. Or, better yet, @kpetro07 already has one in place and maybe he can hook one up backwards and let us know the results. 2. Nobody cares. Delete it. 3. Depends on the test results from (1). If the output of the module does return a negative number with a negative signal, then this is relevant. If the module returns a 0 with a negative signal, then delete this as it implies that the module can read a negative. Joe T.
  18. The question is do you need reliable 24V power or uninterruptible 24V power? If you lose AC power to the system, can the PLC go down? Reliable power is parallel power supplies as kratmel suggests. Many power supply vendors have a model that allows connecting two together in parallel with a feedback wire between them so they don't have an amps wrestling match if the output voltages differ. I had an application a while back which required battery backup, which is uninterruptible power. If I lost AC power the PLC needed to have a few minutes of DC power available to park some air cylinders that positioned a powered roller. Look at something like this- https://www.powerstream.com/24v-150w-backup.htm The power supply keeps the battery charged and switches over in "zero time" when power is lost. Joe T.
  19. I Googled that error and it pops up all over as a database connection error coming from VB, which is what DataXport is written in. It's probably intermittently having an error connecting to it's own internal database, which is almost Access but not quite. Maybe one of the Creators can chime in. Joe T.
  20. You may be new, but I spent half an hour last night trying to figure out why my new Brick (what I and others call the PLC product) kept telling me it wanted an SD card on the VNC client when I just put a new one in. Then I tried reading it with an adapter on my computer and it made the Windows "ching - happy bell" noise but wouldn't read. Then I tried re-inserting it in the adapter. Four times. Then I got another new micro SD card and put it in. The problem went away. The moral of the story is you are not the first to get bit by defective removable media. Nor will you be the last. It's something we all need to keep in mind. Joe T.
  21. OMG. This is near and dear to my heart. Behold, the latest iteration of the JTA ILD Tester- "ILD" stands for Initial Loft Deflection Test and was developed by a customer / manufacturer of nonwoven material (think white fluffy stuff in cushions) and is based on the ASTM IFD test used for foam. I incorporated a 25/65 test into the program if they want to test foam, too. This was developed to be a production tester to test samples several times a day. It's not as accurate as an H-frame tester, but super rugged and a hell of a lot cheaper. Accurate to 0.1 pound and 1/8 of and inch. The first iteration used a V120 back in the day. It's come a long way. Joe T.
  22. If you're going to go shopping on the Evil Empire's website, this would be so much easier- https://www.automationdirect.com/adc/shopping/catalog/relays_-z-_timers/electro-mechanical_relays/slim_interface_relays/kpr-sce-24vacdc-1 Joe T.
×
×
  • Create New...