Beckhoff_MODBUS-RTU485

automat_plc

Member
Join Date
Mar 2011
Location
america/europe
Posts
14
Hi,

i am new in Beckhoff products(PLC) and MODBUS so please help ...

i have Beckhoff PLC BX8000-0000 with KL6041-RS422(485),24Byte serial inetrface.

This serial interface is connected with Modbus device NOVUS N2000(slave address=2, MODBUS RTU 485 ) by terminals:

KL6041: N2000:

TxD+ to D1(between D1 and D0 = 120ohms tremination resistor)
TxD- to D0
GND to GND

In attachment You can find my source code(TwinCat), i want to read first 10 registers from slave device to Beckhoff PLC.

I don't have software KS2000 for interface configuration, so i configured serial interface in source code by function block KL6configuration and i also used
function block ModbusRtuMaster_KL6x22B.ReadRegs for reading registers from slave.

But in function block KL6configuration i allways get error : COMERROR_TIMEOUT .

In function block ModbusRtuMaster_KL6x22B.ReadRegs i have no error !!

Please help: how to configure KL6041 serial interface to works like RS485 and also works without errors


Thank You very much,

Best regrds!!

P.S. please note:
Modbus device NOVUS N2000 ... all parametrs are O.K., and works fine with other device on the same parameters!!
 

Similar Topics

I am using a Beckhoff PLC and trying to convert a REAL to 2 WORDS to send over Modbus. Does anyone know how to do this? Also how would I convert...
Replies
5
Views
790
I'm getting no response from a device I'm trying to communicate to with a Beckhoff IPC. I'm not sure why it's not working. Attached are pictures...
Replies
0
Views
620
Has anyone had any experience using MODBUS/TCP with Beckhoff controllers? Specifically on TC3? I am using a CX8190 to communicate with an epson...
Replies
4
Views
2,744
Hello Long time lurker. I am flailing around trying to figure out how to implement MODBUS TCP on a W2000 IPC that controls one of my company's...
Replies
10
Views
5,868
Hi, I've been struggling with this for the past two weeks now. As part of a bigger school project, I've been tasked with setting up several...
Replies
0
Views
3,792
Back
Top Bottom