6/16/2023 10:58 AM | |
Joined: 6/12/2023 Last visit: 6/19/2023 Posts: 2 Rating: (1) |
Hi everyone! I am having a similar issue by trying to configure the X30 COM port in RS485 and communicate to power meter via ModBus RTU using PyModbus. We do not have physical access to the machine and we do not remember if it is an IOT2050 Basic or Advanced. [snip] I followed the instructions in the previous posts and from this other tread. https://support.industry.siemens.com/forum/no/en/posts/set-x30-com-to-modbus-rs485/237516 However I am still quite unsure if I have managed to successfully set the X30 COM port into RS485. Could anyone help me understand if the X30 COM port is set into RS485 ? This is what I have done: ( ps. I am always logged in as root)
dev/serial/by-id lrwxrwxrwx 1 root root 13 Jun 13 11:28 usb-FTDI_USB-RS485_Cable_AU04OW0W-if00-port0 -> ../../ttyUSB0 lrwxrwxrwx 1 root root 13 Jun 13 11:28 usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_e8a465d17bfaeb11aa8992582c9440dd-if00-port0 -> ../../ttyUSB1 --------------------------------------------------------- Instructions from other tread: switchserialmode ttyuart -D /dev/ttyUSB1 -m rs485 Error: Inappropriate ioctl for device switchserialmode ttyuart -D /dev/ttyS2 -m RS485 Error: Input/output error ------------------------------------------------------------ switchserialmode cp210x -D CP2102N24 -d rs485 active-logic(high) setup-time(0x0000) hold-time(0x0000) switchserialmode cp210x -D CP2102N24 -m gpio switchserialmode cp210x -D CP2102N24 -d gpio reset-logic(high) switchserialmode cp210x -D CP2102N24 -m rs485 switchserialmode cp210x -D CP2102N24 -d rs485 active-logic(high) setup-time(0x0000) hold-time(0x0000) Thank you so much in advance for anyone who could help me! :) ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 06/19/2023 08:28:29New subject after splitting. Division of questions into separate topics. |
|
Follow us on