Straton

From ArmadeusWiki
Revision as of 14:18, 24 June 2011 by FabienM (Talk | contribs) (Modify I/O profiles)

Jump to: navigation, search

Introductionn

Straton is a software PLC runtime developed by COPALP, used to develop under IEC61131 languages.

Straton runtime on ARMadeus

To use straton runtime under armadeus simply select it under menuconfig (make menuconfig):

Package Selection for the target  --->
	Armadeus specific tools/utilities  --->
	...
	[*] straton  IEC-61131-3 environment 
	...
	[*] straton_ios
	...

Straton runtime is not an open source software, to use it under ARMadeus System 3 options are available on straton IEC-61131-3 environment option:

  • straton_dev: If you have a VMTK license provided by COPALP select this option. You will have to set the code path directory under straton development directory option :
Package Selection for the target  --->
	Armadeus specific tools/utilities  --->
	...
	[*] straton  IEC-61131-3 environment 
	(/home/runtime) straton development directory
	[*] straton_ios
	...
  • straton_bin: If you have a runtime license provided by COPALP select this option. You will have to set the binary archive path under straton runtime path option :
Package Selection for the target  --->
	Armadeus specific tools/utilities  --->
	...
	[*] straton  IEC-61131-3 environment 
	(/home/runtime) straton runtime path 
	[*] straton_ios
	...
  • straton_demo: If you don't have any license and you just want to test it select this option. Demo runtime binary will be installed under rootfs automatically.


Straton Workbench on Windows

First download the workbench from COPALP website here : [1]

Then install it under your windows has copalp explain it.

To use ARMadeus Input/Output, you have to use a specific profile named armadeus.XL5 wich can be found in target/packages/straton_ios/. Copy this file on your windows system then import it under straton library.

straton library -> tools -> import

a simple program with Workbench

run the program

Modify I/O profiles

On apf27 and apf51 only a led and a button are present, it's possible to improve IO using straton_ios library. Ask fabien.marteau@armadeus.com to write this tutorial. FabienM 13:06, 24 June 2011 (UTC)