Talk

FORUM LATEST POST # TOPICS
Engineering πŸ‡¬πŸ‡§

Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition

ReadWriteEEprom FB question
by kurt9
2 hours ago
5999
Runtime πŸ‡¬πŸ‡§

Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms

Pi as Modbus TCP slave. Errors
by husarz17
2026-04-29
2300
Visualization πŸ‡¬πŸ‡§

Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu

MC_ReadActualPosition with ST code
by chaylak
4 days ago
1064
Motion πŸ‡¬πŸ‡§

Realizing single or multi axis motion control, CAM, CNC and Robotic applications

CNC15_LargeGCode.project BC Axis Issue
by nirav1992
2026-05-05
570
Codesys V2.3 πŸ‡¬πŸ‡§

Forum about V2.3

AI + Programming
by heman
2026-04-27
2242
Deutsch πŸ‡©πŸ‡ͺ

German forum

1 Wire und i2c zeitgleich in Betrieb
by polo
2026-04-27
4581
Automation Server πŸ‡¬πŸ‡§

The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers

Gateway in China - "Gateway not connected"
by pernockham
2026-03-18
79
Forge πŸ‡¬πŸ‡§

Discussions about CODESYS Forge projects and features of the CODESYS Forge website

DSE M840-001-02: DSEServiceTool transfers CodesysApp.pkg successfully, b...
by sahin6033
2026-03-17
231

Recent Activities

    CODESYS Forge

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

    I want to programmatically write the alias address to a new EtherCAT slave when I plug it into my IPC EtherCAT network. I am looking at the ReadWriteEEprom FB and see that one of the elements is "pbyData". which is the pointer to byte that is usually set to 2048 bytes. Since I am setting the alias address to the EEprom only (EEprom address 16#0012), I would assume that what I am writing is 2 bytes only. Does the pbyData have to be specified as ADR(myArray) where "myArray" is the 2 bytes of the alias...

  • ph0010421 modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi You can add a channel to the standard Modbus TCP library with FC06. From the device tree, add Ethernet device, ModbusTCP master then finally a ModbusTCP slave (your power meter). You can add read/write channels (for any FC) in here. As you add these devices, the necessary libraries will be inserted for you. Alternatively, I have a ModbusTCP client/server library if your RT doesn't have Modbus (I think they all do these days?)

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

    Hi You can add a channel to the standard Modbus TCP library with FC06. From the device tree, add Ethernet device, ModbusTCP master then finally a ModbusTCP slave (your power meter). You can add read/write channels (for any FC) in here.

  • chaylak posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    hi everyone, i am trying use MC_ReadActualPosition module in ST but i cant do it,( if i use CFC yes i read it) my axis is SoftMotion General Axis Pool->VirtAxisZ [Device: SoftMotion General Axis Pool] codesys V3.5 SP20 program: PROGRAM PLC_PRG VAR VirtAxisZ : AXIS_REF_VIRTUAL_SM3; fbPowerZ : MC_Power; fbReadPos : MC_ReadActualPosition; bEnable : BOOL := TRUE; lrActPos : LREAL; bValid : BOOL; bError : BOOL; fbResetZ : MC_Reset; xZ_Valid : BOOL; xZ_Busy : BOOL; xGlobalPower : BOOL; xGlobalReset : BOOL;...

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

    Hi -- curious to know the same thing! Lots of "The objects are equal" randomly popping up... my solution (for now) is simply to commit the actual changes and then execute the rollback (git clean + checkout) on all that are giving me the issue in question. Does anyone know if this repairable?

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

    Hey Guys, I am trying to create a ModbusTCP_FunctionCode06 which i will use as a single write register for programming a test code for Power Meter(PQM_1000) I have tried to reserach how to add it it from the libraray manager and have largely been unsuccessful. Does anyone know where I should Look? And by the way, I am i wam using Codesys V3.5 Vs 21 Patch 4 I look forward to something positive. Best, Kmax365.

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

    Hey Guys, I am trying to create a ModbusTCP_FunctionCode06 which i will use as a single write register for programming a test code for Power Meter(PQM_1000) I have tried to reserach how to add it it from the libraray manager and have largely been unsuccessful. Does anyone know where I should Look? And by the way, I am i wam using Codesys V3.5 Vs 21 Patch 4 I look forward to something positive. Best, Kmax365.

  • suyash modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks for your reply @eschwellinger. Update : the is problem is resolved. It was done by renaming the User database file (/var/opt/codesys/.UserDatabase.csv) as deleting it was risky. After restart the IDE asked me to create new user. On doing that the problem got resolved. Reference for members facing similar problem/s : sudo systemctl stop codesyscontrol sudo mv /var/opt/codesys/.UserDatabase.csv_ /var/opt/codesys/.UserDatabase.csv_.old sudo systemctl start codesyscontrol

  • suyash modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks for your reply @eschwellinger. Update : the is problem is resolved. It was done by renaming the User database file (/var/opt/codesys/.UserDatabase.csv) as deleting it was risky. After restart the IDE asked me to create new user. On doing that the problem got resolved. Reference for members facing similar problem/s : sudo systemctl stop codesyscontrol sudo mv /var/opt/codesys/.UserDatabase.csv_ /var/opt/codesys/.UserDatabase.csv_.old sudo systemctl start codesyscontrol

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

    Thanks for your reply @eschwellinger. Update : the is problem is resolved. Did it by renaming the User database file (/var/opt/codesys/.UserDatabase.csv) by stopping the runtime. After restart the IDE asked me to create new user. On doing that the problem got resolved.