Jump to content

Isakovic

Privileged Member
  • Posts

    192
  • Joined

  • Last visited

  • Days Won

    13

Isakovic last won the day on July 12 2022

Isakovic had the most liked content!

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

3,063 profile views

Isakovic's Achievements

UniGuru

UniGuru (4/4)

36

Reputation

  1. Here is the file. I downloaded it from my post, don't know why it doesn't work for you. Sedmica.vlp
  2. As Flex said you should look at examples and mimic the form. From my experiance Modbus runs fine without delay, both TCP and RTU. In Net 1 you can add NC contact for "Modbus busy" bit after MB35 and reset MB35 at the end of net. And do the same for Net 2.
  3. Controller itself has no problems, picture was taken out of curiosity during an inspection. I never used system memory for temperature measurement. What is a typical temperature that you get on PLCs?
  4. It was E76, not sure about lens angle.
  5. Hello everyone, I would like to share this thermal image I got, if anyone is interested. It's a V700 with V200 connected on the back of it. Outside temperature was around 20°C, cabinet could be better ventilated.
  6. I do something similar with "List of Texts" fields. After every action controller does it writes a new line on top, old ones move one step down. This screen is usually called Status Terminal or something similar. It my case no. It also doesn't help much with troubleshooting, but it looks good so I usually do it, especially on bigger screens.
  7. Yes help doesn't go into much depth. I did some more tests. Just out of curiosity, can't really say I know stuff if I'm not sure about fundamentals. This program works as expected, both in main and in routine. It sets it on odd, resets on even scan number. Computer works. Next program doesn't recognize transition. It is in a subroutine called from transition contact for F1 button. I would manually reset XB23 after setting it with F1 button. It does recognize normal contact. Next program is the same (should behave the same) in main and it does recognize transition as well as normal contact. XB23 is again resetted manually. I guess when using transition subroutines should be taken into account. Subroutine has to "see" bit change for transition to work inside of it. Am I right here? But also shouldn't transition be updated as soon as change happens not at the end of scan. Next two programs recognize transition in the middle of execution. Sorry for the curtain of pictures. As Aus said it's unlikely to run into these issues when doing normal, standard, nonexotic programs. But it would be great if someone who knows this stuff under the hood could explain it.
  8. Ok, I recreated the problem in V430. - Set XB23 in first scan (I held F1 pressed and clicked once "Single Cycle"), reset in second scan (I held F2 and clicked once "Single Cycle" ) and it works normally. Wait one idle scan then repeat and it works normally again. If you don't wait one idle scan and set XB23 in third scan program doesn't recognize transition contact. If you use normal NO contact program works fine again. I can't explain this, I wish someone with more in depth knowledge of Visions could tells us how transition works behind the scenes. I guess lesson here is that transition contacts shouldn't be used when bits they reflect are changed from scan to scan. testsubr V430.vlp
  9. Can't say much from your program. It seems when you press #8 on keypad your program increments MI18 to value 3 (net 1 to net 4). When you press #9 on keypad MI18 is incremented to 4 and XB23 resets. You mean reset it manually? I'm not sure what is the exact problem. One scan cycle lag shouldn't be a problem for control by pressing buttons. If this is a question about inner workings of transition contacts, if they can change state during the scan cycle or are only updated once per scan, I would also like to know.
  10. I didn't know this about top left pixel. Learned something today.
  11. I believe @steliosliv refers to -P- contact inside of function. In that case you should make a bit for that positive edge and have a network like this in main before function is called several times: Then you use normal contact of that new bit instead of -P- contact inside of function.
  12. Never had such a request, so I did it as an exercise. As suggested in topic @kratmel posted when dealing with time intervals it's best to use RTC to UTC functions, so you manipulate only with one DW variable. That's also my experience. Sedmica.vlp
  13. Did you use MI3 and MI26 anywhere else in the program? Could it be that values are overwritten somewhere in your application?
×
×
  • Create New...