this is a typcial task for the CODESYS Automation server Ok, it could solve the issue for while, but it will not remain free. Since is is expected a big amount of deploys during the end 2020 and start of 2021, I just wanted to deal with the affordable solution.
That´s my 2 cents, I guess not too complicated: 1 ) Add the following folders to Windows Environment Variables: c:\Program Files\CODESYS 3.5.15.30 \ ( just to illustrate ) Reason: I have a script which restarts the service ...\GatewayPLC\CodesysControlService.exe in (though rare) system crash events, but at this time 1 ) Add the following folders to Windows Environment Variables: c:\ProgramData\CODESYS\CODESYSControlWinV3x64\ 1AB2CD3E \ ( just to illustrate ) Reason: I need to make a script that...
That´s my 2 cents, I guess not too complicated: 1 ) Add the following folders to Windows Environment Variables: c:\Program Files\CODESYS3.5.15.30\ ( just to illustrate ) Reason: I have a script which restarts the service ...\GatewayPLC\CodesysControlService.exe in (though rare) system crash events, but at this time 1 ) Add the following folders to Windows Environment Variables: c:\ProgramData\CODESYS\CODESYSControlWinV3x64\AB1CD2EF\ ( just to illustrate ) Reason: I need to make a script that will...
That´s my 2 cents, I guess not too complicated: 1 ) Add the following folders to Windows Environment Variables: c:\Program Files\CODESYS 3.5.15.30\ ( just to illustrate ) Reason: I have a script which restarts the service ...\GatewayPLC\CodesysControlService.exe in (though rare) system crash events, but at this time 1 ) Add the following folders to Windows Environment Variables: c:\ProgramData\CODESYS\CODESYSControlWinV3x64\AB1CD2EF\ ( just to illustrate ) Reason: I need to make a script that will...
Hi Edwin, Many thanks, this is what I was looking for. I would only remark that you missed the subdirectory Application, the actual folder is rather: c:\ProgramData\CODESYS\CODESYSControlWinV3x64\<Some Number>\PlcLogic\Application Regards,
Ok the creation process is pretty clear, but I don't know what is the folder on the target system where I should paste these files. Either source and target operational systems are Windows. I followed steps on the Codesys Online Help, but there misses the target folder to where these files should be placed: https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_creating_a_boot_application/#creating-boot-applications-in-offline-mode
I had some problems to connect the IDE to a remote controller, and something came to mind: How to do this task offline, by sending some file to someone who can paste it to the appropriate place ? Soon or later, I will need to pereform a lot update, sending the same executable file to several controllers, spread along distinct locations having particular network issues. More exactly, I need to know what is the folder/file which I have to copy, and where should I paste it ? HW: x64 OS: Windows 10
I had some problems to connect the IDE to a remote controller, and something came to mind: How to do this task offline, by sending some file to someone who can paste it to the appropriate place ? Soon or later, I will need to pereform a lot update, sending the same executable file to several controllers, spread along distinct locations having particular network issues. More exactly, I need to know what is the folder/file which I have to copy, and where should I paste it ? HW: x64 OS: Windows 10
Perfect, it's exactly what I wanted. Just to help others, here the keywords to search: "Device-Tree-in-Online-Mode"
I admit that this question may be somewhat trivial, but at least on search engines, both at Codesys online and on the web, I couldn't find. I'm talking about triangles leftside of connected devices, sometimes red, sometimes yellow. The ring double arrow symbol by deduction, clearly is the status of "working".
I admit that this question may be somewhat trivial, but at least on search engines, both at Codesys online and on the web, I couldn't find. I'm talking about triangles leftside of connected devices, sometimes red, sometimes yellow. The ring double arrow symbol by deduction, clearly is the status of "working"
I admit that this question may be somewhat trivial, but at least on search engines, both at Codesys online and on the web, I couldn't find. I'm talking about triangles leftside of connected devices, sometimes red, sometimes yellow. The ring double arrow symbol by deduction, clearly is the status of "working"
Thank you very much, works like a charm !
Sometimes, after a system reboot event, I have to manually restart the PLC runtime. I mean, even being already started after boot ( as can be seen on the Windows taskbar), I have to STOP and START the PLC runtime by mouse click in order to have everything working. So, is there any tricky way to do that in any native Windows script language, such as CMD or POWERSHELL ?
Yes, I had open as BUG report although it do seem rather a support request; refer to ticket number OJC-645-26540. (2020 Mar, 19th) however I'm not the user there on the tickets, since the original purchase was made from another account (my boss) and all further purchases will be made form billing department (yet another account). Actually, I did not were specific, I forgot to mention I wanted a Structured Text code example, and now I see that I missed this crucial information; anyway the ticket got...
Yes, I had open as BUG report although it do seem rather a support request; refer to ticket number OJC-645-26540. (2020 Mar, 19th) however I'm not the user there on the tickets, since the original purchase was made from another account (my boss) and all further purchases will be made form billing department (yet another account). Actually, I did not ask for a Structured Text code example, and now I see that I missed this crucial information, anyway the ticket got closed soon and now I'm unable to...
As you feared, this code do not bring relevant additional information. Actually, it is not much diffferent from the previous one. Now, there is another issue: The previous code ( the one at the fixed link ) show all repositories and respective details (versions, serial, etc...), perfect ! However, the expiration date has nothing to do with either license activation date or controller's current clock date. I was trying to make use of this information as a workaround solution, but seems completely...
As you feared, this code do not bring relevant additional information. Actually, it is not much diffferent from the previous one. Now, there is another issue: The previous code ( the one at the fixed link ) show all repositories and respective details (versions, serial, etc...) as expected, perfect! However, the expiration date has nothing to do with either license activation date or controller's current clock date. I was trying to make use of this information as a workaround solution, but seems...
Not wanting to bump this thread, just to avoid falling by wayside; could you estimate a deadline to assess the requested feature ?
Not wanting to bump this thread, just to avoid falling by wayside; could you estimate a deadline to assess the requested fefature ?
Hi Eschwellinger, The problem arises in the fact that I'm under a big scale procedure, using one Desktop system ( having the Codesys license activated, along with many other softwares installed ) acting as the reference disk image to be cloned along dozens of other computers of the same brand/model. After that, we can see both above repositories there at each one, but with their Codesys status tagged as something like 'not valid' as expected, therefore the mere existence of a 3S repository is not...
Hi, Thanks for the help, now that the program from the link above is fixed, I was able to list the 2 containers and their details by using the CmpCodeMeter.CodeMGetInfo method: Patch Protection Only 3S-Smart Software Solution Softlicences However, a valuable information which is not available in this ST_CODEMETER_INFO_EX structure, is the license status, whether active or not: Is there anything else I'm missing ? I mean, how could I get the status of the lincense? Thanks in advance, Andre.
Hi, Thanks for the help, now that the program from the link above is fixed, I was able to list the 2 containers and their details by using the CmpCodeMeter.CodeMGetInfo method: Patch Protection Only 3S-Smart Software Solution Softlicences However, valuable information is not available in this ST_CODEMETER_INFO_EX structure, mamely the status, whether active or not: Is there anything else I'm missing ? Thanks in advance, Andre.
Hi, Thanks for the help, now that the program from the link above is fixed, I was able to list the 2 containers and their details by using the CmpCodeMeter.CodeMGetInfo method: Patch Protection Only 3S-Smart Software Solution Softlicences However, valuable information is not available in this ST_CODEMETER_INFO_EX structure, mamely the status, whether active or not: Is there anything else I'm missing ? Thanks in advance, Andre.
Hi, Thanks for the help, now that the program from the link above is fixed, I was able to list the 2 containers and their details by using the CmpCodeMeter.CodeMGetInfo method: Patch Protection Only 3S-Smart Software Solution Softlicences However, valuable information is not available in this ST_CODEMETER_INFO_EX structure, mamely the status, whether active or not: Is there anything else I'm missing ? Thanks in advance, Andre.
Hi, Thanks for the help, now that the program from the link above is fixed, I was able to list the 2 containers and their details by using the CmpCodeMeter.CodeMGetInfo method: Patch Protection Only 3S-Smart Software Solution Softlicences However, valuable information is not available in this ST_CODEMETER_INFO_EX structure, mamely the status, whether active or not: Is there anything else I'm missing ? Thanks in advance, Andre.
Hi, Thanks for the help, now that the program from the link above is fixed, I was able to list the 2 containers and their details by using the CmpCodeMeter.CodeMGetInfo method: Patch Protection Only 3S-Smart Software Solution Softlicences However, valuable information is not available in this ST_CODEMETER_INFO_EX structure, mamely the status, whether active or not: Is there anything else I'm missing ? Thanks in advance, Andre.
https://faq.codesys.com/display/CDSFAQ/Licensing%3A+Querying+the+Container+Information @Edwin, This was the first attempt I made, but if you have a look to the link, there are errors on this documentation. Note that it mentions a struct called ST_CODEMETER_INFO_EX however there is nothing there but a VAR declaration list, re-typed right bellow, named as "Deklaration" in german.
@Edwin, This was the first attempt I made, but if you have a look to the link, there are errors on this documentation. Note that it mentions a struct called ST_CODEMETER_INFO_EX however there is nothing there but a VAR declaration list, re-typed right bellow, named as "Deklaration" in german.
Without success, I left the above approach aside and went on to this other possibility, but it also does not return the license number: CmpCodeMeter.CodeMGetInfo It is bizarre the lack of working code examples on the Web. I would have opened a ticket on the Codesys Store website to ask for help, however the popup form is buggy and does not allow to complete the ticket.
it sounds like your plc needs better realtime capabilites Cannot agree at all, without running the Visu task the PC seems pretty well sized for the application; as mentioned above, the average task processing lies between 19-22us for a task whose cycle was defined as 1,000us, something very comfortable. The issue is the delay peaks resulting from Task Visu execution, something confirmed by the absence of these 400-500us artifacts whenever this task is disabled, so my conclusion is that Visu task...
it sounds like your plc needs better realtime capabilites Cannot agree at all, without running the Visu task the PC seems pretty well sized for the application; as mentioned above, the average task processing lies between 19-22us for a task whose cycle was defined as 1,000us, something very comfortable. The issue is the delay peaks resulting from Task Visu execution, something confirmed by the absence of these 400-500us artifacts whenever this task is disabled, so my conclusion is that Visu task...
[ Could you please describe why you would like to do such a thing? ] Because the Visu task is not necessary to run everytime, it is a mere webserver, and sometimes the task ehxibit a sudden peak in the processing time, from 19-22us to something around 400-500us, dangerously too close from the Task cycle - which is close 1,000us. BTW, I was able to solve the issue charmly by using both the following functions, either to start or to stop the task: CmpIecTask.IecTaskDisableScheduling( hIecTask := hLastTask...
I have a project which consists of 2 'standard' PRG tasks, and 1 additional task called as "VisuElements.VisuPrg". If I wanted to disable for example one of the first 2 tasks above, it could be easily accomplished with a flag within an IF...ELSE control logic. However, it is not clear how to interact with the Visual task programmatically, I mean, is there any procedure in the IEC library with which I can handle Tasks (e.g: exit, pause, resume, etc...) ?
I have a project which consists of 2 'standard' PRG tasks, and 1 additional task called as "VisuElements.VisuPrg". If I wanted to disable for example the first 2 tasks above, it could be easily accomplished with a flag within an IF...ELSE control logic. However, it is not clear how to interact with the Visual task programmatically, I mean, is there any procedure in the IEC library with which I can handle Tasks (e.g: exit, pause, resume, etc...) ?
I'm trying to use piece of existing codes found elsewhere, but no one is working, actually there are compilation errors: _3S_License.OLM_OnlineLicenseManager.GetUserLicenseValue(udiLicenseID); Could someone give a link to a tutorial explaining that ?