Hi,
The problem is likely caused by the Ethernet interface being placed before the RevPi Connect 4 device in the CODESYS device tree.
You can also disable GPIO access if you are using the RevPi LEDs.
CODESYS_issue.png
Corrected project configuration:
CODESYS_correct.png
I would recommend ...
Search found 164 matches
- 03 Jul 2025, 16:21
- Forum: Hardware
- Topic: Trouble on Using DO in CODESYS
- Replies: 2
- Views: 310
- 24 Jun 2025, 14:17
- Forum: CODESYS
- Topic: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)
- Replies: 10
- Views: 20463
Re: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)
Hello Rossano,
Thank you for the confirmation. We have released the same version that you tested.
https://revolutionpi.com/en/support/downloads
Archive CODESYS Drivers
Revolution Pi Library for CODESYS V1.4.2.0
The Revolution Pi Library for CODESYS V2.2.0.0 (CODESYS Development System V 3.5 SP21 ...
Thank you for the confirmation. We have released the same version that you tested.
https://revolutionpi.com/en/support/downloads
Archive CODESYS Drivers
Revolution Pi Library for CODESYS V1.4.2.0
The Revolution Pi Library for CODESYS V2.2.0.0 (CODESYS Development System V 3.5 SP21 ...
- 05 Jun 2025, 13:41
- Forum: CODESYS
- Topic: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)
- Replies: 10
- Views: 20463
Re: Build error using Revolution Pi Library for CODESYS v1.4.1.0 and v2.0.0.0 with CODESYS v3.5 SP21 (64bit)
Hello Rossano,
Please test the revolutionpibridge-V1.4.2.0-beta library package.
The library is compiled for CODESYS 3.5 SP19 and can be used with SP21.
https://packages.revolutionpi.com/buster/download/revolutionpibridge-V1.4.2.0-beta.zip
It can be used with the discontinued CODESYS Control for ...
Please test the revolutionpibridge-V1.4.2.0-beta library package.
The library is compiled for CODESYS 3.5 SP19 and can be used with SP21.
https://packages.revolutionpi.com/buster/download/revolutionpibridge-V1.4.2.0-beta.zip
It can be used with the discontinued CODESYS Control for ...
- 20 Feb 2025, 11:46
- Forum: CODESYS
- Topic: CODESYS 3.5 SP20 Patch 5 Problem mit DIO Modul - schaltet nur 2 Outputs
- Replies: 1
- Views: 6895
Re: CODESYS 3.5 SP20 Patch 5 Problem mit DIO Modul - schaltet nur 2 Outputs
Hi PAHO,
Can you please test with the attached sample example?
Connect4_DIO_Test.zip
The program sets the first 8 outputs of the first DIO module and the first 4 outputs of the second DIO module starting from the left of piBridge.
CODESYS_FE65mDjfPX.png
The following pictory configuration ...
Can you please test with the attached sample example?
Connect4_DIO_Test.zip
The program sets the first 8 outputs of the first DIO module and the first 4 outputs of the second DIO module starting from the left of piBridge.
CODESYS_FE65mDjfPX.png
The following pictory configuration ...
- 08 Jan 2025, 14:16
- Forum: Software
- Topic: No such file or directory: '/dev/ttyRS485'
- Replies: 14
- Views: 21158
Re: No such file or directory: '/dev/ttyRS485'
/dev/ttyRS485 in pictory is symbolic link to /dev/ttyUSB0
The port number 0 should not be mentioned in /etc/CODESYSControl_User.cfg . Actual entry therefore is
Now /dev/ttyUSB0 corresponds to COM port 1 in CODESYS for Connect /S
The port number 0 should not be mentioned in /etc/CODESYSControl_User.cfg . Actual entry therefore is
Code: Select all
[SysCom]
Linux.Devicefile=/dev/ttyUSB
- 25 Apr 2024, 14:07
- Forum: CODESYS
- Topic: RevPi RS485 config for use in CodeSys
- Replies: 6
- Views: 33833
Re: RevPi RS485 config for use in CodeSys
Hello Wolfgang and PVCS,
Modbus RTU with Connect 4 on 64 bit image shall work with following settings :
Configure COM port default interface for Connect4 in /etc/CODESYSControl_User.cfg
running CODESYS Control for Linux ARM64 SL
[SysFile]
PlaceholderFilePath.1=/etc/revpi, $configrsc$
[SysCom ...
Modbus RTU with Connect 4 on 64 bit image shall work with following settings :
Configure COM port default interface for Connect4 in /etc/CODESYSControl_User.cfg
running CODESYS Control for Linux ARM64 SL
[SysFile]
PlaceholderFilePath.1=/etc/revpi, $configrsc$
[SysCom ...
- 24 Apr 2024, 09:46
- Forum: CODESYS
- Topic: Modbus RTU läuft nicht in Codesys - RevPI Connect 4
- Replies: 2
- Views: 16270
Re: Modbus RTU läuft nicht in Codesys - RevPI Connect 4
Hello Wolfgang,
Please follow the similar topic posted on the english forum.
viewtopic.php?t=4345
Viele Grüße, Amar
Please follow the similar topic posted on the english forum.
viewtopic.php?t=4345
Viele Grüße, Amar
- 23 Apr 2024, 17:32
- Forum: CODESYS
- Topic: RevPi RS485 config for use in CodeSys
- Replies: 6
- Views: 33833
Re: RevPi RS485 config for use in CodeSys
Hello PVCS,
Under General->Serial Port Configuration tab of MODBUS_COM device in codesys tree
COM Port selected will be as follows
/dev/ttyUSB0 -> COM Port 1
/dev/ttyUSB1 -> COM Port 2 ...
/dev/ttyUSBn -> COM Port n
In /etc/CODESYSControl_User.cfg you can try configuring following:
[SysCom ...
Under General->Serial Port Configuration tab of MODBUS_COM device in codesys tree
COM Port selected will be as follows
/dev/ttyUSB0 -> COM Port 1
/dev/ttyUSB1 -> COM Port 2 ...
/dev/ttyUSBn -> COM Port n
In /etc/CODESYSControl_User.cfg you can try configuring following:
[SysCom ...
- 27 Mar 2024, 09:50
- Forum: CODESYS
- Topic: Funny behaviour of inputs
- Replies: 3
- Views: 25976
Re: Funny behaviour of inputs
Hi,
Are you using 1.4.1.99 beta version of Revolution Pi Library for CODESYS?
For Connect 4 with RevPi Bullseye Image (64 bit) you need to use
CODESYS Control Linux ARM 64 bit.
There may be some incorrect device tree combination in your configured project.
I would recommend to first create a new ...
Are you using 1.4.1.99 beta version of Revolution Pi Library for CODESYS?
For Connect 4 with RevPi Bullseye Image (64 bit) you need to use
CODESYS Control Linux ARM 64 bit.
There may be some incorrect device tree combination in your configured project.
I would recommend to first create a new ...
- 26 Mar 2024, 11:14
- Forum: CODESYS
- Topic: CODESYS DIO Ausgänge und Eingänge 1..8 ok, 9..14 funktionieren nicht
- Replies: 1
- Views: 16923
Re: CODESYS DIO Ausgänge und Eingänge 1..8 ok, 9..14 funktionieren nicht
Hallo,
Möglicherweise liegt es an einem fehlerhaften Bitzugriff im konfigurierten Projekt.
Verwend die neueste Version der RevPi Codesys-Bibliothek.
Überprüf mal, ob das richtige DIO-Modul im Codesys-Gerätebaum konfiguriert ist.
(Verwendest du die Blinklicht-Demo, um einzelne Bits des ...
Möglicherweise liegt es an einem fehlerhaften Bitzugriff im konfigurierten Projekt.
Verwend die neueste Version der RevPi Codesys-Bibliothek.
Überprüf mal, ob das richtige DIO-Modul im Codesys-Gerätebaum konfiguriert ist.
(Verwendest du die Blinklicht-Demo, um einzelne Bits des ...