Chapter Three Programming
185
Part 1 Programming
3.10.13.3 Close Instruction PCLOS
PCLOS
To release the machining link of external I/O unit, the instruction is specified at the end of all data
output instructions. DC4 control codes are output through NC.
3.10.13.4 Necessary Setting for Using the Function
(1) Set No.341 parameter so as to use the output unit RS232C for communication outputting
(2) Set all data (baud rate, etc) of the RS232C interface for one of No. 310 to 313 parameters
according to the above output unit predetermined for No.341 parameter.
(3) Set the ISO codes as output codes
(4) Set No.315 parameter so as to determine whether to put space for the preceding 0 when
outputting data with DPRNT instruction.
7 6 5 4 3 2 1 0
The leading zero is treated by PRT DPRNT instruction as follows during the output of data.
0: Output space 1: Not output
3.10.13.5 Cautions
(1) It is unnecessary to continuously set the open instruction (POPEN), data output instruction
(BPRENT, DPRNT) and close instruction (PCLOS). After setting the open instruction at the beginning
of a program, it is not necessary to set the open instruction until the close instruction is set.
(2) Open instruction and close instruction should be set in pair without omission.
That is, close instruction shall be given at the end of a program. It is impossible to individually set the
close instruction without the open instruction
(3) Reset the data output instruction in the execution of stop program and cancel the data that
follows.
If the reset process is instructed by with M30 or a similar instruction at the end of a data output
program, you need to specify the close instruction at the end of the program and to wait until all data
is output before the start of M30 or other reset process.
(4) It is necessary to select Macro B and I/O interface for the function.
3.10.14 Macro interruption function (Macro B)
If an interruption is input for NC between M96 PX X X X; and M97; blocks, control will go to PX X
X X program.
0
PRT
5
1
3
Summary of Contents for GSK983Ma
Page 124: ......
Page 143: ......
Page 185: ......
Page 209: ...Chapter Four Operation 197 Part 2 Operation ...
Page 239: ...Chapter Four Operation 227 Part 2 Operation ...
Page 242: ......
Page 279: ......
Page 296: ...GSK983Ma Milling Machine Center CNC System User Manual 284 Part 2 Operation ...
Page 371: ...Appendix 11 USB Interface Parameter Transfer Operation ...