Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,863
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. This question was kind of directed toward the Creators. @HighTech - The Weintek (also known as Maple, KEP, or Rohtek here in the US) is always a master. These have been a go-to solution for most PLCs for many years. Your suggestion of setting a value in SI 103 - 106 is right on the mark, but these don't apply to the V700. @Henny - I don't think there's a way around coding error handling for now. @Isakovic - I'm only using Modbus IP so I can watch SDW 61 for a changing value if the socket is connected and close the socket after a timeout if the data stops changing. If you're using other sockets you'll have to retrieve the recieved transmission count when that socket is open using request 42 and then watch for that value to change, cycling the socket if the count stops changing. Joe T.
  2. Don't let it bug you. Visions are way more powerful than M90s. You can assign an ML to an HSC input with no problem. Here's the catch - it will reset to 0 when you cycle power. I put an STO block in that continually copies the ML value to another ML with a NC of SB2 in front of it. This creates a running buffer of the value. I use an NO of SB2 to copy the buffer back to the HSC accumulator so I don't loose my place on power-up. Joe T.
  3. I've had that happen and the cause is unknown and mysterious. The battery usually tests good. When you downloaded the program, did you select "download and burn"? This will retain the program for sure. Joe T.
  4. We're troubleshooting a Modbus IP slave application on a V700 and the PLC is locking out the Master. Using "V700 Read Socket Status" with code #22 results in a reply of 23, which means a connection is established with something. When we turn off the Master (a remote Weintek display) SDW 61 stops incrementing but Status remains at 23. When we turn the Master back on we get a no connection error on it. When we reboot the PLC the status goes to 20 (Listening). Then we turn on the Master and everything works. Is there a way to make the socket disconnect after a period of inactivity without code? Joe T.
  5. My hat is off to you; I've never gotten that error. I, too, am curious what it takes to choke a subroutine. Joe T.
  6. It would be super awesome if there was a graphic display element that allowed direct display of numbers and strings on the screen. I spend a lot of time coding reading data from tables into MI's just to display the values. With the introduction of the larger displays (V700, V1040, V1210) there is a tendency to display large amounts of collected data. We could specify the Data Table and then use an MI or constant to pick the row and the column. Joe T.
  7. We tried it on a different phone and it works fine. I need to dig further into the settings on my phone. Joe T.
  8. I am able to connect to a remote V350 on a cellular modem with the PC version of Remote Operator. I put the same settings on the Android version and I get a connection error. I am also able to see the remote PLC in Visilogic. What is the network ID field for on the Android version? Joe T.
  9. I think one of these placed over the I/O expansion port when the unit is shipped would work just fine: Joe T.
  10. Yesterday I had a customer plug his Ethernet cable into the I/O expansion port on a V700 and try to figure out why he couldn't talk to it for two days. I think he's still kicking himself, and I'm personally worried about his self-esteem level. The really sad thing is I did the same thing last week, only I figured it out in less than an hour. To the Creators - Please put a big red sticker around the expansion port on all PLC models that says "Ethernet not go here! I/O Cable!" or something. Make sure you use caveman language, as that is what I think it will take for my brain to actually understand. I know the molded-in legend is too hard to see for us folks over 40. Joe T.
  11. I've never tried it, but did you look at the value in SI 274? Joe T.
  12. Unfortunately that is not an option with the current revision of Visilogic. Creator input? Joe T.
  13. Your program has a good beginning. Is the problem in sending or receiving? Have you connected a terminal? Let us know a specific problem. Do you know about the serial buffer monitor in the Info Mode? Joe T.
  14. Did you go to Mexico to take this picture?
  15. +1 Keeping track of which MIs and MBs were in the exported routine is next to impossible, and it has stomped on code I've already written. Joe T.
  16. I'm working on a program that tests 32 motors with one of eight tests. All eight tests can run at the same time, and any of the motors can be assigned to any test. I've already developed the code to edit the tests in one data table and assign test numbers to each motor in another data table, along with leaving space for each motors test data. These tests are not fast - the motor is on for several hours and then off for hours (pool and spa pumps) for several thousand cycles. I'm just monitoring high and low amp levels. Response time is not critical. Here is my monster-brain idea - I can make a program with pointers that will step through the test table, determine the test members, check the current levels, and write the time accumulators and error codes back to the test table and the motor table. This way I only need to write one test routine, loopy and convoluted as it may be. The question I have is whether extensive data table reads and writes are any harder on the memory and scan time than regular operations on MIs and MBs. I figured if I run the loop every second I will have ample control over the test. Or I can write eight nearly identical test routines, which will be simpler but can be a pain in the butt to edit when I figure out that my initial genius programming ideas don't work. (Yes, that does happen). Thoughts and comments? Joe T.
  17. I have a customer who does it with a converter box that simplifies the codes. The box he uses takes RS232 commands; he writes his lighting shows in Unitronics and then send basic commands to the converter. DMX512 is based on the RS485 hardware layer, so it can theoretically be done with only the PLC. You'll have to get a copy of the DMX protocol and use the Protocol block to handle everything. Joe T.
  18. You will need to become very familiar with the Protocol block, which will allow you to output whatever you want out of the RS232 port. Do you have the protocol guide for the device you're trying to talk to? I'd recommend determining the strings you'll need for the device and then practicing with a terminal program connected to the PLC instead of the device so you can get your code right. Joe T.
  19. Did you try 115.2K baud? There's a little nuance in the O/S updater where it doesn't try all possible baud rates before giving up. Joe T.
  20. Maybe. What do you know about this signal? Do you have a command set? Joe T.
  21. Do you have "Run as Administrator" set in the U90 shortcut properties? Joe T.
×
×
  • Create New...