Personal Data

Username:
audi0615
Joined:
2020-01-17 10:47:48

Projects

  • No projects to display.

User Activity

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

    Thanks for your reply. I have Raspi 3b and 4. if the bluetooth is UART0(ttyAMA0), could it be used as a serial com port? i've read a post regarding "cmpCharDevice" library. do i have to use the library for the bluetooth or just Syscom library is enough?

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

    Hi. I'd like to use Raspberry pi onboard bluetooth as a serial port. My understanding is UART0(ttyAMA0) is allocated to the bluetooth in Rasp 3 or 4. So, does this mean i can use the bluetooth as any other serial devices for serial communication? I edited "/etc/CODESYSControl_User.cfg" as below and I would use SysCom library for serial communication. [SysCom] Linux.Devicefile.1=/dev/ttyAMA0

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

    Hi. I'd like to encrypt my boot application with a certificate to prevent it from disassembled or decompiled. I referred to "Encrypting with certificates" in CODESYS help. Creating a new certificate and encrypting the application seems OK. but i got an error "there is no matching certificate on the device to decrypt the data" when i tried to download the application to my controller. Please refer to attached snapshots and any help would be appreciated.

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

    thanks you so much. i appreciate your help.

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

    Hi. I'd like to install the CODESYS raspi runtime by installing .deb file (without using "Update RaspberryPi" in CODESYS IDE) After installation, what is the default setting of single/multicore selection? single core? and where could i change the setting? (CODESYSConfig.cfg?)

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

    Hi. I'm trying to implement Asymmetric Encryption / Decryption with Codesys libraries. According to the product datasheet of Cypto Example, I need to create a pseudo component to create self-signed certificate and get a key pair. However the crypto example project does not create the component and "udiComponentId" keeps increasing. How can i create the component to open a certificate and get a key pair?

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

    Thank for your reply. Actually the stMain has many big sized stSub members (stSub1~stSub1024) and in most cases only 1~2 of them are used depending on user configuration. static declaration of sub structs results in more than 500mb memory allocation for them. so this is only for reducing memory usage.

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

    Hi. I have two sturcts, stMain and stSub. stSub is contained in stMain and both structs are dynamically created using __NEW. if I delete stMain, is stSub automatically deleted? or Should i delete stSub first and then delete stMain? TYPE stMain : STRUCT pstSub: POINTER TO stSub; END_STRUCT END_TYPE TYPE stSub : STRUCT xTest: BOOL; END_STRUCT END_TYPE PROGRAM PLC_PRG VAR pstMain: POINTER TO stMain; END_VAR IF pstMain = 0 THEN pstMain:=__NEW(stMain); IF pstMain.pstSub = 0 THEN pstMain.pstSub=__NEW(stSub);...

View All