
B-63983EN/02 5.WINDOW FUNCTIONS
- 459 -
(2) Format and types of modal data for other than the G function
0: Positive
1: Negative
4 bytes
1 byte
Data
FLAG2
-- - --
0: Not specified in the current block
1: Specified in the current block
FLAG1 1 byte
76543210
0: A decimal point not specified
1: A decimal point specified
Number of decimal places
-
----
Note) The specification of whether a decimal point is specified or
not, in FLAG1, and the specification of the number of decimal
places, in FLAG2, are valid only for F code. Even if a
decimal point is not specified, the number of decimal places
may not be 0.
Note) As the numbers of input digits, M, S, T, and B, in a command
address, the allowable numbers of digits that are specified for
the appropriate parameters are returned.
M: Allowable number of digits of M code No. 3030
S: Allowable number of digits of S code No. 3031
T: Allowable number of digits of T code No. 3032
B: Allowable number of digits of B code No. 3033
Note) PMC-SB7 outputs the number of input digits to bits 0 to 3 of
FLAG1, while 30i/31i/32i-A PMC does not. If you need to
have the number of input digits output as with the former
specification, read the CNC parameters of the following
numbers, by using the window function for reading a
parameter (function code 17 or 154).
For the M function: CNC parameter No. 3030 (allowable
number of digits of the M code)
For the S function: CNC parameter No. 3031 (allowable
number of digits of the S code)
For the T function: CNC parameter No. 3032 (allowable
number of digits of the T code)
For the B function: CNC parameter No. 3033 (allowable
number of digits of the B code)