GSK928TE
Ⅱ
Turning CNC System User Manual
117
times, and then execute N0050
,
the program skips to N0130 at the moment and
execute the following blocks.
Method two
:
When executing N0040, call subprograms and execute N006 0
-
N0120 five times,
and then execute blocks from N0050 to N007, and so the program ends.
3.2.12 M21 M22 M23 M24
—
User Output Control
Command format
:
M21 D
;
M22 D
;
M23 D
;
M24 D
;
D — signal duration. Unit
:
second. The output signal is always durative when D is omitted.
M21, M22, M23, M24 have no the specific definitions defined by the system, their definitions can
be defined by user according to the requirement; They separately correspond to the output point
defined by two users and the state of output can be changed by the relative command.
The output of No. 1 user’s output point is valid by M21
(
output the LOW
)
;
The output of No. 1 user’s output point is invalid by M22
(
cut off the output
);
The output of No. 2 user’s output point is valid by M23
(
output the LOW
);
The output of No. 2 user’s output point is invalid by M24
(
cut off the output
);
Note:
M21, M22, M23, M24 are in the sole block without other commands.
M21-M24 with the parameter D: dwell for the time defined by D when executing M21-M24,
and then cancel the previous output and cancel the previous output.
M21-M24 without D: output the long signal.
3.2.13 M91
M92
M93
M94
—
User Input
Command format
:
M91 P
;
M92 P
;
M93 P
;
M94 P
;
P—skip to the block number of the target block. Do not skip when P is omitted. The block number
must be 4-digit.
M91, M92, M93, M94
have no the definitions of corresponding output point defined by the
system, their definitions can be defined by user according to the requirement; M91, M92, M93,
M94 separately corresponds to the output point defined by two users. When P is omitted, the
next block is executed if the state of input point meets the requirement of command. When P
≠
0
,
the state of output point meets the command requirement, skip to the block defined by P,
otherwise the next block is executed in sequence.
Without P:
M91
:
check the state of No. 1 user. When the state is valid (the input terminal is connected with
0V), wait till the input is invalid.
M92
:
check the state of No. 1 user. When the state is invalid (the input terminal is broken with 0V),
wait till the input is valid.
M93
:
check the state of No. 2 user. When the state is valid (the input terminal is connected with
0V), wait till the input is invalid.
M94
:
check the state of No. 2 user. When the state is invalid (the input terminal is broken with 0V),
wait till the input is valid.
P
≠
0
:
Содержание GSK928TE
Страница 1: ...GSK928TE II Turning Machine CNC System User Manual...
Страница 117: ...Programming Chapter Three Commands and Functions 112 G99 G01 X50 Z30 F0 2 G04 D2 G99 G01 X50 Z30 F0 2...
Страница 148: ...GSK928TE Turning CNC System User Manual 143 Connection Chapter One Interface 1 1 Interface Layout...
Страница 185: ...Connection Appendix 180 J3 1 AC220V J3 2 0V...