Activity for andrej

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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.

  • andrej andrej posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    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.

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    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

  • andrej andrej posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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...

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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....

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • andrej andrej posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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

  • andrej andrej posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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

1