KS40 Modbus Controller

Rafal Walczak

Member
Join Date
Nov 2008
Location
Poland
Posts
43
Hello everyone
Im trying to communicate with KS40 controller (made by PMA) using my PC--->RS232--->ADAM 232/485 converter--->RS485--->KS40
I have a small program for modbus and sending Modbus frames to KS40 but no response. I lost all day to figureout what's going on but no success except one time when 2 minutes I had responses. I didn't know why.
Any ideas?
Greatings Rafal
 
Is your PC program the Modbus master and the KS40 the Modbus slave?

A PC serial port gets dedicated to the program that calls it. Presumably your PC program doesn't go to sleep and release the serial port.

If you got a comm connection to work at all (2 minutes worth), then the basic comm settings, baud rate, word size, parity are correct and the A & B connection for the RS-485 link is correct.

Which leaves the PC program interacting with the KS40.

Assuming the KS40 is the Modbus slave, I'd try to talk to it using a Modbus master utility PC program like Simply Modbus or Modscan32, using the 232/485 converter to confirm the performance of the KS40. If the KS40 checks out that way, then something is going on in your PC program.
 
Thanks for help danw
I use similar program to Modscan32. To be sure I installed Modscan32 but the same situation. KS40 is slave. All I got is timeout. Battle continue.
 
Problem solved. If you have KS40 controller and you are plugged with RJ45 cable (for example to load configuration using BlueControl) then modbus interface doesn't work. This is stupid but its real.
 

Similar Topics

Hello Everyone, I am using a raC_Opr_NetModbusTCPClient AOI module, as below,. So, I need some assistance to restrict in reducing the poling...
Replies
2
Views
134
I want to communicate my Q series PLC with Factory IO using GX works 2 software, I want to use modbus as server and the ips are as follows plc...
Replies
0
Views
95
Hi folks, I have a Controllogix in communication with a zigbee coordinator using Logix AIO for modbus tcp. This zigbee coordinator have 3 slaves...
Replies
10
Views
363
Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
10
Views
139
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
305
Back
Top Bottom