Jump to content

koyo direct 205


Recommended Posts

Guest Guest_larry
Posted
Hi everyone, I write a program to talk to the Direct205 PLC via Modbus, the program works fine except for certain PLC slave addresses. For example I set the PLC address to 0x0A(10) on the secondary port and send the following command to the PLC(writing 506 to holding register at 401051): 0A 06 04 1a 01 fa ab 51 I get the response : 0A 86 01 F2 62 It seems that I can't write( to this address with number 256-511), If I change the number below 256 or higher than 511, then it works fine, it also works if I change the PLC id to 0x0b(11). At first I thought maybe the CRC were wrong, but if that's the case I wouldn't get any response at all. Anyway I just couldn't figure out what went wrong, if you could give me some help, it will be great. Thanks, Larry

Posted
Just an off the wall observation here. In the range mentioned, 256-511, bit 8 (binary value 256) is on. Outside this range the bit is off. Maybe this has an effect on type of register you're sending to or the comm. format.
Guest Guest_guest
Posted
Hi, Thanks for the suggestion. I am quite new to set up the DL205 PLC, is there a command or trick to set the PLC back to the factory default? I just want to see whether this problem is related to the specific settings I have or something else. Can someone else who have DL205 PLC give it a try and let me know the result? Thx, Larry

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...