News:

  • October 03, 2025, 07:19:56 PM

Login with username, password and session length

Author Topic: DO-DCM and directsoft5.1  (Read 8380 times)

Kyle L

  • Newbie
  • *
  • Posts: 3
DO-DCM and directsoft5.1
« on: April 03, 2007, 10:59:59 PM »
Newbie here,
Why is the AIN instruction limited to 128 bytes of input?
I have another device that sends out 244 bytes of data in one write to the comm port.
Is there a way I can read all of the data by using multiple AIN intructions nested together?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: DO-DCM and directsoft5.1
« Reply #1 on: April 04, 2007, 09:04:13 AM »
That is a PLC limitation.  The most amount of data it can transfer in a single request across the backplane is 128 bytes.

I don't think you will be able to chain multiple AINs together because by the time your ladder logic recognizes it has received 128 bytes and then you start another AIN, you will have missed a few characters.   :-\

Someone on Automation Direct's forum may know more about the capabilities of the AIN instruction and give you a better answer.  http://forum1.automationdirect.com

Kyle L

  • Newbie
  • *
  • Posts: 3
Re: DO-DCM and directsoft5.1
« Reply #2 on: April 04, 2007, 12:53:39 PM »
Do you think it would be better to use the FO-CP128 Basic Coprocessor Module rather than the DO-DCM module?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: DO-DCM and directsoft5.1
« Reply #3 on: April 04, 2007, 01:02:03 PM »
Yes!  That should definitely do the trick, but you gotta program it.  It's made by FACTS Engineering - you can probably check Automation Direct's forum for help with that! :D

Kyle L

  • Newbie
  • *
  • Posts: 3
Re: DO-DCM and directsoft5.1
« Reply #4 on: April 04, 2007, 02:15:28 PM »
 8)Thanks for your help.It is always appreciated