From eb5025ab3b33370ba27ff2433cac2ab8625fdc48 Mon Sep 17 00:00:00 2001 From: koennecke Date: Tue, 30 Jun 2009 06:45:26 +0000 Subject: [PATCH] - Driver test for phytron MCC-2 motor controller --- test/sicsstat.tcl | 15 +++++++++++++-- test/testini.tcl | 12 ++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/test/sicsstat.tcl b/test/sicsstat.tcl index e11cc276..9b122043 100644 --- a/test/sicsstat.tcl +++ b/test/sicsstat.tcl @@ -244,5 +244,16 @@ cone qscale 1 cone center unknown simidx sttlim 0.2 simidx anglim 0.5 -apple preset 10 -apple mode timer +alge targetposition 50 +alge sign 1 +alge softzero 0 +alge softlowerlim 40 +alge softupperlim 317 +alge fixed -1 +alge interruptmode 0 +alge precision 0.01 +alge accesscode 2 +alge failafter 3 +alge maxretry 3 +alge ignorefault 0 +alge movecount 10 diff --git a/test/testini.tcl b/test/testini.tcl index e8148d85..d5bee4e7 100644 --- a/test/testini.tcl +++ b/test/testini.tcl @@ -631,3 +631,15 @@ if {$hmhttp == 1} { applesct debug 0 apple init } + + +set phytron 0 +if {$phytron == 1} { +makesctcontroller phyto phytron psts234:3002 5 +#makesctcontroller phyto phytron localhost:8080 5 +phyto debug -1 + +source ../tcl/phytron.tcl + +phytron::make alge X phyto 40 317 +}