Codesys 3.5 SP16 Modbus change port settings.
CODESYS Forge
talk
(Thread)
Codesys 3.5 SP16 Modbus change port settings.
Last updated: 2024-02-20
Edgelogix-rpi-1000-cm4102032 SPI port connection to PiFace I/O Driver in CodeSys.
CODESYS Forge
talk
(Thread)
Edgelogix-rpi-1000-cm4102032 SPI port connection to PiFace I/O Driver in CodeSys.
Last updated: 2023-08-21
Enable more than one COM port in raspberry for more modbus channels with USB
CODESYS Forge
talk
(Thread)
Enable more than one COM port in raspberry for more modbus channels with USB
Last updated: 2020-02-07
Beaglebone Black - only one Ethernet port - how to connect to LAN, and EtherCAT?
CODESYS Forge
talk
(Thread)
Beaglebone Black - only one Ethernet port - how to connect to LAN, and EtherCAT?
Last updated: 2022-01-16
RTS signals are misaligned to Modbus COM port packets when using the RaspberryPi
CODESYS Forge
talk
(Thread)
RTS signals are misaligned to Modbus COM port packets when using the RaspberryPi
Last updated: 2022-09-05
PM564 ETH for reading data from modbus serial slave using COM1 port
CODESYS Forge
talk
(Thread)
PM564 ETH for reading data from modbus serial slave using COM1 port
Last updated: 2017-11-28
HW PBpro USB - universal PROFIBUS interface with High Speed Port
CODESYS Forge
talk
(Thread)
HW PBpro USB - universal PROFIBUS interface with High Speed Port
Last updated: 2022-09-21
How to change the Port for the Webserver / cannot access webvisu
CODESYS Forge
talk
(Thread)
How to change the Port for the Webserver / cannot access webvisu
Last updated: 2019-06-17
codesyscontrol running listening on port 22000, how to communicate with it?
CODESYS Forge
talk
(Thread)
codesyscontrol running listening on port 22000, how to communicate with it?
Last updated: 2022-01-12
Serial port stops working randomly in the middle of a program
CODESYS Forge
talk
(Thread)
Serial port stops working randomly in the middle of a program
Last updated: 2020-02-23
Use of front Ethernet port on beckhoff CX2040 as an EtherCAT master
CODESYS Forge
talk
(Thread)
Use of front Ethernet port on beckhoff CX2040 as an EtherCAT master
Last updated: 2021-04-29
Retreive Port Number of UDP Client connected to my UDP Server
CODESYS Forge
talk
(Thread)
Retreive Port Number of UDP Client connected to my UDP Server
Last updated: 2020-11-24
OPC UA Server Stops after 5 consecutive disconnections of ethernet port
CODESYS Forge
talk
(Thread)
OPC UA Server Stops after 5 consecutive disconnections of ethernet port
Last updated: 2024-02-13
Modbus RTU (serial port) does not work with new kernel version
CODESYS Forge
talk
(Thread)
Modbus RTU (serial port) does not work with new kernel version
Last updated: 2024-04-05
Connecting to SoftPLC Only Works By Turning Off Modbus Ethernet Port
CODESYS Forge
talk
(Thread)
Connecting to SoftPLC Only Works By Turning Off Modbus Ethernet Port
Last updated: 2024-08-08
RPI Serial port connects with no errors but not data being transmitted or received
CODESYS Forge
talk
(Thread)
RPI Serial port connects with no errors but not data being transmitted or received
Last updated: 2024-09-30
Post by sivakov on Change the default ssh port
CODESYS Forge
talk
(Post)
Of course there is! =) just edit file/etc/ssh/sshd_config and restart ssh service. but you'll lose the possibility of runtime management through "update Linux", so there enother question - how to change default port in codesys it-self?
Last updated: 2023-10-11
Post by timvh on CAA SerialCOM - hCom Reset max value 1023
CODESYS Forge
talk
(Post)
You should only open de COM port once and then leave it open. This hCom should not keep on incrementing. (off course when you are done communicating, you need to close the COM port)
Last updated: 2024-03-22
Post by joanm on Programmatically change the IP addresses of the Modbus TCP slave devices
CODESYS Forge
talk
(Post)
Hello all, I am working in a project in which there are multiple Modbus TCP slaves. I need to be able to change the IP addresses of those devices from the HMI and I was planning to use the process depicted here: https://faq.codesys.com/display/CDSFAQ/Modbus+TCP+Slave%3A+Dynamic+Setting+of+the+IP+Address I can see the port number is what is used to specify which slave device we want to modify the IP address of. This said, can I freely set arbitrary port numbers to each device? I mean, can I set the first device to be at port 502, the second one at port 503... Any drawback or restriction? Is there any other way to reference to the device without having to change the port numbers? Thank you all in advance.
Last updated: 2024-01-04
Post by sunfloweeerrry on Edgelogix-rpi-1000-cm4102032 SPI port connection to PiFace I/O Driver in CodeSys.
CODESYS Forge
talk
(Post)
Please anyone help there is not a lot reference about this.
Last updated: 2023-08-21
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
Post by eschwellinger on Raspberry PI4 Serial Port
CODESYS Forge
talk
(Post)
no parameter seems ok but RS485 does only work with CODESYS if the send/receive is determined by hardware as I remember correct
Last updated: 2024-03-18
Post by eschwellinger on Raspberry PI4 Serial Port
CODESYS Forge
talk
(Post)
no config file is ok, the feedback is: your hardware must support this send/receive switching
Last updated: 2024-03-19
Post by lsislsis on RPI Serial port connects with no errors but not data being transmitted or received
CODESYS Forge
talk
(Post)
Is there any solution because we have the same problem with other hardware?
Last updated: 2024-09-30
Post by mini-developer on Profinet Abort AR Error
CODESYS Forge
talk
(Post)
Hello, I have this Problem when i disconnect the PC from another ETH-Port. Did you solve the Problem?
Last updated: 2024-10-16
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
.