News:

  • June 09, 2026, 02:49:59 AM

Login with username, password and session length

Author Topic: CTRIO WorkBench and DSLaunch 5  (Read 21300 times)

mikep

  • Jr. Member
  • **
  • Posts: 17
CTRIO WorkBench and DSLaunch 5
« on: August 14, 2008, 12:48:13 PM »
I am very very new to PLC Programming.
I purchased from Automation Direct the DL06, HO-CTRIO, STP-DRV-4035 Driver and the TRD-H100VD Encoder, already had a stepper motor.
I have been practicing programs from some examples I downloaded from Automation Direct, have been practicing using CTRIO WorkBench and DSLaunch 5.
Been having trouble seeing the interaction between them.
If anybody can help me it will be greatly appreciated.

Thank You

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 264
    • Host Engineering, Inc.
Re: CTRIO WorkBench and DSLaunch 5
« Reply #1 on: August 14, 2008, 03:51:37 PM »
in a nutshell, ctrio workbench will let you do configure and exercise the ctrio independant of the plc's cpu. it's real coolness lies in its ability to interact with the ctrio module (and the attached stepper motor) without having to write any ladder logic. this way you can prove the ctrio setup and wiring is correct before you write ladder logic to control the ctrio.

as for writing the ladder logic, i'd highly recommend you use the ctrio iboxes instead of the 'straight ladder logic' examples, simply because the thing most folks get wrong is the interlocking logic required to control the interraction of the plc and the ctrio module. the ctrio iboxes have the interlocking logic internally, so you don't have to worry about, BUT, you must be careful to use only iboxes for ctrio control. if you try to mix 'regular' ladder logic control and ibox control of the ctrio module, you will get it messed up --- guaranteed.

so my advice is to use ctrio workbench to get the ctrio -to- stepper motor side configured and running the way you want it, then use directsoft to write the ladder program (using iboxes) to write the control program.
Good design costs a lot. Bad design costs even more.

mikep

  • Jr. Member
  • **
  • Posts: 17
Re: CTRIO WorkBench and DSLaunch 5
« Reply #2 on: August 14, 2008, 05:06:54 PM »
I just started looking at the I boxes after my post.
I did not have a chance to really get too involved with them as of yet.
Is there any place to get examples of how to use them?

Thank You Very Much

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 264
    • Host Engineering, Inc.
Re: CTRIO WorkBench and DSLaunch 5
« Reply #3 on: August 15, 2008, 09:53:47 AM »
there are a few examples that ship with directsoft v5 in the \directsoft5\projects\examples folder - they're named things like ctrXXXX_ibox.prj.

which of the ctrio profile types you'll use is determined by how you want to your application to run, there's run-to-limit, run to position, dynamic position, etc. have you determined which profile type you need to use?
Good design costs a lot. Bad design costs even more.