POINTER TO STRUCT
CODESYS Forge
talk
(Thread)
POINTER TO STRUCT
Last updated: 2015-07-10
WinCC to CODESYS
CODESYS Forge
talk
(Thread)
WinCC to CODESYS
Last updated: 2021-08-30
Access to disk_sys
CODESYS Forge
talk
(Thread)
Access to disk_sys
Last updated: 2011-12-22
How to configure J1939ECU
CODESYS Forge
talk
(Thread)
How to configure J1939ECU
Last updated: 2013-03-13
Unable to scan
CODESYS Forge
talk
(Thread)
Unable to scan
Last updated: 2022-06-15
To implement G-code
CODESYS Forge
talk
(Thread)
To implement G-code
Last updated: 2012-10-31
Limits to Visualization
CODESYS Forge
talk
(Thread)
Limits to Visualization
Last updated: 2017-03-10
Migration to Win7
CODESYS Forge
talk
(Thread)
Migration to Win7
Last updated: 2011-05-31
Adding "modules" to GSDML
CODESYS Forge
talk
(Thread)
Adding "modules" to GSDML
Last updated: 2018-11-29
conversion V2 to V3
CODESYS Forge
talk
(Thread)
conversion V2 to V3
Last updated: 2013-10-08
ModbusFB.ClientTcp - How to disconnect??
CODESYS Forge
talk
(Thread)
ModbusFB.ClientTcp - How to disconnect??
Last updated: 2022-05-27
Excel to Codesys 3.5
CODESYS Forge
talk
(Thread)
Excel to Codesys 3.5
Last updated: 2023-12-11
Excel to Codesys 3.5
CODESYS Forge
talk
(Thread)
Excel to Codesys 3.5
Last updated: 2023-12-12
Possibility to deactivate CmpBlkDrvUdp
CODESYS Forge
talk
(Thread)
Possibility to deactivate CmpBlkDrvUdp
Last updated: 2023-12-13
Raspberry add to codesys
CODESYS Forge
talk
(Thread)
Raspberry add to codesys
Last updated: 2024-01-08
PWM To analog
CODESYS Forge
talk
(Thread)
PWM To analog
Last updated: 2024-01-12
POU - Access to runtime
CODESYS Forge
talk
(Thread)
POU - Access to runtime
Last updated: 2024-03-02
How to change bHiresMode
CODESYS Forge
talk
(Thread)
How to change bHiresMode
Last updated: 2024-03-12
CODESYSControl_User.cfg - link to documentation?
CODESYS Forge
talk
(Thread)
CODESYSControl_User.cfg - link to documentation?
Last updated: 2024-06-11
GVL to SHMem
CODESYS Forge
talk
(Thread)
GVL to SHMem
Last updated: 2024-07-09
Array to String
CODESYS Forge
talk
(Thread)
Array to String
Last updated: 2024-07-18
Array to String
CODESYS Forge
talk
(Thread)
Array to String
Last updated: 2024-07-24
Send data to USB
CODESYS Forge
talk
(Thread)
Send data to USB
Last updated: 2024-08-05
Password to POU
CODESYS Forge
talk
(Thread)
Password to POU
Last updated: 2024-08-14
Post by kevinl on RevPi Connect RS485
CODESYS Forge
talk
(Post)
I figured this out on my own with this logic: usually the Serial port on a Raspberry pi is on /dev/ttyUSB0 then you need to set linux.DeviceFile=/dev/ttyUSB in codesys you then must set com port to 1 so i assumed codesys subtracts 1 from the number and adds this to the filename... (in code it would look like this: var comPort : byte := '1'; linuxDevice : string := '/dev/ttyUSB'; filename : string; end_var filename := concat(linuxDevice, (to_string(comPort-1)); filaname then is /dev/ttyUSB0 RevPi uses ttyRS485 as Serial port so you must remove the last number from the name and set the com port to this number +1 i hope this is understandable ;-)
Last updated: 2023-12-11
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.