S7 1200 modbus tcp to trb 245

Hello i have a trb 245 and i want to get the io values and the system uptime via modbus tcp.
i have made the trb as a server and the s7 1200 as a client , but i dont receive anything. The s7 1200 shows it receives data but in my datablock everything is zero. Have anyone else done something similar and its working?

Hello,

Please ensure you are accessing the correct register and using the right data type and function (read holding registers (3)). Also, check if the values you want to monitor are available for reading. You can find more information here: TRB245 Monitoring via Modbus - Teltonika Networks Wiki

Best regards,

hello thank you for your response. to select data type an function you mast be at client configuration. The trb i am using has the latest filmwere and in the images you can see it doesnt have any way of selectin data type or function. In the other image is the mb clinet i have in my plc


Hello,

I won’t be able to help much in this case because all the settings are controlled through the PLC UI, and I’m not familiar with this PLC or how it works. My only advice right now is to configure a Modbus TCP client on the same TRB245 and try reading simple data, such as system uptime, to see if data can be received.

Best regards,

ok no problem, i have tryed the method you suggested but it only reads and writes at the plc server . i never get uptime or coils. i will try it again and if it doesnt work i will reply here with pictures.






In this settings i have established connection but when i use read holding registes it reads the registers of the server and not the uptime. When i use write it writes everything i have puted in the register count/values.

This topic was automatically closed after 15 days. New replies are no longer allowed.