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 - 20
; 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.186677)
X(0.002033):(0.217247)
X(0.004402):(0.253121)
X(0.007162):(0.294910)
X(0.010377):(0.343589)
X(0.014124):(0.400289)
X(0.018488):(0.466327)
X(0.023572):(0.543233)
X(0.029495):(0.632789)
X(0.036394):(0.737061)
X(0.044429):(0.858452)
X(0.053787):(0.999749)
X(0.064685):(1.164186)
X(0.077375):(1.355510)
X(0.092149):(1.578063)
X(0.109348):(1.836865)
X(0.129365):(2.137719)
X(0.152659):(2.487320)
X(0.179758):(2.893380)
X(0.211278):(3.364767)
X(0.247926):(3.911655)
X(0.290523):(4.545688)
X(0.340013):(5.280150)
X(0.397485):(6.130146)
X(0.464190):(7.112780)
X(0.541560):(8.247331)
X(0.631238):(9.555410)
X(0.735093):(11.061089)
X(0.855253):(12.790981)
X(0.994124):(14.774257)
X(1.154424):(17.042565)
X(1.339197):(19.629838)
X(1.551845):(22.571945)
X(1.796135):(25.906180)
X(2.076218):(29.670538)
X(2.396627):(33.902785)
X(2.762273):(38.639306)
X(3.178420):(43.913742)
X(3.650650):(49.755441)
X(4.184818):(56.187756)
X(4.786972):(63.226246)
X(5.463275):(70.876804)
X(6.219891):(79.133783)
X(7.062861):(87.978125)
X(7.997962):(97.375557)
X(9.030540):(107.274913)
X(10.165333):(117.606715)
X(11.406282):(128.282209)
X(12.756337):(139.193135)
X(14.217255):(150.212546)
X(15.789431):(161.196914)
X(17.471737):(171.989641)
X(19.261421):(182.425833)
X(21.154046):(192.337969)
X(23.143495):(201.561903)
X(25.222032):(209.942577)
X(27.380425):(217.338905)
X(29.608100):(223.627501)
X(31.893335):(228.705142)
X(34.223472):(232.490101)
X(36.585140):(234.922634)
X(38.964470):(235.964968)
X(41.347322):(235.601109)
X(43.719502):(233.836715)
X(46.066982):(230.699138)
X(48.376117):(226.237588)
X(50.633871):(220.523268)
X(52.828033):(213.649157)
X(54.947440):(205.729128)
X(56.982174):(196.896052)
X(58.923741):(187.298695)
X(60.765213):(177.097371)
X(62.501317):(166.458588)
X(64.128467):(155.549117)
X(65.644741):(144.530106)
X(67.049792):(133.551821)
X(68.344721):(122.749494)
X(69.531906):(112.240546)
X(70.614816):(102.123167)
X(71.597818):(92.476075)
X(72.485974):(83.359155)
X(73.284866):(74.814687)
X(74.000421):(66.868909)
X(74.638756):(59.533776)
X(75.206047):(52.808793)
X(75.708410):(46.682893)
X(76.151806):(41.136310)
X(76.541957):(36.142421)
X(76.884292):(31.669494)
X(77.183899):(27.682319)
X(77.445502):(24.143666)
X(77.673441):(21.015537)
X(77.871674):(18.260210)
X(78.043782):(15.841058)
X(78.192987):(13.723161)
X(78.322164):(11.873734)
X(78.433873):(10.262390)
X(78.530377):(8.861271)
X(78.613671):(7.645080)
X(78.685507):(6.591023)
X(78.747420):(5.678705)
X(78.800748):(4.889986)
X(78.846659):(4.208812)
X(78.886167):(3.621034)
X(78.920151):(3.114232)
X(78.949374):(2.677539)
X(78.974496):(2.301471)
X(78.996087):(1.977770)
X(79.014640):(1.699262)
X(79.030578):(1.459725)
X(79.044269):(1.253772)
X(79.056028):(1.076741)
X(79.066126):(0.924606)
X(79.074796):(0.793893)
X(79.082241):(0.681605)
X(79.088632):(0.585158)
X(79.094119):(0.502329)
X(79.098829):(0.431202)
X(79.102872):(0.370131)
X(79.106342):(0.317697)
X(79.109321):(0.272682)
X(79.111877):(0.234039)
X(79.114072):(0.200868)
X(79.115955):(0.172394)
X(79.117571):(0.147954)
X(79.118958):(0.126977)
X(79.120149):(0.108973)
X(79.121170):(0.093521)
DWELL15000 ; dwell time in ms
LINEAR
TA100
TS0
TM1000
; Comment below to prevent paddles moving back to zero after dwelling
X0
CLOSE
CLOSE