EasyManua.ls Logo

YASKAWA yasnac lx3 - Page 94

YASKAWA yasnac lx3
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2.8. 23.9 Considerations and Remarks for Macro
Programs (Cent’d)
(9) Special Codes Usable in Macro Program Body
(1) The special codes listed below may be used
in the user macro body :
Notes :
1. For the hole pattern of EIA code, when the
character is attached with an asterisk, the pat–
tern shown above is standard. However, other
patterns may be specified by using the following
pzirameters:
#6110 . .
[
#6111 . . .
J
#6112 . . *
#6113 . . . =
1
#6114 ..
(1
#6115 . . .
)J
Read the desired hole pattern in the binary value,
convert it into the decimal equivalent, and set it
to the parameter. For examfile,
shown below is set as 152” :
When the value of the parameter
pattern listed in the above table
the hole
pattern
is “O,
the hole
is
provided.
2. When the codes shown below are output from
the NC unit for punch-out or other purposes, the
uPPer code (UC) or lower code (LC) is output
immediately before,
a. Codes preceded by UC . ~ ~ #, +, $, ?.
b. Code preceded by LC . . . @.
C. Codes preceded by UC only at parameter
designation . . . (,) , *, =.
2.8.23 .9.1 Outline of User Macro External Output
Command
The following macro commands are available in
addition to the standard user macro commands.
(1) Open command (POPEN)
(2) Data output command (BPRNT or DPRNT)
(3) Close command (PCLOS)
The above commands are used to output variables
and characters via external dev”ices with the
RS-232C interface.
2.8.23 .9.2 Details of Each Command
(1) Open command (POPEN)
(Format)
POPEN La] ;
T
-RS-232C port number
(Function)
The DC2 control code is output from
the NC side.
Give this command
before the sequential data output
commands.
The RS–232C number can
be specified as 1 or 2.
The default is the 1st RS-232C.
(Example)
POPEN ;
.....
Opens the 1st RS-232C.
POPEN [2] ; ,... Opens the 2nd
RS-232C.
(2) Data output command (BPRNT or DPRNT)
(a) BPRNT
(Format)
BPRNT [a $b
[cl.,..];
~ ~ L
Effective digits
L;::: po’n’
~Character
below
86

Other manuals for YASKAWA yasnac lx3

Related product manuals