ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
How to use CodeSys Modbus TCP slave and reach other connected Modbus RTU devices
ฝัง
- เผยแพร่เมื่อ 7 ธ.ค. 2022
- Codesys makes programming simple and Straightforward.
But sometimes some application details takes awhile to find.
TLDR - 2 things to note:
1) To poll the TCP slave, use ID255 instead of 1
2) Connected RTU slave must be using 'Even' parity and '1 stop bit'
I cant call the function in my ladder. Is the license required to even use the functions?
Thanks for your tutorial. Where do you set the slave address on 255?
Hello, you don't have to set it. the codesys master is pre-configured to have 255 as the address. If you use anything else, it will not work
do you have tutorial for modbus RTU as slave while controlled by the TCP master using converter?
If you wish to use a USB-to-RS485 converter to make your PC into a slave, the only difference should be to choosing the respective COM-PORT.
Just open the windows device manager and then plug your device in. See which new com port appears
superuser.com/questions/1059447/how-to-check-com-ports-in-windows-10