Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Verbindung mit OPC Server aufbauen

AWLfan
2012-01-31
2012-02-24
  • AWLfan - 2012-01-31

    Hi,
    wie kann man OPC debuggen. laut dem Logfile scheint er einmal eine Verbindung hinzubekommen, aber dann nicht mehr, oder worann könnte der Verbindungsabbruch liegen?
    Ich nutze OPCv2, den der bei Wago io/pro dabei ist.

    (31.01.2012, 19:19:45.098) 4. Reconnect to <PLC1>
    (31.01.2012, 19:19:45.101) [PLC1]: ::ConnectGateway(): m_ulGatewayChannels=1
    (31.01.2012, 19:19:45.504) <PLC1> Reconnect successful, ProjectName='AR1101_HdBuT_Controller_HZ_WP'
    (31.01.2012, 19:19:45.504) Timeout[ms]=10000, BufferSize[B]=0, Waitime[s]=10, Reconnecttime[s]=15
    (31.01.2012, 19:19:45.504) Motorola=0, NoLogin=0
    (31.01.2012, 19:19:46.148) <PLC1> ProjectID matched, Project <AR1101_HdBuT_Controller_HZ_WP>: PLC=160228, SYM=160228
    (31.01.2012, 19:19:46.192) Reorganize finished, with changed item pool
    (31.01.2012, 19:19:46.192) <PLC1> 7970 symbols loaded
    (31.01.2012, 19:19:47.162) <PLC1> 7970 active items
    (31.01.2012, 19:20:07.180) **** ERROR: Send timeout expired: PLC(0)=PLC1, Channel=1, m_iMsgQ=1, iState=OCS_CONFIG_READY, ulTimeout=10000, ulTemp=4397090, m_MsgQ[i].ulTimeout=4377076
    (31.01.2012, 19:20:18.128) [PLC1]: ::DisconnectGateway(m_ulGateway=0): m_ulGatewayChannels=0
    (31.01.2012, 19:20:18.128) 1. Reconnect to <PLC1>
    (31.01.2012, 19:20:18.131) [PLC1]: ::ConnectGateway(): m_ulGatewayChannels=1
    (31.01.2012, 19:20:18.470) **** ERROR: COMM_FATALERROR[0] from <PLC1>
    (31.01.2012, 19:20:22.852) Client detached from server
    (31.01.2012, 19:20:28.149) **** ERROR: Login failed. No reply from PLC <PLC1>
    (31.01.2012, 19:20:28.165) **** ERROR: Open communication to <PLC1> failed
    (31.01.2012, 19:20:29.089) [PLC1]: ::DisconnectGateway(m_ulGateway=0): m_ulGatewayChannels=0
    (31.01.2012, 19:20:29.335) Server shutdown performed
    

    Dabei gehe ich über eine VPN auf die Anlage drauf. Eine "lokale" Wago klappt 1a.

     
  • Anonymous - 2012-02-23

    Originally created by: TW2011HBRS

    Hallo AWLfan,

    wenn eine lokale Wago klappt, dann wird es wohl vermutlich an der Einrichtung des VPN liegen. Kannst Du über das VPN noch andere Dinge machen?
    Und kannst Du bei der VPN was einstellen, z.B. Ports, Adressen, Freigaben...?

    Gruß

    Thomas

     
  • AWLfan - 2012-02-24

    Hi,

    Klappt nun. Keine Ahnung was falsch war. Nach unzähligen Versuchen klappt es nun. Auch neueinrichtung geht ohne große Probleme.

     

Log in to post a comment.