Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,867
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. If you want total control over how the data is displayed you'll have to convert it to an integer for display purposes. That's just how it is. Joe T.
  2. A little late to the party, but I have found that the ID of the TCP Master and TCP Slave don't matter. Most of the time. Technically, the Slave ID is part of the transmit and return packets so it should matter. But I've had many instances of one Unitronics PLC talking to another where the Slave ID seems to be ignored; only the IP address matters. So the Unitronics implementation of Modbus TCP doesn't seem to care. I had one project where we were communicating with some Modbus TCP level sensors that allowed "chaining" of additional RS-485 slave sensors to the master Ethernet sensors. The master acted as a gateway and each slave sensor did have a unique Slave ID. The slave sensors could be accessed at the same IP as the master as long as you also specified the correct ID. So it was multiple objects at the same IP address. So you can't totally disregard the slave ID, depending on the devices involved. For some really interesting bedtime reading, the current Modbus TCP protocol specification can be found here- https://modbus.org/docs/Modbus_Messaging_Implementation_Guide_V1_0b.pdf If you look at page 5/46 you'll see that the 'slave address' is now the 'Unit Identifier' and is used in a gateway device such as I described above. So if the device you're communicating with has some kind of hidden gateway or bridge functionality then the Slave ID does matter. That is exactly my experience. You have to hook it up and test everything and not count on it working out of the box. I call this phase of the project "V'Ger wants to touch the Creator". Joe T. P. S. - If you look through the Official Specification you'll see that 32 bit objects such as Floating Point and Long Integers are nowhere to be found. Which is why we have so many problems reading these from other devices - no mention of byte order or endianness. There is no defined standard.
  3. Does the Secomea allow all the ports needed to connect to a UniStream over Ethernet? Search the UniLogic Help for "port" to see what ports are used by UniStream and verify that the Secomea is not blocking them. Joe T.
  4. You may have common mode noise. I always ground the 0V of my 24V power supply to whatever AC source is powering it. If that doesn't help, get your scope out. Forward your request to Official Unitronics Support - support@unitronics.com. Joe T.
  5. The CANbus port is serviced in the communication portion of the scan, so your update will be whatever the scan time in SI 0 is, typically a couple of milliseconds. My gut is the Interrupts won't make any difference as the CANbus won't be serviced until the end of the scan anyway. I typically call a CANbus function every 0.1 seconds and it works fine. You could try hanging it on the rail with a couple of permissions- It should work but I've never tried it. According the the Help it can send 512 MIs every scan. Give it a go. You're not going to break it. Joe T.
  6. Are you using a USB to Serial converter? If so, is it the official Unitronics part with the Prolific chip? Updating the OS is where the FTDI chip and driver fall flat for some reason. Joe T.
  7. Translation - Good morning, I would like to know if you can help me... I have a problem. I wanted to upload a new program to my Unitronics v350 plc and when I downloaded it, it asked me to update the software... It was done and it was possible with the black screen and a cigarette... but on my laptop I still have communication Did you "Init and Reset" the PLC after you updated the O/S? Joe T.
  8. I see from your IP information you're in the Chicago area. I'm the distributor in St. Louis. If you want to PM me with your phone number I'll just call and answer your questions - it would be much easier and quicker. Joe T.
  9. 1. There is no programming manual in document form. The Visilogic Help is thorough and deep, and includes a bunch of example programs in the installation. There are videos on the website that may be helpful - https://www.unitronicsplc.com/videos-and-tutorials-unilogic/ 2. Unitronics does not scan like Allen Bradley. The nets are compiled into an instruction list - if you want to see what actually happens right-click on the network number and select "STL Quck View". Sometimes the complier doesn't do what you think it will in the order you want, which is why you're getting the warning. Go ahead and put the contact and it's logic in the next network - it won't affect the scan time. Joe T.
  10. as said I have a v700 with module v200_18_e4xb I changed the status of the ports from I9 to I17 passing them to NPN, their common as per the manual I connected the positive 24vdc then I connected the cable in I9 I created a numeric variable window where I connected MI 9 after sending everything to the plc, when I turn it on, I don't see numbers that vary. according to you, a logic program must be made, where am I wrong T.C. I9 is not automatically mapped to MI 9 as a counter. You need to create a counter in the ladder code for this to work. Upload your program (.vlp file) so we can see what you've done so far. Joe T.
  11. By definition, Deadband Control is fully on or fully off. There's no in-between, and you said in your initial post that you wanted to prevent hardware chattering. That small of a fluctuation is really quite good for deadband control. The range from deadband control can vary from +/- 1 degree to +/- 50 degrees depending on the thermal characteristics of the system. You can't have it both ways. If you want more accurate control you'll need something that can utilize a PID loop properly and apply energy to the system in an analog fashion - somewhere between 0% and 100% with a one second or faster loop update. This is what we use solid state relays for in a heating application. Joe T.
  12. There's no rule that you have to run Autotune to use the PID block. You can manually load up the parameters into the PID struct. Look at the Help on the PID block - the status will briefly go to -5 if Autotune hasn't run. If you have the other parameters set up the PID block will still function. Joe T.
  13. Translation - Hello Joe That's right, I have two dm542 controllers I try to make a bed of coordinates, where the "X" axis moves from side to side and the "Y" axis walks "N" number of steps each time the "X" axis moves from side to side, for this I'm going to use 4 limit switch Cheers Before you start writing your control program, spend some time learning how to move the steppers. The HSO outputs are controlled by moving numbers into two registers defined in the Hardware Configuration for number of steps and frequency, and then setting an MB to start the pulses going. I've attached a sample program. Look at the Hardware Configuration on the High Speed Outputs (Step Control) tab for how to set up the HSO output. You will probably want to implement the PTO function later, but for starters just get your stepper moving so you see if you get your wiring right. Joe T. V430 HSO config.vlp
  14. Depending on how many on/off events you want to use you can go one of two ways- 1. For a couple of events in a day, use the Clock functions found in Utils-> Clock 2. For a high level of flexibility you can use compare blocks to the RTC found in SI30 .. SI38. Get to know these registers if your application is time based, as your functionality is only limited by your imagination. Joe T.
  15. No. This is probably my best rant on chipsets- Joe T.
  16. I so miss the terms "Master" and "Slave"..... They are very clear, if not politically correct. Modbus is the last holdout. In a business relationship, is the Client the Master or the Slave? Guess it depends. Joe T.
  17. Translation - hello again, I already have a V430-J-TR34 plc and two DM542 controllers, I need help to connect and control the two axes You're going to need to be a little more specific in what you want. So it looks like you have a couple of these- https://kitaez-cnc.com/f/dm542.pdf Take a look at this topic on how to wire them- As far as how to control them, what is it you are trying to do? Joe T.
  18. You appear to be working with a Jazz, the feature-limited father of the Vision series. Check the Help for "Special Functions - without elements" for Store Timer Preset value. You'll have to load some values into some special system registers and then trigger it by loading a function code. Joe T.
  19. Moved to the Visilogic forum. I'm guessing you've tried very hard to contact the original builder. That program has to be out there somewhere. The program you're asking for is pretty specific - the probability of someone having that is low. You'll need someone to put something together for you. Do you have electrical drawings? Where are you located? There are users all over the country and around the world that can probably help you. Joe T.
  20. Try Reset and Initialize the PLC from the Communications dialog. The Current Value is set when the program runs. Only the presets are downloaded. The Current Value should reset to zero when the timer is called without power, depending on the timer type. If you have a whole bunch of subroutines that aren't called you will see this. Can you upload your program? Joe T.
  21. It seems all of my customers have different IP domains in their facilities. For many years I sucked it up and manually changed the IP address on my laptop to match my working environment. A couple of months ago I said myself "This is really stupid. There must be a way to automate this." It didn't take me long to find this little free application - Simple IP Config - https://github.com/KurtisLiggett/Simple-IP-Config/releases/tag/2.9.3 It took me a bit to figure out the sequence of the buttons to create multiple configurations but I eventually did. I changed the save location of my profile to my web-based file server and now I can access all the settings on all my computers. Definitely cool. Enjoy. Joe T.
  22. You set up syncing to a time server in UniApps. Open the UniLogic Help and search for "Set the RTC". Display the topic is "Setting the RTC". Joe T.
  23. I'd have to see the system drawings with module listings to get a better idea of what you have. What is the part number of the CANbus slave nodes? Are they EX-RC1's? Where are you located? You'll need to determine what distributor you can work through. I am a distributor, but my contract does not allow me to sell product outside the US. The V230 battery is inside the PLC. It's a CR2450N. You'll really want to have a copy of the program before you change it. I would usually tell you to contact the vendor, but I have a friend who's sailing around the Caribbean and he's always trying to get me to come and fix his boat and have heard many tales of unavailable support. I understand marine vendors can be difficult to deal with and your parts availability is limited. I'd start with the V230. You'll need a laptop with a serial port or a USB Converter and a CB1-RS232 cable to talk to it. The programming software is a free download - I'd recommend version 9.8.65 which is available under "Previous Versions". Joe T.
  24. No. You may have run into a bug. Which version of Visilogic are you using? Copy this post and your program to support@unitronics.com. Joe T.
  25. This can cause problems. The conventional wisdom on the forum is all us moderators use Visilogic 9.8.65 unless there is a needed feature in a newer version. You can still get 9.8.65 under "Previous Versions". If you haven't already, open an official Unitronics support case at support@unitronics.com. If the Creators in Israel should be able to solve your Hebrew font problem. Joe T.
×
×
  • Create New...