Personal Data

Username:
snguyen
Joined:
2020-07-07 15:34:46

Projects

  • No projects to display.

User Activity

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi, I do not know if there is a specific library for this, but you can run linux command line from CodeSys, meaning you can call your python script too. First, you need to edit a codesys file in the RPI to allow codesys to run command lines : sudo nano /etc/CODESYSControl.cfg in the file "CODESYSControl.cfg", add this : [SysProcess] command=AllowAll Then, in CodeSys, you need the have the SysProcess library in your project. You can then call your python script as follows : commandString:STRING:='python...

  • Modified a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi, I do not know if there is a specific library for this, but you can run linux command line from CodeSys, meaning you can call your python script too. First, you need to edit a codesys file in the RPI to allow codesys to run command lines : sudo nano /etc/CODESYSControl.cfg in the file "CODESYSControl.cfg", add this : [SysProcess] command=AllowAll Then, in CodeSys, you need the have the SysProcess library in your project. You can then call your python script as follows : commandString:STRING:='python...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi, I do not know if there is a specific library for this, but you can run linux command line from CodeSys, meaning you can call your python script too. First, you need to edit a codesys file in the RPI to allow codesys to run command lines : sudo mousepad /etc/CODESYSControl.cfg in the file "CODESYSControl.cfg", add this : [SysProcess] command=AllowAll Then, in CodeSys, you need the have the SysProcess library in your project. You can then call your python script as follows : commandString:STRING:='python...

  • Posted a comment on discussion Runtime πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi, The new release for RPI 64-bit is pretty nice, but I can't make CodeSys work on it. First thing that is strange is that when I install the runtime, it gives me only the choice for Single core and not Multicore. It is probably due to the fact that CodeSys search for "armv7l", and the 64-bit OS is "armv8". Then, the runtime won't start because of the Bullseye "/opt/codesys/scripts/init-functions", so I fix the function with the help of a previous Thread post about this, but now it just gives me...

  • Posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi, I have a problem that I cannot find the solution to. I have CodeSys 2.3 installed on my computer to program IFM controllers, and I decided to download CodeSys 3.5 patch 4 from IFM's website and when I installed 3.5, the font size and type in CodeSys 2.3 changed in some place. I tried uninstalling CodeSys 2.3 and 3.5, deleted folders in %USER%/appdata and %USER%/documents, clean install codesys 2.3 only and nothing worked. I tried changing screen resolution and dpi settings. I tried resintalling...

  • Modified a comment on discussion Runtime on CODESYS Forge

    Hi, I have a subsequent question on multicore. In the manual, it is stated : - Bit access (data type BIT) is not processed consistently on marker CPUs in the IEC program. For this we recommend that you use the external library function SysCpuTestAndSetBit() (for more details, see SysCpuHandling.library). - Simple data types up to a width of 32 bits (BIT, BYTE, WORD/INT, DWORD/DINT, etc.) are processed consistently in the IEC program on marker CPUs as well. So I was wondering what that meant. Does...

  • Posted a comment on discussion Runtime on CODESYS Forge

    Hi, I have au subsequent question on multicore. In the manual, it is stated : - Bit access (data type BIT) is not processed consistently on marker CPUs in the IEC program. For this we recommend that you use the external library function SysCpuTestAndSetBit() (for more details, see SysCpuHandling.library). - Simple data types up to a width of 32 bits (BIT, BYTE, WORD/INT, DWORD/DINT, etc.) are processed consistently in the IEC program on marker CPUs as well. So I was wondering what that meant. Does...

  • Posted a comment on discussion Runtime on CODESYS Forge

    I've updated to 3.5.16.10 and it works.

View All