Hi, I'm trying to set up the OPC Server for Connection to an S5 PLC through a CP1613 Card. It's a re-install of the PC and the configuration worked before, so the configuration of the PLC should be fine.
One problem was that I don't have the original ScoreSR.txt configuration file for the OPC server, but I reconfigured the connection named S5FETCH.
When I try to read a variable (eg. [S5FETCH||CP_H1_1]DW160.1.1 or something like it (don't have the exact code with me)), the function always returns 0. OPC Scout doesn't seem to accept this syntax, so I can't test it there. It does show me the connection and 4 variables in the connection, but they all have bad quality.
Here is a piece of the trace log from the OPC Server :
18:54:47,963|0075 [ok] SRMD_open_req
18:54:47,963|0075 [ok] SRMD_notification rb=00CCB9B0 rb_user=13 rb_response=1
18:54:47,963|0075 get_open_cnf: cref=105
18:54:47,963|0075 [ok] SRMD_send_connect_req
18:54:47,973|0075 [error] SRMD_notification rb=00CC91B0 rb_user=14 rb_response=22 The connection establishment was rejected by the communication partner
18:54:47,973|0075 get_send_connect_cnf: fail cref=105 reason=02
18:54:49,465|0075 [ok] SRMD_open_req
18:54:49,465|0075 [ok] SRMD_notification rb=00CCB9B0 rb_user=15 rb_response=1
18:54:49,465|0075 get_open_cnf: cref=106
18:54:49,465|0075 [ok] SRMD_send_connect_req
18:54:49,475|0075 [error] SRMD_notification rb=00CC91B0 rb_user=16 rb_response=22 The connection establishment was rejected by the communication partner
I reïnstalled the whole software package two times, but it still doesn't work. I'm using Windows NT4 SP6a.
Any help would be very much appreciated.
One problem was that I don't have the original ScoreSR.txt configuration file for the OPC server, but I reconfigured the connection named S5FETCH.
When I try to read a variable (eg. [S5FETCH||CP_H1_1]DW160.1.1 or something like it (don't have the exact code with me)), the function always returns 0. OPC Scout doesn't seem to accept this syntax, so I can't test it there. It does show me the connection and 4 variables in the connection, but they all have bad quality.
Here is a piece of the trace log from the OPC Server :
18:54:47,963|0075 [ok] SRMD_open_req
18:54:47,963|0075 [ok] SRMD_notification rb=00CCB9B0 rb_user=13 rb_response=1
18:54:47,963|0075 get_open_cnf: cref=105
18:54:47,963|0075 [ok] SRMD_send_connect_req
18:54:47,973|0075 [error] SRMD_notification rb=00CC91B0 rb_user=14 rb_response=22 The connection establishment was rejected by the communication partner
18:54:47,973|0075 get_send_connect_cnf: fail cref=105 reason=02
18:54:49,465|0075 [ok] SRMD_open_req
18:54:49,465|0075 [ok] SRMD_notification rb=00CCB9B0 rb_user=15 rb_response=1
18:54:49,465|0075 get_open_cnf: cref=106
18:54:49,465|0075 [ok] SRMD_send_connect_req
18:54:49,475|0075 [error] SRMD_notification rb=00CC91B0 rb_user=16 rb_response=22 The connection establishment was rejected by the communication partner
I reïnstalled the whole software package two times, but it still doesn't work. I'm using Windows NT4 SP6a.
Any help would be very much appreciated.