Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Yesterday
  3. flex727 ---i knew there had to be an easier way just took it out of the logic and used simple binary switch Thanks again
  4. If it's just a toggle button to turn a pump on or off, you don't need ANY ladder logic at all. Simply assign the output to a binary text switch and check the Toggle box.
  5. figured it out.... well i got it to work how would you guys have done it?
  6. I am very new to programming and only know what I've taught myself..... I have a toggle button on the hmi to turn the a water pump on, I hade it working fine and cleaned up some of (what i thought) unused bits and now cant get it working again. It just rapidly toggles back and forth. Can someone tell me what I am doing wrong?
  7. Last week
  8. Simple Tank Monitor.ulpr Hi Gary, try the attached. The setup is quite simple, this one allows you to enter the level range from the front screen of the HMI, rather than hardcoding it into the logic of the PLC. Hope it helps, Simon
  9. Hi, After lot of digging and chatting with an Engineer at Unitronics, it turns out that PCO, the protocol that Unitronics software uses to connect to PLCs is different when communicating over Ethernet and Serial. Over Ethernet, PCOM adds 6 bytes of data to the beginning of the message. Because of this, connecting from VisiLogic(over Ethernet) to the router and then forwarding that to the PLC via serial, the PLC does not recognize the command. A Serial to Etherner gateway software is necessary to accomplish this or through the UniCloud. I am still running some tests here and will let you know how that goes. Let me know if anyone knows a FREE serial to ethernet gateway software as I only found paid ones so far.
  10. Looking for best way to set up a tank level monitor on hmi and ladder in unilogic using 4-20ma any examples out there new to all this Gary
  11. See above on where to find the info in the Help file. While you could certainly map the I/O directly to MBs in the program, it is not automatic. The Help file provides the addressing for the MODBUS Master to find the I/O coils. They would be addressed just like any other coils, just higher up in the address table. Being a MODBUS Slave is not sufficient to be able to read data from the PLC. You must have a SCAN_EX function block running in the program to scan for incoming MODBUS requests.
  12. Hi, thanks for your reply. Could you please lead to the help file or manual where this info is... I think it is configured as a slave (server) on the TCP port (which I'm going to use), becuase there is a client somewhere in the network that works with it. But the point is the mapping of remote i/o points to mb_tcp points - is automatic ? (i32 --> (matches) MB Digital Input 0, I33 --> MB DI1...., O32 --> MB_Coil 0 etc...) OR matching has always to be done in the project configuration.
  13. HI; Looking at the Data Stream, the clue is the * Character. Try it as the ETX or as STX Data Format appears stable - size and comma locations Bring in as a string and the parse it to extract the data. You may also be able to extract the data on the fly as it is formatted already. Look at Examples - Communications - FB Protocol - V130 Receive 4 Numbers DanT
  14. The digital I/O on the expansion modules is numbered sequentially starting at I-32 for inputs and O-32 for Outputs. All the information you need to know is in the help file. Search on MODBUS Slave Addresses. Click on MODBUS,IP, then Slave Addressing. There you'll find the addresses for the different operands in the PLC, including the addresses for the I/O. You'll need access to the PLC program unless the program is already set up to be a MODBUS Slave.
  15. Good day everyone! We're a SI (that has not much experince with the Unitronics PLCs.. ) and met Vision PLC HMI panel 1040 in the field. We need to read some I/O points from the remote I/O modules, connected to the OPLC's i/o exp. port . For integration with another system. From the FAQs I've read the module allows 4 connections, and Modbus TCP 502 port as well. Please advise if there are some mapping rules for remote i/o modules to the OPLC's Modbus TCP memory? Is this mapping is set in the project (that we don't have...) or there is some formula like, X (pos_of_the_module)* mem_space_occupied_by_the_module + offset inside the module, to get the MB TCP address of the remote i/o point? Thanks for help in advance.
  16. Hey can you please send the code one more, i would like to understand this for my university project.
  17. Dear All I'm using V1040, I have scan protocol 28byte but the PLC get only 16 and STX is not fixed the position, please advise how to solve the problem
  18. Hi Joe, Thanks for moving this to the correct area. This is a senior design project that was handed over for a second year so we are a bit in over our heads here but I'm trying to learn as quickly as possible. We do have the separate .vlp files, three in total, one for the V570 and one each for the EXF-RC15. I attached the files below and they are not my most current revision but what was given to us from the team before. Thanks, Jeremy EXF-RC15_PTO_and_Jogging_ID3.vlp V570 PTO plus jogging for EXF-RC15 example.vlp EXF-RC15_PTO_and_Jogging.vlp
  19. Moved to the correct forum. It sounds like you're going to need to bring in some help. It takes a bit of skill to get motion working on a Vision PLC The V570 and the EXF-RC15's have separate programs (.vlp files). Do you have these? Joe T.
  20. Hi all, I'm trying to build what is essentially a CNC drill press that is capable of drilling holes into a sheet metal panel. I know PLC is not exactly the best for this but it is left over equipment and is what we are stuck with unless we can justify switching to something else. We are currently using a V570 PTO with a V200-18-E2B snap in module with 2 additional EXF-RC15. Currently we only have one functioning (controlling two X-axis motors, and the second meant for one motor in the Y and one motor in the Z on its two channels) because of the example files given with the VisiLogic program. Our group has little to no experience with ladder logic and while I have watched some videos I do not know how to add the second unit properly to our program. Both modules are hooked up via the canbus and to the best of my knowledge is all wired correctly so once the program supports it they should work without issue. I'm not expecting someone to write the ladder for me, but at least a direction to approach this as I am a bit overwhelmed with information and trying to identify what is relevant as I need this working more than I need mastery of the ladder logic. Thanks for the help.
  21. @Cara Bereck Levy, best as I can tell, this has not been done.
  22. @Cara Bereck Levy @Saragani I'm also wondering same as Kroska's ask. I had simply forgotten about this ask of mine as I had just got used to it not working properly so didn't use it. I played again tonight on my main 2 screen system and it is still the same. Using 2 monitors displays all sorts of odd behaviour with the mouse only active on the main screen. The real irony is twofold in that the detached explorer window works correctly....but only on the main screen. If you want it on your second screen you have to make it large enough to show what you want on the second screen by sizing it on the main screen, then drag it over allowing that the mouse pointer will keep on moving, but the associated mouse action will stop when you leave the main screen. However, if you do a save with the explorer window detached, then close and reopen, the explorer window then works correctly. Alas, this doesn't make any difference to the detached output window. It stubbornly remains the same unusable thing. cheers, Aus
  23. Hi, has anything changed in this problem - "Unfortunately it is not possible to resize the output window once it is detached from Visilogic"? It still doesn't work... Thank you.
  24. Earlier
  25. Hello, I have a Python code which does some algorithmic job, and acts as a TCP server on a PC. The Unitronics PLC I have is the client, and the workflow goes as follows: Request -- UNI -> PC: "Please check this XYZ" Response -- PC -> UNI: "Ok / Fail" Now, in the "normal world" the response from the PC (the server) is bound to the same TCP request from the client (as in HTTP protocol, if you're familiar). Can I do that with PLC as well? Because I don't want to open another socket where the PLC is the server (and the PC will respond to there). I'm afraid it will be out of sync. Any solution? Maybe an example? Cheers, Natan
  26. OK, I understand. I think it is this section of the user manual: (p 110 of V1.B Oct 2020
  27. Hi Simon, Thanks for the input. I am not using the Unicloud service that Unitronics offers. Instead, I am using a third party DDNS service in order to be able to track what IP my controllers is getting assigned to it. There is a setup under services>rs232/485 into the router that needs to be configured in order to use the Remote Operator. I just don't know the exact settings needed. My physical setup is : UCR>DB9-male to RJ11 male into Port 1 of the V570. In VisiLogic, I have a com port init in my power-up task to initialize the serial communication and same settings are being used into the router. In Remote Operator, the ethernet call is my connection type where the router's IP is the target as well as its port. PLC name and everything seems to be correct, but I cannot access my controller. Thank you.
  1. Load more activity
×
×
  • Create New...