Hello,
I am trying to connect a PLC1500 (firmware 2.6. Portal 15.1) with a Server running Linux OS Cento 7.4 - WinCCOA 3.16 P7.
I am using S7 driver and followed (I hope) alle the requirement on the Help.
When I connect the PLC (starting the S7 driver Control manager) I get a connection but it is not stable. I get the following error messages:
0, , S7Connection, generalQuery, Starting general query for connection: AGTEST
WCCOAs7 (1), 2019.05.03 09:39:30.265, SYS, SEVERE, 13/s7, Common AGLink error (0xfff50005) for AGTEST(1/1), 13, 33028
WCCOAs7 (1), 2019.05.03 09:39:45.243, SYS, INFO, 59/s7, PLC 'AGTEST' changed to state RUN (device 1).
WCCOAs7 (1), 2019.05.03 09:40:00.243, SYS, SEVERE, 13/s7, Common AGLink error (0xfff50005) for AGTEST(1/1), 3, 33028
WCCOAs7 (1), 2019.05.03 09:40:10.264, SYS, SEVERE, 7/s7, No active connection for AGTEST
WCCOAs7 (1), 2019.05.03 09:40:10.264, SYS, SEVERE, 20/s7, Error in alive check for device AGTEST(1), plc 1
WCCOAs7 (1), 2019.05.03 09:40:30.233, SYS, SEVERE, 7/s7, No active connection for AGTEST
and after that sometime there is a reconnection and it drops again.
Obviously I have checked network /ports etc.
I have created a Datapoint to read but whatever data point type I use I always get the same error:
WCCOAs7 (1), 2019.05.03 09:39:30.265, SYS, SEVERE, 13/s7, Common AGLink error (0xfff50005) for AGTEST(1/1), 13, 33028
Does anyone know what this error means ? There should be an error table that could point out what's wrong.
Any clues anyone ?
Thank You
Walter
Problems connecting PLC-1500 with Linux OS
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Problems connecting PLC-1500 with Linux OS
Yes you can't use TIA Portal 15.1 with S7 Classic Driver.
If you wanna use S7 Classic Driver you have to use TIA Portal V12
If you wanna use S7 Classic Driver you have to use TIA Portal V12
If you wanna use a newer TIA Portal Version you have to use the S7Plus DriverThe S7 - 1500 and S7 - 1200 require the TIA portal V12 as the engineering tool. To establish a connection between WinCC OA and S7-1500 or S7-1200, the following configuration is required:
- PUT/GET Communication must be enabled. The "Permit access with PUT/GET communication from remote partner (PLC, HMI, OPC ...)" check box can be found in the "Device configuration > General > Protection > Connection mechanism" section of the CPU properties.
- The data blocks that are addressed by WinCC OA must be of the type "Global DB". The "Optimized block access" must be disabled for these data blocks.
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Problems connecting PLC-1500 with Linux OS
When using the S7 driver (not the S7+ driver) you can find information for the AGLink error codes in the WinCC OA Documentation:
Drivers --> S7 --> Details on the S7 driver.
Best Regards
Leopold Knipp
Senior Support Specialist
Drivers --> S7 --> Details on the S7 driver.
Best Regards
Leopold Knipp
Senior Support Specialist
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Problems connecting PLC-1500 with Linux OS
This is incorrect. How the PLC is programmed does not matter. In my current project we are using the S7 driver with S7-1500s programmed with TIA Portal V15.kilianvp wrote: ↑ Sun May 05, 2019 9:33 am Yes you can't use TIA Portal 15.1 with S7 Classic Driver.
If you wanna use S7 Classic Driver you have to use TIA Portal V12
Using a config entry to limit the number of connections to the PLC (like 'useConnections = 1') should resolve the AGLink error. Perhaps it also helps with the alive check error.
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Problems connecting PLC-1500 with Linux OS
ok so the WinCC OA help is incorrect?gschijndel wrote: ↑ Wed May 08, 2019 10:46 amThis is incorrect. How the PLC is programmed does not matter. In my current project we are using the S7 driver with S7-1500s programmed with TIA Portal V15.kilianvp wrote: ↑ Sun May 05, 2019 9:33 am Yes you can't use TIA Portal 15.1 with S7 Classic Driver.
If you wanna use S7 Classic Driver you have to use TIA Portal V12
Using a config entry to limit the number of connections to the PLC (like 'useConnections = 1') should resolve the AGLink error. Perhaps it also helps with the alive check error.
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Problems connecting PLC-1500 with Linux OS
Yes, in this case. Perhaps at the time it was written there were no newer version available and it was correct. But 3.16 also mentions V13.kilianvp wrote: ↑ Wed May 08, 2019 9:16 pm ok so the WinCC OA help is incorrect?