rs485 communication issues

muhammad.o

Member
Join Date
Feb 2016
Location
Liverpool
Posts
2
Hi,

I am trying to get data from a digital indicator to Siemens PLC S7-200 series(two port) using modbus 485. The indicator supports modbus 485 communication. While purchasing the indicator, i verified communication using modbus tools for windows by connecting it to PC using 485 to 282 converter and the communication was perfect. Now when i am trying to get data from the indicator(register=40011) in my ladder using sample programs from Siemens forum, i receive 0 as value whereas no communication error is identified. I've grounded the shield as well to avoid any noise that might create disturbance. Strangely the the communication light also blinks when connected to PLC. Any help and suggestions would be highly appreciated.

Thank you.
 
I’m not sure your issues is related to the 485. In your addressing are you using a base 0 or a base 1 scheme? PLC’s typically use a base1 meaning that the addressing starts with 1 not 0. It could be that if your PLC is configured to poll address 40011 in reality it’s polling 40010 which, depending on what it is, could be responding with 0. Try polling address 40012.
 
I’m not sure your issues is related to the 485. In your addressing are you using a base 0 or a base 1 scheme? PLC’s typically use a base1 meaning that the addressing starts with 1 not 0. It could be that if your PLC is configured to poll address 40011 in reality it’s polling 40010 which, depending on what it is, could be responding with 0. Try polling address 40012.
Hi Firejo,

Many thanks for your reply, yes you were right my problem was not with 485, i just switched to another power supply and it worked, strange but that was the solution to my problem :)
 

Similar Topics

Hi all. I'm trying to create a comunication script for a Schneider M340 plc. I've to talk to a Serial converter ( 485 -> 232 ) that talk with a...
Replies
2
Views
2,500
Good evening guys, Please, I need help. This is my first time working with RS485 comm and I dont know what to do. Please, see attached files. I...
Replies
0
Views
411
Hello I have 1 loadcell, 1 loadcell transmitter(rs485(RX, TX) communication) a s7-1200 plc and a cb1241 rs485 module. Now i need to write a code...
Replies
55
Views
36,428
Hello Everyone, I am looking for communication with delta PLC and barcode scanner over RS485 Please help.. The ladder program will be helpful...
Replies
1
Views
1,865
Hi, Please kindly assist I am new to RS485. I have Emmerson flow computer with RS485 connections. I like to read flow value to HTML file. Is it...
Replies
1
Views
1,702
Back
Top Bottom