Personal Data

Username:
huunghiaubot
Joined:
2022-07-07 06:21:09+00:00
Location:
Bà Rịa – Vũng Tàu / Vietnam / +07
Gender:
Male

Projects

  • No projects to display.

Skills

  • No skills entered.

User Activity

  • Modified a comment on discussion Runtime 🇬🇧 on CODESYS Forge
  • Posted a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    Hi there, After some time research and using CODESys for some simple applications in my factory. I decided to develop my own PLC system base on CODEsys and Raspberry Pi ("I designed PCB and in assembling"). I need to write my own drivers in more advanced to interface with other modules, not just use supported interface drivers. Since then, I've compiled a list of questions about CODESys source code. How can I freely use Rasp peripherals(SPI, I2C, etc.) for my drivers? I don't wanna add my modules...

  • Modified a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    Thanks for your support! Now I created a driver and add it under SPI Master. Is it possible to use SPI out of SPI master in the root tree project? My idea is creating devices which can add like EtherCAT or profibus but using SPI protocol.

  • Posted a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    Thanks for your support! Now I created a driver and add it under SPI Master. Is it possible to use SPI out of SPI master in the root tree project? My idea is creating devices which can add a like EtherCAT or profibus but using SPI protocol.

  • Modified a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    Hi all, I want to write my own SPI driver on CODESYS to interface with my STM32 custom board. I spend some time reading example libraries ( Adafruit_PWM, MCP23S17 ....), Here is my doubts. 1. What is _iState? "_iState := 10;, _iState := 1000;", Where are the numbers "10,1000" come from? What do they mean?, How many states does CODESYS support? 2. When will AfterReadInputs and BeforeWriteOuputs be called? Do they call in sequence? 3. What happen if I use more than 1 driver on the same SPI driver?...

  • Posted a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    Hi all, I want to write my own SPI driver on CODESYS to interface with my STM32 custom board. I spend some time reading example libraries ( Adafruit_PWM, MCP23S17 ....), Here is my doubts. 1. What is _iState? "_iState := 10;, _iState := 1000;", Where are the numbers "10,1000" come from? What do they mean?, How many states does CODESYS support? 2. When will AfterReadInputs and BeforeWriteOuputs be called? Do they call in sequence? 3. What happen if I use more than 1 driver on the same SPI driver?...

View All