Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Avatar for JFM-2024-1227.
Download
3482 views
unlisted
ubuntu2204
; WAVE TYPE - 3rd Order Solitary Wave
; GRAVITATION CONSTANT - 9810
; WATER DEPTH - 50
; TARGET AMPLITUDE - 15
; FILE B
; GENERATION DATE - May-19-2023
;
CLOSE
DELETE GATHER
DELETE TRACE
; assign motors and scaling to coordinate system
&2 A
; in this case, all motors have the same motion, assign all to X
; to prevent motor motion, simply comment out the assigment
; 1 inch is 50,000 counts therefore 1mm is 1968.50393700787 counts
; the units of X,Y,Z,U,V,W,A,B depend on the scaling defined here
#9->1968.503937X
#10->1968.503937X
#11->1968.503937X
#12->1968.503937X
#13->1968.503937X
#14->1968.503937X
#15->1968.503937X
#16->1968.503937X
; redefine motion program 3 
OPEN PROG 3 CLEAR
P997=10
HOMEZ9..16
ABS
LINEAR
TS0
TA1000
TM5000
DWELL5000
PVT(P997)
; define motion like X(position):(velocity)
X(0.000000):(0.169237)
X(0.001823):(0.192790)
X(0.003903):(0.219816)
X(0.006273):(0.250626)
X(0.008976):(0.285749)
X(0.012058):(0.325786)
X(0.015571):(0.371423)
X(0.019576):(0.423441)
X(0.024142):(0.482727)
X(0.029348):(0.550293)
X(0.035282):(0.627287)
X(0.042046):(0.715018)
X(0.049755):(0.814971)
X(0.058543):(0.928837)
X(0.068557):(1.058532)
X(0.079970):(1.206235)
X(0.092974):(1.374413)
X(0.107790):(1.565868)
X(0.124670):(1.783768)
X(0.143897):(2.031701)
X(0.165794):(2.313721)
X(0.190729):(2.634402)
X(0.219117):(2.998903)
X(0.251430):(3.413026)
X(0.288199):(3.883291)
X(0.330028):(4.417004)
X(0.377598):(5.022334)
X(0.431677):(5.708388)
X(0.493129):(6.485292)
X(0.562928):(7.364255)
X(0.642165):(8.357640)
X(0.732062):(9.479020)
X(0.833985):(10.743204)
X(0.949455):(12.166262)
X(1.080163):(13.765496)
X(1.227979):(15.559379)
X(1.394966):(17.567447)
X(1.583388):(19.810115)
X(1.795720):(22.308431)
X(2.034650):(25.083738)
X(2.303082):(28.157246)
X(2.604131):(31.549497)
X(2.941115):(35.279734)
X(3.317534):(39.365164)
X(3.737051):(43.820125)
X(4.203455):(48.655177)
X(4.720618):(53.876129)
X(5.292443):(59.483039)
X(5.922803):(65.469216)
X(6.615461):(71.820264)
X(7.373998):(78.513220)
X(8.201713):(85.515837)
X(9.101534):(92.786071)
X(10.075913):(100.271845)
X(11.126725):(107.911142)
X(12.255172):(115.632497)
X(13.461693):(123.355923)
X(14.745878):(130.994294)
X(16.106411):(138.455145)
X(17.541025):(145.642830)
X(19.046481):(152.460920)
X(20.618569):(158.814714)
X(22.252146):(164.613701)
X(23.941183):(169.773837)
X(25.678842):(174.219549)
X(27.457573):(177.885377)
X(29.269219):(180.717253)
X(31.105137):(182.673436)
X(32.956328):(183.725143)
X(34.813569):(183.856935)
X(36.667545):(183.066903)
X(38.508993):(181.366692)
X(40.328832):(178.781353)
X(42.118299):(175.349020)
X(43.869083):(171.120347)
X(45.573439):(166.157666)
X(47.224308):(160.533808)
X(48.815411):(154.330562)
X(50.341334):(147.636780)
X(51.797584):(140.546164)
X(53.180632):(133.154850)
X(54.487919):(125.558906)
X(55.717848):(117.851885)
X(56.869743):(110.122590)
X(57.943796):(102.453169)
X(58.940987):(94.917605)
X(59.862999):(87.580666)
X(60.712121):(80.497288)
X(61.491147):(73.712372)
X(62.203273):(67.260931)
X(62.852004):(61.168533)
X(63.441058):(55.451960)
X(63.974280):(50.120035)
X(64.455571):(45.174551)
X(64.888818):(40.611265)
X(65.277839):(36.420897)
X(65.626338):(32.590113)
X(65.937867):(29.102458)
X(66.215800):(25.939206)
X(66.463314):(23.080129)
X(66.683378):(20.504162)
X(66.878745):(18.189957)
X(67.051952):(16.116352)
X(67.205327):(14.262724)
X(67.340993):(12.609266)
X(67.460877):(11.137190)
X(67.566722):(9.828847)
X(67.660098):(8.667814)
X(67.742418):(7.638917)
X(67.814946):(6.728233)
X(67.878810):(5.923054)
X(67.935019):(5.211844)
X(67.984469):(4.584175)
X(68.027956):(4.030652)
X(68.066186):(3.542844)
X(68.099785):(3.113203)
X(68.129306):(2.734991)
X(68.155237):(2.402206)
X(68.178011):(2.109510)
X(68.198009):(1.852165)
X(68.215565):(1.625974)
X(68.230977):(1.427221)
X(68.244504):(1.252619)
X(68.256376):(1.099266)
X(68.266793):(0.964603)
X(68.275934):(0.846371)
X(68.283955):(0.742580)
X(68.290992):(0.651477)
X(68.297165):(0.571522)
X(68.302580):(0.501356)
X(68.307331):(0.439787)
X(68.311498):(0.385765)
X(68.315153):(0.338368)
X(68.318359):(0.296787)
X(68.321171):(0.260309)
X(68.323637):(0.228310)
X(68.325800):(0.200241)
X(68.327698):(0.175620)
X(68.329362):(0.154024)
X(68.330821):(0.135082)
X(68.332101):(0.118468)
X(68.333223):(0.103896)
X(68.334207):(0.091116)
X(68.335071):(0.079908)
X(68.335828):(0.070078)
DWELL15000 ; dwell time in ms
LINEAR
TA100
TS0
TM1000
; Comment below to prevent paddles moving back to zero after dwelling
X0
CLOSE
CLOSE