📄 setup11.txt
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body>
<pre>rem OEM023AT Machine data file for:
rem Last date updated:
rem Updated by:
rem The case of letters is ignored.
rem The purpose of this file is to specify keywords and their parameters.
rem A keyword is specified on one line and its parameter on the next line,
rem in the format shown below:
rem Keyword
rem <parameter>
rem Each keyword must be followed on the VERY NEXT LINE by the required
rem parameter. UNPREDICTABLE OPERATION CAN OCCUR IF THE PARAMETER IS OMITTED.
rem Keywords are found on lines by themselves. For example,
rem IndexerAddress is a keyword, the number below it is its
rem parameter.
rem Comments are preceded by the word rem. Rem statements are ignored
rem by the program
rem***********************************************************************
rem***********************************************************************
rem Memory address of indexer in decimal.
rem The address set here must match the switch setting on the PC23.
rem Factory default is 768 (300 hex).
IndexerAddress
768
rem***********************************************************************
rem***********************************************************************
rem Maximum output step rate (PulseRate) of the PC23.
rem Refer to the PC23 manual for legal values.
rem Changing this value changes the indexer's velocity ranges.
rem This number is used to confirm that maximum velocities are within
rem allowable limits.
PulseRate
200000
rem***********************************************************************
rem***********************************************************************
rem Update interval in milliseconds. This number determines how
rem often the position of the PC23 is updated. The lower the number
rem the more precise move profiles will be, but at the expense of
rem making the intermediate file larger.
rem Update interval must be an even integer from 2 to 50. This value
rem affects the maximum feedrate around arcs and along very short lines.
UpdateInterval
8
rem***********************************************************************
rem***********************************************************************
rem Active axes.
rem The following keywords specify the axes that are recognized and
rem for which motion will be generated.
rem If XYInterpolate is specified, the 'Z' address is not recognized
rem and any motion for Axis 3 must be accomplished using literal
rem PC23 commands. See the G Code manual for more information.
rem You may delete all references to Z parameters in the rest of this
rem file if XYInterpolate is specified.
rem If XYZInterpolate is specified, the Z axis is controllable using
rem G Codes. Thus, the Z axis may be included in straight line
rem (interpolated) moves. The Z axis may not be included in arcs.
rem Interpolate X, Y, and Z axes.
rem If neither of the above keywords are found, the program defaults to
rem XYZInterpolate.
rem Neither keyword requires a parameter.
XYInterpolate
rem***********************************************************************
rem***********************************************************************
rem User units for the three axes.
rem The numbers specified below are multiplied times the distance
rem and feedrates found in the G Code file. For example, if you are
rem using a motor with a resolution of 25,000 steps per revolution
rem one pitch lead screw, it takes 25,000 motor steps to move the load
rem one inch.
rem Use a negative number if clockwise results motion in the negative
rem direction.
rem For circular interpolation, the absolute (unsigned) values of X and Y
rem steps per unit must be the same.
XStepsPerInputUnit
100
YStepsPerInputUnit
100
ZStepsPerInputUnit
100
rem***********************************************************************
rem***********************************************************************
rem Select minutes or seconds for feedrates and other time units.
rem The following keywords specify whether velocities and
rem accelerations are in minutes or seconds (RPM or RPS).
rem Minutes, or the omission of both keywords, makes all time units
rem minutes. Seconds makes all time units seconds.
rem This also affects the time units of the feedrates in the G Code file.
minutes
rem***********************************************************************
rem***********************************************************************
rem Set maximum velocities.
rem These keywords allow the preprocessor to check to ensure that
rem maximum velocities are not exceeded. Velocities specified that
rem would make an axis go above these rates are reset to the maximum.
rem The following velocities are in units/minute if time units are
rem minutes. They are in seconds if time units are seconds. See above.
XMaxVelocity
1200
YMaxVelocity
1200
ZMaxVelocity
20
rem***********************************************************************
rem***********************************************************************
rem Set maximum accelerations.
rem These keywords allow the preprocessor to check to ensure that
rem maximum accelerations are not exceeded. Accelerations specified
rem that would make an axis go above these rates are reset to the
rem maximum.
rem The following accelerations are in units/minute if time units are
rem minutes. They are in seconds if time units are seconds. See above.
XMaxAcceleration
100000
YMaxAcceleration
100000
ZMaxAcceleration
1
rem***********************************************************************
rem***********************************************************************
rem Set default feedrates.
rem These keywords allow the preprocessor to insert a feedrate if none
rem is specified. F commands override this setting.
rem The following feedrates are in units/minute if time units are
rem minutes. They are in seconds if time units are seconds. See above.
XYDefaultFeedRate
1200
ZDefaultFeedRate
1200
rem***********************************************************************
rem***********************************************************************
rem The following value determines the maximum error acceptable when
rem following an arc (in user units).
MaxDeviationFromArc
0.01
rem***********************************************************************
rem***********************************************************************
rem The following statement causes a wait for a particular combination of
rem trigger inputs.
rem For example, to define M Code 41 as wait for Trigger 5
rem to go high and Trigger 6 to go low, while ignoring other
rem triggers, you would write(without the rems)
rem WaitTrigger
rem 41
rem XXXX01
rem Where, X = don't care, 1 = wait for trigger to go low,
rem 0 (zero) = wait for trigger to high.
rem the first character is for Trigger 1, the second for Trigger 2, etc.
rem WaitTrigger
rem 41
rem XXXX01
rem WaitTrigger
rem 42
rem XXXX10
rem***********************************************************************
rem***********************************************************************
rem SetOutput sets the programmable outputs on(high) or off(low).
rem For example, to set Output 5 off(low) and Output 6 on(high) using
rem M Code 51, you would write (without the rems):
rem SetOutput
rem 51
rem XXXX01
rem where X = don't change, 0 (zero) = turn off, 1 = turn on.
SetOutput
0
X000XX
SetOutput
1
X001XX
SetOutput
2
X010XX
SetOutput
3
X011XX
SetOutput
4
X100XX
SetOutput
5
X101XX
SetOutput
6
X110XX
SetOutput
7
X111XX
SetOutput
8
1XXXXX
SetOutput
9
0XXXXX
SetOutput
11
X11111
SetOutput
22
X00000
rem***********************************************************************
rem***********************************************************************
rem Set the maximum positioning range for all three axes.
rem The high limit is the position, in user units, the furthest
rem the motor is allowed to go in the positive input direction
rem from the machine's position 0, 0, 0 point.
rem Do not be concerned with whether clockwise is negative or positive.
rem This is taken care of by the StepsPerInputUnit keyword. See above.
rem For axes that require no limit in positioning range, simply put rem
rem statements in front of the keywords and parameters so that the
rem preprocessor will ignore them.
XHighLimit
2000
XLowLimit
-1000
YHighLimit
2000
YLowLimit
-1000
ZHighLimit
2000
ZLowLimit
-1000
rem***********************************************************************
rem***********************************************************************
rem Specify the homing parameters used with the G28 command.
rem The parameter required here is the literal PC23 command you want
rem sent to the PC23 indexer.
rem The format is aGHsv where a is the axis (1-3), s is the direction
rem to first travel in search of home (+ or -), and v is the velocity to
rem travel in revs/sec. For example, 1GH+10 2GH+10 sends both Axis
rem 1 and Axis 2 home in the clockwise direction at 10 revs/sec.
rem The PC23's go home sequence allows you to bounce off of end-of-travel
rem limits, if used. If you wish to take advantage of this feature, be sure
rem you have previously enabled limits using the LD0 command in the
rem literal commands section as illustrated below (refer to keyword:
rem IndexerCommand). If you want a go home at the beginning of
rem every program, put it in the section provided for literal commands also.
GoHome
1GH-0.05 2GH-0.05
rem To make the Z axis go home, add 3GH-5 to the above parameter line.
rem **************************************************************************
rem **************************************************************************
rem Define literal commands to be sent to the PC23 each time the
rem postprocessor is run.
rem You may specify up to 10 lines of literal PC23 commands that are sent
rem to the indexer immediately after reset. Each line may be up to 80
rem characters. Use the keyword IndexerCommand followed by the PC23
rem command on the next line. Repeat this for each line needed.
rem Typical use of these commands would be:
rem 1. To turn on limits, e.g., 1LD0
rem 2. To set the go home acceleration, e.g., 1GA10
rem 3. Set up encoder parameters
rem 4. Execute a go home when the postprocessor begins running.
rem all units (distance, time, velocity, and acceleration) are as specified
rem in the PC23 manual for each command. Refer to the PC23 manual for
rem complete command descriptions.
rem The following example enables the end-of-travel limits in the
rem PC23, therefor the limit switches must be connected to enable
rem motor motion. If you do not need end-of-travel limits, change the
rem parameter below to 1LD3 2LD3 3LD3.
IndexerCommand
1LD3 2LD3 3LD3
IndexerCommand
1A5 2A5
rem***********************************************************************
rem***********************************************************************
$2300
rem This is the end of the machine data file, setup1.fil for t.exe
rem 7/10/1997 1997,10,7 zf
EndOfFile
</pre>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -