adccommunitymod (AutomationDirect) asked a question.

240 port 2 setup w/ladder logic?

Created Date: March 18,2004

Created By: elevmike

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

We use the bottom port of the 240 cpu to communicate via modem. I want to set the port 2 paramiters via ladder logic rather than directsoft. On Page 3-41 of the manual V7632 shows how to set the baud rate, and time out, but not Parity, and Stop Bits etc?? My desired settings are: Parity None; Protocal Hex; Baud Rate 9600. Thanks Mike.


  • adccommunitymod (AutomationDirect)

    Created Date: March 18,2004

    Created by: elevmike

    We use the bottom port of the 240 cpu to communicate via modem. I want to set the port 2 paramiters via ladder logic rather than directsoft. On Page 3-41 of the manual V7632 shows how to set the baud rate, and time out, but not Parity, and Stop Bits etc??

    My desired settings are: Parity None; Protocal Hex; Baud Rate 9600.

    Thanks Mike.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: March 18,2004

    Created by: bcarlton

    Check out the 'Port 2 Parameters ' thread in the 'Communication ' area. It may provide the info you need.

  • adccommunitymod (AutomationDirect)

    Created Date: March 18,2004

    Created by: RHanrahan

    I thought of that at first because I was involved with it but that thread applies to the 250,260,350,450, and 06. After looking into it, it appears that this is not possible in the 240. I am hoping franji or someone thru Techguy will prove me wrong for Mikes sake.

  • adccommunitymod (AutomationDirect)

    Created Date: March 18,2004

    Created by: elevmike

    That's exactly correct. I check out the link and it says nothing about the 240 cpu. V7632 Sets up the baud rate & time delay, but not protocal, and mode. There has to be a memory regester for these other settings. it just seems to be a secerit.

    I'm attempting to make the setup a turnkey operation. Just load the program and your done! Issues Im trying to setup via programming include Port 2, and Retenitive Ranges.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: March 18,2004

    Created by: AndyT

    Our Koyo engineering rep will be back on site tomorrow and we will get you a answer to these questions.

    Andy

  • adccommunitymod (AutomationDirect)

    Created Date: March 19,2004

    Created by: Tech Guy

    Dear Mike,

    We have investigated on this issue. Unfortunately, we found out we can only change the baud rate through V-memory. The station#, parity and protocol are set in the scratchpad that user program can not access.

    Sincerely,

    ADC tech support

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: March 24,2004

    Created by: ericn

    Originally posted by me:

    I like the 240's built-in adjustable pots

    I just though of something related to this. How about a 05/06 option module with say, 4 to 8 analog pots on the front? On simple machines, I don't always include an operator interface, so an alternative way to adjust a few values would be VERY handy!

    Just an idea... http://forum1.automationdirect.com/board/wink.gif

    -Eric

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: March 24,2004

    Created by: elevmike

    Eric,

    I'm not sure if this will help you but on CPUs without pots I use a spare input to provide user adjustable timers, or counters etc. Mind you this wont privide a high degree of accuracy but if + or - .5 sec or so wont effect your application much (like motor protection time out, etc) you may be able to get away with it.

    Anyway, an otherwise unsued timer would be started by the input. on each scan while the input is on the value of the timer is loaded into a Vmem. The Vmem would be the refremce value for the "user adjustabe timer ". Wala.. the "user adjustable timer is set for the amount of time that the "adjustment input " is held on.

    Adjusting counters would work the same way but you would pulse the input etc..

    If your interested in sample code let me know and I'll email it to you..

    Mike.

    Expand Post