Search found 163 matches

by Amar
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: 19794

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 ...
by Amar
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: 19794

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 ...
by Amar
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: 6778

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 ...
by Amar
08 Jan 2025, 14:16
Forum: Software
Topic: No such file or directory: '/dev/ttyRS485'
Replies: 14
Views: 21047

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

Code: Select all

[SysCom]
Linux.Devicefile=/dev/ttyUSB
Now /dev/ttyUSB0 corresponds to COM port 1 in CODESYS for Connect /S
M1jdYP65Wp.png
by Amar
25 Apr 2024, 14:07
Forum: CODESYS
Topic: RevPi RS485 config for use in CodeSys
Replies: 6
Views: 33679

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 ...
by Amar
24 Apr 2024, 09:46
Forum: CODESYS
Topic: Modbus RTU läuft nicht in Codesys - RevPI Connect 4
Replies: 2
Views: 16205

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
by Amar
23 Apr 2024, 17:32
Forum: CODESYS
Topic: RevPi RS485 config for use in CodeSys
Replies: 6
Views: 33679

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 ...
by Amar
27 Mar 2024, 09:50
Forum: CODESYS
Topic: Funny behaviour of inputs
Replies: 3
Views: 25884

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 ...
by Amar
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: 16862

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 ...
by Amar
19 Feb 2024, 10:28
Forum: Software
Topic: piBridge with CODESYS Control for Raspberry PI 4.8.0.0 does not work
Replies: 8
Views: 40266

Re: piBridge with CODESYS Control for Raspberry PI 4.8.0.0 does not work

It is recommended to use latest Codesys control runtime.(CODESYS Control for Raspberry Pi MC V 4.10.0)

https://store.codesys.com/en/softplcs-for-applicationbased-licenses

Some other configuration (probably 1-Wire Busmaster) occupied the placeholder path on your configured device.
When you install ...