Macro Variable
Macro Variable
匯出日期:2024-03-24
修改日期:2024-02-27
机床产品/Machine Tool Products
–
Macro Variable.
Variable applied in MACRO can be separated into 3 categories, which are Local Variables (#1~#400), System
Variables (#1000~#31986) and Global Variables (@1~@165535). Rules of life cycle, reading, and writing are different
in each category, further details is given in chapters below.
–2
机床产品/Machine Tool Products
–
Macro Variable.
1 Global Variables
Number Description R/ Data
W Rule Type
@0 VACANT R -
@1000 System variables. User is forbidden to use this (version: 10.114.x/10.116.x) R Double
• Remarks: removed after version 10.118.56Z, 10.118.60T, 10.118.66M,
10.118.70G, 10.118.77, and changed to memorable variables (remained
after power off)
@60000~ Expansion global variables (go with No3813, only for CE system) R/W Double
@79999
Remarks • Unless being power-off, all global variables have no life cycle limit.
• If @1~@400 needs to be remained after power-off, please goes with No3811.
• DOS only supports R0~R7999, please be extra careful when applying the corresponding
global variables.
• For register corresponding to @, the available range is as below:
• R50~R80, R101~R511, R1024~R4095, R5800~R7999, R10000~R10999, R15000~R65535
Global Variables – 3
机床产品/Machine Tool Products
–
Macro Variable.
2 Local Variables
Number Descriptions R/W Rule Data Type
#0 VACANT R -
Remarks • The life cycle of local variables applied in MACRO is limited to the MACRO execution. After
execution is done, local variable returns to VACANT automatically.
• Subprogram can share local variables with main program, the life cycle of local variable also
ends when main program is completed.
• Please refer to "Argument Explanation for MACRO argument chart.
Local Variables – 4
机床产品/Machine Tool Products
–
Macro Variable.
3 System Variables
3.1 Modal Information in pre-interpreting(#1000~#1112)
Number Descriptions R/W Rule Data Type
System Variables – 5
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 6
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 7
机床产品/Machine Tool Products
–
Macro Variable.
#150 Quiet mode, system only records the program coordinate and does not organize the R/W Lon
0 motion plan g
0:OFF; 1:ON
#150 • Bit 0:Whether to run single-block execution control when PLC C40 is on R/W Lon
2 0:run single-block execution (default), return to 0 after system Reset g
1:don't run single block execution
• #1502 is valid only when Pr3221 is set to 0. Under other setting values of Pr3221,
in order to debug MACRO syntax, even if bit 0 of #1502 is set to 1, the single-step
execution function will still be executed.
• If single block execution function is not enable, step function of simulation is
not supported.
#150 • Bit 1:Whether feedhold and axis/spindle override take effect R/W Lon
4 0:Feedhold and axis/spindle ratio Override take effect (default value) g
1:Feedhold invalid during machining, axis/spindle override is fixed to 100%.
• Bit 2:Whether feedhold takes effect
0:Feedhold takes effect during machining (default value) .
1:Feedhold during machining is invalid.
• Bit 3:Whether rapid moving ratio override take effect
0:Rapid moving ratio override takes effect during machining (default value)
1:Rapid moving ratio fixed to 100% during machining.
• Bit 4:Whether cutting ratio override take effect
0:Cutting ratio override takes effect during machining (default value)
1:Cutting ratio fixed to 100% during machining.
• Bit 5:Whether spindle ratio override take effect
0:Spindle ratio override takes effect during machining (default value)
1:Spindle ratio fixed to 100% during machining.
Note 1: #1504.2~#1504.5 is valid after version 10.114.51
Note 2: If #1504 bit1, bit2 on, Reset is invalid.
If #1504 bit1, bit3~bit5 on, the MPG simulation will be inactive when running the
corresponding motion.( all / rapid move / cutting / spindle ).
System Variables – 8
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 9
机床产品/Machine Tool Products
–
Macro Variable.
Others Reserved
System Variables – 10
机床产品/Machine Tool Products
–
Macro Variable.
#160 Least Input Unit for Linear Axis, corresponds to Pr17 control precision(Least Input Unit, R Lon
0 LIU) g
#160 Least Input Unit for Rotary Axis, corresponds to Pr17 control precision(Least Input Unit, R Lon
2 LIU) g
System Variables – 11
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 12
机床产品/Machine Tool Products
–
Macro Variable.
#160 • bit 0:Is the skip source corresponding to G31 Skip Function triggered R Lon
8 0:Not triggered g
1:Already Triggered (after C62 ON, the axis starts decelerating to 0, and the 0th
bit of #1608 is 1 only when the axis completely decelerates to 0)
• bit 1~18:Is the skip source corresponding to each axis set by G31.10 triggered
while executing multi-axis multi-signal skip function? Bit 1~18 are
corresponding to the 1st~18th axis.
0:Not triggered
1:Already Triggered (after C62 ON, the axis starts decelerating to 0, and the bit
value of the corresponding axis is 1 only when the axis completely decelerates
to 0)
Command Skip function(G31) Multi-axis multi-signal skip
function(G31.10/G31.11)
Example:
There are axes: X, Y, Z1, Z2, Z3, Z4,the corresponding Pr21~ and Pr321~ are listed
below。
1. Use skip function(G31) and set Z1, Z2, Z3 corresponding to the skip source.
After skip source is triggered , each bit value of #1608 is:
bit 0:1
bit 1~18:0
Therefore, the value of #1608 is 20=1.
2. Use multi-axis multi-signal skip function(G31.10/G31.11) and set Z1, Z2, Z3 to be
axes corresponding to the different skip source.
After signals corresponding to Z1 and Z3 are triggered and Z1 and Z3 are
stopped, each bit value of #16-8 is:
bit 0:0
bit 1~18:
Command G31.10 & G31.11
System Variables – 13
机床产品/Machine Tool Products
–
Macro Variable.
Axis name(Pr321~) X Y Z1 Z2 Z3 Z4
bit 1 2 3 4 5 6
value 0 0 1 0 1 0
#161 Default workpiece coordinates number: G54: #1040=1; G55: #1040=2; G56: #1040=3… R/W Lon
2 g
#162 Real-time serial sequence number in program ( The default value is set to be 0. ) R Lon
0 g
#162 Real-time line number in program ( The default value is set to be 1 except for the R Lon
2 Graphical Simulation, whose default value is set to be 0. ) g
#162 Real-time valid spindle number ( The default value is set to be 0. ) R Lon
4 g
System Variables – 14
机床产品/Machine Tool Products
–
Macro Variable.
#13 Program coordinate of each axis at the end of the block R Dou
01~ (please note, if system reads #1301~#1308 immediately in the next line of G43, G44, G49, ble
G53, G54, G54 P_, G92.1, the program coordinate of last moving command block is
#13 obtained. It's suggested to apply #1341~#1358 or #1411~#1419 to get the current program
18 coordinate of each axis)
#13 Machine coordinate of each axis, which is not readable while moving. R Dou
21~ ble
#13
38
#13
58
System Variables – 15
机床产品/Machine Tool Products
–
Macro Variable.
#13 The program coordinate of each axis when the skip source corresponding to G31 or R Dou
61~ G31.10/G31.11 skip function is triggered. ble
For software versions 10.116.38M, 10.116.54K, 10.118.0F, 10.118.6 and after, the value is
#13
cleared to 0 if CNC just powered on, RESET, program ends, system executing G31, G31.11
78
or G28.1 again, to avoid showing the previous escape location before skip signal comes in
and causes misjudgment.
#13
98
#14
03
#14
06
#14 Workpiece coordinate of XYZABCUVW axes at the end of the block, the correspondence R Dou
11~ are: ble
1411(X); 1412(Y); 1413(Z)
#14 1414(A); 1415(B); 1416(C)
19 1417(U); 1418(V); 1419(W)
#14 The machine coordinate of each axis when the skip source corresponding to G31 or R Dou
41~ G31.10/G31.11 skip function is triggered. ble
For software versions 10.116.38M, 10.116.54K, 10.118.0F, 10.118.6 and after, the value is
#14
cleared to 0 after CNC just powered on, RESET, program ends, system executing G31,
58
G31.11 or G28.1 again, to avoid showing the previous escape location before skip signal
comes in and causes misjudgment.
System Variables – 16
机床产品/Machine Tool Products
–
Macro Variable.
#14 Offset value of each axis when executing Enable Halted Point Return (Pr3852) R Dou
61~ ble
#14
78
#14 Position of rotary axes that can achieve tool alignment with tilted working plane. Units R Dou
81~ are IU. Relation to rotary axis is: ble
#14
1481(A axis); 1482(B axis); 1483(C axis)
83
Notice:
• If the tool alignment angle for corresponding axis direction is invalid, the # value
will return VACANT.
#1800 Tracking error of rigid tapping on rotary axis (milli degree) R Double
#1803 Maximum tracking error of 2nd rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1804 Maximum tracking error of 3rd rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1805 Maximum tracking error of 4th rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1806 Maximum tracking error of 5th rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
System Variables – 17
机床产品/Machine Tool Products
–
Macro Variable.
#1807 Maximum tracking error of 6th rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1810 Feedback pulse number of gap control from Z axis encoder R LONG
#1819 Path output mode. System organizes the motion plan and output the path to R/W LONG
Macro Stack (for G73), please execute WAIT() before using
0: disabled; 1: enabled
#1820 Mute mode. System organizes the motion plan without actual command output. R/W Double
Goes with G10 L1100.
0: disabled; 1: enabled
#1824 Valid cutting control mode, G61, G62, G63, G64 R Double
System Variables – 18
机床产品/Machine Tool Products
–
Macro Variable.
G04 4 G34 34
#1827 Valid workpiece coordinate number. G54: #1040=1; G55: #1040=2; G56: R Double
#1040=3…
#1828 Estimated machining error with current operating parameters (BLU, not R Double
displaying when Pr3808 is set to 0)
Valid version: before 10.116.54A (included)
System Variables – 19
机床产品/Machine Tool Products
–
Macro Variable.
#1830 The servo backward compensation function applied, each number represents: R Double
#1830 0 1 2 3 4 5
Note 1: Pn109 is the feedforward of Yaskawa drive, enabled when it's bigger
than 0.
Note 2: ZPEC and SPA won't be enabled at the same time.
Note 3: if #1830 = 3 or 5, it means 2 servo backward compensation functions are
enabled at the same time, it might lead to intense vibration of the machine.
Valid version: after 10.116.33 (included)
#1831 Machining spindle coupling mode, G51.2 , G113 , G114.1 , G114.3 R Double
System Variables – 20
机床产品/Machine Tool Products
–
Macro Variable.
#1856 Tapping Start Position ( point R level in absolute ). Reserved when restart, Unit : R/W Double
mm
#1857 Tapping Spindle CW / CCW Mode. Reserved when restart. R/W Long
0 : 未给定
3 : CW
4 : CCW
System Variables – 21
机床产品/Machine Tool Products
–
Macro Variable.
#1858 Tapping Spindle Speed. Reserved when restart, Unit : rev/min R/W Long
#1859 Tapping Axis Feedrate. Reserved when restart, Unit : mm/min R/W Double
#1901 G92, G92.1 coordinate system offset value of each axis R/W Double
~
#1918
#1941 3rd software positive stroke limit of each axis (IU) R/W Double
~
#1958
#1961 3rd software negative stroke limit of each axis (IU) R/W Double
~
#1978
#1080~ Modal variables for electric control personnel (disappear when R/W Long
#1099 system power off)
#2001~ Modal variables for system internal use (disappear when system R/W Double
#2200 reset)
System Variables – 22
机床产品/Machine Tool Products
–
Macro Variable.
#3001~ Modal variables for electric control personnel (disappear when R/W Double
#3100 system reset)
Remarks • Life cycle of modal variables is not limited to a single MACRO. Thus, it can be used to access
variables between different MACROs.
• #1080~1099 only support Long type value, or it will issue the COR-054 Incompatible data
type alarm.
#4001~ Customized parameters fro system internal use (parameter 4001~4100) R Double
#4100
Remarks
System Variables – 23
机床产品/Machine Tool Products
–
Macro Variable.
Pr3816 set 2
Multi-Axis Tool Table
Lathe Tool Table
System Variables – 24
机床产品/Machine Tool Products
–
Macro Variable.
… … ... … ... … … … …
System Variables – 25
机床产品/Machine Tool Products
–
Macro Variable.
Pr3816 set 3
Multi-Axis Tool Table
System Variables – 26
机床产品/Machine Tool Products
–
Macro Variable.
… ... ... … … … …
System Variables – 27
机床产品/Machine Tool Products
–
Macro Variable.
… … R/W Double
… … R/W Double
… … R/W Double
System Variables – 28
机床产品/Machine Tool Products
–
Macro Variable.
Variable applied in MACRO can be separated into 3 categories, which are Local Variables (#1~#400), System
Variables (#1000~#31986) and Global Variables (@1~@165535). Rules of life cycle, reading, and writing are different
in each category, further details is given in chapters below.
System Variables – 29
机床产品/Machine Tool Products
–
Macro Variable.
4 Global Variables
Number Description R/W Rule Data Type
@0 VACANT R -
@60000~ Expansion global variables (go with No3813, only for CE R/W Double
@79999 system)
Remarks • Unless being power-off, all global variables have no life cycle limit.
• If @1~@400 needs to be remained after power-off, please goes with No3811.
• DOS only supports R0~R7999, please be extra careful when applying the
corresponding global variables.
• For register corresponding to @, the available range is as below:
• R50~R80, R101~R511, R1024~R4095, R5800~R7999, R10000~R10999,
R15000~R65535
Global Variables – 30
机床产品/Machine Tool Products
–
Macro Variable.
5 Local Variables
Number Descriptions R/W Rule Data Type
#0 VACANT R -
Remarks • The life cycle of local variables applied in MACRO is limited to the MACRO execution. After
execution is done, local variable returns to VACANT automatically.
• Subprogram can share local variables with main program, the life cycle of local variable also
ends when main program is completed.
• Please refer to "Argument Explanation for MACRO argument chart.
Local Variables – 31
机床产品/Machine Tool Products
–
Macro Variable.
6 System Variables
6.1 Modal Information in pre-interpreting(#1000~#1112)
Number Descriptions R/W Rule Data Type
System Variables – 32
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 33
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 34
机床产品/Machine Tool Products
–
Macro Variable.
#15 Quiet mode, system only records the program coordinate and does not organize the R/W Long
00 motion plan
0:OFF; 1:ON
#15 • Bit 0:Whether to run single-block execution control when PLC C40 is on R/W Long
02 0:run single-block execution (default), return to 0 after system Reset
1:don't run single block execution
• Bit1:Whether the system continue to run the following program before MST
codes are not finished (not provided for now)
0:wait (default), return to 0 after system Reset
1:don't wait, thus PLC S30(DEN) won't output
• If single block execution function is not enable, step function of simulation is not
supported.
System Variables – 35
机床产品/Machine Tool Products
–
Macro Variable.
#15 • Bit 1:Whether feedhold and axis/spindle override take effect R/W Long
04 0:Feedhold and axis/spindle ratio Override take effect (default value)
1:Feedhold invalid during machining, axis/spindle override is fixed to 100%.
• Bit 2:Whether feedhold takes effect
0:Feedhold takes effect during machining (default value) .
1:Feedhold during machining is invalid.
• Bit 3:Whether rapid moving ratio override take effect
0:Rapid moving ratio override takes effect during machining (default value)
1:Rapid moving ratio fixed to 100% during machining.
• Bit 4:Whether cutting ratio override take effect
0:Cutting ratio override takes effect during machining (default value)
1:Cutting ratio fixed to 100% during machining.
• Bit 5:Whether spindle ratio override take effect
0:Spindle ratio override takes effect during machining (default value)
1:Spindle ratio fixed to 100% during machining.
Note 1: #1504.2~#1504.5 is valid after version 10.114.51
Note 2: If #1504 bit1, bit2 on, Reset is invalid.
If #1504 bit1, bit3~bit5 on, the MPG simulation will be inactive when running the
corresponding motion.( all / rapid move / cutting / spindle ).
System Variables – 36
机床产品/Machine Tool Products
–
Macro Variable.
Others Reserved
System Variables – 37
机床产品/Machine Tool Products
–
Macro Variable.
#16 Least Input Unit for Linear Axis, corresponds to Pr17 control precision(Least Input Unit, R Long
00 LIU)
#16 Least Input Unit for Rotary Axis, corresponds to Pr17 control precision(Least Input Unit, R Long
02 LIU)
System Variables – 38
机床产品/Machine Tool Products
–
Macro Variable.
#16 • bit 0:Is the skip source corresponding to G31 Skip Function triggered R Long
08 0:Not triggered
1:Already Triggered (after C62 ON, the axis starts decelerating to 0, and the 0th
bit of #1608 is 1 only when the axis completely decelerates to 0)
• bit 1~18:Is the skip source corresponding to each axis set by G31.10 triggered
while executing multi-axis multi-signal skip function? Bit 1~18 are corresponding
to the 1st~18th axis.
0:Not triggered
1:Already Triggered (after C62 ON, the axis starts decelerating to 0, and the bit
value of the corresponding axis is 1 only when the axis completely decelerates to
0)
Command Skip function(G31) Multi-axis multi-signal skip
function(G31.10/G31.11)
Example:
There are axes: X, Y, Z1, Z2, Z3, Z4,the corresponding Pr21~ and Pr321~ are listed
below。
1. Use skip function(G31) and set Z1, Z2, Z3 corresponding to the skip source.
After skip source is triggered , each bit value of #1608 is:
bit 0:1
bit 1~18:0
Therefore, the value of #1608 is 20=1.
2. Use multi-axis multi-signal skip function(G31.10/G31.11) and set Z1, Z2, Z3 to be
axes corresponding to the different skip source.
After signals corresponding to Z1 and Z3 are triggered and Z1 and Z3 are stopped,
each bit value of #16-8 is:
bit 0:0
bit 1~18:
Command G31.10 & G31.11
Axis name(Pr321~) X Y Z1 Z2 Z3 Z4
System Variables – 39
机床产品/Machine Tool Products
–
Macro Variable.
bit 1 2 3 4 5 6
value 0 0 1 0 1 0
#16 Default workpiece coordinates number: G54: #1040=1; G55: #1040=2; G56: #1040=3… R/W Long
12
#16 Real-time serial sequence number in program ( The default value is set to be 0. ) R Long
20
#16 Real-time line number in program ( The default value is set to be 1 except for the R Long
22 Graphical Simulation, whose default value is set to be 0. )
#16 Real-time valid spindle number ( The default value is set to be 0. ) R Long
24
System Variables – 40
机床产品/Machine Tool Products
–
Macro Variable.
#13 Program coordinate of each axis at the end of the block R Dou
01~ (please note, if system reads #1301~#1308 immediately in the next line of G43, G44, G49, ble
G53, G54, G54 P_, G92.1, the program coordinate of last moving command block is
#13 obtained. It's suggested to apply #1341~#1358 or #1411~#1419 to get the current program
18 coordinate of each axis)
#13 Machine coordinate of each axis, which is not readable while moving. R Dou
21~ ble
#13
38
#13
58
#13 The program coordinate of each axis when the skip source corresponding to G31 or R Dou
61~ G31.10/G31.11 skip function is triggered. ble
For software versions 10.116.38M, 10.116.54K, 10.118.0F, 10.118.6 and after, the value is
#13
cleared to 0 if CNC just powered on, RESET, program ends, system executing G31, G31.11
78
or G28.1 again, to avoid showing the previous escape location before skip signal comes in
and causes misjudgment.
#13
98
#14
03
System Variables – 41
机床产品/Machine Tool Products
–
Macro Variable.
#14
06
#14 Workpiece coordinate of XYZABCUVW axes at the end of the block, the correspondence R Dou
11~ are: ble
1411(X); 1412(Y); 1413(Z)
#14 1414(A); 1415(B); 1416(C)
19 1417(U); 1418(V); 1419(W)
#14 The machine coordinate of each axis when the skip source corresponding to G31 or R Dou
41~ G31.10/G31.11 skip function is triggered. ble
For software versions 10.116.38M, 10.116.54K, 10.118.0F, 10.118.6 and after, the value is
#14
cleared to 0 after CNC just powered on, RESET, program ends, system executing G31,
58
G31.11 or G28.1 again, to avoid showing the previous escape location before skip signal
comes in and causes misjudgment.
#14 Offset value of each axis when executing Enable Halted Point Return (Pr3852) R Dou
61~ ble
#14
78
#14 Position of rotary axes that can achieve tool alignment with tilted working plane. Units R Dou
81~ are IU. Relation to rotary axis is: ble
#14
1481(A axis); 1482(B axis); 1483(C axis)
83
Notice:
• If the tool alignment angle for corresponding axis direction is invalid, the # value
will return VACANT.
#1800 Tracking error of rigid tapping on rotary axis (milli degree) R Double
System Variables – 42
机床产品/Machine Tool Products
–
Macro Variable.
#1803 Maximum tracking error of 2nd rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1804 Maximum tracking error of 3rd rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1805 Maximum tracking error of 4th rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1806 Maximum tracking error of 5th rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1807 Maximum tracking error of 6th rigid tapping on Z axis (μm) R Double
Valid version: 10.114.16~10.116.5
#1810 Feedback pulse number of gap control from Z axis encoder R LONG
#1819 Path output mode. System organizes the motion plan and output the path to R/W LONG
Macro Stack (for G73), please execute WAIT() before using
0: disabled; 1: enabled
System Variables – 43
机床产品/Machine Tool Products
–
Macro Variable.
#1820 Mute mode. System organizes the motion plan without actual command output. R/W Double
Goes with G10 L1100.
0: disabled; 1: enabled
#1824 Valid cutting control mode, G61, G62, G63, G64 R Double
G04 4 G34 34
#1827 Valid workpiece coordinate number. G54: #1040=1; G55: #1040=2; G56: R Double
#1040=3…
System Variables – 44
机床产品/Machine Tool Products
–
Macro Variable.
#1828 Estimated machining error with current operating parameters (BLU, not R Double
displaying when Pr3808 is set to 0)
Valid version: before 10.116.54A (included)
#1830 The servo backward compensation function applied, each number represents: R Double
#1830 0 1 2 3 4 5
Note 1: Pn109 is the feedforward of Yaskawa drive, enabled when it's bigger
than 0.
Note 2: ZPEC and SPA won't be enabled at the same time.
Note 3: if #1830 = 3 or 5, it means 2 servo backward compensation functions are
enabled at the same time, it might lead to intense vibration of the machine.
Valid version: after 10.116.33 (included)
#1831 Machining spindle coupling mode, G51.2 , G113 , G114.1 , G114.3 R Double
System Variables – 45
机床产品/Machine Tool Products
–
Macro Variable.
#1856 Tapping Start Position ( point R level in absolute ). Reserved when restart, Unit : R/W Double
mm
System Variables – 46
机床产品/Machine Tool Products
–
Macro Variable.
#1857 Tapping Spindle CW / CCW Mode. Reserved when restart. R/W Long
0 : 未给定
3 : CW
4 : CCW
#1858 Tapping Spindle Speed. Reserved when restart, Unit : rev/min R/W Long
#1859 Tapping Axis Feedrate. Reserved when restart, Unit : mm/min R/W Double
#1901 G92, G92.1 coordinate system offset value of each axis R/W Double
~
#1918
#1941 3rd software positive stroke limit of each axis (IU) R/W Double
~
#1958
#1961 3rd software negative stroke limit of each axis (IU) R/W Double
~
#1978
System Variables – 47
机床产品/Machine Tool Products
–
Macro Variable.
#1080~ Modal variables for electric control personnel (disappear when R/W Long
#1099 system power off)
#2001~ Modal variables for system internal use (disappear when system R/W Double
#2100 reset)
#3001~ Modal variables for electric control personnel (disappear when R/W Double
#3100 system reset)
Remarks • Life cycle of modal variables is not limited to a single MACRO. Thus, it can be used to access
variables between different MACROs.
• #1080~1099 only support Long type value, or it will issue the COR-054 Incompatible data
type alarm.
#4001~ Customized parameters fro system internal use (parameter 4001~4100) R Double
#4100
System Variables – 48
机床产品/Machine Tool Products
–
Macro Variable.
Remarks
System Variables – 49
机床产品/Machine Tool Products
–
Macro Variable.
Pr3816 set 2
Multi-Axis Tool Table - Lathe Tool Table
System Variables – 50
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 51
机床产品/Machine Tool Products
–
Macro Variable.
… … ... … ... … … … …
System Variables – 52
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 53
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 54
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 55
机床产品/Machine Tool Products
–
Macro Variable.
Pr3816 set 3
Multi-Axis Tool Table
System Variables – 56
机床产品/Machine Tool Products
–
Macro Variable.
… ... ... … … … …
System Variables – 57
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 58
机床产品/Machine Tool Products
–
Macro Variable.
… … R/W Double
System Variables – 59
机床产品/Machine Tool Products
–
Macro Variable.
… … R/W Double
… … R/W Double
System Variables – 60
机床产品/Machine Tool Products
–
Macro Variable.
编号 说明 规则 型态
Remarks • There are 3 values in each G54 P_, which represent X, Y, Z rotation angle
• Rotation method is ZYX Euler Angle
• For example of G54 P1, the relationship is BCS frame→ rotate #25006 LIU of Z axis
→ rotate #25005 LIU of Y axis → rotate #25004 LIU of X axis→ G92CS frame
System Variables – 61
机床产品/Machine Tool Products
–
Macro Variable.
System Variables – 62