Trouble using a DirectLogic 05 as a Modbus RTU slave

theColonel26

Lifetime Supporting Member
Join Date
Feb 2014
Location
West Michigan
Posts
785
I'm trying to use a DirectLogic 05 as a Modbus RTU slave and control it over RS-232 using a .Net Program. I am using the nmodbus4 library.

The trouble is I can't get them to communicate. When ever I send it a command the serial port just times out. I tried this using Python and the minimalmodbus library with the same result.

Is there something I need to configure out the PLC to allow it to be used as a slave? the modbus is already enabled on the port. I can't find anything else that I need to configure in the manual.
 
Thanks I did, and it seems to definitely be an issue with the PLC. Still haven't figured it out yet but at least I know it's not my code.
 
I figured it out. I was using parity none instead of parity odd.

also those DL 05 have to have a program written to them with a END block in it. Other wise they don't cycle, they just sit there.

ETA:

Yup yup I posted the solution over there too.
 
Last edited:

Similar Topics

So long story short I'm frustrated at work because I can't get my timer to actually time in the FB's. I have been using the SB4 blocks in my FB...
Replies
12
Views
3,115
I have an Allen Bradley Kinetix 3 (several actually) that I am attempting to get going. I am trying to configure them over the 2090-CCMPCDS-23AA03...
Replies
0
Views
1,553
I recently have not been able to connect to three seperate MicroLogixs using a USB to serial adapter. I have connected to them before and even...
Replies
11
Views
4,023
I currently am trying to communicate to 2 drives through Profibus. The GOD file for the drive has been successfully installed in the x-gateway...
Replies
7
Views
4,105
So the laptop I was using to troubleshoot our system was on the way out and now I have all the software installed on a newer machine. Moved my...
Replies
1
Views
1,469
Back
Top Bottom