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

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
225
I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
5
Views
164
Dear All, i am trying to connect Danfoss inverter with s7 200 cpu 226.but microwin shows following error at DATA Ptr.i assigned different VB...
Replies
1
Views
48
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
222
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
256
Back
Top Bottom