
PROGRAMMING
B–63174EN/02
13. CUSTOM MACRO
PROGRAMMING
(Common to Power Mate i–D and –H)
109
Settings can be read and written. Binary values are converted to
decimals.
#5 (SEQ) : Whether to automatically insert sequence numbers
#2 (INI) : Millimeter input or inch input
#1 (ISO) : Whether to use EIA or ISO as the output code
#0 (TVC) : Whether to make a TV check
#15 #14 #13 #12 #11 #10 #9 #8
Setting
#7 #6 #5 #4 #3 #2 #1 #0
SEQ INI ISO TVC
Setting
#3005
The mirror–image status for each axis set using an external switch or
setting operation can be read through the output signal (mirror–image
check signal). The mirror–image status present at that time can be
checked. (See Section V–4.5)
The value obtained in binary is converted into decimal notation.
#7 #6 #5 #4 #3 #2 #1 #0
8th axis
7th axis
Setting
#3007
6th axis 5th axis 4th axis 3th axis 2nd axis 1st axis
For each bit,
0 (mirror–image function is disabled)
or
1 (mirror–image function is enabled)
is indicated.
Example : If #3007 is 3, the mirror–image function is enabled for the first and second axes.
D When the mirror–image function is set for a certain axis by both the
mirror–image signal and setting, the signal value and setting value
are ORed and then output.
D When mirror–image signals for axes other than the controlled axes
are turned on, they are still read into system variable #3007.
D System variable #3007 is a write–protected system variable. If an
attempt is made to write data in the variable, P/S 116 alarm “WRITE
PROTECTED VARIABLE” is issued.
The number (target number) of parts required and the number (completion
number) of machined parts can be read and written.
Table 13.2(g) System variables for the number of parts required and the
number of machined parts
Variable number Function
#3901 Number of machined parts (completion number)
#3902 Number of required parts (target number)
NOTE
Do not substitute a negative value.
D Settings
D Mirror image
D Number of machined
parts