CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

RASPBERRY OPC CONFIGURATION
https://forum.codesys.com/viewtopic.php?f=17&t=9844
Page 1 of 1

Author:  jbunel [ Tue Jul 02, 2019 6:36 am ]
Post subject:  RASPBERRY OPC CONFIGURATION

Hello. I have difficulties to run the OPC server of my pigeon PLC (raspberry pi compute inside) with runtime 3.5.14.20.

The UaExpert windows "Add Server" :
see attachment n°3

The UaExpert windows error :
see attachment n°2

The Codesys log window:
see attachment n°1

I have a questions :
1) Which configuration file should I use?
Code:
"/etc/CODESYSControl_User.cfg" or "/etc/CODESYSControl.cfg"


2) What configuration in this file

Code:
[CmdOPCUA]
NetworkAdapter = eth0
NetworkPort = 4840


OU

Code:
[CmpOPCUAServer]
NetworkAdapter=eth0
NetworkPort=4840


3) What means the errors in Codesys log and UaExpert log ?

Thank you


Note:
When I do a Codesys Win V3 project, everything works.

Author:  jbunel [ Wed Jul 03, 2019 5:42 am ]
Post subject:  Re: RASPBERRY OPC CONFIGURATION

Hi. I found the solution.

In UaExpert OPC client, after add the server, display the properties of this server and replace the "EndPoint URL" :


opc.tcp://hostName:4840 by opc.tcp://IpAdress:4840

Now, it works

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/