Post by transmin01 on EtherCat Master cannot open network adaptor on Win10x64 target
CODESYS Forge
talk
(Post)
Hi, If I utilise an EtherCat master with a Beckhoff EK1100 coupler on a Win10x64 target I get a "Network Adaptor could not be opened" error. I have tried this on both a VM and a physical PC. Has anyone experienced this issue? Regards Trevor
Last updated: 2023-09-14
Post by transmin01 on CANbus issue
CODESYS Forge
talk
(Post)
Update: This initial issue was when using a Linux target PLC. Since then I have created a Win10 target PC and the Codesys software reported an issue associated with the device version (see attached). I am assuming this is an incompatibility with the xml file from the manufacturer and the firmware version on the module and I am chasing this up with Beckhoff. Question is, why would this not report with a Linux target?
Last updated: 2023-09-14
wiki Discussion
nik27
wiki
(Discussion)
Forum for wiki comments
Last updated: 2023-09-14
blog Discussion
nik27
blog
(Discussion)
Forum for blog comments
Last updated: 2023-09-14
(no subject)
nik27
wiki
(Thread)
Last updated: 2023-09-14
Post by transmin01 on PCAN serial "No CAN driver found"
CODESYS Forge
talk
(Post)
Hi, I am using a PCAN mini CAN board which has the Windows drivers installed on the target PLC. PCAN board can be seen in device manager. However, I am getting "No CAN driver found" error. I have read the post https://forge.codesys.com/forge/talk/CODESYS-V2/thread/44aae19318/ and have uncommented the CmpPCANBasicDrv driver in the CodesysControl.cfg file in development PC and have copied it to the target PC. Current CodesysControl.cfg file attached. Is there anything else I am missing? Regards
Last updated: 2023-09-14
Post by transmin01 on PCAN serial "No CAN driver found"
CODESYS Forge
talk
(Post)
Second question is, how do I determine the correct network ID for my Canbus config in Codesys? I have 2 CANbus ports on the target PC. Regards Trevor
Last updated: 2023-09-14
Home
nik27
wiki
(WikiPage)
This is the personal project of nik27. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-09-14
Post by ofey on Codesys Soft PLC OPC UA server
CODESYS Forge
talk
(Post)
Hi! I'm sorry if this has been asked before. I have tried looking up previous topics regaring this, but even though I'm following tutorials and other posts I cant seem to get this to work consistently. I actually got the connection established on a test project after some trial and error. I only got it to work with the "Anonymous login". But after i deleted the test project and tried to get the same thing to work on another project I cant get it to work anymore. What I'm trying to do: Set up and OPC UA Server using CODESYS with the free soft PLC. I then try to connect to the OPC UA Server with the program "UaExpert". What happens: I get the error Error "'BadUserAccessDenied' was returned during ActivateSession". What I have done in CODESYS: - Added the object "Symbol configuration" and checked some test variables - Checked "Support OPC UA features - In "Communication settings -> device -> Change runtime security policy" I have checked "Allow anonymous login" What I have done in UAExpert: - Found the OPC UA server under "local". (It is showing two servers though, I do not know why. It showed the same when it worked yesterday). Se attachment - Checked "Anonymous" under "Authentication settings in the OPC UA server. I'm new to CODESYS, so it could be something elementary wrong in my settings. Maybe something in the user settings in CODESYS regarding user rights or something?
Last updated: 2023-09-14
Home
ofey
wiki
(WikiPage)
This is the personal project of ofey. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2023-09-14
wiki Discussion
ofey
wiki
(Discussion)
Forum for wiki comments
Last updated: 2023-09-14
blog Discussion
ofey
blog
(Discussion)
Forum for blog comments
Last updated: 2023-09-14
(no subject)
ofey
wiki
(Thread)
Last updated: 2023-09-14
Post by timvh on CANbus issue
CODESYS Forge
talk
(Post)
On a PC with the Control Win, this is probably related to the fact that the CAN drivers are not loaded. Go to the folder where your Control Win Configuration file is: - E.g. C:\ProgramData\CODESYS\CODESYSControlWinV3x64\E1FA7ABE - Open the CODESYSControl.cfg - Remove the semi-colon in front of the CAN driver you want to use (section ComponentManager). - Set the component ID to the next number in the list (e.g. Component.8) - Save this file and restart the Control Win.
Last updated: 2023-09-14
Post by timvh on Get the numer of day
CODESYS Forge
talk
(Post)
For a demo application related to date/time, see: https://forge.codesys.com/prj/codesys-example/date-and-time/home/Home/
Last updated: 2023-09-14
Home (version 58) discussion
co⚡e: Sparkplug™ MQTT edge
home
(Thread)
Home (version 58) discussion
Last updated: 2023-09-18
Get the numer of day
CODESYS Forge
talk
(Thread)
Get the numer of day
Last updated: 2023-09-14
Home (version 1) discussion
allyprimo
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-18
Home (version 1) discussion
krps
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-18
ernesto881124
CODESYS Forge
talk
(Thread)
ernesto881124
Last updated: 2023-09-14
CANbus issue
CODESYS Forge
talk
(Thread)
CANbus issue
Last updated: 2023-09-14
Post by timvh on ernesto881124
CODESYS Forge
talk
(Post)
You will need a USB to RS485 converter to connect the PC to the Modbus RTU Slave Device. In Windows this converter will be recognized as Serial COM poort (e.g. COM2, or COM3, see the windows device manager to find this out). Select this port in your CODESYS application. On the PC you need to use the CODESYS Control Win (SoftPLC) to run your application. It will not work in simulation mode, because then the Modbus Communication will not be activated.
Last updated: 2023-09-14
Startpage
CODESYS Forge
wiki
(WikiPage)
CODESYS Talk CODESYS Forge 2 hours ago jickisticki posted a comment on discussion Motion 🇬🇧 Thanks for this interesting information! 4 hours ago lepewe4ka posted a comment on discussion Engineering 🇬🇧 Hi, did you have to pay for this export program enable? 4 hours ago jinlee posted a comment on discussion Visualization 🇬🇧 Hi there, I am having the same question as well. Did you manage to solve it ? Thanks 4 hours ago jinlee posted a comment on discussion Visualization 🇬🇧 Hi there, I am having the same question as well. Did you manage to solve it ? Thanks 6 hours ago maralani posted a comment on discussion Engineering 🇬🇧 HI Guys, I made code that worked perfect , just add few Retain variable, now I got the problem that some other Retain variable change to zero when I run the code , I am not able to change the value of that retain variable. what can be problem?
Last updated: 2023-09-18
Home (version 1) discussion
yangzhihai
wiki
(Thread)
Home (version 1) discussion
Last updated: 2023-09-18
wiki Discussion
albertisa
wiki
(Discussion)
Forum for wiki comments
Last updated: 2023-09-18