Jump to content

kratmel

MVP 2023
  • Posts

    1,141
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by kratmel

  1. The best way is to use the high-speed counter built into the PLC (I0 or I2) and assign it a to large integer number (ML or DW) in Hardware Config - High speed counter to accumulate an energy value with 0.1 kW increments. Further, this number can simply be displayed on the screen by moving the comma one unit to the left in the display. Then no floating point calculations are needed.
  2. In general, both options are equivalent, but if you use a pulse signal for incrementing, you should note that the number of these pulse signals in the program is limited (less than 255). I can offer you another option but I always lean towards a solution that uses fewer lines of code
  3. Translate... Hello everyone, I would need you to tell me how I can represent a digital physical input of (1 or 0) in a vision 350 in a level bar graph. The level bar graphs are MI where the minimum is 0 and the maximum is 1. I want that when the digital input is 1 the graph appears full and when the digital input is 0 the graph appears empty. I know how to do this with analog input but not with digital input. I would like to know how a digital input (I8) is linearized and represent it as a maximum of 1 and a minimum of 0 in a level bar graph
  4. In this topic i have tried to describe the limited capabilities of the PLC in terms of position and speed synchronization. This is a job for specialized motion controllers. I don't know how precisely you need to synchronize, but there are probably no simple solutions for even a very approximate synchronization. Perhaps the solution lies in the plane of mechanics - to apply rigid mechanical synchronization through toothed belts and gears?
  5. If you hold 5 seconds on the screen at an arbitrary point, you will enter the information mode. What you get in the second window is the screen calibration window which is one of the info mode modes. By clicking on the yellow dots, you should complete the screen calibration procedure. If the procedure is completed successfully, you will receive transitions to the information mode. If not, the calibration procedure will continue indefinitely. If there is a protective film on the screen of your PLC, then most likely a particle of dirt got under it and presses on the screen instead of you. Remove the film and wipe it with a soft cloth. If the problem persists, you have a problem with the touch screen hardware (glass crack or deep surface damage) or touch screen calibration issue.
  6. Please share scanner model # and communication interface used to connect to PLC. Unistream PLC model # needed also.
  7. Maybe it is useful to send working and damaged project to Creators? Enhanced Vision supports up to 255 HMI variables per display, can this rule be broken? I think that "Save" function and "Save As" make different result when project has many grafics on Display. Save rebuild original project file, Save As - create new one.
  8. I make this project on my second PC were the same 9.8.65 installed on Win10. Then open this on Win7 with 9.8.65 --- 1.152 file appear. Both PC has the same Visilogic installation sorce. After i try to delete 1.152 and P.S. I try to read Bug reports.... In 9.7.24 fixed for Samba Certain issues relating to application size, including images, have been fixed
  9. Something like this is appear if i try open vlp project created in this 9.8.65 version on my PC. But if i try to delete 152 file, it is not appear after second open in Visilogic 9.8.65.
  10. Yes, there was something similar, and it was in one of the versions above 9.8.65. I made a rule out of fear of losing what I had worked on - to start every day with a version of the program one unit higher than yesterday. That is, 001, 002, and so on. I always have a previous version with the ability to repeat the changes that are documented on paper for the latest version. As for restoration, it is worth trying to find a backup of the project that is saved automatically during operation (it has the same name and the version of the database as an extension at the end). It is worth trying to rename it to vlp and open it with VisiLogic.
  11. We have in our hands a Vision PLC that has two separate programmable sections. One of which is data tables. Regarding the operands and their quick reset with one command, I only see the SB 24 bit. As for the data tables - here I am not sure about the method of erasing them (perhaps removing the battery for a short time will not help, because I am not sure that after that the controller will initialize this part of the memory). Therefore, the preparation of an empty project (with guaranteed zero operands) and with a Data Table (with zero values) that occupies the entire size of the RAM memory allocated for this appears to be the most effective and fastest (together with data tables). I did not set myself the task of experimenting, but I think that the operation of cloning such a project should bring the PLC to a standard appearance. P.S. With data tables built into the project (placed in FLASH) is another unexplored problem.
  12. You must try upload Operand (Export PLC operand) to file and download (Import) this Operand form this file to another PLC.
  13. The SD card is the most unreliable device I've ever dealt with. As a matter of fact, the old small size cards were Flash... I have some even 16MB in size. Now they are large nand flash inside with a built-in table of corrupted cells. The actual rewriting to the card from the card in the computer makes it possible to check everything based on the CRC code. The PLC always writes to the card in the same way... and in the same memory. So I actually thought you were reproducing my old experiments with the ABB robot - which I treated every time after reinstalling a new system on a damaged flash disk - it always wrote files to the same damaged location. I renamed the file in the damaged place and wrote a new copy to the disk - everything started.
  14. Maybe I didn't understand the task at first and thought that you need to quickly turn the bits off or on. I liked your idea with the math. However, there was an idea in my head that the function could be done differently. The result is in this piece of code I will also add a test project for those who want to try to do this action in another way. TOGGLE.vlp
  15. Num to BIT i use for init some bit vector. Fast way - Vector copy from XB to MB. I use power on value for XB and copy this value to MB with one vector copy command.
  16. Maybe I'm wrong - but is it everything in order with the traffic limit and payment for traffic. This is usually the main reason for the lack of connection.
  17. Please read in driver manual about enable input. Some driver need to enable by Enable input, in other model Enable input - Disable motion command. By the way - is it motor hold position when driver is powered? If driver is Disabled - motor do not hold position.
  18. Please post V350 model # In drive manual for 24VDC pulse 2kOhm resistor recommended to use in STEP, DIR,ENABLE wiring.
  19. Researching unique things is one of my favorite activities. Especially interesting to explore modbas with developer features...in Chinese. I visited the website of the this sensor developers. And I even saw a video on YouTube where someone programs such a sensor using some program. However, I did not find links to the programs themselves. Based on the problems with configuration setup described by the author, it is easier for him to buy another communication module for Unistream and connect his sensors separately to separate communication ports.
  20. Ausman suggest - best way - connect PC to sensor via Modbus program. I use QModbus for this type manipulation. If you have USB to RS485 converter on table, try to connect to sensor. P/S I see on your display Slave ID 1..... In settings mode (green wire connected) - Fixed modbus addres 0 used
×
×
  • Create New...