Search found 161 matches

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: 4136

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: 18497

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: 28387

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: 13891

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: 28387

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: 21476

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: 14682

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: 38832

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 ...
by Amar
19 Feb 2024, 09:47
Forum: Software
Topic: Codesys with touch screen
Replies: 10
Views: 13558

Re: Codesys with touch screen

Hi Francois,
There is traditional touch panel based HMI soulution from CODESYS ecosystem
https://www.codesys.com/products/codesys-visualization/hmi.html
https://store.codesys.com/en/codesys-hmi-sl-bundle.html

More economical option is using a browser based HMI option usaing CODESYS WebVisu which ...
by Amar
15 Feb 2024, 15:57
Forum: Software
Topic: RevPi Compact & Codesys
Replies: 9
Views: 10418

Re: RevPi Compact & Codesys

Analog Input channel should be configured to 0-10V in CODESYS Compact Parameters as in your test case.

Codesys Configuration overwrites pictory configuration.Pictory configuration is independent and not used together with codesys.
The combination with pictory and piTest was an alternate option ...