News:

  • June 09, 2026, 05:33:40 AM

Login with username, password and session length

Author Topic: nEW TO plc CODE  (Read 12894 times)

SLF

  • Newbie
  • *
  • Posts: 1
nEW TO plc CODE
« on: January 06, 2010, 04:54:21 PM »
I am a new user to PLC code. We purchashed Direct 5. I need to write a simple program to take a pluse single in and out it to 30 analog out on a direct logic 205 w d2-260 micro. Anyone have any sample programs?
Steve

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: nEW TO plc CODE
« Reply #1 on: January 07, 2010, 10:19:41 AM »
There probably won't be any sample programs that will be that specific to be of much help to you. But it sounds a bit odd that you want to take pulse in and somehow translated that to 30 analog outputs. Certainly more details on the nature of your pulse input and exactly what you are wanting to do with it.
There are two types of people in the world; those that can extrapolate from incomplete data sets.

milldrone

  • Full Member
  • ***
  • Posts: 48
  • I'm changing my attitude to thumbs up
Re: nEW TO plc CODE
« Reply #2 on: January 07, 2010, 12:15:30 PM »
I need to write a simple program to take a pluse single in and out it to 30 analog out

Just a shot in the dark. Do you suppose he means "Take a single PWM pulse train input and scale that to 30 analog outputs"?
Vaughn

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: nEW TO plc CODE
« Reply #3 on: January 07, 2010, 12:24:30 PM »
aND yOUR cAPS lOCK kEY iS bROKEN

Let's call it lemac case.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.