_Pavel_

MrPLC Member
  • Content count

    55
  • Joined

  • Last visited

Posts posted by _Pavel_


  1. 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. 12 minutes ago, Gambit said:

    But why use that anyway when the GT27 and Q03UDE both have ethernet ? 

    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.


  3. 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)?


  4. 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.


  5. 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.

     


  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. 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.


  8. 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!


  9. 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.


  10. 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


  11. 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!


  12. 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.

    Snap18.png