Hello, I use Codesys RTE 3.5.16.5. If I connect to the PLC I often get the following message: (see printscreen) 1. Channel timeout CMpChannelMgr. 2. Closing connection CmpChannelMgr. Can you tell me, what the meaning of this is? What does the number 1250030,1220020 resp. c400:0a0a:015a:0301 refer to? I could find any information in the online help. Thanks a lot.
Hello, I use Codesys RTE 3.5.16.5. If I connect to the PLC I often get the following message: 1. Channel timeout CMpChannelMgr. 2. Closing connection CmpChannelMgr. Can you tell me, what the meaning of this is? What does the number 1250030,1220020 resp. c400:0a0a:015a:0301 refer to? I could find any information in the online help. Thanks a lot.
Hello all, when creating a POU, the Codesys IDE allows the setting "Enable System Call" (in the Settings, Property -> Build), see picture. The name suggest, that runtime functionalities i.e. functions of codesyscontrol such as "stop plc" etc. can be directly called. I tried various approches without success, the following does, unsurprisingly not work. FUNCTION accessRTE: BOOL; ****************************** codesyscontrol.stop(); Can you please tell me how I can make a system call to codesyscontrol...
Hello all, when creating a POU, the Codesys IDE allows the setting "Enable System Call" (in the Settings, Property -> Build), see picture. The name suggest, that runtime functionalities i.e. functions of codesyscontrol such as "stop plc" etc. can be directly called. I tried various approches without success. FUNCTION accessRTE: BOOL; ****************************** codesyscontrol.stop(); Can you please tell me how I can make a system call to codesyscontrol from a POU. Or could you provide me with...
Hello all, when creating a POU, the Codesys IDE allows the setting "Enable System Call" (in the Settings, Property -> Build), see picture. The name suggest, that runtime functionalities i.e. functions of codesyscontrol such as "stop plc" etc. can be directly called. Can you please tell me how I can make a system call to codesyscontrol from a POU. Or could you provide me with a use case for this setting. Many thanks and kind regards Andrej
Hello all, I would like to store some data in text file. I use the soft PLC Win V3x64, on Windows 10. I use the SysFile Library 3.5.17.0. If I store the file directly in the in the directory of the PLC i.e. in '/CODESYSControlWinV3x64/E1FA7ABE/PlcLogic/LogAU.txt' the file is correctly filled with the data. However, If I use an absolute path to a different directory no data is stored in the respective file. Despite the fact that the respective file exists and the Filehandler is correctly opened (see...
Hi all, for a deeper understanding of the Codesys RTE - I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different priorities, and different cycle times. The application runs on Windows 10 in the Soft PLC CODESYS Control Win V3. If my understanding is correct, the RTE i.e. the Process CodesysControlService should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys...
Hi all, for a deeper understanding of the Codesys RTE - I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different Priorities, and different cycle times. I run the application on Windows 10 in the Soft PLC CODESYS Control Win V3. If my understanding is correct the Process CodesysControlService (RTE) should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys IDE....
Hi all, for a deeper understanding of the RTE I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different Priorities, and different cycle times. I run the application on Windows 10 in the Soft PLC CODESYS Control Win V3. If my understanding is correct the Process CodesysControlService (RTE) should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys IDE. Does somebody...
Hi all, for a deeper understanding of the RTE I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different Priorities, and different cycle times. I run the application on Windows 10 in the Soft PLC CODESYS Control Win V3. If my understanding is correct the Process CodesysControlService (RTE) should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys IDE. Does somebody...
Hi all, for a deeper understanding of the RTE I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different Priorities, and different cycle times. I run the application on Windows 10 in the Soft PLC CODESYS Control Win V3. If my understanding is correct the Process CodesysControlService should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys IDE. Does somebody has...
Hi all, for a deeper understanding of the RTE I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different Priorities, and different cycle times. If my understanding is correct the Process CodesysControlService should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys IDE. Does somebody has an idea, how I could identify the respective threads in Windows? Kind regards...
Hi all, for a deeper understanding of the RTE I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different Priorities, and different cycle times. If my understanding is correct the Process CodesysControlService should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys IDE. Does somebody has an idea, how I could identify the respective threads in Windows? Kind regards...
Hiya, in the PLC shell (cf. Picture) multiple RTE commands can be executed for example an application can explicilty be started by the command "startprg APPLICATION". Is it possible to send these shell commands from a POU to the shell? // PSEUDO CODE IF condition THEN execute plc shell "startprg APPLICATION" ENDIF Many thanks for tipps Andrej
Hiya, in the PLC shell (cf. Picture) multiple RTE commands can be executed for example an application can explicilty be started by the command "startprg APPLICATION". Is it possible to send these shell commands from a POU to the shell? // PSEUDO CODE IF condition THEN execute plc shell "startprg APPLICATION" ENDIF Many thanks for tipps Andrej