TTYPES OF INSTRUCTIONS AND LISTS . 0 . . . . . . . . . . . .
W When NC Unit Entered SD Mode from Offline State. . . . .
When NC Unit Entered SD Mode from Online State. . . . .
When NC Unit is in Offline State (System No.6 + SD MODE)c , . . 9 . . . . . 9.6.1. . . ~ 49
When NC Unit is in Online State (System No.4 + SD MODE). . . . 9 . . . . . 9,6.2. . . . 49
ChapterSection
. . . . . .. . . . .
. . . . . .. . . . .
. . . . . .. . . . .
. . . . . .. . . . .
. . . . . .. . . . .
. . . . . .
. . . . . .. . . . .
. . . . . .
. . . . . .. . . . .
. . . . . .. . . . .
. . . . . .. . . . .
. . . . . .. . . . .
. . . .
. . . . . .
. . . . . .. . . . .
. . . . . .
. . . . . .
. . . . . .. . . . .
. . . . . .
. . . . . .. . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .. . . . .
. . . . . .. . . . .
. . . . . .. . . . .
9
9
8
9
9
. . . . . . . . . .
7
7
4 . . . . . . . . . . .
3
9
9
6
. .10.....10.5.1. ...72
6...’ . . . . . . ..”13
9
10..............67
9..............45
9
. . . . . . . . . . . . . .
8
8
8 . . ...8.1. ...43
10 . . ...10.2. ...68
10 . ...10.2.2. ...68
3 ., . . . . . . . . ...2
7
9
9
9.7.3
9.9
8.2
9.10
9.11
7.1
3.2
9.11.2 .. . 62
9.13..64
6.2. ...13
9.7.1“ . . . 50
9.2. ...46
8.3. ...43
7.2. ..15
9.13.1 . . . . 64
9.13.2 . . . . 64
. . . .
. . . .
. . .
. . .
. . . .
. . . .
. . . .
. . . .
. . . .
Page
53
57
. 43
. 59
62
15
15
4
2
43
...
111
Page 5
1. OUTLINE
1. The programmable controller (called PC hereafter) for
YASNAC J50L/J50Mstands between the standard
YASNAC NC unit and the machine tool. It facilitates
the compact and efficient utilization of the sequence
control required by the machine tool through the software.
2. Sequence program editing of PC can be performed efficiently with CRT”; NC and JSD modes are easily
changed and selected.
2. BLOCKDIAGRAM
The blockdiagramof the PC systemfor YASNAC
J50L/J50M is shown in Fig. 2.1.
YASNAC J50L/J50M
——_ ______ _/
RS232C
INTERFACE
CPU UNIT
n-”-”-----‘,
DATA 1/0 lNTER FAcE (OPTION)
3. The PC is optional and it is installed in the NC unit, if
selected.
4. In this manual, “PC programming method” (Selections
1 to 8) and “Sequence program editing unit and the
operatingmethod” (Sections 9 and 10) have been
explained so that the users to facilitate the use of the
above described PC.
~–———–7
,--4
~=::j
——-—
- +’ %;~HERj*f5~23
L_____J
r:D’= ~y~TEM
● c5’’$~-3
_~_(SeeNOTE 1.)
1
I
1/0 MODULE
r
-k----n
Solid line shows
ed with P.C.
Brokenline shows the sequenceprogramedit
sYstern temporarilyused by incorporatingthe
sequenceprogramedit system(JDUO1) in
YASNAC.
Note:
1. When the control is used as sequence program
edit system, the operator’spanel with CRT
display changes to the sequence program edit
panel.
the YASNACCNC unit provid-
‘M~CHINE
OPERATOR’S
STATION
—————
J
Fig. 2.1 Block Diagram of PC System
For YASNAC-J50L/J50M
Sequence program edit system (JDUO1) can be
2.
mounted on the CPU rack.
P-ROM writer which is commercially available
3.
may be used.
sequence edited and checked into P-ROM.
4.
Tape reader is used to load List Tape in
which sequence ladder is coded or P-ROM
Format Tape consisting of machine language
into sequence edit system.
5,
Tape puncher punches out the completed
sequence edited and checked in the form of
List Tape or P-ROM Format Tape.
It is used to write the completed
Page 6
3. SPECIFICATIONS
3.1 FUNDAMENTAL
Controlmethod:
(1)
(2) Processingtime:
Approx.2.7 l.i seclstep
qighspeedscanningtime - 8 msec
Low speedscanningtime - 8 msec x n (n is
determinedby the capacityof the total
program.)
(3) Program memory capacity :
Memory element :
Basic – 64 k bytes (1 EPROM)
(64 k bytes corresponds to approximately 16000 steps
Note:
2 bytes #1500 and #1501 can be carried out through
the address name #1500, Example:
I
~A&essNo,
PUSH #1500
Referto the 1/0 listsshown in Appendix1,
2 for details.
(c)The input signalsin the orderof #1000-
1999 are expressedby the followingsymbols.
5
Page 10
5.2ADDRESSMAP AND DISPLAYSYMBOL
(Cent’d)
(2) Addressesof Output Signals to Machine
(#1100- #1162)
Theseare the addressnumbers+ bit numbers
(# rfi[~d[.~) of outputsignalslike,lamp, solenoid,etc.
machinecontroller,etc.
from the machine operationpanel,
This sectionshould
also be decidedthroughthe machine tool builder,
(a)1 bit of the address#1100 correspondsto 1
point of the outputsignal.
(b)The addressnumberand the bit numberare
determined,dependingon the number of the pin
and the numberof the connectorof the 1/0
boardto which the inputsignalis connected.
Example:
-BitNo.
?6543210
#llw
01-5101-6101-7101-8101-41 101-27101-26101-25
~PinNo.s
ConnectorNo.01
Lk
Outputsignalname(arbitrary)is registered
Referto the I /O Lists shown in Appendix1,
2 for details.
(c)The outputsignalsin the orderof #1100 #1199 are expressedby the followingsymbols.
Refer to “Appendix:1/0 list” for details.
However, they differ for YASNAC J50L (for lathes) and
YASNAC J50M (for machining centers).
So, refer to the corresponding list.
(b)The inputsignalsin the orderof #1200 #1295 are expressedby the followingsymbols.
_’+fl—(a)
(4)Addresses(#1300- #1338)of Output Signals
from NC Main Section
In otherwords,these can be termedas input
signalsto NC main sectionfrom the PC.
For
example,the addressnumbersand the bit numbers with respectto the EDITand MEM (memory
oPeration)Selection.
The numbersbetween1300 and 1329 are
determinedas standardsignalsand theycan
not be changed.
(a)1 bit of the addressesbetween#1300 -#1329
correspondsto 1 pointof the input signal.
Example:
~Bit No.
21
H/SJ
RANDLE/ JOC
STEP
#1300
65
7
EDTMEM
ME210RYMANUAL TAPE
EDIT
43
T
D
Refer to “Appendix : 1/0 list” for details.
However,they differ for YASNAC J50L and YASNAC
J50M. So, refer to the corresponding list.
0
RT
RAPID
(3) Addresses(#1200- #1295)of InputSignals
from NC Main Section
ln otherwords,these can be termedas output
signalsto the PC from the NC main section.
For example,the addressnumbers+ bit numbers
with respectto the M-BCDsignals.
Thesenum-
bers in the orderof #1200 are determinedas
standardsignalsand they can not be changed.
(a)1 bit of addressesbetween#1200 and #1295
correspondsto 1 point of the inputsignal.
Example:
Bit No.
#lZoo
7
M28
6
M24
43
5
M21
U22
v
functionBCD output
M
M18
210
)412Ml 1
M14
I
6
(b)The outputsignalsbetween#1300 and #1329
are expressedby the followingsymbols.
(5) Addresses(#1400- #1999 exceptfor #1700 -
#1799)for InternalRelays
Theseare the addressnumbersand bit numbers
with respectto the internalrelayswhich can
only be used insidethe PC while preparingthe
sequenceprogram.
1/
(a)1 bit of the addressesbetween#1400 - $1492
correspondsto 1
internalrelay,for example.
Page 11
1/0 list example:
(c)In a register,
.
pressionsymbol.
examplesof the symbols.
the addressitselfis the ex-
The followingshows two
“l400-
(b)The number of usableinternalrelaysare as
follows .
500 bytes
(c)The internalrelayand its contact
expressedby the followingsymbol.
Thereis no limit for NO and NC contactDoints
until the programmemorycapacityis exceeded.
(d)Adressedused in registercannot be used as
internalrelay.
(6] Addresses(#1400- #1999 exceptfor
#1700 - #1799)of Register
Theseare the addressnumberswith respectto
the 1 byte(= 8 bits)registerfor general
purposeuse.
..
registerinstructionor for the workingaddresses
of macro instructions.
(a)1 addressnumber
of 1 byte.
1/0 list example:
//1500
#1501
~Writethe internalrelay
name (arbitrary)
x 8 bits = 4000 relays
pointare
Theseregistersare used for
correspondsto 1 register
4
Insertthe name (arbitrary)
of the register
t-+l?l
b
(d)Addressesused in internalrelaycannot be
used as register.
(7) Addressesof Timer(#1700- #1799)
Theseare the addresseswith respectto the
timers.Theyare used in the instructionof
timers.
(a)1 addressnumbercorrespondsto 1 timer,
1/0 list example:
#1700
//1701
(b)The time unit and the numberof usable timers
are shown in the followingtable.
Address No.
#1700-#1709, #1’760-#1769
#1710-#1729, #1790-#1799
#1730-#1749, #1780-#1789
#1750-#1759
#1770-#1773
The range of set valuesis O- 255.
(O-127 for variabletimer.)
(c)The symbol exampleof timers is givenbelow.
Example:
[fl
!
Insertthe nameInsertthe set
of the timer
#15cJn
#15ncl
No. of
timers
I
!
I
20
3,0
30
10
4
<i
,t
J
value,etc.
Time unit
1 = 8 msec
1 = 100msec
1 = 50
msec
l=lsec
l=lmin
(b)Numberof usableregistersare as follows:
500 registersfrom #1400 to #1999 exceptfor
#1700 tG #1799.
l-w1
LTimerinstr~c-L set value of
tion(2 types)
#17Kln,DnH
I
timer(Hexadecimal)
7
Page 12
5.2 ADDRESSMAP AND DISPLAYSYMBOL
(Cent’d)
(8)BatteryBacked-upMemory(#7OOO - #7999)
(a) The aboveaddressesof #7ooO to #7295 are
differentiatedfrom othersby the name “bat-
tery backed-upmemory. ”
of #7000 to #7295 are preservedin the battery
back-upmemory in the standardNC main section.
So, evenif the powersupplyis turnedoff,the
data are not erased.
(b)The sequenceprogramof PC unit can only
handleimage data of the PC unit.
data from NC main sectioncan not be handled
(readingor writing).
(c)Following3 typesof batterybacked-upmemo-
ry data are available.
Sequencerparameter:#7000 - #7099
Keep relay:
Keep memory:J
STANDARD NC
MAIN SECTION
) BATTERY
BACKED-UP
MEMORY
IF
+-----------1
L
#7100-#7999
1
{/7000
#7;99
1
I
That means,the data
The original
PC SECTION
F
SEQUENCE
PARAMETER
#7000
P
&
KEEPMEMORY
#7100
H
(9)
(lo)
(11)
I-J
(e)Transferof keeprelayand keepmemory data
to NC.
The image data of the PC unit keeprelayand
keep memoryare sometimesread and written,
so theyare changedin the sequenceprogram.
Consequently,it becomesnecessaryto preserve
the latestimage data of the PC unit by transferringthem to the batterybacked-upmemory
as latestoriginaldata.
is explainedbelow.
Automaticdata transfer
When the powersupply
on, the data of #7100 from PC to NC unit.
(9)Addresses(#7000-
Parameter
Theseare the addressnumberscorrespondingto
the parameterof the sequencer.
#7000 - #7099 can be changedthroughthe normal
writingoperation.
sequenceprogram
a~ Usingas 1 bit
data.
(a)Using as 1 bit
1/0 list example:
r‘it
76543210
#7000
Symbol expressionis carriedout in the follow-
ing way.
dtl
~Writedata name
Andthis procedure
of the unit is kept turned
#7999 get transferred
#7099) of Sequencer
The data of
Thesedata can be used in a
in the followingtwo procedures:
data and (~,
data
No.
Using as 1 byte
I
(d)Transferto sequencerparameterdata to PC
In additionto the powersupplyturningon, the
sequencerparameterdata is transferredto PC
from the NC main unit underthe following
conditions.Throughthe parameterwriting
operation,even if a singlesequencerparameter
data is modified,then all the sequencerparameter data are transferred.
the imagedata of the pC are alwayslatestdata.
The sequencerparameterdata can only be read
in the sequenceprogramand theymust not be
modified.
8
Consequently,all
Data “l”= Closed
Data “O” = Open
(b)Usingas 1 bytedata
1/0 listexample:
/7000
1A
UI~sertparameterdata name
Data “l”=
Data “O” = Closed
Open
Page 13
Thesymbol expressionis the addressnumber.
The exampleof usingin timer is shown in the
followingfigure,
Example:
l177il,#70 ::7::
t+y~
Variabletimer
instruct ion
Timer setting
by parameter
‘
I addressnumber beyond#7100 correspondsto
(a)
one
keep memory of 1 byte(8 bits).
list example:
1/0
//71061~
~Writethe name of the
keep memory
I
(10) Addresses(#7100- #7999)of Keep Relay
Theseare the addressnumbersand bit numbers
of the keep relaysused in the PC.
(a) I bit of #7100 - #7999 correspondsto 1 keep
relay.
1/0 list example:
➤Bit No.
76543210
“7100P==@===
‘Writethe name of the keep relay
(b)The numberof usablekeep relays
follows .
900 bytes
(c)The keep relaysand theircontact
are
expressedby the followingsymbols.
CRTscreenhas displayas shown in eitherFig.(i)
or (ii) .
[HereafterFig.(i) is to be called2-digitdisplay,
while Fig.(ii)is to be called4-digitdisplay.]
DIAGNOSIS._-_____= ._~OOOO ‘0000
‘L--~:N-O____-_____!-??: ‘--–---”
.--_:#8600:
:#8601:
1
;r--l
,#860211(001)1
h8693j(O02)~
;#86041fiO03)~:05;
I -~-J1
;#86051 ‘loo;_______
;#8606 ;
1
I
L--------—-1
I
r-l
1o11
1
!02:
;03;
,04;
la SET T~
DIGIT
Fig.(i)#6022 D2=0#6355=8602
- POT NO, TITLE
.-POT NO.
- KEEP MEMORY
#6356=8604
Note:
If a particularbit is desiredto be
changedO Z1, carryout followingoperations
afterthe operationof item 5) .
Depressthe
cursorkey and adjustthe cursorto the bit
desiredto be changed,then depress~key.
0=
1 changewill be obtained.
1:
0 changewill be obtainedif the~key
is depressedagain.
(13)Writing of Keep Relay NumericalInput
(Optionalonly for J50M)
Writingto keep memory(#7100 - #7999)
can be
normallvexecutedfrom O to 255, however,4-digit
writing’is also possiblewith numbers#860”0 --
#8999.
to each otheras shown in the figurebelow.
#7100 - #7499 and #8600 - #8999 correspond
#7101
is alteredby writingand alterationof #8601.
I’iote:When keep memory is referred
from sequence,use #7100 - #7499,
not #8600 – #8999.
Z8600
*71OO
I
$8601
37101
I
I
aa999
L
:
IT7499
DIAGNOSIS
[:-:N]::__ _ ___ __T_-w.r - ‘- ‘- - -
----l#8600[
[#86011
1#8602~(001)
I#8603;
;#8604; (002)
j#86051
:#8606;
I
----- --- .-— ~
I
ltiNio91_____–________ –--.___!-.
Fig.(ii)#6022 D2=1#6355=8602
00000 NOooo
----
,,
!02011
I
II
I
,0403+SET T4
DIGIT
!,
t
I
II
105051
II
1;
,
100001
L-—J
POT NO. TITLE
-KEEP MEMORY NO.
#6356=8604
For Fig.(ii) , evenand unevennumberkeep memories are used in pairs,O
to 9999 are available
by expressingthe higher2 digitsof the decimal
4 digitswith evenNo. keepmemory,and lower2
digitswith unevenNo. keepmemory.
Pot No, display[Figs.(i) , (ii)]
When the max. and min.
set to parameters
#6355 and #6356, Figs.(i) and
keep memory numbersare
(ii)show how #6355 and #6356 are set for #7402
#8604, respectively.
and
(b)Writingto keepmemory
TurnsystemNo. switchto “ 1“ .
Use pagecursorkeys~and~to move the
cursorto keepmemory No. to be changed.Input
new figureand depressWR key.
on
Procedurementionedaboveenables#8600 - #8999 rangedata to
be changedand set.
10
Page 15
Notes:
.
The same memory is used for #8600 - #8999 and
#7100 - #7499:if a valueof #8602 is changed,
that of #7102 is changedto the same value.
.
When the displaycan be extendedup to 9999,
as in Fig.(ii),the even numberkeep memory
dataare changedto one lowernumberand
cursormoves there by writingwhen the cursor
is at an unevenkeepmemory number.
.
If #6355 and #6356 are set conversally,pot No.
title and pot No.’ are not normallydisplayed.
However,if #6355 and #6356 have keepmemory
No. on the same page,pot No. title is displayed,
[Referto Fig.(iii).]
.
If unevennumberis set by mistakefor #6355
when 4-digitdisplay(#6022 D2=1),pot No. is
displayedfrom the even numberkeep memory
No. which is one number higherthan the pot
No.
DIAGNOSIS00000 NOOOO
@~::____-____ T-_ N@+---
#8600
#8601
#8602
#8603
# 8604
#8605
#8606
#8609
Fig
. (iii)#6022 D2=0#6355=8604#6356=8602
-. ---— ------ .
01
02
03
04
05
06
07
09
-.
POT NO.
TITLE
r DIAGNOSIS
P-NO
?$8600(010)
?48601(011)
#8602 (012)
L
Fig.
(V)#6022 D2=0#6355=7391
. When pot
#6355 and
● In 2-digitdisplay(#6022 D2=O),writing-in
numberis not displayed,set O for
#6356.
00000NOOOO
T-No
01
02
03
4
1
morethan a 3-digitnumberis not accepted.
(14)AddressSettingof 1/0Board
1/0 board has a rotary switch for address setting.For
rotary switch and address, refer to the table below.
(a) Standard 1/0 Board
‘C660
FC810
1/0AreaNo.
1
2
Input
#1000
#1813
#1016
to
#1029
#1032
#1:45
3utput
#lloo
to
#1111
#1116
to
#1127
#1132
to
#1143
1/0
AreaNo.
1-1
1-2
2-1
2-2
FC861
Input
#1000 #lloo
to
#
1007#1106
$1008
to
#lo15
#1016#1116
to
#
1023#1122
#1024
to
#lo31
#1032
output
to
#1108
to
#1114
to
#1124
to
#l130
#1132
DIAGNOSIS
P-NO
#8600
#8601
#8602
#8603
#8604 (001)
#8605
#8606 (002)
#8609
00000Noooo
T-NO
0201
0403
0805
0807
Fig.(iv)#6022 D2=1#6355=8603#6356=8606
.
If a number lowerthan that for #6355 is set for
#8600, pot numberfrom #8600 is lowerthan the
numberalreadyset to display.[Referto Fig.
(v). ]
#1046
#1061
#1148
to
to
#1159
For rotary switch (SW1) setting and 1/0 area No., refer to
the table below.
Swl
o
I
1
2
3
4
I
5
—
I
63-2
7
8
Q
:0
F
I
1/0Area No.
FC861
Nosetting
1-1
1-2
2-12
2-2
3-1
4-1
4-2
No setting
FC8lo/Fc860
Nosetting
1
setting
No
setting
No
3
No setting
4
No setting
11
Page 16
5.2 ADDRESSMAP AND DISPLAYSYMBOL
~Cont’d)
(b) CRT Panel Buik-in I/O Board
SP50
Area No.
1/0
1-1#looo to #loo7
1-2
2-1
2-2
3-1
3-2
4-1
4-2
I
,
I
InDut
#1008 to #1015
#1016 to #1023
#1024to #1031
#1032 to #1039
#lo40 to #lo47
#1048 to #1055
#1056to #1063
For rotary switch (SW1) setting and 1/0 area No., refer to
the table below.
lists.
machining centers) are shown in the Appendixesat
the end of this manual.
(1)For preparingthe sequenceladder,firstof
all,carryout the assignment
(#1000 and #1100) betweenthe PC and the
machine tool.
(2) Afterthe completionof the assignmentof the
1/0 signals,referto the 1/0 list as a list for
data and freelypreparesequenceladderthrough
the command symbolsof the PC.
it is convenientto use the abbreviatednames
like SW7, SOL A, etc.for elementnames.
successivelythroughthe software,so the operations are quitedifferentfrom that of the simultaneousprocessingin the case of normal relay
circuit.
standingof this point priorto programming.
6.1
Relaysequence:Each elementis simultaneously
PC sequence:Each elementis successively
Example:
r::~
The abovePC sequenceladderis operatedin the
followingsequence.Simultaneousprocessingis
nevercarriedout.
So, it is necessaryto have clear under-
DIFFERENCESIN OPERATION
processedwithregardto time.
processed.The ladderis repeatedlyprocessedat a con-
stant period.
calledscanningtime.
(Scanningtime Ex, :8 msec
X n times)
A
//10001
B
$
/}10001/}11001
Conditionof contactpointA is read.
This is outputto internalrelayB as it is.
Conditionof contactpointA is read.
AND logic is taken from the NC contact
point of relayB.
The resultis outputto internalrelayD.
This periodis
B
#llool
D
#lloo2
LD //10001
OUT I11OO1
LD #10001
AND NOT #11001
OUT #11002
Exampleof coded
sequenceprogram
(calledlist)
6.2 SCANNINGTIME(PR~EssINGTIME)
The executiontime from the start to the end of
a sequenceprogramis calledthe scanningtime.
The scanningtime for this PC is as follows.
High speedscanningtime:8 msec
Low speedscanningtime:8 msec
That means,in this PC,the sequenceprogram
can be processedby dividingit into the high
speedprocessingpart and the low speedprocessingpart.
as follows.
71
@
:-IT
+!
In this case,write the program
Part of sequence program
for high speed processing
jEndcomnand forhigh
speed processing
instruct ion
Part of sequence program
for low speed processing
End instructionfor
x n
E-.II#-‘equence program
Due to this successiveprocessing,the internal
relayD is not turnedon.
the aboveladderis executedby the relay
sequence,the relayD is turnedon for a moment
and therebyone shot operationis beingcarried
out .
rememberedthat the processingin the PC is
carriedout successivelyand then programming
should be completed.
abovementionedPC sequenceladderis coded
accordingto PC command words,it takesthe
As discussedabove,it shouldalways be
followingform.
On the otherhand,if
For reference,if the
The firstpart of the writesequenceprogramneeds
high speedprocessing.“--
(1)RelationshipbetweenHigh SpeedProcessing
and Low SpeedProcessing
i-
m~=
RTH
8 msec
1-
8 msec
1-
8 msec
13
Page 18
6.2 SCANNINGTIME (PROCESSINGTIME) (Cent’d)
(a)Fromthe beginningof the sequenceto the
RTHcommand,
(highspeedSeq.),
is surelyexecutedonce within 8 msec.
the executionof this high speedsequence,the
input conditiondoes not change.
(b)The low speedsequenceprogram(low speed
Sea.)afterRTH command is dividedinto “n” items
and one of them is executedin the remainingtime
of 8 msec.
sequenceprogramis executedin 8 msec
times time.Consequently,the valueof “n”
dependson the capacityof the whole programand
the lengthof the high speedsequenceprogram.
Since the low speedprogramis dividedinto many
parts,sotheI/Oconditionchangesin the middle. So,be
sure totake NOTE ofitem3 ofthis section.
(c)At the firstpart of the 8 msec section,all
the input conditions(#1000 and #1200) aye taken
in the PC at a time.
(d)At the last part of 8 msec section,all the
outputconditions(#1100 and #1300) are output
at a time.
(2) Precautionsfor High SpeedProcessing
SequenceProgram
In this program,only the portionwherehigh
speed responsessuch as countingof ON/OFF
are necessary,is handled.So limit it to the
least possiblesize of the sequenceprogram.
Limit it within100 steps when convertedinto
to be outputuntil the end of the executionof
low speedprocessingsequenceprogram,once
receivedoutputsthem throughthe internalrelays
withoutoutputtingthem to the addressesof output of the PC unit.
same to the addressof the externaloutputat
the tail of the low speed processingsequence
program.
RTH
1’
I
Receivethe input of
low speed processing
– through the internal
relay
Then,do not connectthe
(3)Precautionsfor Low SpeedProcessing
SequenceProgram
(a) The scanningtime for low speed processing
differsdependingon the capacityof the total
sequenceprogram(8 msec
of programthat can be executedwithin8 msec
is approximately3000 steps when convertedinto
contactpoint instruction.
of stepsis the combinationof high speedand
low speedprocessing.)
(b)Since divisionprocessingis carriedout
duringthe executionof the low speed processingsequenceprogram,the input condition
changes.
used throughthe low speed processing
sequenceprogramneed to be received
throughthe internalrelaysat the top of
the low speedprocessingsequenceprogram.
Then,use the contactpoint of the receiving
relayin place of the input.
Consequently,all inputsto be
x “n”).
However,this amount
(Theamount
Writethe desiredoutput
after one cycle of the
low speed processing
sequence
6.3MEMORYCAPACITYOF SEQUENCE
PROGRAM
The sequence program is finally written to the EPROM
(Erasable Program Rem) and then used.
The capacity of the program memory of this PC can be
used according to the following distribution.
Division No. of Bytes c~nven~i~n pROMS
132 kbytes
(Usually,relayinstructionis of 3-7 bytesand
othercommands are of 1-25 bytesrange. )For
the memorystoringthe sequenceprogramof 16K
bytes,4000 steps(16 K/4 = 4K (4000 steps)is
required,if approximately4 bytesis used for
one step.
Step
Approx.
8000steps
No.of
PROM Location
1
on
PCBoard
JANCD-CP50
30
14
Page 19
7.PC INSTRUCTIONS
This chapterexplainsthe 61 type basic instructions and 11 typemacro instructionsthat can be
used with this PC while describingtheirfunctions,
displaysymbolsand codedlists.
7.1PRELIMINARYKNOWLEDGE
(Registersto store intermediateresultsduring
logical operation )
(1)PC is providedwith a registerto storeintermediateresultsof logical operationof sequence
programs,
and it consistsof 1 bit + 16 bits,as
shown below.
~-
Th. T.SU1, .f operationcurrencly executed is stored (0 or 1)
L I.str.ctIon such .S AND-STRor OR-STR
i’
[- lns,rucrfonsuch ., STR ., STR.NOT
(2)RR (ResultRegister)
l-bitregisterto which the resultof operation
currentlyexecutedis stored.The contactstatus
(O or 1) can be set into RR by the LD instruction
or the RR contentscan be outputto the relay
addressby the OUT instruction.
Also,l-bitshift
of the stack registercontentsto RR (afteroper–
ation)by the STR or AN D–STRinstructionis
possible.
7.2TYPESOF INSTRUCTIONSAND LISTS
(1)InstructionTypes
Thereare the followingtypesin the instructions
used with PC.
Basic instructions(61 types)
@)Instructionsfor relay:
13 types
@Instructionsfor registers:37 types
@)Instructionsfor timers:
@Controlinstructions:
Total
2 types
7 types
59 types
Macro instructions
(1)
Macro instructions:
(2)
Auxiliaryinstructions:
9 types
4 types
(3) StackRegister(Stack,STO - ST15)
Intermediateoperationresultingfromlong logical
operationcan be savedinto the stack register
sequentiallyup to 16 bits,
Data in RR is shiftedto STO by the STR or
STR-NOTinstruction,and data in the stack
registeris shiftedby 1 bit towardright .
Also data in STO and RR is operatedby the ANDSTR or OR-STRinstruction,set into RR,and
data in the stack registeris shiftedby 1 bit
towardleft.ST15 is clearedto “O. “
If the
numberof STR or ST R-NOTinstructionsdoes
not equal to the numberof AN D–STRor OP.-STR
instructionsused in a seriesof long logical
operationsuntil the final resultis obtained,it
resultsin an error.In otherwords , the number
of times that data is savedin the stack and the
numberof times that data is fetchedout mustbe
equal.
15
Page 20
7.2TYPESOF INSTRUCTIONSAND LISTS(Cent’d )
(2)List of instructionsfor relay
=7===
-+--b=-
+-+=
5
6
7IXOR
8IXNR
9
10ST R-NOT
11AN D-STR
12
=+=
13I
Note:
1. The * column shows the execution time convertedto the contact instruction
2, The $ mark shows that the RR contents change after instructionsare operated.
OR
I
OR-NOT
I
STR
I
OR-STR
OUT
(1 = One contact instruction)
The — mark shows that no change occurs.
*
1
Readssignal status(0 or 1) and sets it to RR
I
Readsinversionsignalstatusand setsit to RR
1
I
1Sets
1
I
1
I
1
I
1
I
1
I
1
I
1
1
1
1
AND of contactand RR to RR (AND)
Sets AND of inversionsignaland RR to RR
(ReverseAND)
Sets OR of signaland RR to RR (OR).
Sets OR of inversionsignaland RR to RR
(ReverseOR) .
Setsuncoincidencebetweensignaland RR to RR .
Sets coincidencebetweensignal and RRto RR.
LoadsRR contentsto stackand executesLD
instruction.
LoadsRR contentsto stackand executesLD NOT
instruction.
I
Sets ANDof RR and stackto RR.
I
Sets OR of RR and stackto RR.
Writesoperationresults(RR)to relay(address).
,
Meaning
RR after
operation
I1
I
I
I1I
I
I
I1I
III
I
I
I
I
I1I
1
—
t,
I
I
I
I
I
I
I
Page
19
19
20
20
20
20
20
20
21
21
21
21
21
(3)List of Instructionsfor Timers
Instruction*Meaning
No.
10Timerprocessing(Fixedtimer)
10
Timer processing(Variabletimer)
16
1
2
TIM
TlvfR
RR after
operation
time up = 122
time up = 122
Page
Page 21
(4)List of Instructionsfor Registers
No.Instruction*
IN R
1
I
DCR
21
CLR\2I Clearsthe registercontents.
31
CMRI3 I Invertsthe registercontents.
41
51
61
71
10DEC3Coincidenceof registercontentsand numeric.
11
12
13
14
15ADD4
16
17AN R
18
19XRR
20
21
22 IMOV
23DST
24 I
ADI
SBI
‘N’I3IANISO
8OR1
9
XRI
COI
I
CMP
I
CPI
I
MVI
SUB
I
ORR
1I1
CPR
COR
DIN1, 7I Data extraction
I
Adds + 1 to registercontents.
3
I
I
I 3I Adds -1to registercontents.
I3 I Additionof registercontentsand numeric.
]3I Subtractionof registercontentsand numeric.I–
f registercontentsand numeric,
3OR of registercontentsand numeric.
3XOR of register.contentsand numeric.
4
I
I
I
I
[,
I 4I TransfersR1 contentsto R2.
I
Coincidenceof registercontentsand numeric.
I
3IComparisonof registercontentsand numeric.
4IComparisonof registercontentsand numeric.
3Load numericto a register.
Adds registersR1 and R2 and stores the result
in R2.
SubtractsR1 from R2 and storesthe result
4
in R2.
I
TakesAND of R1 and R2 and storesthe result
4
in R2.
TakesOR of R1 and R2and stores the result
4
in R2.
TakesXOR of R1 and R2 and storesthe result
4
in R2.
Checks
5
I and stores the result in I?2.
CheckscoincidencebetweenR1 and R2, and
5
sets the resultin RR.
TransfersAND of R1 contentsand numeric to
5
R2.
the result of com arisen of R1 with R2,
Meaning
RR after
oDeration
I
—
I
l–
I–
l–
l–
I–H“
—
—
1
I1
I
I
I
1
I
—
—
—
—
—
—
I
Page
22
I
I 22
123
I 23
I 23
I 23
24
24
24
24
I
25
I
I
I
t
25
2!5
25
25
25
26
I
I
l—
I
—
–127
I26
25
26
26
26
25
ADC
I
4IDouble lengthaddition
I
17
Page 22
7.2TYPESOF INSTRUCTIONSAND LISTS( Cent’d )
No.
:nstructio]
26
27
28
29
30lNRW
31
32
34
35
36
37
ADDW
SUBW
MULW
DIVW
DCRW
CLRW
CORW
CPRW
MVIW
DSTW
*
Adds double length registers(wR2 and WR1) and
4
stores the result in WR2.
SubtractsWR1 from WR2 and stores the result in
4
WR2,
Multipliesdouble length register(WR2) with regis-
10
ter (Rl)and stores the result in WR2.
Dividesdoublelength re ister(WR2) by register
15
(Rl)and stores the resu t in WR2.
3 I Adds + 1 to double lengthregistercontents.
Adds - 1 to doublelength registercontents.
3
Clears double length registercontents.
3
233CMRW
Invertsdouble length registercontents.
1
Sets coincidenceresultof double length registers
3
(WR2 and WR1) to RR.
Sets comparisonresultof double length registers
3
(WR2 and WR1) to RR.
Loadsnumericto doublelengthregister.
3
TransfersAND of double lengthregister(WR1)
5
contentsand numeric to doub–le len~th register
(WR2) .
Meaning
?
RR after
operation
H-
1s set to
RR “
“ 1“ when
overflowoccurs.
*
—
I
—
1
I
I
I
1
I
Page
I
I
I
129
27
28
29
29
29
29
29
29
30
(5)List of ControlInstructions
No.nstruction
1
2
3
4
5
6
7
NOP
MCRI 1I Start of master control relay.
END1
RET
RTI
SET
RTH
*
1No-operation.
1I
1I Sequenceprogramtermination.
r m is set tO
1
I
1
1
‘-””1”
Meaning
End of master controlrelay.
and RET instructionis executed.
“ 1”
Sets RR to “ 1. “
High speed processingsequenceprogram
ST contactis ON (RR = 1).This instruction is not executedwhen the ST contact
is OFF (RR = O).
The ST contactmust be made beforethe
INR instruction.
theST contactis ON,+ 1 is addedto
When
the registercontentsin every8 x “n”msec.
ST
INR
#1505
LD#10012
INR#1505
Cannot use
(,
this method
DCR (DecrementRegister)
FormatDCR# x x x x
4
{RR -~
I
#1500 - #1599
#1800 - #1899
#1900 - #1999
(registernumber)
4I
Page 27
......n-
when the S1’ contactis
addedto the registercontents.
tion is not executedwhenthe STcontactis
OFF(RR= o).TheRRcontentsremain
unchanged.
The ST contactmust be made beforethe
DCR instruction.
ST
DCR
b~‘-
When theST contactis ON,- 1 is addedto
the registercontentsin every8 x ‘In!! msec.
CLR (Clea)
Format
Clearsthe registercontentswhentheST
contactis ON (RR= 1).Thisinstruction
is not executedwhenthecontactis OFF
(RR=
unchanged
//10012
LD#10012
DCR #1505
{RR-j
CLR#xxxx
#1500 - #1599
#1800 - #1899
#1900 - #1999
(registernumber)
o).
The RR contentsremain
LD
CLR#1505
#loo12
CMR (ComplementRegister)
Format
Invertsthe registercontentswhen the STO
contactis ON (RR = 1) .This instructionis
not executedwhen the contactis OFF (RR =
o).The RR contentsremain unchanged.
The ST contactmust be made beforethe
CMR instruction.
P+ml
CMR#xxxx
ST
//14001
LD
CMR#1505
‘7
#1500 - #1599
#1800 - #1899
#1900 - #1999
(registernumber)
#14001
-..,—-..
UN(KK= 1) , - 1 is
#1505
!
{RR-~
#1505
+--i
This instruc-
<1
@The registercontentsare invertedin everv
8 x “n’~ msec when the ST contactis ON. ‘
AD I (AddedImmediate)
FormatADI#xxxx,xxH
X5~;meric
#1800 - #1899
#1900 - #1999
(registernumber)
Addsthe registercontentsand numericand
loads the resultto the registerwhen the ST
contactis ON (RR = 1) .This instruction
is not executedwhen the contactis OFF
(R=O).The RR contentsremain unchanged.
The ST contactmust be made beforethe
AD I instruction.
The ADI instructionis executedin every
8 x “n” msec when the ST contact is ON.
ST
ADI #1505, 10H
1-~f
SBI (SubtractImmediate)
FormatSBI#xxxx,xxH
Subtractsthe registercontentsand numeric
and loads the resultto the registerwhen
the ST contactis ON (RR = 1) .If it is OFF,
the instructionis not executed.
contentsremain unchanged.
The ST contactmust be made beforethe
SBI instruction.
t-+---+1-1
rhe SBI instructionis executedin every
) x “n” msec when the ST contactis ON,
#loo12
LD
AD1#1505, 10H
_l–.-—
#1500 - #1599
#1800 - #1899
#1900 - #1999
(registernumber)
ST
)10012
AD I
SB1 #1505, 20H
LD
#loo12
#1505, 20 H
#loo12
1
{RR-;
(hexadecimal)
( RR-;
~...-
L~umeric
(hexadecimal)
The RR
~
A
I
23
Page 28
7.5INSTRUCTIONSFOR REGISTERS
Cent’d )
(9)
XRI (Exclusiveor Immediate)
AN I (AndImmediate)
Format
ANI#xxxx,xxH
——
t
#1500 - #1599(hexadecimal)
#1800 - #1899
#1900 - #1999
(registernumber)
of the registercontentsand numericis
AND
takenand load~d in the registerwhen the
ST contactis ON (RR = 1).If the contact
is OFF (RR = O) , the instructionis not ex-
ecuted.
The ST contactmust be made beforethe
ANI instruction
t-----1
Re~istero01
Numeric1011 !01110111011
Result
ORI
Format
The RR contentsremain unchanged.
ST
WI
#loo12
LD#10012
ANI#1505, 55H
D7 D6 D5 n). ln~ ln~ Inf Inn
00010O1o11
I
(Or Immediate)
ORI#xxxx,xxH
——
1
#1500 - #1599
#1800 - #1899
{RR-]
L.umeric
/}1505,55H
t
tmT-tw-
IRR-1
!-
Numeric
(hexadecimal)
#1900 “ #1999
OR of the registercontentsand numericis
taken and loadedin the registerwhen the
ST contactis ON (RR = 1).If the contact
is OFF (RR = O) , the instructionis not ex–
ecuted.
-..
The RR contentsremain unchanged.
‘.
D7 D6 D5
D4 D3 D2
D1 D()
@Everythingis the same as in the ORI instruc-
tion,with an exceptionof the followingtable.
D7 D6 D5 D4 D3 D2
Registero011 0011
Numerico1 01 01 01
Resulto1
(10)DEC (Decode)
Format
d1
RR is one when the data and numericof
the 8 bits of the registerand contactset
are equal.
RR of the input side.
No contactcan be added beforethe DEC instruction.
contactmust be added.
For example,if the M functionoutputis
#1222, to set on/offMll with an Mllsignal,
the followingmust be given.
(11 ) CO I (CoincideImmediate){RR$ ~
@Format
DEC#xxxx,xxH
This will occur irrelevantto
Use the COI instructionwhen a
DEC#1505, 10H
OUT#14020
DEC #1222, OBH
OUT #14100 (relayfor Mll)
COI#xxxx,xxH
1 0011 0
[RR$;
T~:::::cimal)
Registerand contact set
T
Registerand contactset
D1 DO
‘r
Numeric
24
Registero01
Nuneric
Result
o1 0
o111 0111
1 0011
1 01
01
@RR is set to
of the registeror contactset coincidewhen
the ST contactis ON(RR= 1).If the contact is OFF (RR = O) , the COI instruction
is not executed.
It111when the data and numeric
RR is cleared.
t--i--,+=l=l=l
LD#14016
COI
OUT#14010
#1220, 10H
Page 29
(12)CMP (Compare)
Format
If the comparisonresultof the 8-bitdata
and numeric of the registerand contactset
is that the register(contactset)is equal or
greaterthan the numeric,RR is set to “1.1’
If the register(contactset)is smaller than
the numeric,RR is cleared.This is executed irrelevantto RR of the inputside.
No contactcan be addedbeforethe CMP instruction.
contactmust be added.
CMP
Use the CPI instructionwhen a
cm
I
#1230 2 10H
#1230 < 10H
CMP
OUT
CPI (CompareImmediate)
(13)
Format
CPI#xxxx,xxH
{RR$;
#xxXX,XXH
——
L
Numeric
!
Registerand contact set
#1230, 10H
~Zl=ON
~21 = OFF
#1230, 10H
#14500
(hexadecimal)
Z1
#14500I
{RR$I
This instructiontransfersthe numeric to
@
the registerwhen the ST contactis ON
(RR = 1).If the contactis OFF (RR = O),
the MVI instructionis not executed.
ST
MVI#1505, 15H
k~~
RR is not affectedby the MVI instruction.
@
If the ST contactis ON,the MV1 instruction
CD
is executedin every8 x “n” msec.
(15)
Format
When the ST contactis ON (RR = 1) , the
register(R2)contentsand register(Rl)
are addedand the resultis loadedin
register(R2) .
remain unchanged.The RR contentsalso
remain unchanged.The ADD instructions
not executedwhen the ST contactis OFF
(RR = o).
#14002
LD#14002
MVI#1505, 15H
ADD (ADDRegister)
ADD#xxxx,#xxx
T
The R1 registercontents
RR-;
{
~ti5ter
operated
Operatingregister(Rl )
4
to be
(R2)
T
Numeric
T“
Registerand contactset
RR is set to “ 1“ if the comparisonresult
of the data and numericof the registeror
contactset is that the register(contact
set ) is greateror equal to the numeric
when the ST contactis ON (RR = 1).
When the ST contactis OFF (RR = 1) , the
CPI instructionis not executed.RR is
cleared.
(hexadecimal])
t-+~~-=---l
LD
CPI
OUT
(14) MVI(MoveImmediate)
Format
@
h4VI#Xxxx,xxH
#14002
#1230, 10H
#14500
——
I
Register
{ RR- )
!
Numeric
(hexadecimal)
ST
b}+‘-
Note:
underflowis not performed.
resultless than 255 (FFH) ; With SUB,do not
make R 1 >R2.
(16)SUB (SubRegister)
@Everythingis the same as the ADD in-
struction,
subtraction(R2-R1-R2) .
(17) ANR(And
@Everythingis the same as the ADI) in-
struction,
AND,(RZ AND R1 ~R2)
(18) ORR(OrRegister)
@Everythingis the same
struction,
OR.(R2 OR R1 -+R2)
#14012
LD#14012
ADD #1501, #1502
In ADD or SUB,detectionof overflowor
ADD #1501, {/1502
With ADD,make the
[ RR-j
excepthere the operationis
(
Register)
excepthere the operationis
excepthere the operationis
RR-)
( RR- )
as the ADD in-
a
25
Page 30
7.5INSTRUCTIONSFOR REGISTERS( Cent’d )
(19)XRR(Excluseor Register)
@Everythingis the same as the ADD in-
struction,
XOR.
(20)CPR (CompareRegister)
@Format
@When the ST contactis ON (RR = 1), the
differencebetweenR1 and R2 is taken,and;
RR is clearedif R is smallerthan R2,
and RR is set to “ 1“ if R1 is greaterthan
or equalto R2.
CPR is not executedwhen the ST contact
is OFF (RR = O).
unchanged.
ST
l++I
I
#14012
#1501 c #1502 0.. 21 is set.
#1501 2 #1502 . . . 21 is cleared.
@) The
when the CPR instructionis executed,
Note:The instructionsfor registersdescribed
in ( 16) through (20) execute their commands by
8 x nms when the ST contact is on.The instructions ADD, SUB and XRR will change their
registercontents by 8 x rims.
(21 ) COR (CoincideRegister)
@Format
@When the ST contactis ON (RR = 1):
If RI is equalto R2, Z1 is set.
If R1 is not equal to R2, Z1 is
When the ST contactis OFF (RR
COR instructionis not executed,
RR contentsremain unchanged.
excepthere the operationis
(R2 XOR RI-+ R2)
CPR#xxxx,#xxxx
T’
Registeror contactset (R 1)
The RR contentsremain
CPR #1501,#1502
LD
CPR#1501, #1502
OUT#14123
data in R1 and R2 remain unchanged
COR#xxxx,#xxxx
#14012
T’
Registeror contact set (R 1)
{RR- I
{RR$j
Registeror
contactset (R2)
Z1
{RRI]
Registeror
contact set (R2)
cleared.
= O), the
and the
26
STZ1
COR #1501, #1502
t+1
#14012
LD#14012
COR#1501, #1502
OUT#14123
#1501 = #1502 ,..21 is set.
#1501 = #1502 . ““ Z1 is cleared.
@) The data of R1 and R2 remainsunchanged
when the COR instructionis executed.-
{RR- I
{RR-)
D2 D1 DO
B B B
111
,I
(R2)
4I
(22) MOV
@Format
@The R1 registercontentsare transferred
to RegisterR2 when the ST contactis ON
(RR = 1).
unchanged.
I
I
r’
@RR is not affectedby the MOV instruction.
(23)DST (DataStore)
@FormatDST#xxxx,#xxxx,xxH
@When the ST contactsin ON (RR = 1);
RegisterR1 and the numericare ANDed,
an~ the resultis transferredto R2,
RegisterR1 remainsunchanged.
When the ST contactis OFF (RR = O);
The DST instructionis not executed.
P’11
(Move Register)
MOV#xxxx,#xxxx
77
Register(Rl)Register
The RegisterR1 contentsremain
~TI
-.
MOV #1501, #1502
#14012
LD
MOV#1501, #1502
ST
#14012
LD
DST
Reg. RIB B B B B
Numeric
Reg.R2
l!~!t or !!0!!
B:
#14012
~“G,*)
Register(Rl)
DST #1501, //1502, OFH
#14012
#1501, #1502, OFH
D6 D5 D4 D3
DT
o0co1
o000BB B B
Page 31
@RR is not affectedby executionof the DST
instruction.
,
I
#1503
#1502
(24]DIN(DataInsert){ RR-~
FormatDIN#xxxx,# XXXX,XXH
7T-–T
Registeror
contactset (R2)
Registeror contactset (Rl)
When the ST contactis ON (RR = 1) , the
R1 data and numericare ANDedand the
result is ORed with the AND of the R2 data
and the numericcomplement.
storedin R2 (data extraction).
ST contactis OFF (RR = 1) , the DIN in-’
structionis not executed.
LD
DIN
RIAA
R2BB
n
ResultB B
4
A, B:
ADC (Addwith Carry)
(25)
#14012
#1501, #1502, OFH
ID71D61D51D41D31D21D11D0
AA
00
Data is “1” or “O. “
I
The resultis
When the
AAA
BBB
T
—
1 11
1
AAA
A
BE
—
{RR)
Numeric
(hexadecimal)
CzEiclP=l
PR
❑
@RR must be clearedto executethe ADC in-
struction.
(26)ADDW (AddWord Register)
@Format
@When the ST contactis ON (RR = 1),the
contentsof doublelengthregisters,WR2
and WR1, are addedand the resultis
storedin WR2.WR1 remainsunchanged.
(WR2)+ (WR1) + (WR2) .The RR contents
do not changeby the operation.When the
ST contactis OFF (RR = O) , the ADDW instructionis not executed.
is judgedwithoutcode.
l+’
ADD#xxxx,#xxxx,
T’
Low side of double length
register(WR1)
ST
#14012
LD
ADDW#1500, #1502
#14012
{ RR- !
Low side of
double length
register(WR2)
The numeric
)
@Format
@RegisterRl,
resultstored in RegisterR2,
to “1” when a carryoccurs .
l---m-+
I’1OO12
LD NOT
ADC
ADC
ADC#xxxx,#xxxx
T
Registeror contactset (Rl)
R2 and RR are added,and the
ADc ;1501, #1502
#loo12
#1501, #1502
#1500, #1503
T
Registeror
contact set (R2)
RR is set
ADC tlsoo,#1503
+1
(wR2)
#1503[#1502
(WR1)
#1501:
r
(WR2)
I
#1500
27
Page 32
7.5INSTRUCTIONSFOR REGISTERS(Cent’d )
(27) SUBW (SubWord Register)
Format
SUBW
#xxxx,#xxxx
[RR-;
ST
1+--+.L
{/140121+
MULW//1500, {/1502
LD
#14012
MUL#1500, #1502
Low” side of
double length
register(WR2)
Low’ side of double
lengthregister(WR1)
When the ST contact is ON (RR = 1), the
resultsof the contentsof doublelength
registers,WR2 minus WR1 is stored~n
WR2.WR1 remains unchanged.
(WR2)- (WR1)+
When the ST contactis OFF (RR = O) , the
SUBW instructionis not executed.
numericis judgedwithoutcode.
ST
SUBW
#14012
l----’+1~
LD
INRW #1500, #1502
#1503:#1502
[
-)
#1501i
[
I#15o3~#1502I
(WR2)
The
#1500, #1502
#14012
(WR2)
1
(WR1)
#1500
(WR2)
~
(RI)
‘)
#1503: #1502
L
(29)DIVW(DivisionWord Register)
@Format
@When the ST contactis ON (RR = 1), the
contentsof doublelengthregisterWR2
is dividedby registerR1 and the result
is storedin WR2.
When the ST contactis OFF (RR = O), DIV
instructionis not executed.
is judgedwithoutcode.
operationwill not be executed.
DIVW#xxxx,#xxxx
TT
Regis~er(Rl)
m
(WR2)
( RR- ;
Low side of
I
WR1 remains unchanged.
double length
register(WR 2)
The numeric
If WR1 is 110,11
(WR2)
(28) MULW (Mul Word Register)
Format
When the ST contactis ON (RR = 1), the
contentsof doublelengthregister,WR2
and registerR1 are multiplied,and the
resultis storedin WR2.
unchanged.
(WR2)x(Rl)+
When the ST contactis OFF (RR = O) , the
MUL instructionis not executed.The
numericis judgedwithoutcode.
resultis overflown,more than “FFFFH ,“
RR equals one.
MULW#xxxx,#xxx
I
Register(RI)
I
(WR2)
{RRII
Low side of
double length
register(WR2)
R1 remains
If the
ST
DNW
I--+11
#14012
X
LD
DIV#1500, #1502
#1503:#1502
‘)
#1503!
#1500,{/1502
#14012
(WR2)
E!iIEl
#1502
(WR2)
l-+
I
(Rl)
I
Page 33
(so)INRW ( IncrementWord Register)
@Format
@When the ST contactis ON,+1 is addedto
the doublelengthregistercontents.
b’
INRW#xxxx
ST
#14012
LD#14012
INRW #1500
t
I
Low’ side of doublelength
register
INRW
#1500
{RR- I
@The data of WR1 and WR2 do not change
when the CORW instructionis sxecuted.
(35)CPRW (CompareWord Register)(RR$ I
@FormatCPRW#xxxx,#xxx
Double Ien gth
T’
Double length register
(WR1)
@When the ST contactis ON (RR = 1), WR1
and WR2 are checkedfor the difference;
If WR1 is smallerthan WR2, RR is cleared.
If WR1 is greaterthan or equal to WR2,
RR is set.
register(WR2)
X
(31)DCRW (DecrementWord Register){RR-I
@Thesameas INRW,buttheoperationhere
is additionof -1 to the doublelength
registercontents.
{
(32) CLRW (ClearWord Register)
~Thesameas INRW,butherethe double
lengthregistercontentsare cleared.
(33)CMRW (ComplementWord Register){RR- I
@The same as INRW,but here the double
lengthregistercontentsare inverted.
(34)CORW (CoincideWord Register){RR$j
@Format
@When the ST contactis ON (RR = 1), WRI
and WR2 are checkedfor the coincidence;
If WR1 and WR2 are equal,RR is set to
If WR1 and WR2 are not equal,RR is
cleared.
When the ST contactis OFF (RR = O) , the
CORW instructionis not executed,and the
RR contentsremain unchanged.
b~l=’
#1500
#1500 = #1502 . . . Z1 is cleared.
CORW#xxxx,#xxxx
T-
Double length register
(WR1)
ST
CORW1/1500, #1502
#14012
LD
CORW#1500,#1502
OUT
4114012
#14123
❑ #1502 . . . Zl is set.
RR-~
F
Double length
register(WR2)
Z1
{i14123
When the ST contactis OFF (RR = O) , the
CPRW instructionis not executed.The RR
contentsremain unchanged.
ST
CPRW{/1500, {11502
#14012
b’11~’
LD#14012
CPRW#1500, #1502
OUT
#1500 t #1502 . . . Z1 is set.
#1500 2 #1502 0.. Z1 is cleared.
(36)MVIW (MoveImmediateWord Register)[RR-~
Forma tMVIW#xxxx,xxxxH
#14123
“~?‘
Double length register
When the ST contactis ON (RR = 1),the
numericis transferredto the register.
When the ST contactis OFF (RR = O) , the
1.
MVIW instructionis not executed.
ST
MVIW #1500,20FFH
#14012
H+1=4
The RR contentsare not affectedby execution of the LIVIW instruction,
Z1
il14123
Numeric
(High side)
Numeric
(Low side)
29
Page 34
7.5INSTRUCTIONSFOR REGISTERS( Cent’d )
DSTW (Data StoreWord Register){RR-)
(37)
@Format
DSTW#xJCxX,
~--p--,c
#XXXX,XXXXH
i
R~gister(WR2)
Register(WR1)
@When the ST contactis ON (RR = 1),Regis-
ter WR1 and the numeric and ANDedand the
resultis transferredto RegisterWR2.
The
WR1 contentsremain unchanged.When the
ST contactis OFF (RR = O) , the DSTW in-
structionis not executed.
ST
DSTW #1500, /}1502,OFOFH
i--+
#14012
LD
1~
#14012
DSTW#1500, #1502, OFOFH
-.
D15DI~ DI3 D12DI 1DIOD9
Reg.WRlB BBB BB B
Numeric
Reg.
o000111
o000B BB
WR2
D7 D6 D5 D4 D3 D2 D1
Dg
B
1
B
D()
t—++———cki
LD
WD
#14001
AND#14002
MCR
LD
#14003
OUT#14010
LD
#14004
OUT#14011
LD
#14005
Where Xl and X2
contactsare off,
is given from internal relays21, 22
and z3.
OUT#14012
END
AnotherMCR instructioncan be givenbetween
MCR and END (7 levelsmax) .
When a timer instructionis includedin MCR,
the timer is clearedwhen MCR is OFF.
Even if a self-holdingcircuitis formed
betweenMCR and END instructions,the
circuitoutputis OFF when MCR input contact
is OFF.
Reg.WRlBB BB BBB
Numerico000111
Reg.WR2
11111 or 1!011
B:
o00 0
BB B
B
1
B
~The RR contentsremainunchangedwhen
the DSTinstructionis executed.
7.6CONTROLINSTRUCTIONS
NOP (No Operation)
Format
NOP
; RR- }
No operationis conductedand the system
moves to the next step.The RR contents
remain unchanged.
(MasterControl)
MCR
Format
MCR
When the Xl and X2
RR- ]
{
contactsare ON(RR =
1) , the sequenceladderis released.
When the Xl and X2
O) , the ladderup to END is
state of RRbeing“O. “
contactsare OFF (RR =
executedin the
END (MasterControlEnd)[ RR- )
FormatEND
Indicatesthat MCR is at the end.
RET(Return)
Format
RET
! RR– )
Indicatethe end of sequenceprogram.
RTI( ReturnIndirect){ RR- )
Format
When theST contactis OFF,ladderof the
nextstepis executed.
b’----~
RTI
ST
//14011
LD#14011
RTI
RTI
1
Page 35
SET (Set ReturnRegister){RR-}
● TPSH (Table Push)
{m-)
Format
Forciblysets RR to “1.1’
RTH ( Return
FormatRTH
Indicatesthe end of a high speedsequence
program.
7.7 MACRO INSTRUCTIONS
Macro instructions(SUBPXXX)are providedto
enable the operatorsto simplyarrangeoper–
ations of machine tools with which ladders
cannot be preparedeasilywith basicinstructions (relayinstruction,registerinstruction,
etc. ) only.The followingexplainsfurther
details.
is as follows:
The followingauxiliaryinstructionsare used
with macro instructions:
● IPSH (Immediate Push)
@Format
@Directlydesignatethe numericused with
SUBP.
● APSH (Address Push)
@Format
@Designatethe addressof the registerused
with SUBP.
SET
High Sequence)[ RR-)
The format of macro instructions
SUBP
X X X
t
Macro instructionnumber
{RR-1
IPSHXXXXH
t
Numeric(hexadecimal)
{RR-}
APSH
#XXXX
t
Register
FormatTPSHXXXX
o
I
I
Tablenumber
Designatesthe table numberof PC table used
@
with SUBP.
(1)
SUBP 005
Function:
o
many ways to controlmachine tool operation accordingto the applications,as
describedbelow.
(a)
Ring counter
Thiscounteris ringcounter.Accordingly,
it returnsto the initialvaluewhena
countsignalis inputaftercountingup
to the presetvalue.
(b)Presetcounter
If a countnumber is preset,and the count
valuereachesthe set value,COUNTUP is
output .
(c)Up/Downcounter
Thiscountercan be used for up count and down
count also.
@) Form
.
f’,
1.
-/ I CNO,—,
UP/DOWN
RST
ACT
~“ooo
*
IPSH
APSH
APSH
f?l’ool
/}14002
(Counter)
This countercan be used in
lb
{/1500
/}1510
CTR
SUBP 005
l—
e
1-
RI
//11000
y
_ WORKPIECE
I
‘
PRESET
VALUE
COUNTER
ADDRESS
ADDRESS
COUNT UP
OUTPUT
@ PUSH (Push)
@Format
@Designatethe addresswherethe numeric
used with SUBP is stored.
PUSH#xxxx
{RR-}
t
Register
IPSH16
APSH #1500
APSH #1510
LD
#14000
STK#14001
STR#14002
STR#14003
SUBP 005
OUT#11000
Presetvalue
.,.
Counteraddress
. . .
Workpieceaddress
. . .
CNO
. . .
UP DOWN
. . .
RST
.,.
ACT
. . .
COUNTERinstruction
. . .
COUNTUP output
. . .
31
Page 36
7.7 MACROINSTRUCTIONS( Cent’d )
(g)COLJNT signal(ACT)
@COritml conditions
(a) Presetvaluedesignation(IPSHxx)
Directlydesignatea presetvalue.
TO designatea variablevalue,use the
pUSH instruction,insteadof IPSH,and
designatethe address,The presetvalue
becomesthe addresscontents.
Example:
PUSH #1550
If the abovedesignationis given,the two
byteof #1550 and #1551 are used.Do not
use #1551 for otherseven if only one byte
is to be used.
(b)Counteraddressdesignation(APSH#xxxx)
Designatethe counteraddress.
If APSH #1500 is designated,the continuous
two bytes,that is, #1500 and #1501, are
used for the counteraddress.
(c)Workpieceaddressdesignation
(APSH#xxxx)
Designatean addressthat is not used by
other instructions.
one SUBP 005.
are used,designatean addressto each of it.
(d)Initialvalue designation(CNO)
CNO = O: The countercumulativevalue
startsat “O.”
(O, 1, 2, 3, 4, . . . n)
CNO = 1: The countercumulativevalue
startsat “ 1. “
(1, 2, 3, 4, 5, . . . n)
(e)lJp/DOWN designation
UP/DOWN = O: Up counter
UP/DOWN = 1: Down counter
(f)Reset(RST)
RST = O: Reset release
RST = 1: Reset
R 1 is cleared.The cumulative
valuesis set to the initial value.
1 byteis neededfor
When two or more SUBP 005
Initialvalue is “01’ with
CNO = O
Initialvalue is “1” with
CNO = 1
The initialvalue is the
presetvalue.
lt~t,
ACT
ACT
ACT
III
t
COUNT
.
Thecounterdoesnot operate.
0:
TheR1 contentsremainunchanged.
=
1:
Countsat
Ill+!!
the rise of “O” to
COUNT
I
t
Note:
If the counter contents are greater than the
preset value at the time of power turn on:
In the case of Up counter:
Returns to the initial value with the first
ACT.
In the case of Down counter:
Counts down each time ACT is applied, and
when the value enters within the preset
value. the operation afterward is normal.
(h)COUNTUP output(Rl)
Up counter:
R1 is set to l!111upon countingup to the preset
value.
Down counter:
When CON = O
R1 is set to “ 1“ when counteddown to ‘IO. II
When CON = 1
R1 is set to “ 1“ when counteddown to ‘11.’1
@Counteruse example
(a) Exampleof usingthe counteras a preset
counter
The numberof machinedworkplacesis counted.
When the count reachesthe set value,the
COUNTUP signal is output.
cNO
UP/DOWN
RST
ACT4
,
Al
r
‘ir#14001
Al
41
#14001
RST
CUP
‘#llooo
PUSH#1520
APSH
M02
#1500
#1510
CTR
1
I
I
t
CUP
‘ ‘U12007
Page 37
.
Al is the circuitto createLogic“ 1.”
.
NC contactof Al is used to clearCNO since
the count rangeused is O to 9999.
.
NC contactof Al used to clearUP DOWN as
it is used as an UP counter.
.
RST,the inputsignal from the NC unit,is
used as the counterresetsignal.
.
The count signalis the inputsignal from the
NC unit.M02 or. M30.NC contactof CUP is
containedin this signal the counte:r does not
count once it countedup unlessit is reset.
(b)Example of usingthe counterto memorizethe
rotatingobjectposit~on.
Al
#14000&
T“
Al
_
CNO
UPDOWN
RST
ACT
PUSH
APSH#1500
AFS13#1510
—Looo
Jiwh4010
Al
al
#14001
CNT
-1
} #14030
5’
4
#1520
}
1
CTR
I
RI
#14020
SUSP005
6
7
8
.
REV is a signalthat changesaccordingto
the rotationdirection.
forwardrotationand “ 1” for reverse
rotation.Therefore,
Up counterfor forwardrotationand as a
Down counterfor reverserotation.
.
.Since no resetsignal is used in this example,it is kept to “O” always.
fore,NC contactof Al is used.
.
The CNTcount signalis a signal to turn
ON/OFF10 times &one rota~ionof the
rotationobject,
.
Set 10 and O to the presetvalue
#1520 and #1521, respectively.
(2)SUBP 006 (ROTATION)
@Function:
This instructionis used to control
objectssuch as blade base,ACTand rotating
table.It has the followingfunctions:
(a).Judgement of short-cutrotationdirection
(b)Calculationof numberof stepsbetweenthe
currentpositionand targetposition
(c)Calculationof the positionof one step
beforethe targetpositionor the numberof
stepsup to one step beforethe targetposition.
F---+l’s”[
APSH
1~
APSH
It is “O” for
it operatesas an
There-
addressesof
rotation
#1510
#1520
#1530
CALCULATION
RESULT ADDRESS
TARGET POS1T ION ADDRESS
CURRENT POS 1TIoN AODRESS
NIMSER OF
ROTATING OBJECT
POS1TION1NGS
‘\/
REV=l
0
2
REV=Og
10
1
A
INDEXED POSITION
.
Al is circuitto createLogic“ 1.”
d
With the rotatingobjectof 10 angles,as
shown in the figure,the countstart number is 1.
to CNO to ‘11.“
.
REV is a signalthat changesaccordingto
the rotationdirection.It is “O” for
forwardrotationand “ 1“ for reverssetCNO to
111.11
Ther~fore,NO contacto:f Al is used
‘“”slm
B
11
DIR
t14002
Pos
14003
P=
w’-mFrm5-lsum 006 I
I
APSH #1510,..
APSH #1520. . .
APEiH #1530. . .
IPSH10. . .
LD
#14000. . .
Calculationresultoutput
address
Targetpositioninput
address
Currentpositionaddress
Numberof rotating
objectpositioning
The positionnumber is
from “O” or “1. “
P--
RI
/111000
33
Page 38
7.7MACROINSTRUCTIONS( Cent’d )
STR#14001.,.
STR#14002. . .
STR#14003. . .
STR#14004. . . Positionnumberof
STR#14005. . . Execution
SUBP 006. . . ROT instruction
OUT#llooo.. .
Controlconditions
@
(a) Designationof calculationresultstorage
address(APSH#XXXX)
The ROT instructioncalculatesthe number
of steps that the rotatingobjectshould
rotate,
the positionof one step beforethe target
position,and the resultis storedin the
designatedaddress.
direction.
When the currentpositionis equal to the
targetposition,th~ calculation‘resultof
the numberof stepsof one step before
the targetposition(POS = 1, INC = 1) is
Calculatesthe positionor number of
stepsof one step beforethe target.
R1 is not affected.
(Thisis not a risesignal. )
The rotationdirectionis reverse.
shown
‘cl”Q’
8
A
l~wmPoS1TION
2
A
1NDEX2D POS1TION
“o.”
(e)Designationof numberof bytesof posi-
tion data (13YT)
BYT= O: Binary1 byte
BYT= 1: Binary2 bytes
(f)DesignationOf whetheror not short-cut
directionshouldbe determined(DIR)
DIR = O:
DIR = 1:
34
No determinationis made on
short–cutdirection.
directionis forwardonly.
Determinesshort-cutdirection.
Therotation
@
Use of exampleof ROT instruction
The followingshowsthe controlof a 16-position
rotatingobject,withoutshort-cutcontrolbut for
decelerationat the positionof one step beforethe
targetposition.
Page 39
Conversion
standard
data address
~~””m
Conversion
data output
address
Data table
head address
Xxxx
‘-=-
-
I“tli
/
wi~~!’~e[able
BY T-1
I
BYT-O
o
Conversim
data
1
2
3
ACT
‘h?=
TF
k~
DECACRT,
I IGQIN
COR U1S1O, ~150Q
REO
I %1-co-dbiim’
I
DECACR
DEC
#11.020
DECELER4TION POS1.
TION DETECTION
– ,,,,“., , L“mrmN”
I
(3)SUBP 007 (CODE CONVERSION)
@Function:Convertsdata using the PC table
preparedon the ladder.
Conversion
standard
data address
Conversion
data output
address
“’””m
Data table
head address
““
/
Number
within table
Conversion
~data
-3
.
When “ 3“ is instructedfor the conversion
standarddata addresswith BYT= O, as
shown in the abovefigure,the data of the
thirdaddressfrom the head of the table is
storedin the conversiondata outputaddress.
.
The status when BYTis set to “1“ is shown
below.
of the conversiondata table is in a even
bytenumber.
The head addressof the table is “0.’!
At this time,check that the size
—
SYT
-+’ !414000
IPSH20
APSH #1500
TPSH #9000
APSH #1510
LD
OUT#14010
#14000
STR#14001
STR#14002
SUBP 007
-20H
-30H
-40H
—
AS’SH
m__.._J
9000
. . .
. . .
. . .
. . .
. . .
I
1
lPSH
20
Awn
. . .
. . .
. . .
. . .
#1500
con
L-–
~
\ RI
lAH
2BH
3CH
#1510
I
El
Size of conversiondata
table(Numberof bytes).
Conversiondata address
No.of PC table
R1 = 1 : Abnorm~(The data to be converted is binary
data when CNV = 1, or the byte length was exceeded
when CNV = O. When BYT = 1 : CNV = O, R1 is not output unless BCD data is more than 2711 (H).
(1) The sequenceprogram editor (JDUO1) should be
mounted on the CPU rack in the NC unit before being
wired.
(2) To operatea sequenceprogrameditingsystem, use the NC operatorpanel with a CRT as
an operatorpanelfor the editingsystem.
(3)A tape readeris used to load into sequence
programeditormemorya list tape with a
sequenceladdercoded in it or a P-ROMformat
tape writtenin machine language.
(4)A tape puncheris usedto punch out the
final sequenceprogramthat was editedand
checkedon a list tape or P-ROMformat tape.
(5) A commerciallyavailableP-ROMwritercan
be connectedto the NC RS232C interfaceto
writethe final sequenceprograminto P-ROM.
9.2SEQUENCEPROGRAMEDITOR(JDUO1 )
(1) The name and the typeof the sequencepro-
gram editorare as follows:
Name:
Type:JZNC-JDUO1
External view of the JDUO 1is shown in Fig. 9.2.
SequenceProgramEditor
9.3CONNECTINGSEQUENCEPROGRAMEDITOR
Follow the steps given below to connect the JDUO 1.
(1) When the JDUO1 is mounted on the NC CPU rack,
NC CPU unit power should be turned OFF.
(2) Mount the ROM (No. 40) on the JSD board from the
PC50 board.
(3) Replace the PC50 board with the JSD board.
E
JZNC-JDUOI
INSERTION
\
~ EJRCT ION
\/‘
(2) The JDUO1 has a C-MOS memory backed up by
battery.It can store up to a 128 k-bytesequence
program to be edited. The stored sequence program is on
the level of the P-ROM format in machine language.
(3) JDUO 1 components along with their functions are
listed below.
(a) Two mounting holes with hooks :
Mounts the JDUO1 wtth attached hook on the CPU rack
in the NC unit.
(b) CNAI (120 core) and CNF (80 core) connector :
: Supplies power (+5 V) to the JDUO1
: Used to connect the NC main section with the PC
section.
(c) ROM/RAM select switch :
Selects P-ROM in the P.C. system or C-MOS memory in
the JDUO1 for operation or controlling.
a
Fig. 9.2 CPU Rack
46
Page 51
9.4EDITSYSTEMOPERATOR’SSTATION
TheNC operator’sstationwithCRTis usedfor
sequenceprogramediting,whenusedas a se-
quenceprogrameditingunit.
t-
(1) POWER ON/OFFPushbuttons
. POWER ON pushbutton
To turn on the powerfor the control:
Depressthe pushbuttonfirstto turn on
the controlpowerand depressit again to
turn on the servopower.
ton to recoverthe servopowerafteran
emergencystop. )
s POWER OFF pushbutton
To turn off the powerfor the control:
Depressit to turn off both the servoand
controlpowers.
(2) DATAKey
For O to 9, data keysof O to 9 are used.
For hexadecimalA to F, addresskeysof A
to F are used.
can be made by usingaddresskeys.
I
Commandsand addressinput
+J-
Fig, 9.3 Operator’s Station for J50L/J50M
(Pushthis but-
Fig. 9.3 shows the NC operator’sstation resDectivelv
for YA=NACJ50L and J50M. -
H,’XCTIOS
Im!aiilaEiia’iiEl
IaaaaEiiaEiI
#
.
Depressing~key moves the cursor
backward.~
. Keepingthe cursorcontrolkey depressed
makes the cursormove automaticallyforward or backward.
(6) PAGE Keys~~~~
Depressingthe @key increasesthe editing
page by one.
the cursorbackward.
(7) [mKey(FunctionMode SelectKeys)
Depressingthe NEXT key increasesthe function
mode numberby one.Mode 6 changesto mode
1 by depressingthe NEXT key.For detailsof
mode 1 to 6, referto par.9.5.
(8) ~,~,~], and~Keys
+
n
u
Depressingthe ~key moves
n
PAGE
-4
.
(3)~](cancellation)key:
For cancellationof the inputdata.
(4)~(write)key:
For storingthe input data into buffer
storage.
(5) CURSORKeys
The CURSORcontrolkey is used to move the
cursor.It is used to startaddresssearch.
. Depressing~
forward.
key moves the cursor
B
(a)~]key:
For erasureof a blockof data in a sequence
program.
(b)~]key:
For insertionof a blockof data in a sequence
program
(c)]=]key:
For alterationof
program
a blockof data in a sequence
47
Page 52
9.4 EDIT SYSTEM OPERATOR’SSTATION (Cent’d)
9.5FUNCTIONMODEOF EDIT SYSTEM
(d)l=]key:
For storinga blockof data in a sequence
ladder.
The blockstoredusingthe EOB key will
be the last blockin a sequenceprogram.
❑ ,~], and~]Keys
(9)
❑key:
(a)
To start storingdata on papertape into
memory throughtape reader.
(b)~1key:
startverifyingbetweenmemorydata and
To
punchedtape data.
IOUT]key:
(c)
To start outputtingvariousdata in memory
throughdata 1/0 interface.
IRESET Ikey:
(d)
To returnthe editingpointerto the head of
sequenceladder.A~s; used for releasing
alarm codes if theircauses are eliminated.
When the controlunit is used as a sequence
programunit,four functionmodes can be
selected.
Use the -]key for mode
selection.
J50L/J50M PC System Structure
P-ROM
(SEQUENCE
PROGRAM)
D-RAM
f
,{CI
I
sDC-MOS
(SEQUENCE
PROGRAM)
(P,
I10
PRINTED
BOARD
m~r—1
NC UNIT
(MAIN
PART)
nn
I
P-ROM
WRITER
~
[
1
1
(1) JDUO1 board ROM/RAM select switch
ROM : From P-ROM
Transfer at power ON
RAM : From C-MOS
1
Function
Mode No.
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
Mode 6
Table 9.1 List of Function Modes and Functions
Function Mode
Edit mode
(fADDER EDfTl
List tape mode
(SOURCE
PROM
(ROMWRfTERl
Parameter mode
(P~ETER)
PC data edit mode
(PC
Addresscheckmode
(ADDRESSCHECKJ
TAPE)
wrfter mode
TABLEEDITI
(2) +: Stores the edited D-RAM data in C-MOS of
JDUO1 board. (See (4) in the column of MODE 4.)
Function
.Alteration, insertion, and deleting sequence programs, address
search, and writing by MDI.
Storing, collating, and punching out of P-ROM former tape.
Storing, collating, and punching out of list tape.
Transferring sequence programs to P-ROM writer.
(1) Registration of version number
(2] Registration of tape comments
(3) Setting Baud rate
(4) Transfer of DRAM to C-MOS
(5) Transfer of P-ROM to DRAM or C-MOS to DRAM.
(6) P-ROM ~pe selection
(7) Rcactting of edit area
(8) Returning to NC mode
(9) 1/0 device selection
(1) Editting of PC table and address searching
(2) Storing, collating, and punching-out of
Checkingforaddressduplication
in sequence program.
P-ROMformattape
48
Page 53
9.6 HOW TO ENTEREDITINGSYSTEMMODE
Givenbeloware the EXITSTEPSto leavethe
NC systemmode(NCMode) , and to enterthe
editing
deviceis used as sequenceprogramediting
system.
the devicepermitsoperationsdescribedin
par.9.7 through9.11.
9.6.1 When NC Unit is
systemmode (SD mode)in which the
Afterswitchoverto the SD mode,
in Offline State
(SystemNO. 6+ SD MODE)
The NC unit in the oftline state is an NC unlitthat cannot
operate in the NC mode upon power-on, witlh no sequence
program stored in PC P-ROM or JDUO1 C-MOS.
Switching from the offline state to the SD mode
requires the followingoperations,providedthat the
JDUO1 has been connected as explained in par. 9.3:
(1) Set the SystemNo. switchto ~ .
(2) Snap the ROM/CMOSselectswitchto RAM
on the JDUO1.
Depressthe POWER ON pushbuttonto apply
(3)
power.
on the CRT.
A comment “OPTIONALJOB” will appear
OPTIONALJOB
)
9.6.2When NC Unit isin Online State
(SystemNO.4+SD MODE)
TheNC unitin the onlinestateis an NC
unitthatcan operatein theNC
power-on,with the sequenceprogram
storedin P-ROMor C-MOS.
Switching from this online state to the SD mode
requires the following operations, provided that the
JDUO1 has been connected as explained in par. 9.3:
(1) When the sequence program is stored in P-ROM,
snap the ROM/RAMselect switch to ROM on the
JDUO1.Set the switch to C-MOS for the program
stored in C-MOS.
(2) Depressthe POWER ON pushbutton
power(set the SystemNo. switch to“O
or~4~ beforehand).
entered.
(3) When a test run is performedhere for
sequenceprogramcheck,stop all NC functions
by Feed Hold or otheroperationsand press
(1)CRT displayin MC)DE 1
(a) As shown below,10 lines of a sequence
programstoredin C-MOS are displayedin
MODE 1.
line.
,,,~10’23& No’r y;
A blank line is countedas one
MODE DISPLAY
A
[ LADDER EDIT
MODE
~
MDDE 1
1
I
I
‘F-l-%iLiibt%”’’u’”c’
TL
(b)A line numberis a serialnumberattachedto a closedcircuitgroupbeginning
with a contactinputcommand and ending
with a contactoutputcommand.
LINE NO.
0125
0126
//1000
#15553
R
$“4°“’2’0-
//10132
l---+
COMMAND INPUT CCMPLETE DISPLAY
INPUT DATA DISPLAY AREA
Fig. 9.7
(I10125
I
/
/+14003
u
Note:
from the System No.switch at
comment
CRT becauseno sequenceprogramis currently
stored.In this case,enterthe parameter
mode of MODE 4 and clearthe edit are ((6)in
par.9.10)to resetthe errorcomment.Com-
mands
Then normal edit operationsare possible.
(2) ADDRESSSEARCH
AddressSearchsearchesthe commands or line
to be edited.The searchingprocedureis
as follows.
(a) Key in the commands to be searched
Keyingin “O,”“R, ”“WR,”“l, ”“O,”“O,”
NO,1! NO,N
#10000; to displayat the bottom of the
CRT screen.
(b)Depressthe
Searchstarts.When the searchis completed,
ten-linecommandsincludingthe searched
command will be displayedon the CRTscreen.
(c)If the keyed-incommand cannot be found,
N*ERRI)OB*IIw-ill beshown on the CRTscreen.
Releasethe. alarm code by depressingml
or ~1key.
If MODE 1 of the SD mode is entered
I!*DISASSEMBLE*”will appearon the
ttRTHll and IIRET”will appearon the CRT.
throughthekeyboardcausesOR
1
I
LADDEREDIT
I
0001LD
0002
I
0003
—o,R
rl---
OR#1000o:
L
SEARCHEDCOMMAND
CURSORindicatesthe searchedcommand.
key.
E
AN O-NOT815034
OUT
sET
DSTW
LO-NOT
T’MR
nloo13
nllou:
S1402.U1500,0FFFFH
U14020
Uloooo
s1711,#7012
Fig. 9.9
❑ , an error
MODE1
I
I
J
(c)A cursor
to be edited.
dresssearch
the cursor.
LADDEREDIT
0001
0002
0003LD -NOT
/’
is positionedto the command
See the nextparagraph“Ad-
function o for how to specify
MODE1
LD
AND-NOT#15034
OUT$11007
SET
DSTW
>Q,R
3% R$11711 .#7012
#loo13
#1402,~1500.OF FFFH
#14020
*1 OOOO
Fig. 9.8
Note:
1.
The command can be searchedby keyingin the part of the command data.
Example:For DST #1200, #1100, FF com-
mands keying_in
search the DST commanckregardless of
#1200, #1100, and FF.
2.
Address search can be done by using only
one address
Example:
mands, keying-in
‘WR’V can search the commands which use
#1200 regardless of DST, #1100, and FF.
Address search can be done continuously.
3.
Searching can be continued if
key is pressed again after address search.
Depress ~
1,~, fl !!s,11 !IT, I! !IWR!l can
For DST #1200, #1100, FF com-
t!#ll Itl, ll 112,!1 1,0,,, ,Io,ll
B
key to quit searching.
Page 55
4. When the data to be searched is near the
@Eil~‘se the II@@keY toreach
the requireddata.
(3) Key inputoperations
Below are the stepsto key in commandsand
displaythem at bottom left on the CRT
screenfor editingor addresssearch.
(a)PresstheADDRESSkeysto sequentially
key in the alphabeticof the commands to
be entered.
(f)Pressthe
will be displayedto completethe key-in
operation.
pressedin eachsection explainedabove,
pressthe
correctkey [~‘ey andthen pressthe
r
~key.A semicolon( ; )
If an inadvertentkeyis
Example:
(Command)
(Key-inoperationsi)
u
Use the Minus
key insteadof
the Hyphenkey.
Alphabeticstringswill appearat bottom
left of the CRTscreen.
(b)Depressthe~key.
For commands not requiringaddressnum-
i.
bers(SET,END,etc. ) , a semicolon(;)
is displayedaftereach to completethe
key-inoperation.
For commandsrequiringaddre!ss numbers
ii.
(OR,MOV,etc.),a symbol“{f” is dis-
playedafter each to promptfurtherentry.
...
Enteringan alphabeticstring otherthan
111.
the commandscausesa comment“*ERRO1*”
to appearon the CRT.
depressingthe ~]or ~!tilkey.
This is reset by
(c)Key-inaddressnumbers(followedby bit
numbersif necessary).
For commands requiringone addressnumber(e. g. , OR) ,
enteringthe requirednumber of digits
causesa semicolon(; ) to appearautomaticallyaftereach number,thus completing the key-inoperation.
(d)Pressthe ~key.For commandsrequiringtwo addressnumbers(e. g. , MOV) ,
symbols“
,#“ will automaticallyappear
afterentry of the firstnumber.
Fig. 9.10
r
Fig. 9.11
MOV#1501, #1502;
I
Fig. 9.12
Theaboveprocedurecoversmostof the commands,
with onlya few differencesfor some.
a semicolon(; ) appearingat the endof the entered
data indicatesthe endof the key-inoperation.
On the data thuskeyedin, addresssearch “and
editing functionsby the
mkeys are av~lable
(4) Edit Operation(~],-],~Z])
Thecommandspecifiedby the cursorcan be
altered,insertedor erased.
(a) Alter operation
INsRT, mland
In anycase,
Depressthe ~~~key.The command specified by the cursorwill be erasedand
replacedby the command just entered.
Afteralteration,the command that replaced
the old one remainsspecified.
(e) Key in the nextaddressnumber,and the
number will be displayed.
51
Page 56
9.7’.1 SequenceProgramEditing ( Cent’d )
LADDEREDIT
ALTER KEY
(-’l’
0001LD
0002SET
—,0.R
AND-NOT
AND-NOT$15034
OUT
DSTW#1402, #1500,0FFFFH
0003
LADDEREDIT
LD-NOT#14020
7MR
#loo13
#lloo7
4F1OOOO
#1711, #7012
4F16003
MODE1
MODE1
(c)Eraseoperation
Pressthev]key.
specifiedby the cursorwill be erased.
Aftererasure,thecommandfollowingthe
erasedcommandis specified.
LADDEREDIT
0001LD
J
0002
0003LD-NOT
—----.$rtR
AND-NOT#15034
OUT
SET
DSTW
Thecommand
MODE1
$I1OO13
*11OO7
$! 1402,111500,0FFFFH
S14020
#loooo
#1711.117012
0001LD*1OOI3
0002
0003
—AND-NOT*161303
AND-NOT!415034
oUT#lloo7
SET
DSTW#1402, #1500,0FFFFH
LD-NOT
~tiR
814020
$!1711 .$17012
Fig. 9.13
(b)Insertoperation
Pressthe1=~key.The command just
enteredwill be insertedfollowingthe
.c,ommand specifiedby the cursor.
Afterinsertion,the command just inserted
remainsspecified.
lINSRTl~
-J
LADDEREDIT
0001LD
0002
I
0003
,QR
AND-NOT
LADDEREDIT
AND-NOT#15034
OUT
S ET
DSTW
LD-NOT
TMR
!410013
*I1OO7
*1402 )#1500.0FFFFH
1114020
$I1OOOO
#1711, #7012
$16003
MODE1
MODE1
ERASE KET
LADDEREDIT
)’[
)
II
II
0001LD
0002
0003
AND–NOT#15034
oUT
DSTW
T,MR
‘dUT
$!10013.
#lloo7
SET
LD-NOT4F14020
#1402 .411500.OFFFFH
$1711.$7012
Illloso
MODE1
T
Fig. 9.15
(5) Low-speedprocessingsequenceprogram
division
When the edit operationof sequenceprogram
is completedin the edit mode,the sequence
programshouldbe divisedfor low speed
processing.
Depress
MODE 1.The programsare automatically
I
dividedfor low-speedprocessingand number
of sectioncount is indicated.
9.7.2
)
In MODE1, a sequenceprogramcan be written
by MDI key-inoperationsfromthe beginning.
Thewriteoperationsare as follows:
themkey~and then=key with
MDI Write Operationon SequenceProgram
52
0001LD
0002
0003
——
_AND-NOT#16003
AND-NOT#15034
OUT#lloo7
SET
DSTW#1402, #1500, 0FFFFH
LD-NOT
OR#loooo
#loo13
l!14020
Fig. 9.14
(1)Operate the NEXTtoselectMODE4.
Clear the edit area.
For the details, refer to par. 9.10(7).
(~)OperatetheNEXT
Thisoperationreturnsthe cursorto the
beginningof memory.
“RET;”will appearon theCRT.
(3)Keyin thedesiredcommandby the operation
of par.9.7.1(3)on page51.
keyto returnto MODE1.
Commands“RHTand
Page 57
(4) Depressthe [INSRT]key,and the command
just keyedin will be insertedfollowingthe
command specifiedby the cursor.
sertedcommand will be specifiedanew.
(5) Repeatthe operationsof (3)anc[ (4) above
to writethe sequenceprogramconsecutively.
‘lrhe in-
LADDEREDITMODE1
0001
0002SET
LD #10013
AND NOT
D;T#1402,#1500.oFFFFH
I
#15034
(6) Finally,depressthe
keys,in that order,to completethe writing
of the sequenceprogram(RET= sec[uence
programend command) .
1.
Depressingthe ~key inserts
the command iust keved-infollowing
the command specifiedby the cursor,
and erases all the subsequent commands.That is, the command stored
by the ~key becomes the last
command of the sequenceprogram
at that time.
Consequently,in the edit operation
2.
of par. 9.7.1(4),the ~key
can be used to erase all commands
followinga specificcommand (see
Fig.
9.16).
Depressingthe @key in-
serts AND-NOTcommand after OR
command and deletesall the commands stored afterAND-NOT.
LADDEREDIT
0001LD
AND-NOT815034
OUT
0002
I
SET
DSTW
❑, ~,”[~and ~]
NOTE
MODE1
S1OO13
$I11OO7
$1402, #1500 .OFFFFH
EXITCOUNT-II
L
SECTIONCOU~
Fig. 9.17
4. Searchfunction of sectionmarked
****
Afterfindingthe sectioncount by
keying~, the portionsin the
ladderwhere the section is in-
sertedcan be searched.
(a)Key-in ~andthen, I=lfo.r
times.
digits)to be searched,and ~.
(b)Key-in-.
(c) when the search process has been
completed, the sequence ladder for that
portion is displayed.If *ERR.008*
(search error)is displayed,clear it
by depressingthe ~]key.
9.7.3P-ROMFormatTape Input/OutputFunction
(~,~])
MODE 1 permitsa P-ROM format tape on the
machine languagelevelto be inputted,
verifiedand punchedout.
The sectioncount “n’! (two
Ed
AND-NOT
EOBXEY
LADDEREDIT
0001LD
0002
0003LD-NOT
T
_.&ND-NOT#16003
3. Section count displayfunction:
UpOn completion of a ladder se–
quence editing process,depress
the~]or ~keyto produce
the section and CHECK SUM (total).
Then the section count is dis-
playedas shown below.
~=1key can clear this.
816003
AND-NOT$$ 15034
OUT
SET
DSTW
OR
. .
Fig. 9.16
MODE1
nloo13
*11OO7
t11402. #1500, 0FFFFH
$14020
810000
~or
J
(1) InputtingP-ROMFormat Tape(~)
A sequenceprogramstoredin, the form of
P-ROMformat tape is reedited.
(a)Set a P-ROM formattape on the tape
reader.
(b)Depressthe~key.This will move the
contentsof the P-ROMformat tape intoPC50
RAM memory(editarea) .
tape readoperationor an erroneousentry
is detected,
CRTscreenand the tape stopson an
16K-byteboundary.
❑ key again
the
continueloadingthe tape contents,it is
recommendedto run the tape from the
beginning.
tape is not usable.
*ERRO03*is displayedon the
can resetthe errorand
Shouldthe errorrecur,the
If an inadvertent
Althoughdepressing
53
Page 58
9.7.3P-PROMFormatTapeInput/Output
Function(~, ~])(Cent’d)
(2) PunchingOut P-ROMFormatTape(1~])
An editedsequenceprogramis punchedout onto
a P-ROMformat tape.
(a)Connectthe tape puncher(see NOTE1) via
the data 1/0 interf~ce-optionof the NC unit.
(b)Depressthe ~]keyand ~key orderly.
Thecursorwill returnto the beginningof the
sequenceprogram.
LIST TAPE lNPUT/OUTPl.JTMODE ( MODE 2)
9.8
MODE 2 allows a list ta~e with a seauenceladder
codedin PC instructionwordsto be loaded,
verifiedand ~unchedout.
(1) CRTDisplayin MODE 2
Operatethe PAGE keys to selectMODE 2, and
tiefollowingscreenwill appearon the CRT:
r
SOURCETAPE
.
.
MODE2
(c)Depressthe
RAM memory will be punchedout onto a P-ROhl
format tape on the machinelanguagelevel.
REMARKS:
To verifywhetheror not the contents
i.
are punchedout correctly,continuethe
verificationof ( 2) above.
A designedsequenceladderis codedand its
data used for editing.
(a)Set a list tape on the tape reader.
(b)Depressthe
❑key.List tape data will
be loadedinto DRAM memory(editarea)as
they are assembled.
If a code erroror
puncherroris detected,the tape is kept
read in and the erroris loadedas “ NOP”
code.
No errorindicationis given.
Note : “Assemble” operation means converting PC
instruction words in list form into machine language.
It follows that the PC50 edit area holds data
in
machinelanguage.
PunchingOut List Tape(1OUT])
(4)
Theeditedsequenceprogramforlistingon a
printeris punchedout in theformof list
tape.
(a) Connect the RS232C or equivalent tape puncher via
the data 1/0 interface option of the NC unit. Refer to
MODE 4 FUNCllON 10.
Fig. 9.21
(b)
Depressthe ] RESE_f I key.Thecursorwill
returnto the beginningof the sequence
program.
(c)Depressthe ~OUT I key.The contentsof
PC50 memory will be punchedout onto a list
tape of the PC instructionword level.
(5) Reading-in,punching-out,and verifing
of PC data tables( n, 1-1,ml)
Operationsof reading-in,punching-out,
——u
and verifingPC data tablesshouldfollow
the proceduresshown below.
Reading-in(
Punching-out(ml) . . . Press
❑ ) . . . Press❑ and ❑ keys.
❑ andM
keys.
(6) PAUSEfunction
Since lengthof list tapestendsto become
long,more than two tapesare sometimes
needed,
Therefore,PAUSE
providedfor the
of list
tapes.
❑ , and
functionis
mloperations
56
Page 61
(a) \OUT \ (punch-out)
If ~CAN]key is pressedwhile a list. tape is
punchedout,then up to the end part(i.e.
AND #10013; %) of a command code will be
punchedout,
the CRT,and the punching’out stops.
t!ouTpAUSEllwill be displayedon
If the
OUT key is pressedagain in this state,then
followingdata will be punchedout.However,
if RESET key is pressedthen the punching
out startsagain from the beginningof the
data.
The line “30 indicates the 64 k bytes edit area of the
JDUO 1, and the location number shows the field in which
the sequence program is actually written.Numbers 30
representslocationnumbersof P-ROMs for further
identification.That is, the edit area is represented in
terms of P-ROMs.
To transferPC tabledata,set the displayshown
below by‘AGE key.
U
(b) PC table data
❑(readingin and verifing)
(b)
For reading-inand verifingoperationsof a
list tape,when the last “%t’ of a command
code is read–in,
TIIN pAUSEN is displayed
and a correspondingoperationstops.- If
INkey is pressedafterchanginga
•1
taDe then followin c data will be storedor
.
verified.
pressed,thenstoringor verifingStilrts
Howeve~,if
~]key is
again from the firstpart of the data.
NOTE
1.
Continue the verificationof (2)
above to check that the program is
correctly punched out.
2.
A feed hole punch portion about
cm long is providedat the beginning
and the end of the punched-outtape.
The above
3.
ing of data in‘ISO-;ode.
steps applvto the puncl~-
75
TO Gunch
out in EIA code, press the ~
key while keepingthe ❑ key de-
pressed.
9.9 P-ROMWRITERMODE( MODE
This mode is used to transfera sequencepro-
gram or PC table data from DRAM memory to a
commerciallyavailableP-ROM writerconnected
to the cont~olvia the RS232C interfaceof
the NC.
(1)CRT Displayin MODE 3
Operatethe NEXTkey to selectMODE 3.
The followingscreenwill appear:
(a) Ladder data
ROM WRITER
USED PROM LOCATION NUMBER
LADDERMODE3
FUNCTION 1—INTEL HEX
#30*##
##
2–
3–
4—
5—
##
ROM WRITER PC TABLE
FUNCTION
USED PROM LOCATION NUMBER
*3O#
#s
1 –INTEL HEX
2–
3–
4–
5–
#
#
#
#
MODE3
Fig. 9.24
(2)Selection of P-ROM Writer
(a) The user is expectedto preparea commercially
availableP-ROMwriterwith the following4
features:
(i)Readingin the
I!Intel Hex Format”is available
for data transfer.
(ii)Writing to the P-ROM 27C1024 (made by HITACHI Ltd.)
is available.
(iii)The RS232C interfaceis provided.
(iv)One of the data transferbaud rates
shown in Table9.3 on page 61 is usable.
(b)The followingare some recommendedP-ROM
writersthat meet the above requirements:
Table 9.2 Recommended P-ROM Writers
P-ROM Writer
EPROM programmer:R4945
I
I
Manufacturer
ADOBANTESUTO INC.
(3)Writing Operation to P-ROMs
Steps to write to P-ROMs by use of the P-ROM writer
R4945 of ADOBANTESUTO INC. For details, refer to
the instructions for P-ROM wrfters :
Fig. 9.23Displayin Mode 3
J
57
Page 62
9.9P-ROM WRITER MODE(MODE3) (Cent’d )
Transfer conditions of R4945
(a)
(i)Selection of device
Select “HN27C1024” made by HITACHI.
[Manufacturer’s setting]
. Key-in ~~,
. Select “Hitachi” by using
oDepress ~key.
[Setting of device type]
. Key-in TYPE,
. Select “HN27C1024/H” by using
. Depress ~key.
❑and ~.
❑ or ❑ key.
❑ and ~.
❑ or ❑ key.
iv.
Return to the P-ROM writer mode of MODE 3.
Viewing the CRT screen, note down the location
numbers of the P-ROMs to write-in (#30).
To write PC table data, depress
input the P-ROM location number (#30).
v.
Turn on the R4945. (Transfer condition setting of
R4945 in the above (a) should be comple;ed
before turning on the P-ROM writer.)
vi.
Depress the
panel. (See Fig. 9.25)
❑ and ~keys on the editing
PAGE
M
key to
(ii) Conditions of transmission
. Key-in TYPE,
“ Select baud rate 4800 by using
. Depress ~~~key.
. Select bit configuration, 8N01 (8-bit, no parity, 1
stop bit) by using
. Depress ~]key.
. Set to ENA (to perform XON/XOFFcontrol) by
❑ or ❑ key.
using
. Depress ~key.
(iii) Setting of transfer format
. Set the transfer format to intel-HEX.
. Key-in -1,
. Select intel-HEX by using
. Depress l~jkey, and select terminator
NON by using
. Depress ~key.
(b) Connection of cable RS-232C (Cable length is around
3 m)
Note : RS-232C termination hand-shake is provided.
❑and ~.
❑ or ❑ key.
❑ or ❑ key.
❑ and ~.
❑ or ❑ key.
❑ or ❑ key.
R4945 SIDEJSD SIDE
1 —-----c;:
,~;
~;
773--+:
ROM WRITERhloDE 3
ROM NO-
I--–––––––––––--1
*
Fig. 9.25
vii.
Key-in a desired 2-digit P-ROM location number
(noted numbers in procedure iv.) from editing
panel. When the
keyed-in,display as shown in Fig. 9.26 will
appear.
RoM WRITER
I
I
ROM S0-30
I
l––––-––-––-––––l
*30
❑ , ❑ and ~keys are
Fig. 9.26
FNC -l
MODE 3
F\C-l
(c) Writing to P-ROM writer R4945
(ladder data/PC table data)
i.Connect the P-ROM writer (hereinaftercalled
R4945) to the RS-232C interface of NC.
ii.Turn on the NC unit and switch to the JSD mode.
iii. Set the baud rate of the P-ROM writer (4800 bps)
to “09” according to the procedure of the parameter mode “JSD MODE 4“ (4) on page 61.
58
viii. To com~lete receivin~ the serial data, depress the
R4945 keys, e],
keys as this order.
❑ , ~, ❑‘ad ~
Page 63
.. ..
RON NO -30
I––––––-––––-–––I
.... ....
I
* ~RESPONSE
*
Fig. 9.27
ix.
Key in
key is depressed, buzzer in R4945 sounds as the
response. Data is transferred from the SD to the
R4945 and increase asterisks (*) on the screen.
With steps i. through ix., data transfer from SD to
R4945 and write-in to buffer RAM will have been
completed. To transfer FC table data to Ft4945 after
transferring ladder data to R4945, perform steps (iv)
to (ix) again.
Set deleted P-ROM on R4945.
x.
To write-into P-ROM, depress [-~,
xi.
When write-in is completed, the sum value is dis-
played on R4945. Ladder data and PC table data
are written in to #30 PROM.
xii.
To complete writing-in P-ROM of #30, take off the
written-in P-ROM from R4945 and store it.
❑ and ~on editing panel. When ❑
❑ ,
~I _and ~keYS as ~S order.
)
RoM NO-30
l--– ----– --–----l
*
WRkey on the editingpanel is depressed.
m
ROM NO- 30
1---------------1
**
Data transferis completed.
RoM NO- 30
l–-––––-––––--–
● * -~~~
● _TRANSFER COMPLETE RSSPONSE
*
–1
**
I
I
I
I
I
I
I
ROM NO- 30
l----------–-–--l
*
*tl
~key on the editingpanel is depressed.
-
0
I““”””””””’
ROM NO-30
I
l–-–-–--–-–––---l
I
*K
*R
The responseappearson the screen.
Theresponseappearson the screen.
Fig. 9.28
9.10PARAMETERMODE( MODE 4)
(1) CRT Display and Functions in Parameter Mode
Operate the NEXT key to select MODE 4. The screen
3.Baud rate setting
Data transfer from DRAM to C-MOS
4.
5.Not used
6.Not used
7.Data transfer from P-ROM to DRAM
8.Edit area clear
9.Reset to NC mode
10. 1/0 device selection
Keying-in one of the numbers (1 to 10) corresponding
to the desired function selects that function.Given
below is a detailed description of how each function
can be utilized.
(2) Registering Version Number (1. VERSION NO.)
This function is used to register a sequence program
version number.Be sure to register the number
before writing to P-ROM.
The steps to do this are as follows :
(a) Operate the NEXT key to select MODE 4.
(b) Depress the
(c) Key in a 7-digit number for the desired version
number.
(d) Depress the ~key. The 7-digit number will be
registered as the version number.
The registered version number is displayed as shown
in Fig. 9.30, upon applying power to the NC system.
❑and ~keys.
(3)RegisteringTape Comment
(Z. TAPECOMMENT)
Thisfunctionis used,upon punchingout a
P-ROMformat tape or list tape,to puncha
registeredtape comment in perforatedornate
charactersfollowingthe feed hole portion.
The steps to make registrationare as follows:
(a) Operatethe m]key to selectMODE 4.
w-
&
~key.
Mb,\l I>AIA
Imp
-m
El
(b)Depressthe~,
(c)Key-ina comment in 10 charactersor less.
The keysshownshaded in Fig.9.30 are usable.
(d)DeDressthe~kev.The typedcharacters
will be registeredas the tape comment.
.
lEmmEil
‘rypical Ornate Characters
(10 characters or less in practice)
YASNAC
J50M
VER65432.10
12345.67
VERSION NO. ~
OF SEQUENCE
PRCJ2RAM
Fig.9.30
The high-order5 digitsare separatedby a
decimal point from the low-order2 digits.
What the digitssignifyfor easiestidentification is up to you.
60
I
Fig. 9.31
(4)SettingBaud Rate(3. 1/0 DEFINE)
This function is used to match the baud rate of the
JDUO 1 with the data transfer rate, or baud rate, of
the RS-232C interface.
The steps to do this are as follows :
(a) Operatethe NEXTkey to selectMODE 4.
(b)Depressthe
(c) Key in one of 2-digitnumbers“00” to
!!1911that correspondsto the baud
the P-ROMwriter.Referto Table9.3.
(d)Depressthe~key.The baud rate
will be registered.
❑ ,WR key.
n
rate of
Page 65
Table 9.3
P–ROM Writer
Baud Rate
5000
100
110
150
200
300
600
1200
2400
4800
* Baud rate “09 is automatically set when the JSD
mode is entered. The rate remains unchanged tf the
above operations are not performed.
Note:
on P-ROMwriter.
(5) Data transfer from RAM to C-MOS
(4. SYSTEM SAVE)
This function transfers the contents of an edit area
(RAI@ to a save area (CMOS).
The steps are as follows :
(a) Depressthe NEXT key and selectMODE 4.
(b)DepressMkey and then
(c)DepressL key and thenWRkey to save
ladders.
to save tables.
(d)“ SAVE END” will be displayedwhen the
savingis completed.
displayedwhen an erroris detected,
erroris made then repeatfrom the step b.
(6) Data transfer from P-ROM to RAM and from C-MOS to
RAM (7. SYSTEM LOAD)
This function transfers a sequence program which has
been changed to a type of hardware by a P-ROM in a PC
or a program which is stored in a C-MOS memory of the
JDUO1 into a RAM memory in the JDUO1 (edit area).
Operations should follow the steps shown below.
(a] By using the ROM/CMOSswitch on the JDUO1,
choose from which part (ROM or CMOS) the transfer to
RAM is to be made.
(b)DepressNEXTkey and selectMODE 4.
(c)Depress~key and then
(d)DepressnL keyand then
The contentsof the P-ROMor C-MOSis transferredto the edit area of the JDUO1.
Numberof bits in data stop signal depends
•1
Depress
Key-InputValue
Data stop
signal
= 1 bit
01
02
03
04
05
06
07
08
09*
key and thenWR
❑
nSAVE ERRORn will be
Data stop
signal
= 2 bits
~key.
n
~key.
WRkey.
u
10
11
12
13
14
15
16
17
18‘
19
mkeY
If an
(e)For pc table,pressTkey and then
B‘ey”
(f)When the data transferis completed,
!lLOADEND1! will be displayed.
is made,
an erroris made then restartfrom the step (c).
(7] Cleartng of the edit area (8. LADDER CLEAR)
This function clears the edit area in the JDUO 1 (RAM
memory) or the save area (C-MOS]. Make sure to perform
this operation loading a sequence program into the edit
area for the first time in the SD mode or after replacing
the batte~.Following steps show the procedure.
IILOAD ERROR!lwill be displayed.If
•1
When an error
(a) Depressthe NEXT key and select the MODE 4.
(b)Depress
(c)Clear operation
For ladderclear:
followingorder.
(i)C-MOS side
(ii)RAM side
For PC table:
ing order.
❑ keyand then~key.
Depressthe keysin the
❑, ❑ , ~
❑, ❑, ~
Pressthe keysin the follow-
(i) c-MOs ‘ide 13El$ IEl
(ii)RAM side❑, ❑, ~
(8) Returnto the NC mode
(9. SYSTEMRETURN)
Thisfunctionreturnsa mode from the XSD mode
to the NC mode.
the par.9.13.
(9) Input /Outputdeviceselection
(10. 1/0 SELECT)
Thisfunctionselects1/0 port used in the SD
mode.
(a)Depressthe NEXTkey and selectthe MODE 4..
(b)Depress
(c)Depress
n is given by the Table 9.4. The initial value of n when
power is applied is zero.
will be retained until power is turned off or the mode
returns to the NC mode.
❑ and then ~key. Here, the contents of
n
I
olRO1RO
lRO : lRS 232C
This will be explainedin
❑ key,❑ key,and then ~key.
Once n is determined, the value
Table 9.4
InputDevtce
I
Output Devtce
Page 66
9.11 PC DATA TABLE EDIT MODE (MODE 5)
Followingoperationscan be done in this mode.
(1) Editingand addresssearchingof PC
data tables.
(2)Storing,verifying,and punching-outof
P-ROMformattapes.
9.11.1Editingof PC Data Tables
(1)CRT displayin the MODE 5
(a) When the NEXTkey is pressedand MODE 5
is selected,the CRTdisplaysthe following
figure (shown in the Fig. 9.32).
TABLETEDIT
TABLE PARAMETER
1: USING TABLE
0: NOT USING
SETTING :0
Fig, 9.32
MODES
(b)Depress
to the tablenumber which has been searched.
(3) Key input operation
(a) Each data can be fit into a literal data or an ASCII
code data.CST reads in input data at the HEX and
displays them. ASC reads in input data as ASCII code
and displays them. Anything which is not present in the
ASCII code is displayedas “@ .“ CST in Fig. 9.33
indicates that the data is currently a literal data. If the
cursor is moved to this position and ~key is pressed,
then ASC and CST can be changed alternately.
(b) The cursor is moved up and down.
(c) Insert mode is given by depressing _key, and
the cursor is moved to each data.
(d) Data can be changed in the insert mode.
Example :
In case of lttersl data de ress “4,
ASCII code data depress A , ~keys.-
9.11.2
Tape (IN, OUT, and VER operations)
Like the ladderin the MODE 1, this can be
done by using
Referto the P-ROMFormat Tape1/0 function
in par.9.7.3 for details.
Reading-in, Punch-out, and Verify a P-ROM Format
u
key.
T
❑ , [ml, and ~keys.
The cursormoves
“1”, ~. In case of
h
(b)Fix the SETTINGto 1’11’ by pressing~
and @.
tableusable.
fix the SETTINGto “0’1 by pressing
the ~.
—-
(c)Actualedit mode is givenby depressing
PAGE
H
This operationmakes the PC data
When the table is not used,
key shown in Fig.9.33.
TABLE EDIT
TC 000FF
CST
❑and
MODE 5
............
PAGE 1
Fig. 9.33
(2) Addresssearchfunction
This functionsearchestable numbers.
(a) Input a table number to be searched.
Example :
displays 9100.
By depressing
❑ ,❑ , ❑ , ❑ , the CRT
ADDRESS CHECKMODE ( MODE 6)
9.12
This functionchecksaddressduplicationsin the
sequence ladder created by the JDUO1,
(1) Checkaddressarea
#loooto #lo99
#llooto #1199
#1200 to #1299
#1300 to #1399
#1400 to #1999
#1700 to #1799
#7000 to #7099
#7100 to #7999
(2) Checkoperation
Numberof “OUT#xxxxx”will be countedin
the sequenceladder.
(i)For #1000’s, #1200’s and #1700’s an address error
will be displayed, if, for example, a command such as
#1 7521 (this address not an output address) can be
found.
(ii) For #1 100’s, #1300’sfrom #1400’sto #1900’s,
#7000s and from #7100 to #7900, if, for example, more
than two commands such as “OUT #11 112” can be found
then an address error will be displayed.
(Inputfrom a machine)
(Outputfrom a machine)
(Inputfrom the NC)
(Outputfrom the NC)
“#1300 shown above flashes. In ALL ADDRESS CHECK,
the CRT displays “ALL’ as shown in the Fig. 9.38 instead
of “1300.-
ADORESS CHECK
0 #lcxX3
I #lloo
2
#12cxl72 #72oo
3 #130a
4 #1400
5 #lsm
6 #16c0
i #17C0
8 S180C
9 #1900
10
.ILLADDRESS
70 #7000
71 #71a3
73 87300
74 S7400
75 #7500
76 #76#
77 #7700
78 #78C0
79 #790Q
Fig. 9.34
(b)Specifya numberof a rangeto be
checked.
For example,if #1300’s(#1300 to
#1399) will be checkedthen press:? ,
m.
(c)When the aboveis keyed-in,the CRT
displaysthe figurebelow(Fig.9.35).
ADDRESS CHECK
MODE 6
ADORESS CHECK
ALL
ADDRESS CHECK
14GADDRESS
#13101
# 13102
MODE6
OK
Fig. 9.37
USED COUNT
~
3
S1300
CHECK
Fig. 9.35
“#1300” shown above blinks.
In case of ALL ADDRESS CHECK, the screen continuous-
ly changes from #1000.
(d) When checking is completed, the CKr displays Fig.
9.36 and Fig. 9.37.
/
.4DDRESS CHECK
MODE 6
.
=1300OK
Fig. 9.38
Maximum USED COUNTis 255.
If there
existsmore than 10 NG ADDRESSis,they will
be displayedin the next pageby using1~1
kev.In ALL ADDRESS,checkif a check
re~ultis NG then the operationwill halt
when the addressor highernumberaddress
in its correspondingrangeis, checked.
To continuechecking,press
cancelthe checking,press
To
u
I CAN Ikey.The
key.
CRT will displaythe screenshown in Fig.9.33.
(
Fig. 9,36
63
Page 68
9.13 RETURN TO NC SYSTEMMODE ( MODE 4)
The information that follows explains how to switch
from the JDUO1 editing mode to the NC system mode.
9.13.1When NC UnitEnteredSD Mode
from OfflineState
Do not returnto the NC mode if theSD mode
was enteredby settingthe SystemNo. switch
❑(See par.9.6.1,When NC Unit is in
to
OnlineState. )
Aftersettingthe sequenceladderto SAVE,
be sure to turn off power.[ForSAVE setting,
see par.9.10 (5) . ] When the edit area has been
clearedin parametermode,applyingpowersup-
ply again causesthe NC mode to be entered.
Turnoff powernow evenif a sequencepro-
gram has alreadybeen edited.
9.13.2When NC Unit EnteredSD
Mode from
OnlineState
Operatethe steps below if the SD mode was
enteredby settingthe SystemNo. switchto
OnlineState. )
(a) Depressthe NEXT key to selectMODE 4.
(b)Pressthe
(c)Pressthe
that order.The system will be changedfrom
the SD mode to the NC mode.
NC mode enablesoperationcheck on the edited
sequence program.
(See par.
4.
9.6.2When NC Unit is in
❑ and ~key.
❑ , ❑ and\~lkeys,in
Then setting the System No. switch to
❑ or ❑in the
64
Page 69
9.14OPERATINGPROCEDURE
Operatingprocedurefor editing
START
z
Switch
fromsystem
❑to SDmode.
No.
MODE 4
Clearthe editarea.
MODE 2
m
--J=%’’----l’
Storetheltsttape.
-------’2
Editthesequence
program.
Par.9.7.1
POWEROFF
Par.9.13.1
sequenceprogramis shown in the flow chart below.
A
?
MODE 3
Write-tn to P-ROM
m
I
Par. 9.9
*
I
I
Insert P-ROM
Write-inl@t
MDI
I
by
NC MODE
System No. ❑
Ftnal test run‘0
OK?
YEs
+---
c
NC MODE
-z
MODE 4
❑
POWERON
Par. 9.6.2
Register the version
number.
F--l
Par. 9.10 (2)
T
A
(
=b--P-
sequence
program.
Par. 9.7.1
-/
)
B
/)
Switch fromsystem
❑ to SD mode.
No.
‘--G
Punch out the
P-ROM format tape.--
1
MODE2
m;;;h
Par.9.6.2
Par.9.7.3 [3]
0.t the kt
h
MODE 4
❑
Set back to NC
mode.
I
Store the sequence
I
program.
r–-–-
_I Type out ,
the list. ,
I
1-----
‘-
d
65
Page 70
9.14 OPERATINGPROCEDURE(Cent’d)
Table9.4 list thealarmcodesat SD modeand operationfor
(2)
Table 9.5 Alarm Codes at SD Mode
Alarm Code
*ERROO 1*
*ERRO03*
*ERRO08*
* ERR020*
*EFU?040*
*ERR050*
*ERR051 *
*DISASSEMBLE*
*MCR ERR*
*1.ADDER FULL*
Wrong command or
Reading or punching error of P-ROM format
tape
Address acarch unable
Veri&ing error of list tape
Wrong input on MODE 3
Table keyer-in not correct
Table search unable
Memory
contents not cleared
Numbers
Excseded memory capacity
of MCR and END are not same
Cause
wrong setting keyed in.
releasing
010
x
o
x
0
0
0
010I
0101
xx
I
x
0
x
o
I
them.
Afarms can be released by
❑ or ~key.
Alarms can be released by
~or CURSOR key.
.
Afarrns can be released by
clearing MODE 4 edit area.
Confirm numbers of MCR and
END on MODE 1
Alarm occurs while list tape
and MDI are stored.
*VER. ERR*
O : Operating the key can release the alarm.
Opsrating the key cannot relesse the alarm.
x:
Veri&tng error of PROM format tape
66
Page 71
10.SEQUENCEPROGRAMOFFLINEEDITING SYSTEM
This section describes the software to edlit/create on a
personal computer sequence programs which are operated by the NC unit YASNAC J50L or J50M and turn them
into ROM. The software operating on a personal computer is called JSD offline system.
IO. I ouTLINEOF OFFLINE EDITING:3YSTEM
JSD offline system calls four utility groups for YASNAC
J50 PLC developmentwhich operate on MS-DOS.In
order to create PLC ladder ROM, the JSD offline system
has exclusive ladder use complier, linker, source converter and utility to turn into ROM.
10.1.1 Operation Environment
DOS: MS-DOS Ver3. 10 or above
Hardware : NEC PC-9801 series and IBM compatible
machines (excluding LT and XL)
Memory:
10.1.2 Execution Files
The JSD offline system is composed of the following exe-
cution fties.
Ladder Language
Compiler
Linker
ROM Writer Output
Source Conveter
Available memory exceeding 4C1Ok-byte
FileNameEmanation
I
JLCOMP.EXEMS-DOS general purpose
JLLINK.EXEMS-DOS general purpose
JROMOIJI’.EXE
EJROMOUT.EXE
XCONV.EXE
For PC9S01 series
For IBM compatible
machines
,
MS-DOS general purpose
The following table shows contacts and register numbers
with which the compiler can compile.
Address
at which
compiier
can “be
converted
1I
Input from machine
Outuutto machine
~
Timer address
Holding-ty
memory a dress
I
Message table conversion
I
r
#1000 to #1061
I#lloot0#l155
to #1799
#1700
#7000 to #7999
(Includingsequencer
parameters)
,
T9000 to TW023
T9025
I
to T9435
10.1.4 Outline of Operation
(1) Creating a source file in ladder language
Any editer which can create MS-DOS files can be used.
To used them, create source files in ladder language. (For
the details of ladder language format, refer to the description of compiler processing.)
The following shows typical creation of ladder source.
YELADDER.SRC
\
; **********************************************
; * XSD LADDER PROGRAM(YELADDER. SRC)*
. **********************************************
10.1.3 Outline of Execution File Processing
(1] Ladder language compiler
Compiles a source fde which is coded in the ladder language and create a ROM-changed file.
The following shows data to be processed by compiler.
oVersion Nos. (set at completion of linking
. High-speed ladder programs
. Low-speed ladder programs
. Conversion data table
. Message data table
(2) Linker
Links an object file which is created by compiler.
(3) ROM writer output
Outputs a binary file from RS232C to the R.OM writer by
interl-HEX,
The followingtable showscapacityat whtchcompiling
possible.
J50
Bytes
64K
Approx. Number of
Steps Calculated
Approx. 16000 steps
Number of PROMS
1024 k-bit, 1 unit
HIGHSEQUENCE
; HIGH-SPEEDLADDER
INCLUDELAD. HI
ENDP
LOWSEQUENCE
; LOW-SPEEDLADDER
INCLUDE LAD .LO1
INCLUDE LAD .L02
INCLUDE LAD L03
ENDP
CONVERSION
; CONVERSIONDATA
INCLUDE CONV .DAT
ENDP
MESSAGE
; MESSAGEDATA
INCLUDE MES .DAT
ENDP
is
67
Page 72
10.1.4 Outline of Operation (Cent’d)
(2) Compiling created or modified fde
Use JLCOMP to create an object file. (For the detailed
operation, refer to the paragraph of compiler operation.)
(3) Collecting object files into one and creating a file to be
executed
Use JLLINK to create a file to be executed.(For the
detailed operation, refer to the paragraph of linker operation.)
In addition to when more than one objects are created,
when all files are created with only one object, this linking
processing is needed.
(4) Creating EPROM
When the resultant ladder execution check is successful,
connect PC-9801 or IBM compatible machine to the ROM
writer with RS-232C cable, and use JROMOUT to transfer
the !ile to be executed to the ROM writer.
10.2 SOURCE FILE
The following describes the source file format to be input
to the compiler.
10.2.1 Format of Source File
(1) Definition of character codes
@ Any codes other than comments and character data
must be ASCII codes. Both capital and small letters
can be input.However, they cannot be identified in
the internal processing. (They are identtiled as capital
letters in the internal processing.)
Semi-block characters : ‘aBc’, ‘a’, ‘Z’
Full-block characters: ‘Character line’, ‘all’
@ For comments, ASCII codes and SHIFT-JIS codes can
. It is possible to write in a pass name before the name of
the ftle to be included.
INCLUDE B: XLPROG Y LOWX LAD.LO1
@ ENDP
oIndicates completion of high-speed ladder sequence,
low-speed ladder sequence, conversion data or message
data.
. Format : ENDP
, It is necessary to write in this pseudo-instruction to the
main file.
@ LOWSEQUENCE
. Indicates the starting of low-speed ladder sequence.
“ Sequence programs until ENDP are created as low-
speed ladder for object.
“ Format: LOWSEQUENCE” o‘o’‘ENDP
. Low-speed ladder is not provided unless specified.
. It is necessary to write in this pseudo-instruction to the
main file.
Name of drive where
file to be included
is inserted.
69
Page 74
10.2.2 Source Files (Cent’d)
@ CONVERSION
. Created as ladder table data for object.
. Format : CONVERSION”” ““””ENDP
. Message data is not provided unless specified.
@ MESSAGE
“ Created as message table data for object.
. Format:MESSAGE .. ....ENDP
. Message data is not provided unless specified.
Both pseudo-instruction,MESSAGE and CONVERSION
have the same meaning. You can use conversion pseudoinstruction to define the message data in it, or vice versa.
(Conversiondata can be defined, too, in the message
pseudo-instruction.)
(4) Include file
Pseudo-instructions,HIGHSEQUENCE, LOWSEQUENCE,
CONVERSION and ENDP are to be written in to the main
file.
(5) Each source fde
(i) High-/low-speed ladder sequence fdes
. Write a sequence ladder program to be high-/low-speed
processed.
. There is no limitation in character starting, lines or
columns, expect that at least one space must be provided between each pseudo-instruction and address.
(ii) Conversion table)message table
Conversion table/message table files
oThere is no limitation in data starting lines or colums,
expectthat at least one space must be provided
between table No. and data.
. “’f” must be added to the head of the table No.
. Each data item is divided with “,”.
. Characters which can be defined as message data are
semi-block ASCII codes.
. The following shows the table numbers to be used.
T9000 to T9007 : Up to 256 bytes
T9008 to T8023 : Up to 128 bytes
T9024 to T9087 : Up to 64 bytes
113088toT9215 : Up to 32 bytes
T9216 to T9435 : Up to 16 bytes
. In the normal format, data are stored in a ladder table
as byte data.
T90001,2,3,4,5
T9000[01
[1]
[21
[31
H
1
2
3
4
Conversion
tables, message
tables
1
To store word data, underscore is added in front of each
numerical value.
T9000_l ,_2 ,_3
T9000[O]
[11
[2]
[31
[41
[51
. AU data do not have to be written.
For example, when the number of conversion data items
is 5 in SUBPO07 instruction ;
T9000 ‘1,2,3,4,5’
The number of data items is 5 ; you do not have to write
256 items.
Omitted data are treated as OH.
10.3 COMPILER
10.3.1 Compiler Operation
Compiles created or corrected source files by JLCOMP
instruction and creates object files.
The following describes how to start up JLCOMP.
JLCOMP [optional] FILE[.SRCI[FILE2 [.OBJ]]
[FILE3[.ERR][CR]
When inputs of files 2 and 3 are omitted, default is set.
. When only JLCOMP is input, the parameter input guide
is displayed.
. Example : JLCOMP
If any error occurs, LADTEST. ERR is created. When no
error occurs, LADTEST.OBJ is output.
. When the include function is used, only main file is com-
piled ; files to be included are compiled automatically.
10.3.2 Error List of Compile
Compiler outputs an error list file with extender as ERR
in a file having the same name as that of the input file.
However, when any error file name is specified at activation of JLCOMP, a file having that name is output.
Compile error information is stored in this error list file.
menthere is a file having the same name as that of the
error list file, that file is erased.
Display language/E - Displayed in English
: Source file name (input)
: Object file name (output)
B : LADTEST [CR]
70
I
Page 75
Error list file
10.4 LINKER
LAD.SRC40Unacceptable characters are used.
LAD.SRC33Ineffective operator
LAD.SRC
~--j-;
I
1
1
1
t
56Number of operands is not sufficient.
II
t
I
‘-------
ERROR MESSAGE
‘--
ERROR OCCURRING LINENO.
‘-----------------ERROR OCCURRING FILENAME
10.3.3 Compiler Checking Items
Compiler checks that source format is to be processed.
the same time, it checks the following items.
(1) Command check
@ Operation code check
OK: LD, LD-NOT, AND”..
NG : ABS, XOR-NOT 00
@ Check of number of operands
OK : DEC #1001, OFFH...
NG : DEC #1001. o.
@ Check of operand address specifying range
OK : LD #10001+””
NG : LD #lO...
@) Check of operand constant speci&ing range
OK : MVl #1405, 55H
NG : MVl #1405, OFFFFH
(2) Check of upper/lower limit of number of characters
set to ladder table
(3) Output contact check
“ Checks that all output addresses of OUT instruction are
unique.
. Checks the output contact address range,
(4) Check of MCR and END correspondence and lest level
(5) Timer check
. Checks the ttmer using register range.
. Checks that any timer (# 1700’s) addresses are not over-
lapped.
(6) Check of STR (STR-NOT) and AND-STR (OR-STR) correspondence
(7) SUBP calling sequence check
. Checks that SUBP corresponds to PUSH (APSH, TPSH,
IPSHD).
. Checks that SUBP corresponds to STR or STR-NOT.
(8) RTH and RET presence check
. Checks that there is one RTH.
. Checks that there is RET or RTI.
At
Linker reads object files in the order which are indicated
in the link module specification file, and performs processing in which the data containedin the files are
mapped into the executable file in the same format as
I
that of ladder ROM.
Linker performs linking processing for the following three
objects.
(1] Ladder program object
(2) Table related object
(conversion table and message table)
* More than one object tile of the ladder program is not
allowed.
10.4.1 Object Data and Linker Processing
The following describes the linker processing for data contained in object files.
(1) High-speed data (highsequence setting data)
. Checks the maximum range of the ladder storing area.
. An error occurs when there is no RTH.
(2) Low-speed ladder data (lowsequence setting data)
“ Checks the maximum range of the ladder storing area.
. An error occurs when there is no ~or RTL
(3) Table data
(CONVERSION/MESSAGE setting data)
. Stores message data to speci& addresses corresponding
to variables T9000 to T9435.
. Generates an error when the same variable data exist in
some object files.
10.4.2 Linker Operation
Changes an object file output by compiler to a link binary
file by JLLINK instruction.
(1) Link module file
It is necessary to create a link module file before activa-
tion of JLLINK.
By using this file, an object file to be linked is specified.
(A) Name of link module file
FILE1 .LNK
Any file name can be given freely, however, the name of
the extender must be always LNK.
(B) Format of link module file
. All object files to be linked are specified as shown
below.
. There is not limitation in character starting line or col-
umn. (The number of characters in one line including
pass is up to 80.)
. Link module can be specified within 80 characters in
one column including pass.
oHigh-/low-speed ladders must be actually executed in
the order of specification in this file.
71
Page 76
10.4.2 Linker Operation (Cent’d)
YELAD.LNK
---------------------------------
1
~LADSRC. OBJ
j LADCNV. OBJ
! LADMSG.OBJ
L-------–________l---------______l
(2) How to activate JLLINK
JLLINK FILE 1.LNK [FILE2][CR]
. Description of parameter
FILE1 : Name of link module speci&ing file (input)
FILE2 : Name of binary file (output)
Bracketed parts can be omitted.
When FILE2 is omitted, the name of it will be the same
as that of FILE1.
. When only JLLINK is input, the parameter input guide
is displayed.
(3) Input of version No.
When a link completes successfully, a version No. can be
input.
Linker motions version No. input.
The inputting range of version numbers is indicated as 7-
digit value.
Since the upper 5 digits and lower 2 digits are registered
separately with a decimal point, pay attention to the
meaning.
PLEASE INPUT VERSION NO : 12~4567_
q
I
REGISTE&DAS 12345.67
10.4.3 Linker Output File
The result of the linking by JLLINK is created as a binary
output file.
Example :
Output ffle
YELAD.BINLadder execution file
. Ladder execution ftie
A binary file including codes where actual ladder codes
are turned into assembler.
JLLINK YEIAD.LNK[CR]
AF9704 EPROM PROGRAMMERmade by ANDO DENKI CO., LTD.
EPROM PROGRAMMER R4945
Ladder ROM can be created by using personal computer
RS232C.
10.5.2 Line Connection
The following shows connection of personal computer and
ROM writer.
FG
j~~~RxD[RE~..NG~A1-A)
;~
SG
RR3E
10.5.3 Transfer Parameters
Transfer parameters at the PROM writer and personal
computer sides must be set as follows.
(The following setting shows some recommended values.
Any settings can be made only if settings of the personal
computer and the PROM writer are the same.)
Baud rate: 9600 bps
Data bit: 8 bits
Parity
Stop bit
XON/XOFF : ON
(1) Set the PROM writer to the receiving status and input
A : Y >JROMOUT YELAD. BIN.
The display indicates that the data are being transferred
and transfer starts.
A: Y > JROMOUTYELAD .BIN
JROMOUTVerl. O
(2) When transferis completed,the main menu is
returned again.
The user is expected to prepare a commercially available
P-ROM writer with the following 4 features :
(1) Reading in the “INTEL HEX Format” is available for
data transfer.
(2) Writing to the P-ROM 271024 (INTEL system) is avail-
able.
(3) The RS232C interface is provided.
The following are some recommended P-ROM writers that
meet the above requirements.
72
Page 77
10.6 JSDLADDERSOURCE CONVERTER
Source programs or table programs output by JSD can be
converted into a format where compiling is enabled by
JLCOMP.
Using method
. Display of using method
By executing without inputting a file name, the using
method is displayed.
X/J Ladder Source Converter xconv Verl.0
Copyright Yaskawa Electric
USAGEXCONV [filel] [tHe2]
file 1: input file
file2 : output file
. Conversion of source/table files
To converta sourcefile namedLAD. SRC into
LAD2. SRC, perform the following steps.
A : %> XCONV LAD.SRC LAD2.SRC
To convert a table file named LAD.TBL into LAD2.TBL,
perform the following steps.
A : 3$>XCONV LAD.TBL LAD2.TBL
I
~ The source file from which conversion is made\
~ must be the same as two fdes (source/table)
output by JSD.
~
~ Source file and table ftle must be different from\
~ each other.
Character data define error
Character data range define error
Character data lines over
Variable number error
Out instruction address range over
Timer-register range error
Number of MCR & END is unmatch
Byte data define error
Word data define error
Data data define error
Data range define error
Number of Operands are too large,or include valid characters.
Nest of MCR over
Duplicatedly use of valiable number
SUBP calling sequence error
Number of USBP & PUSH is unmatch
Nest of STR over
1
Number of stack instruction by STR is not correct.
SUBP023 parameter errorYYn Y O
I
I
!
/****** ~arningmessage>*************1
1
wARNING] Out instruction Already Define.
~ARNING]Timer address already Define.
10.7 LIST OF ERROR MESSAGESAND WARNING
MESSAGES
The following outlines errors and warnings that compiler
or linker generates.
Normally, the error fde is created in Japanese. Therefore,
to create it in English, add switch “/E at compiling.
/****** <en-or-message> *************/
1-line characters over
Illegal character is used.
Over the nest of source-file
Illegal character is used instead of pseudo-instruction.
A pseudo-instruction is used duplicatedly.
‘ENDP cannot be found.
Characters of a word is too long.
Invalid operator
Object-ffle memory size over
Operand of an instruction is not enough.
Operand-address is not correct.
Operand-byte-data is not correct.
Operand-word-data is not correct.
SUBP number is not correct.
Table-number define error
Table-number-setting-rangeis not correct.
10.8 NOTES
The number of object files to be created must be less than
When more than one ladder source files is provtded, use
INCLUDE pseudo-instruction to create them as one object
at compiling.
73
Page 78
APPENDIX1 1/0 LIST FOR
This 1/0 list shows the following 1/0 board composition.
List No. 1: Standard 1/0 board (JANCD-FC81O, FC860)
List No. 2: CFWpanel built-in 1/0 board (JANCD-SP50)
J50L (FOR LATHES)
.
~p<Input from
D7
#looo
04– 36
#lool
04–24
#loo2
04–11
#loo3
04–45
#loo4
04–49
#loo5
05–06
#1006
05–08
Machine>
D6D5
04–2104–05
04–08
04–38
04–4104–26
04–1404–44
04–1804–48
05–0705–38
05– 0905– 40
D4
I
04–35
04–23
04–10
04–13
04–17
05–3905–2005–21
05–10
D3
1
04--2004–3404–1904–33
04–0704– 3704–2204–06
11I
04–4004–2504–09
04–43
04–4704–1604–4604–15
05–24
D2D1DO
04–12
05–25
04–42
05– 22
05–11
1
04–39
04–27
05–23
05–12
#loo7
#1008
#loo9
#lolo
#loll
#lo12
05–13
05–41
05–42
03–1103–41
05– 3705–05
05–2605–27
05–43
05–44
03–26
03– 4503–1403–44
03–49
03–18
03–48
05–14
05–19
05– 4505– 4605–47
05–1505–1605–17
05–33
05–34
05– 35
05– 48
05–18
05–36
05–49
03–1003–4003–2503–0903–39
03–13
03–17
03– 43
03–47
03–12
03–16
03–42
03–46
03–27
03–15
Page 79
~~< Inputfrom Machine>
#lo13
=::03
#lo16
=
#lo17
=.14
#1018
=04-24
#lo19
=.05-06
#lo20
=05-14
04-06
::15::08
04-0504-04
04-304-12
04-2304-22
05-0505-04
05-1305-12
::02
04-0304-0204-0
04-1104-,004-09
04-204-2004-9
05-0305-0205-0,
0,-1a
::14::01
#lo21
#lo22
#1023
=724
=06-06
=06-14
05-2305-22
06-0506-04
06-306-2
05-2105-2005-19
06-0306-0206-0
06-106-006-09
Page 80
APPENDIX1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Cent’d)
–o–
#l loo
#llol
#llo2
#llo3
#llo4
#llo5
<Output to Machine>
D7
01–05
01–09
01–33
01–1101–1201–1301–14
01–42
02–0702–12
D6
01–06
01–1001–19
01–34
01–4301–4401– 45
D5
01– 07
01–35
02–06
D4
01–0801–4101–2701–2601–25
01–20
01–3601– 3701–3801–3901–40
02–1102–0502–1702–1002–04
D3D2
01–2101–2201–2301–24
01–1501–1601–1701–18
01–4601–4701– 4801–49
D1DO
#1106
#llo7
#1108
#llo9
#lllo
#1111
03–3603–21
03–2403– 0803–38
06–11
06–42
06–1906–20
06–3306–3406–35
06– 1206–13
06–43
03– 05
06–4406–45
06–21
03– 3503–2003–3403–1903–33
03–2303–0703–37
06–1406–15
06–4606–4706–4806–49
06–2206–2306–2406–2506–26
06–36
06–3706–3806–3906–40
06–1606–1706–18
03–2203– 06
Page 81
—~—<Outputto Machine >
D7D6D5
#1116
=04-32
#1117
=04-4004-3904-3804-3704-3604-35
#1118
=o,-3205-3105-300,-2905-2805-27
#1119
=05-4005-390,-3805-3705-,605-35
For JANCD-SP-50-2,
*
#l120
=06-2406-2306-2’206-2,06-2006-19
#1121
=06-3206-3106-3006-’2906-2806-27
D4D3
04-3104-300,-,,“,4-X8O,-,
24 pointsshown below are effective.
D2
D1DO
ffl 177
#llo7
#1108
#llo9
#lllo
#1111
1!11111I
03–2403– 0803–38
06–11
06–42
06–1906–20
06–3306–3406–35
06– 1206–13
06–43
06–4406–45
06–21
03–2303–0703–37
06–1406–15
06–4606–4706–4806–49
06–2206–2306–2406–2506–26
06–36
06–3706–3806–3906–40
06–1606–1706–18
03–2203– 06
Page 82
APPENDIX1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Cent’d)
~~. hput fro.NC>
#1200
D7D6D5~D4
M28
M24
M22M21
M FUNCTIONBCD OUTPUT
D3
D2
M18M14
D1
M12
DO
Mll
#1201
#1202
#1203
#1204
#1205
M30RM02R
M3O
DECODE
OUTPUT
TF
T-FUNC TION
\
SAMPLING OUTPUT
S28S24
T28
MOIR
MO2
DECODE
OUTPUT
SF
S-”FUNC -M- FUNC -
TIONTIONDIGIT
EDTS
EDIT
OPERAT-
ING
STATUS
T24
MO1
DECODE
OUTPUT
MF
AUTOMAN
AUTOMANUAL
MODEMODE
STATUS
S22
T22
MOOR
MOO
DECODE
OUTPUT
SINVA
S-4INPUTEMER -
1
OUT
INVERT
STATUS
STATUS
S21
S FUNCTION BCD OUTPUT
T21
T FUNCTION BCD OUTPUT
M38
MMM32
M31
.
IER*ESPS
ERROR
OUTPUTSTOP
THCRWDS
THREAD
CUTTINGSTATUSTIONING
STATUS
S18S14
GENCY
OUTPUT
REWINDFEEDING
RSTALM
RESETALARM
OUTPUTOUTPUT
OP
1
S12Sll
DEN
POSI-
END
T18T14T12Tll
78
#1206
#1207
#1216
#12171(SDO15)
2ZPZ2ZPX
Z-AXISX-AXISZ-AXISX-AXISFEED
~~
NO.2 REFERENCEREFERENCE
POSITION
R08(SD07)R07(SD06)
ZPZZPX
POSITION
I
R06(SD05)
EXTERNAL OUTPUT FOR S-COl@lAND (S4 DIGIT)
(SD014)
(SD013)(SD012)
EXTERNAL OUTPUT FOR S-COMMAND (S4 DIGIT) NO.2
R05(SD04) IR04(SD03)R03(SD02)
R012(SD011)
NO.1
RO11(SDO1O)
SPL
HOLD
LAMP
R02(SD01)ROl(SDOO~
Rolc(sDo9)
I
STL
CYCLE
START
LAMP
R09(SD08)
Page 83
--19-
#1218
#1219
#1220
< Inputfrom NC >
-1”’i”’1”’1”’
,
I ESENDI ERENDI
EXTERNALEXTERNAL]
DATA
SEARCH
ENDEND
DATA
INPUT
FSCEFSMD
COMPLE-DURING
TION OF
FS MEMORY MODI FICATIO.N
I SETEND ITLCHISIDXO ITPSAISIDXAI
COORDI -TOOL
NATE
SYSTEM
SETTING
g:;mg$(:TOR::FE
FS EDITING MODE
CHANGE
COMMAND
SPINDLES.S.
INDEXLIMITINDEX
EXECUT-AREA
ING
IU07IU06IU05IU04IU03I
OUTPUT FOR “USER’S MACRO” NO.I
Uo 2
“1
DO
~G96S]—
S4-DIGIT
COMMANDPERIPHANALOGERAL SPEED
SF
CHANGE
END
Uo 1
DURING
CONSTANT
CONTROL
SPINDLE
END
Uo o
#1221
#1223
#1224
#1280
UO15
MD7
SSW3
U014
MD6
SSW2
SYSTEM NO. SWITCHINPUT
Uo 13
OUTPUT FOR “USER’S MACRO” NO.2
MD5
SswlSswoSKIP
U012
MD4
HIGH-SPEED M FUNCTIONS
UollUoloUo 9UO 8
FSCLRE
COMPLETION OF
FS DATA
CLEAR
MD3M“’
MD1MDO
SKIP
#1281
#1282I1HP7I1HP6I1HP5\1HP4I1HP3I1HP2I
o
OFFPB
POWER
OFF PB.
ONPB
POWER
ON PB.
NO.1 MANUAL PULSE GENERATOR MONITOR
OLD
OVERLOAD
SVALM
SERVO
ALARMSTOP
ESPOHT
EMERGENCY OVERHEAT
lHP1I IHPOI
1
Page 84
1 1/0 LIST FOR YASNAC
J50L (FOR LATHES) (Cent’d)
D7D6D5
#1283I
#1284
#1285
#1286
#1287Pcs
SVMX
SERVO POWER ON
(= “NRD”)
L
SVMX
o
o0
PHASE-C
,
D4
00
0
000
CONSTANT
0
CONSTANT “0”
PBSPAS
PHASE-BPHASE-A
SIGNAL FROM SPINDLE PG
D3
SET3SET2
D2D1
!,r(
SETTING #6219 MONITOR
“1”
0
0
SET1SETO
0
,
00
——–-.—-
DO
[
1
1
#1288TGONX
X-AXISPHASE-C
TG ON
#1289
#1290
#1291
#1292
TGONZ
Z-AXIS
TG ON
SCOM28
SCOh148
S028S024IS022iS021~S018i
Pcx
\
SIGNAL FROM X-AXIS PG
PHASE-BPHASE-A
PczPBZPAZ*ALZ*OLZ
PHASE-CPHASE-B
SIGNAL FROM Z-AXIS PG
—
SCOM24ISCOM22
SCOM44SCOM42
PBXPAX*ALX*OLX
/
MONITOR FOR SERVO UNIT OF X-AXIS
PHASE-A
MONITOR FOR SERVO UNIT OF Z-AXIS
SCOM21
SCOM18
SCOM14
SPINDLE COMMAND MONITOR
SCOM41SCOM38SCOM34
SPINDLE COMMAND MONITOR
S014S012iSoilJ
SPINDLE OUTPUT MONITOR
FUX
SRDX
FUZSRDZ
SCOM12
SCOM32 I SCOM31 ~
I
SCOM1l ~
I
—7
l——’
Page 85
~~<Inputfrom NC>
D7D6D5D4D3D2
#1293
S048S044S042S041
S038S034S032
SPINDLE OUTPUT MONITOR
DI
DO
S031
#1294ALM 28
#1295
#1296
INHEDTTAFLT
ALM 24ALM 22ALM 21
ALARM CODE MONITOR
ABSTDRNT
SETTING #6000 MONITOR
ALM 18ALM 14ALM 12
ALM 38
\
BDTTDLRT
ALM 34
ALARM CODE MONITOR
ALM 32
“
MLKT
ALM 11
ALM 31
SBKT
~
)
Page 86
APPENDIX1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Cent’d)
—~< Outputto-NC >
D6
MEMORY
D5
D4
D3
D2
D1DO
DTH/SJRT
MD ITAPE
HANDLE/MANUALMANUAL
STEP
JOGRAPID
#1300
D7
EDTMEM
EDIT
#1301
#1302IHZ
#1303
#1304
#1305
MP 1
WUAL
PG MUL - RAPID SPEED OVERRIDE
TIPLE
SELECT
INHEDT
INHIBIT
EDIT
ZRN
RETURN
TO REFERENCE
ERR 1
EXTERNAL ERROR
INPUT
ROV 2
MANUAL PG
AXIS SELECT
AFL
M.S.T
LOCK
CDZ
THREAD
CUT UP
ERR O
HX
ROV 1
–z
MANUAL TRAVERSE AXIS DIRECTION SELECT
ABSDRN
MANUALDRY RUN
ABS .
SMZ
ERRORHIGH
DETECT
STLK
INTER-REWIND
RUPT
FV16
+Z
FV 8
FEEDRATE OVERRIDE /MANUAL JOG SPEED
–x
BDTDLK
BLOCKDISPLAY
DELETELOCKLOCK
RWDH
SPEEDPOINTSET
REWIND
RWD
SRN
SET UP
RETURN
EOP
END OFEXTERNALMST FIN
PROGRAMRESET
FV 4FV 2FV 1
+x
PST
POSITIONFEED
ERSFINMRD
I
MP 4
I
MANUAL PG
MULTI-PLY SELECT
MLK
MACHINE
*SP
HOLD
I
SINGLE
BLOCK
CYCLE
START
MACHINE
READY
MP 2
SBK
ST
#1306
#1307
#1308
#1309
SAGR*DCZ*DCX*—LZ
SPINDLE
SPEED
AGREEMENT
GRS
sCOMMAND
CONSTANTCONSTANT
EOUT
NC
PROGRAMPROGRAM
PUNCHVERIFY
OUT
BDT 9BDT 8BDT 7
Gsc
SPINDLES-
SPEED
EVER
NCNC
DECREASE INPUT FOR
REFERENCE POINT
SSTPSINV
COMMANDCOMMAND
,,0,,
s-
INVERT
EINDRSZDRSX
PROGRAM
INPUT
DISPLAY RESET
BDT 6
ADDITIONAL BLOCK DELETE
*+LZ
1
OVERTRAVEL INPUT
GR 4
BDT 5
GR 3GR 2GR 1
SPINDLE GEAR RANGE SELECT
BDT 4
x–LX
BDT 3BDT 2
1
* +LX
EXTC
TIME
COUNT
Page 87
–o–
#1310
<Outputto NC >
D7D6
WN16
WN 8
D5
WN 4
D4
WN 2
D3D2
WN 1SPC
D1
SPB
DO
SPA
#1311
#1312
#1313
#1316
EXTERNAL WORK NUMBER SEARCH
~r
CPRN
CUTTINGAUTO
POINT
RETURN
bTREQFSCLR-I COV16
COORDI:d;Es~:-cLEAR
TING
REQUEST
INPUT
I
SID8
FS DATA
FSCH
FS
MEMORYMEMORY
MODIFI CATION
FSMEM
FS
SID7SID6
FSCM
FS
EDITING
MODE
SID5SID4SID3SID2~]
—
SPINDLE INDEX POSITION SET
SPINDLE OVERRIDE
H-
MODE
HANDLE
OFFSET
COV 8
G71/G72 CUTTING OVERRIDE
MIXPRSTOVCT
X-AXIS
MIRROR
IMAGE
PROGRAMOVERRIDE
RESTARTCANCEL
Cov 4Cov 2Cov 1
~i1
#1317
#1318~TLTM~
#1319
TP 8
TOOL NO. SET FOR STORED STROKE LIMIT
TIMER
COUNT
L
SIGNALFOR TOOL LIFECONTROL
ROV4
EXTENDED
RAPID
TRAVERSE
OVERRIDE
TP 4TP 2
E]‘“STI“D”I S’DX’NCI‘Ps
TOOL
SKIP
SPE
EXTENDED
SPINDLE
OVERRIDE
SPDTLA21TLA18I TLA14~TLA~
TP 1
TOOL
RESET
,
CHANGE TOOL NO.
S1D12
SPINDLE INDEX POSITION SET
SPINDLE
INDEX
RESTART
SPINDLET(YOL NO.
INDEX
POSITION
INCRE-
MENTAL
DESIGNATION
SID1l
I
SID~S~~
v
CHANGE
FOR S.S.
LIMIT
(TOOL LIFE CONTROL)
1--5-
SPINDLE
INDEXING
Page 88
APPENDIX1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Cent’d)
–o–
#1322
#1323
#1324
#1325
#1326
< Output to NC >
D?
SONPB
SERVO
POWER
ON
R18(SD17)
D6
RI7(SDI6)
D5D4D3D2
R16(SDI5) R15(SD14)
EXTERNAL INPUT OF S-COMMAND(S4 DIGIT) NO. 1
L!W’) I (SD”4)I ‘SD113)I ‘SD112)I
EXTERNAL INPUT FOR S-COMMAND (S4 DIGIT) NO. 2
I
UI7UI6UI5
U115
U114
INPUT FOR “USER ‘S MACRO” NO. 1
U113
UI4UI 3UI2
U112UI1lUIlo
D1DO
I
R14(SDI3)
R112(SDIII)IRIU(sDIIo)IRIIo(sDI9) IRI9(SDI8) I
R13(SD12)]R12(sDIl)
UI1UIO
UI9UI8
RIm
#1327
#1328
#1329~CL
L
ED 7
ED15ED14ED13
ED 6ED 5ED 4ED 3ED 2
EDS 2
EDS
CONTROL SIGNAL FOR EXTERNAL DATA INPUT
INPUT FOR “USER‘S MACRO” NO.2
—
EXTERNAL DATA INPUT NO.1
ED12
EXTERNAL DATA INPUT NO.2
1
EDSOEDSD
I
ED1lED1O
EDSC
ED 1ED O
ED 9
EDSBEDSA
ED 8
I
84
Page 89
APPENDIX2 1/0 LIST FOR YASNAC J50M (FOR
This 1/0 list shows the following 1/0 board composition.
List No. 1: Standard mounted 1/0 board (JANCD-FC81O, FC860)
List No. 2: Standard mounted 1/0 board (JANCD-FC81O, FC8601
~~f Input from Machine,
MACHININGCENTERS)
#looo
#lool
#loo2
#loo3
#loo4
#loo5
#1006
04—36
II
04—21
04—05
=.-38
=04-26
=04-44
QELGZ-48
GTEL05-38
-05-40
1
04—3504—2004—3404—19
04-23
‘04-10
04-13
04-17
05-39
05-0
I
04-07
04-40
04-43
04-47
05-20
05-24
~
III
04-37
04-25
04-1204-42
04-1604-46
05-205-22
05-2505-1
04-2204-06
04-0904-39
04—33
04-27
04-15,
05-23
05-12
#loo7
#1008
#loo9
#lolo
#loll
#lo12
#lo13
LEPZ05-05
-05-27
LEELEL5+4
LEGA-26
=03-44
~=g
(For special application)
=02-03
05-14
05-1,
05-45
03-10
03-13
03-17
02-15
05-15
05-33
05-46
03-40
03-43
03-47
02-08
05-605-17
05-3405-35
05-4705-48
03-2503-09
03-1203-42
03-1603-46
02-0202-1,
05-18 ~
05-36
05-49
03-39
03-27-
03-5-
02-01
85
Page 90
APPENDIX2 1/0 LIST FOR YASNAC J50M
(FOR MACHININGCENTERS)(Cent’d)
~~<Input from Machine>
D7
D6
D5
D4
D3
D2IllDO
#1016
#lo17
#1018
#lo19
#lo20
#lo21
#lo22
04—36
04—24
04—11
04—4504—1404—4404—13
04—49
05—06
05—0805—09
04—2104—05
04—08
04–4104–2604—10
04—1804—4804—17
05—07
04—3804—2304—0704–3704–22
05—3805—3905—2005—2105–2205–23
05—4005—10
04—3504—2004—3404—1904—33
04–40
04—4304—12
04—4704—16
05—24
04—2504—0904–39
05—2505—1105—’12
04–06
04—42
04—4604—15
04—27
#1023
#1024
#1025
#1026
#1027
#10Z8
#1029
05—13
05–41
05—42
05—3705—0505—14
05—2605—2705–19
05—4305—4405—45
03—1103–4103—26
03—4503—1403—44
03—49
02—16
03—18
02—0902—03
03—4803—17
03–10
03—13
02—15
05–1505—16
05—3305—34
05—4605—47
03—40
03—4303–12
03—47
02–08
03—2503–0903–39
03–16
02–02
05—1705—18
05–35
05—4805—49
03—4203—27
03—46
02–14
05–36
03—15
02–01
Page 91
–o–
#l loo
#llol
#llo2
#llo3
#llo4
#llo5
#1106
<Output to Machine>
=::07
=ol-1~
=0-35
=X4
=-01-44
==6
=03-05
~~o,::41
0-200-,
01-3601-37
01-15
01-450-46
02-110,-05
03-3503-,0
::27~~,6::25
01-2201-,30-,
0-,801-3901-40
01--1601-170-1,
0-47O-A,01-49
0,-17‘-o-0,-0,
03-3403-1903-33
#llo7
#1108
#llo9
#lllo
#1111
=03-38
=..
=06-
=06-2
=.
03-,,03-07
06-1,06-1,
06-~06-46
06-,,-06-,3
06-,606-37
03-3z=l==l
06-1606-1706-18
06-,706-48,6-Q.
06-,,06-,506-,6
06-,,06=06-0
87
Page 92
APPENDIX2 1/0 LIST FOR YASNAC J50M
(FOR MACHININGCENTERS)(Cent’d)
—@—— f Outputto Machine >
D7
D6D5D4D3D2D1DO
#1116
#1117
#1118
#1119
#l 120
#1121
#1122
01–05
01–0901–1001–1901–20
01–33
01–06
01–3401–3501–36
01–1101–12
01–4201– 43
02– 07
03– 36
02–1202– 0602–11
03–2103– 05
01–0701–08
01–1301–14
01–4401–45
03– 3503–20
01–41
01–21
01–3701–3801–3901–40
01–15
01–46
02–05
01–27
01–22
01–2601–25
01– 23
01–24
01–1601–1701–18
01–4701–4801–49
02–1702–1002–04
03–34
03– 1903–33
#1123
#1124
#1125
#1126
#1127
03–24
06–1106–12
06–42
06–1906–20
06– 33
03– 0803– 3803–23
06–4306–44
06–3406–35
03–07
06–1306–1406–15
06–4506–46
06–2106–2206–23
06– 3606–3706–38
03–3703–2203–06
06–16
06–47
06–2406–2506–26
06–17
06-=
06–18
06– 3906–40
Page 93
~~< Input fro.NC >
D7
#lZoo
M30M02MO1MOODEN
D6D5
D4
D3
POSITION-FEEDING
ING COM-
PLETED
D2
OPSPL
D1DO
TEMPORARY
STOP
STL
CYCLE
START
#1201
#1202I4zPaI4ZPZI4ZPY
2zPa2 ZPZ2 ZPY
SECOND REFERENCE POINT LAMPFIRST REFERENCE POINT LAMP