Author Topic: Structured Text POUs vs. CCPs  (Read 5586 times)

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 265
  • Karma: +20/-0
Structured Text POUs vs. CCPs
« on: October 25, 2013, 07:59:08 PM »
I haven't yet used GUIDE (training next month), so I don't know the extent of the seemingly new structured text POU functionality.  Does it largely replace the need for injecting in custom C/C++ libraries via CCPs?

Thanks,

Tom
Mechanical Engineer
Hydra-Power Systems - Distributor - Pacific Northwest

Offline Daniel

  • PLUS+1 Expert
  • ****
  • Posts: 74
  • Karma: +6/-0
Re: Structured Text POUs vs. CCPs
« Reply #1 on: October 31, 2013, 02:11:11 PM »
Hi Tom,

Yes and no; while there is some overlap between the two features, their main purposes are different:
  • The main purpose of being able to import C libraries via CCPs is to be able to reuse legacy C code.
  • The main purpose of being able to write Structured Text code in GUIDE is to allow use of industry standard code for PLC programming.
Currently, if there is a need for text based code in GUIDE, then Structured Text is the preferred and easiest method to use.

Best regards
Daniel
PLUS+1® HelpDesk
PLUS+1® Help Desk Team