_Pavel_

MrPLC Member
  • Content count

    55
  • Joined

  • Last visited

Everything posted by _Pavel_

  1. Delta AS332 UDP socket

    Hello everybody, could please someone give an idea I want to communicate to AS332 via UDP. I have tried and it works, but the problem is: to create an UDP socket i have to set-up first, statically (!!??), the comms partner IP address But: i don't know the partner's IP address. There could be different partners. I want the PLC to obtain the partners IP address from the partner's query just to answer. And I don't understand, why the socket is connected to the alien's IP address, it must be connected to the own IP address, because the first task of an UDP socket is to "listen", isn't it?  So my questions are: - how to receive a packet from any partner via UDP, not setting-up the partner's IP first? - can I use dynamic destination IP address for the "SSEND" instruction? - can I have access to the whole L3 or L2 data packet, where I can obtain the client's IP address from? Thanks!
  2. iQ-R PLC cant retain variables

    Solved.
  3. iQ-R PLC cant retain variables

    Dear All, I have iQ-R R08ENCPU and I declare variables as var_global_retain but they are not actually retained The battery is OK, is particular, the PLC clock is OK Need strongly any ideas, where am I incoirrect Thanx.
  4. iQ-R PLC cant retain variables

    I didn't manage to insert a picture right into message body. How to do that? It requires me to "remove formatting" don't understand what it means
  5. iQ-R PLC cant retain variables

    Hello Neverov I am. This is not my case. My case is labels area. I use Latch 1 type, which is selectable here Should it be retained while powered off? Snap8.bmp
  6. Dear sirs, I have HMI NB10, installed on a machine that actually works, and I have uploaded a project with NB-Designer (v1.5.2). The project has been uploaded without errors. But after that NB-Designer cannot decompile that, an error appears. What could be the reason of that? Thank you.
  7. Dear all, Can anybody please help with the following, I'm not familiar with the CS1G-CPU44H. My customer can't restore program from SD card. because some files are absent. Can anyone say, if there really something absent, or it is possible to restore program with these files. - autoexec.obj - autoexec.std - comments.cmt - programs.idx - symbols.sym   Many thanks.  
  8. GT2000 online simulation doesn't work

    This is the existing system I'm retrofitting now. A number of remote i/o stations as well as an HMI connected into CC-Link RS485 network. I don't know why the vendor made that way ) Original HMI was GT1000 but it had Ethernet as well.
  9. Dear sirs, could anyone please help with the following Trying to establish online simulation via USB, HMI GT2712-STBA, CPU Q03UDECPU. The simulation doesn't work, HMI simulator shows empty data fields. USB connection with CPU is OK, the GX Works sees the CPU via USB. What could be the reason? Thank you.
  10. GT2000 online simulation doesn't work

    Dear Gambit, it seems I've found the reason. All the variables in my HMI have address like "0-0 D1000", so for the register address I have to use "Network No" and "Station No" If I just put "D1000" (i.e. "Host") then my normal connection (which is CC-Link RS485) doesn't work. But when I just put "D1000" (i.e. "Host") then online-simulation via USB starts working How to do correctly, so that both main CC-Link RS485 connection and online-simulation would work (if only possible)?
  11. GT2000 online simulation doesn't work

    Tried also different USB cables (though GX Works works with any of them) ...
  12. GT2000 online simulation doesn't work

    Yes. Sorry, this doesn't let me attach files. Could you please check here https://drive.google.com/drive/folders/17nRtUVEQspjrn5j7Qr4CHrTlleauuHbq?usp=sharing
  13. GT2000 online simulation doesn't work

    Hello Gambit Sorry you question is not quite clear Q03UDE is connected to PC via USB, that's all Sorry, this doesn't let me attach the picture, I don't understand why... ((
  14. Dear all, could you please give an idea...  I have to find a solution to transfer data from PLC to SCADA at relatively fast rates: I have to read appr. 20-30 x 32-bit vars every 5 ms. Preferred PLC is Siemens or Beckhoff, but not obliged. SCADA is any can do this (Windows OS) If there any tricks possible, say pack data at PLC side, then send into SCADA say every 100 ms, and then unpack at SCADA side (have no idea how to do that)? Any idea is pretty much appreciated. Many thanks!
  15. Fast data sampling form PLC to SCADA

    Joe E, thank you, I will check that.
  16. Fast data sampling form PLC to SCADA

    Hello Joe E. thank you for your reply. The idea is clear. But can you recommend any particular SCADA, that provides any means (scripting etc.) to decompose this packet coming from PLC and then put the data correctly into the database, on the diagrams, etc. I'm not familiar with different SCADAs. I'm familiar with WinCC, and I don't know such possibilities within WinCC.
  17. Dear all,  can anyone please help with a strange problem... With GOT2000 I create Word Part Movement Objects but after that they are not shown in the editor window, so I cannot delete any of them. I can see them in the Data Browser, but it doesn't allow to delete objects. Thanks.
  18. GOT2000 word part movement object

    Hello Gambit, Great, this helped. Thanks!
  19. Dear all, I want to change a position of a Word Lamp object on the screen. The panel is GT2712-STBA. Please find attached the video. The position of an object (marked with red circle at the beginning of the video) is given with GD131. The script is as follows (called 1 time per second): my.x = [w:GD131]; redraw_object();   [w:GD132] = my.x; GD132 is to make sure that the script is running. But as you can see from the video, the x-position of the object is not changed. But it does only when the screen is redrawn (switch the screen back and force). So it looks like redraw_object() doesn't work. This happens both in simulator and in hardware HMI. Please help to understand where I'm incorrect. Thank you!   got2000 redraw object.mp4
  20. Q03UDECPU I/O refresh time

    Dear all, could someone please explain, I cannot find any setting within Q03UDECPU which sets up how X/Y are being refreshed. In the manuals I only see that I/Os are refreshed with "scan program". But "scan program" is a freewheeling program, which can't provide fixed scan time and which scan time is usually large (because there are lots of non-time-demanding functions put there), correct? Can I somehow assign given X/Y refresh time to a "fixed scan program"? E.g. I have a "fixed scan program" of 10ms, and I on/off Y1 in there and I want that Y1 would be actually refreshed at 10ms base as well. How to do that? Thank you!
  21. Q03UDECPU I/O refresh time

    Dear Gambit, Thanks for your answer!  
  22. CPU Q03UDECPU changeover

    Dear Gambit, thanks for your comment and for your idea.  
  23. CPU Q03UDECPU changeover

    Hi everybody, need an advice please concerning the following I have a machine to be retrofitted, which imposes re-writing the PLC and HMI software without any hardware changing. The point is that the customer wants the machine to keep productioning, so I have proposed the following approach: I take the new CPU Q03UDECPU, develop the new PLC soft, go on site, change the CPU to the new one (other IO modules are unchanged), spend few hours debugging, then change the CPU back to the old one so the machine can keep productioning while I go on with writing software. So my question is: is there any special point, which doesn't allow me to go with this approach, e.g. any settings within the IO modules, which I can corrupt with my new software? The key question -can I be sure, that when I change the CPU to the new one, and then get back to the old one, the system runs for sure? PLC IO layout is attached. Any comments and considerations are appreciated. Thanx.
  24. GOT2000 button enabled/disabled state

    Dear AndreasW, thank you!