(1)| 2/28/2023 1:17 PM | |
|
Posts: 8 Rating:
|
Hello, I'm getting mad... I'm trying to validate a piece of program which aims to communicate with a non-Siemens Modbus RTU device. Problem is, such device has not be delivered yet at my office so I would like to simulate it, but I don't know how. The piece of program I need to test is running on a ET200SP CPU 1512SP-1 PN, the RTU connection being made with a CM PtP card. This is supposed to be a 2-wire RS485 bus with a lone slave, numbered 1. That slave is supposed to be passive, and asked for current values periodically by my piece of program. I tried : * Using a spare ET200SP CPU, trying to copy paste the "slave" part from the example program available on the SiePortal. This sample program target S7-1200 while my CPU is a S7-1500, but i don't think this is a big deal. https://support.industry.siemens.com/cs/fr/en/view/47756141 * Raspberry Pi or Arduino boards : these support Modbus RTU only through a separate "shield board" i don't own so I gave up. * USB-to-serial wire, used with the software "KScada Modbus Doctor" : the software doesn't allow me to just set some registers values and wait for requests. So I try the command "write", but it ends up with "time out" error messages. Do you have any other ideas of what I could try? A sofware, an TIA example project or whatever... I really need to have a slave simulator for which I have no doubts about, so if my piece of program really can't get any values, I can reasonnably assume the problem comes from it... Many thanks! |
Last edited by: Jen_Moderator at: 03/01/2023 07:54:47Link optimized. |
|
| 3/3/2023 8:48 AM | |
|
Posts: 8 Rating:
|
Thank you for your reply. ModRSsim is one of the softwares I tried, unfortunately as far as I know, it can't handle RS485, only RS232... |
Follow us on