Sunteți pe pagina 1din 128

YASNAC J50 PC SYSTEM

INSTRUCTIONS
CNC SYSTEM FOR TURNING APPLICATIONS/ MACHINING CENTERS

Upon receipt thoroughly,

of the product

and prior to initial operation, reference.

read these instructions

and retain for future

iAsuAvv14

TOE-C843-1 2.1 B

1. OUTLINE

1 1
2 SPECIFICATIONS 2 2 2 2

9.2 SEQUENCE PROGRAM 9.3 CONNECTING

EDITOR (JDUO1)

46

SEQUENCE PROGRAM

2. BLOCK DIAGRAM
3. SPECIFICATIONS 3.1 FUNDAMENTAL 3.2 PROGRAM 3.3 MACRO

EDITOR

46 STATION 47 48 49

9.4 EDIT SYSTEM OPERATORS 9.5 FUNCTION

MODE OF EDIT SYSTEM

9.6 HOW TO ENTER EDITING 9.7 EDITING MODE (MODE 1)

SYSTEM MODE 50 MODE (MODE 2) 57 59

FUNCTIONS

INSTRUCTIONS

9.8 LIST TAPE INPUT/OUTPUT 9.9 P-ROM WRITER

54

3.4 INPUT/OUTPUT

SPECIFICATIONS

MODE (MODE 3) MODE (MODE 4)

9.10 PARAMETER
4. PROCEDURES

PROGRAM
5. ADDRESS

FOR SEQUENCE PREPARATION 4 MAP 5

9.11 PC DATA TABLE

EDIT MODE (MODE 5) 62

62

9.12 ADDRESS CHECK MODE (MODE 6) 9.13 RETURN TO NC SYSTEM PROCEDURE

MODE (MODE 4) 65

64

NUMBER AND ADDRESS


5

9.14 OPERATING

5.1 ADDRESS NUMBER

5.2 ADDRESS MAP AND DISPLAY

SYMBOL 12

5.3 1/0 LIST AND SEQUENCE LADDER 6. SEQUENCE

10. SEQUENCE PROGRAM OFFLINE EDITING SYSTEM 10.1 OUTLINE

67
SYSTEM 67

OF OFFLINE EDITING 68 70 71 INTO ROM 72

CONTROL

METHOD
13

13

10.2 SOURCE FILE 10.3 COMPILER 13 10.4 LINKER 10.5 CHANGING 10.6 JSD LADDER

6.1 DIFFERENCES 6.2 SCANNING

IN OPERATION

TIME (PROCESSING

TIME)

6.3 MEMORY CAPACITY PROGRAM 14

OF SEQUENCE

SOURCE CONVERTER AND 73

73

7. PC INSTRUCTIONS 7.1 PRELIMINARY

15
15 15

10.7 LIST OF ERROR MESSAGES WARNING 10.8 NOTES MESSAGES 73

KNOWLEDGE

7.2 TYPES OF INSTRUCTIONS 7.3 INSTRUCTIONS 7.4 INSTRUCTIONS 7.5 INSTRUCTIONS 7.6 CONTROL 7.7 MACRO

AND LISTS 19 22 22

FOR RELAYS FOR TIMERS

FOR REGISTERS 30 31

INSTRUCTIONS

APPENDIX 1 1/0 LIST FOR YASNAC (FOR LATHES) 74

J50L

INSTRUCTIONS

8. SEQUENCE

PROGRAM

EXAMPLE
43 43

43

8.1 SERIES CONNECTION 8.2 PARALLEL CONNECTION

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS)

85

8.3 SERIES AND PARALLEL 8.4 MASTER CONTROL

CONNECTION APPLICATIONS

43 44

RELAY

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M 101


APPENDIX 4 CONVERSION HEXADECIMAL

9. SEQUENCE

PROGRAM 45

ONLINE

EDITING SYSTEM 9.1 BLOCK DIAGRAM


PROGRAM

OF SEQUENCE EDIT SYSTEM 45

TABLE OF DECIMAL NOTATION 123

AND

INDEX
Subject A ADDRESS CHECK MODE (MODE 6) Chapter . . . 4 . . . . . . . . . . . . . . . . .9...9.12 Section Page . ...62 . . . ...5 . . . . 5 5 74

ADDRESS MAPANDDISPLAY SYMBOL . . . . .. -..... .-....5.....5.2 . ADDRESS NUMBER. O.... . . . . . . . . . . . . . . . . . . . . . . . ...5.....5.1 . ,ADDRESS NUMBERANDADDRESS MAP . . . . . . . . . . . . . . . . . . 5 . . . . . . . . . . . APPENDIX 1 I/OLISTFORYASNACJ50L (FORLATHES) . ..o+. o+.... . . . . . . . . . . . . . . . . . .. APPENDIx 1 . . . . . . . .

APPENDIX21/O LISTFORYASNAC J50M (FOR MACHINING CENTERS).. . . . . . . . . . . . . . . . . . . .. APPENDIX 2 . . . . . . . . . . 85 APPENDIX 3LISTOF INTERNAL RELAYS, REGISTERS FoRYAsNAcJ50L/J50M.. . . . . . . . . . . . . . . . . . . . . .. APPENDIX3 . . . . . . . . ..101 APPENDIX 4CONVERSION TABLE OFDECIMALAND HEXADECIMAL NOTATION. . . . . . . . . . . . . . . . . . . . . . ..APPENDIX4 . . . . . . . . . . 123 B BLOCKDIAGRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...2... . . . . . . . . . . . 1 BLOCK DIAGRAMOFSEQUENCE PROGIWMEDITSYSTEM . . . . . . 9 . . . . . 9.1 . . . . 45 CHANGING INTOROM . . . . .......~........... CAMPIER .,. S AC....... . . . . . . . . . . . . . . Compiler Checking Items. . . . . . . . . . . . . . . . . Compiler Operation . . . . . . . . . . . . . . . . . . . . CONNECTING SEQUENCE PROGRAM EDITOR . c. CONTROL INSTRUCTIONS.. D E DIFFERENCES . . . . . . 0. . . . . . . . . . . . . . . . . . . . . . . . . 00. ...10.....10.5 ...10.....10.3 ...10.....10.3.3 ...10.....10.3.1 . 0. 9 . . 0. . . ...72 . ..-70 . ...71 . ...70 ~ . . . 46 . ...30 . ...13 . . . . . ...47 ...50 ...62 ...70 ...67

9.3

. . . . . . . . . . . . . . . . . . . . . . . ...7.....7.6 -.. . . . . . . . . . . . . . . . . <6.....6.1 ...9.....9.4 ...9.....9.7 ...9.....9.11.1 ...10.....10.3.2 ...10.... . 10.1.2

IN OPERATION . . . . . . . . . . . . . . . . . . .. STATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . C..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

EDIT SYSTEM OPERATORS EDITING MODE (MODE 1). Editing ofPCDataTables Error ListofCompile . . . . Execution Files . . . . . . .

Format ofSourceFile . . . . . . . . . . . . . . . . . . . . . . . . . . . ...10.....10.2.1 FUNCTION MODEOFEDITSYSTEM. . . . . . . . . . . . . . . . . . . . . .9.....9.5 FUNDAMENTAL SPECIFICATIONS . . . . . . . . . . . . . . . . . . . ., ..3.....3.1 HOWTOENTER EDITING SYSTEM MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 . . . . . 9.6

. ...68 . ...48 . . . . . ...49

H I

I/OLISTANDSEQUENCELADDER. INPUT/OUTPUTSPECIFICATIONS. INSTRUCTIONS FORREGISTERS . INSTRUCTIONS FORRELAYS . . . INSTRUCTIONS FORTIMERS . . . JSDLADDER SOURCE CONVERTER

. . .5. .<..5.3 ...3.....3.4 ...7..... 7.5 ...7.....7.3 ...7..... 7.4 IO. O 1O..6

. ..12 . . . . 2 .22 .19 -22 73 .72 -71 71 72 > 73 54 2 31 44 52 14 73 71 67 ..65 .67 .67 67

J L

. . . . . . . . . . . . ..O---O . . . . . . . . . . . . . . . . . . . . . . ... MESSAGES

Line Connection . . . . . . . . . . . LINKER . . . . . . . . . . . . . . . . Linker Operation . . . . . . . . . . Linker Output File..... . . . . LIST OFERRORMESSAGES AND LISTTAPEINPUT/OUTPUTMODE

. . . . . . . . . . . . . . . . . . . . . . . . . . . . WARNING

. .. .. 10.. 10.5.2. . . . . . . . ..10 . >--10.4 . . . . . . . .. 10 10.4.2 .. .10 . 10.4.3 - . - 10 o 10.7 . 9 9.8

(MODE2).....OC.

MACRO INSTRUCTIONS . . . . .--.-....- 3 3.3 MACRO INSTRUCTIONS.. . . . . . . . . . . . . . . ...4 o oooo. oo7. -47.7 MASTER CONTROL RELAYAPPLICATIONS -. -- O 8-o. 8.4 MDIWrite Operation on Sequence Program. . . . . . 9 .- . 9.7.2 MEMORY CAPACITY OFSEQUENCE PROGRAM O.. -oo o-o .. 6... 6.3 NOTES . . . . . . . . . . . . . . . . . . . . . . . . . ... Object Data and Linker Processing ......o.. Operation Environment. .--- OPERATING PROCEDURE.. ...<...... OUTLINE .0000 OOC O... $. .O. O-.-- Outline ofExecution File Processing .....-. OUTLINE OFOFFLINEEDITING SYSTEM Outline of Operation .... ....... . . . .. lO. . 10.8

.. . 10 .10.4.1 10 10.1.1 . 9.. 9.14 oolo-o.oo-oo-el .o-10...10.1.3 . .10.1 -10.1.A

. .10. lo.

INDEX (Centd)
Subject P P-ROM Format Tape Input/c) utput Function P-ROMWRITER M0DE(M0DE3) . . . . . . PAWLLEL CONNECTION . . . . . . . . . . . . PARAMETER MODE (MODE 4)... . . . . . . PC DATA TABLE EDIT MODE.. ................. PC INSTRUCTIONS . . . . . . . . PRELIMINARY KNOWLEDGE. . PROCEDURES FOR SEQUENCE PROGRAM FUNCTIONS . . . . . R . . . . . . . . . . . . . . PROGRAM . . . . . . . ( . . . ~ , . . . . . . . . . . . . m ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter . 9 . . . . 9 . . . . 8 . . . . 9 . . . . 9 . . . . . . . . . . . . . Section 9.7.3 9.9 8.2 9.10 9.11 . . . . . . . . Page

. . . . 53
. . . . . 57 . 43 . 59 . 62 15 15 4 2

. . . . . . . . . . . . . . . . . . . . . PREPARATION . . . . . . . . . . . . . .

. . . . . 7
. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . 7 . . . . . 7.1 4 . . . . . . . . . . . . . . . . . . . 3 . . . . . 3.2 9.11.2 9.13

Reading-in, Punch-out, and Verify a P-ROM Format Tape (IN, OUTand VERoperations) . . . . . . . . . . . . . . . . . . . . . . . . . REIWRN TO NC SYSTEM MODE (MODE 4) . . . . . . . . . . . . . . . . . SCANNING TIME (PROCESSING Selection of PROM Writer... . SEQUENCE CONTROL METHOD Sequence Program Editing . . . SEQUENCE PROGRAM OFFLINE TIME) . . . . . . . . . . . . . . . . . . EDITING . . . . . . . . . . . . . . . . . . . . . . . . SYSTEM . . . . . . . . . ~. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

9 . . . . . 9 . . . . .

. . . 62 ..64

6 . . . . . 6.2 . ...13 .10.....10.5.1 . ...72 . 6.. . . . . . . . ..13 . 9 . . . . . 9.7.1 . . . 50 . 10..............67 . . . . . 9..............45 9 . . . . . 9.2 . ...46 8 . . . . . . . . . . . . . . 43 8 . . . . . 8.3 . ...43 8 . . ...8.1 . ...43

SEQUENCE PROGRAM ONLINE EDITING SEQUENCE PROGRAM EDITOR (JDUO1) SEQUENCE PROGRAM EXAMPLE . . . . . SERIES AND PARALLEL CONNECTION . SERIES CONNECTION . . . ..-. . . . . . SOURCE FILE . . . . .. O...... SOURCE FILES . . . . .. O..... SPECIFICATIONS . . . . . . . . . T W TYPES OF INSTRUCTIONS When When When When NC NC NC NC Unit Unit Unit Unit Entered SD Entered SD is in Offline is in Online

SYSTEM . . . . . . . . . . . . . . . . . . . . . . . .

0. . . . . . . . .

. . ~. . . . .

. . . . . . 10 . . ...10.2 . . . . . . . . . . . . . . . ...68 . . . . . . . . . . . . . . . . . . . . 10 . ...10.2.2 . ...68 . . . . . . . . . . . . . . . . . . . . . . . 3 ., . . . . . . . . ...2 7 . . . . . 9 9 9 9 . . . . . . . . . . . . . . . . . . . . 7.2 9.13.1 9.13.2 9.6.1 9,6.2 . ..15 . . . . . . . . . . . . . 64 . 64 ~ 49 . 49

AND LISTS . 0 . . . . . . . . . . . . . . . . . . Mode Mode State State from Offline State . from Online State . (System No.6 + SD (System No.4 + SD . . . . . . . . . . . . . . . . . . MODE) c, . MODE) . . . . . . .

111

...

1. OUTLINE
1. The programmable controller (called PC hereafter) for YASNAC J50L/J50M stands 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. 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 operating method (Sections 9 and 10) have been explained so that the users to facilitate the use of the above described PC.

2. BLOCK
The block diagram of the PC system for YASNAC J50L/J50M is shown in Fig. 2.1.

DIAGRAM

~7 YASNAC J50L/J50M ,--4 _ RS232C INTERFACE CPU UNIT n-- ___ ___ _/ - + DATA 1/0 lNTER FAcE (OPTION) ----, ~=:: - j q c5$~-3

%;~HERj* f5~23 L_____J _~_(See :D= ~y~TEM

NOTE 1.) 1 I

J
1/0 MODULE M~CHINE OPERATORS STATION

-k----n
Fig. 2.1 Block Diagram of PC System For YASNAC-J50L/J50M Solid line shows ed with P.C. the YASNAC CNC unit providedit the
2. Sequence program edit system mounted on the CPU rack. (JDUO1) can be

Broken line shows the sequence program sYstern temporarily used by incorporating sequence program edit system (JDUO1) in YASNAC.
Note: 1. When the control is used as sequence program edit system, the operators panel with CRT display changes to the sequence program edit panel.

3. P-ROM writer which is commercially available may be used. It is used to write the completed 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.

3. SPECIFICATIONS
3.1 FUNDAMENTAL
method:

SPECIFICATIONS
Scanning method

(6) (7) (8) (9) (10) (11)

Pattern Parity Data

clear check

SUBP SUBP SUBP SUBP transfer SUBP

009 011 014 017 018

(1) Control

(2) Processing time: Approx. 2.7 l.i seclstep qigh speed scanning time - 8 msec Low speed scanning time - 8 msec x n (n is determined by the capacity of the total program. ) (3) Program memory capacity : Memory element : EPROM (1024 k bits/one) Basic 64 k bytes ( 1 EPROM) (64 k bytes corresponds to approximately 16000 steps in basic instruction.) (4) Types of instruction language: Basic instruction 59 types Macro instruction 11 types

conversion:

Data search Index data

Message

display

SUBP 023 -Optional function

3.4

lNPUT/OUTPUT

SPECIFICATIONS

(1) Standard 1/0 boards < FC81O (FC860) > 112 points (i) DC input: (ii) Non contact output : 96 points < FC861 > (i) DC input: (ii) Non contact output: 64 points 56 points

3.2

PROGRAM

FUNCTIONS
4000 points 500 (8 bits/one) 94 (5 types)

( 1) Internal
(2) (3) Register: Timer:

relay:

(2) CRT panel built-in 1/0 boards < SP50-1 > 64 points (i) DC input: (ii) Non contact output : 32 points < SP50-2 > 64 points (i) DC input: (ii) Non contact output : 56 points Note: 1. The detail of basic instructions in the following table.

. 8 msec - 2.4 see, 20 ea. . 50 msec - 12.75 see, 30 ea. . 100 msec - 25.5 see, 30 ea. .1 sec 255 sec , 10 ea. .1 min - 255 rein, 4 ea. (4) (5) (6) Sequencer Keep Keep relay: memory: parameter: 100 7200 900 (8 bits/memory)

are

given

Type

of Instruction instruction instruction

No. of Instructions

1. Relay
3.3

MACRO

INSTRUCTIONS
of macro instructions can be

2. 3.

Register Timer Control

13 37 2 7 59

instruction instruction
Tot al I

Following used.

11 types

4.

Instruction (1) (2) Rise Fall signal signal detection: detection: SUBP SUBP

word 003 004

(3) Counter: ?unctions--Ring counter lp-down counter. Zounting [4) (5) range --O

or preset

SUBP 005 counter or

relays and registers are the same. 2. Internal Addresses used as internal relays cannot be used as internal relays. 3. Keep relays and keep memories are the same. Addresses used as keep relays cannot be used Addresses used as keep as keep memories. memories cannot be used as keep relays.

- 9999 SUBP SUBP 006 007

Rotation Code conversion

(3) 1/0 board location 5 1/0 boards are shown below,


YASNAC J50L/J50M -..7 CRT PANEL G
;OARD CRT -1

PC BOARD
JANcI)-PCVI CNIZ

r-= INPUT : INPUT : INPUT : 24 POINTS 24 POINTS 16 POINTS OUTPUT : OUTPUT : OUT PUT : 16 POINTS 16 POINTS 24 POINTS (FOR SP50-2 )

STANDARD I/O BOARD I


CN13 (FCMJO) I CNICN2CN3CN40+5CN6

L-..

- --l

~ L5rub-d
LNI 1 JANCD-FC861 1

OUTPUT : INPUT : INPUT : INPUT : INPUT : OUTPIJT ;

32 40 40 24 8 40

POINTS POINTS POINTS POINTS POINTS POINTS

OUTPUT OUTPUT

: :

16 POIITIS 8 POINTS

STANDARD -- 1/0 BOARD

(4) Maximum number of each 1/0 board Standard 1/0 board (FC81O, FC860) . Standard 1/0 board (FC861) CRT panel butlt-in 1/0 board (SP50- 1) Maximum 3 Input : 336 points Output : 288 points 7 1 Input : 448 points Output : 392 points Input : 64 points Output : 32 points (56 points for SP-2)

Notes : . YASNAC J50 needs at least 1 of CRT panel built-in 1/0 board (SP50- 1 or SP50-2). Therefore, a max. of 3 (max. input : 400

points, max. output : 344 points) for adding only FC810/FC860 and a max. of 7 (max. input : 512 points, max. output : 448 points)for adding onfy FC861 can be connected. . Several 1/0 boards can exist at the same time, without exceeding the allowance1/0area No. . The number of 1/0 boards can be expanded. Therefore, the last board needsto be terminalscanned.

4. PROCEDURES

FOR SEQUENCE

PROGRAM
,_. -

PREPARATION

c
Determine of
L

Start I

Q
a I I Complete
I

i
test operation for

the

specifications

I I I

controlled

operation
I

I
\Carry out

i
assignment of input loutput signals be tween machine tool and PC.

I ]

+,

NEED

==+I

Write the sequence program through the connected, P-ROM writer.

-+=
I

I Mount the P-ROM . t

to PC.

Perform coding by instruction language of PC.

1
I I I
Complete final

I
test run

through P-ROM.

the contents

of I

Formulate the list tape by the tape puncher.

I I I

T-4Input the list

through

-~---l
~______ I Keyin A__. the list __-7

tape

the tape reader. I , -----.--

! . . \ T
L

7 .---

lF-

1 the sequence

from edit __J

_______

operators station. ~______ .__. _.. -1 -

I I , I

Store the sequence program of P-ROM format (Machine language) in RAM memory.

1 I I

I
Perform editing quence program ing the display (delete, input, of the sewhile watchon the CRT change) .

- +

of

I Complete final correction the sequence ladder (1/0 ,

* I

(
I 1
Note: . The sections

End

u
a surrounded

J by~ .- -;req~re the sequence program editing device

(JDUO1).

5. ADDRESS
5.1 ADDRESS NUMBER

NUMBER

AND ADDRESS
5.2

MAP
SYMBOL
1/0 SECTION MACHINE

ADDRESS
STANDARD Nc MAIN SECTION I ,

MAP AND DISPLAY


pc 5EcT10N

In the preparation of the sequence program, the 1/0 signals of PC, internal relay, timer, battery backed-up memory, etc. of PC are all designated by address No. (4-digit number following mark #) and bit number (O - 7 bit) .

F+EEI m
OUT~c ;;:T +& ~ ~ #lZoo - #1295 (9) SEQUENCE PABAMETER #7000 #7099 (10)(11) KEEP REMY AND KEEP MQIORY #7100 1) 8ATTE4Y B/Lx-, ED-UP ~RY #7000 1 #7099 >

EXAMPLE

wu
UTUT . .

~+HF LIMIT SWITC

-Bit

No. (O - 7) Address No. (A) [ (B) Name of 8 points of signal or Name of 1 byte ( = 8 bits) of data

rl

2 K4~:;E

#1100 #1162

w SOLENOID

(5) IfWE9NAL RELAY AND RE!GISTER

#7100 #7:99 e = >

11400 #1999 ,(Except fOr #1700 - #1799[ TIMER

(1) Designation of 1/0 Signals, etc. (1 Bit Element)

IfiternaI

Relays,

#7999

#1700 1 - #1799 (7)

As shown below, the elements which can be indicated by 1 bit information are designated by 5 digits (address no. and bit no. ) preceded by the mark #.

(1) Addresses of Input Signals (#1000 - #1063) ,-.-.,7 ..,.

from Machine

Element

Name # ,-..,,,,7 ,..,.,. .,.; :; T L Bit No. Address No.

1. I/0 signal 2. Internal relay

These are the address numbers + bit numbers (# ......... ... ... ) for input signals like, push buttons, limit switch, etc. from the machine oper ation panel, machine controller, etc. This section should be determined by the machine tool builder. (a) 1 bit of the address #1000 corresponds 1 point of the input signal. to

3. Keep relay

(b) The address number and the bit number are determined depending on the number of the pin and the number of the connector of the 1/0 board to which the input signal is connected. Example:

In the case, the address No. takes the meaning of above (A) and it can be taken as the name given with respect to the 8 points of the signal. (2) Designation of Register, (1 Byte Element) Timer, etc.

~
# 1000

BitNo.
0

76543,21 04-3SIQ4-2110451M-35[M- miM-MIM-19]M-w

The elements having 1 byte (= 8 bits) information, as shown below, are designated only by address number. In this case, the address number takes the meaning of above (B) and it can be taken as the name given with respect to 1 byte data. Refer 2 for

l-!
to the details.

L Pln No. 36

Connector No. 04 Inputslgmdname(arbitrary) is registenxl

Element

I
T

Name # ~,r-,,-,r, . .L. ,L. ,L. ,

1/0 lists

shown

in Appendix

1,

4. Register 5. Timer 6. Sequencer parameter

(c) The input signals in the order 1999 are expressed by the following

of #1000symbols.

7. Keep memory

I
1

I ~A&ess No,

Depending on the instruction, naming of Note: 2 bytes #1500 and #1501 can be carried out through the address name #1500, Example: PUSH #1500

5.2

ADDRESS

MAP AND DISPLAY

SYMBOL

(Centd) (2) Addresses of Output (#1100 - #1162) Signals to Machine

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 input signals in the order of #1200 #1295 are expressed by the following symbols.
_+

These are the address numbers + bit numbers (# rfi[~d[.~ ) of output signals like, lamp, solenoid, etc. from the machine operation panel, machine controller, etc. This section should also be decided through the machine tool builder, (a) 1 bit of the address #1100 corresponds point of the output signal. to 1

fl

(a)

(b) The address number and the bit number are determined, depending on the number of the pin and the number of the connector of the 1/0 board to which the input signal is connected. Example: #llw 01-5101-6101-7101-8101-41 101-27101-26101-25

(4) Addresses (#1300 from NC Main Section

#1338)

of Output

Signals

In other words, these can be termed as input For signals to NC main section from the PC. example, the address numbers and the bit numbers with respect to the EDIT and MEM (memory oPeration) Selection. The numbers between 1300 and 1329 are determined as standard signals and they can not be changed. (a) 1 bit of the addresses between #1300 -#1329 corresponds to 1 point of the input signal. Example:

BitNo.

?6543210

Lk
Refer 2 for to the details.

~PinNo.s

Connector No.01 Outputsignalname(arbitrary) is registered

~
7

Bit No.

6 MEM

5 D

4 T
TAPE

2 H/S
RANDLE/ STEP

1 J
JOC

0 RT
RAPID

I /O Lists

shown

in Appendix

1,

#1300

EDT

EDIT ME210RYMANUAL

(c) The output signals in the order #1199 are expressed by the following

of #1100 symbols.

Refer to Appendix : 1/0 list for details. However, they differ for YASNAC J50L and YASNAC J50M. So, refer to the corresponding list. (b) are (3) Addresses from NC Main (#1200 Section - #1295) of Input Signals The output signals between expressed by the following #1300 and #1329 symbols.

ln other words, these can be termed as output signals to the PC from the NC main section. For example, the address numbers + bit numbers These numwith respect to the M-BCD signals. bers in the order of #1200 are determined as standard signals and they can not be changed. (a) 1 bit of addresses between #1200 and #1295 corresponds to 1 point of the input signal. Example:
Bit No.

(5) Addresses (#1400 - #1999 #1799) for Internal Relays

except

for

#1700

7 #lZoo M28

6 M24

5 U22
M

4
M21 v

3
M18

2
M14

0
Ml 1 1/

These are the address numbers and bit numbers with respect to the internal relays which can only be used inside the PC while preparing the sequence program.
(a) 1 bit of the addresses between #1400 - $1492 corresponds to 1 internal

)412

relay,

for

example.

function BCD output

1/0 list

example: .

the address itself is the ex(c) In a register, The following shows two pression symbol. examples of the symbols.

t-+l?l
l400~ Write the internal name (arbitrary) of usable 8 bits internal relay
b

#15cJn

< i

(b) The follows .

number
x

relays

are

as

[fl

#15ncl

,t

500 bytes

= 4000 relays point are (d) Addresses used used as register. (7) Addresses in internal relay cannot be

(c) The internal relay and its contact expressed by the following symbol.

of Timer addresses are used number

(#1700

- #1799)

These are the timers. They timers. (a) 1 address

with respect to the in the instruction of corresponds to 1 timer,

1/0 list

example:

until

There is no limit for NO and NC contact Doints the program memory capacity is exceeded. in register cannot be used as

#1700

(d) Adressed used internal relay. (6] Addresses #1700 - #1799)

//1701

! Insert the name of the timer

! Insert value, of usable

J the set etc. timers

(#1400 - #1999 of Register

except

for (b) are

These are the address numbers with respect to the 1 byte (= 8 bits) register for general These registers are used for purpose use. . . register instruction or for the working addresses of macro instructions. (a) 1 address of 1 byte. 1/0 list number corresponds to 1 register

The time unit and the shown in the following

number table.

Address

No.

I No. I
of timers

Time unit

#1700-#1709, #1760-#1769

20 3,0 30 10
4

1 = 8 msec 1 = 100msec 1 = 50 msec


l=lsec l=lmin

#1710#1729, #1790#1799
#1730-#1749, #1780- #1789

example:

#1750#1759
#1770-#1773

//1500 The (OInsert the name (arbitrary) of the register (c) range of set values is O127 for variable timer.) The symbol example 255.

#1501

of timers

is given

below.

Example:

(b)

Number

of usable

registers

are

as follows: for

500 registers from #1700 tG #1799.

#1400 to #1999 except

l-w1

#17Kln,DnH I L set value of timer (Hexadecimal)

LTimer instr~ction (2 types)

5.2

ADDRESS

MAP AND DISPLAY

SYMBOL

(Centd) (8) Battery Backed-up Memory (#7OOO - #7999)

(e) Transfer to NC.

of keep

relay

and keep

memory

data

(a) The above addresses of #7ooO to #7295 are differentiated from others by the name batThat means, the data tery backed-up memory. of #7000 to #7295 are preserved in the battery back-up memory in the standard NC main section. So, even if the power supply is turned off, the data are not erased. (b) The sequence program of PC unit can only The original handle image data of the PC unit. data from NC main section can not be handled (reading or writing). (c) Following 3 types ry data are available. Sequencer Keep Keep relay: memory:J 1 parameter: #7100of battery backed-up memo-

The image data of the PC unit keep relay and keep memory are sometimes read and written, so they are changed in the sequence program. Consequently, it becomes necessary to preserve the latest image data of the PC unit by transferring them to the battery backed-up memory And this procedure as latest original data. is explained below. Automatic data transfer

When the power supply of the unit is kept turned on, the data of #7100 - #7999 get transferred from PC to NC unit. (9) Addresses Parameter (#7000 - #7099) of Sequencer

#7000 - #7099 #7999

STANDARD NC MAIN SECTION ) BATTERY BACKED-UP MEMORY 1

PC SECTION

These are the address numbers corresponding to The data of the parameter of the sequencer. #7000 - #7099 can be changed through the normal These data can be used in a writing operation. in the following two procedures: sequence program a~ Using as 1 bit data and (~, Using as 1 byte data. (a) Using as 1 bit data

F
F &

1/0 list SEQUENCE PARAMETER #7000 (9)

example: No.

{/7000
#7;99 I +-----------1

P H
#7100 parameter

r it 76543210

#7000
(lo)

dtl
~ Write data name is carried

I
out in the follow-

KEEP MEMORY (11)


Symbol expression ing way.

I-J
(d) Transfer to sequencer data to PC (b)
Data Data l O = Closed = Open Data Data l O = Open = Closed

In addition to the power supply turning on, the sequencer parameter data is transferred to PC from the NC main unit under the following conditions. Through the parameter writing operation, even if a single sequencer parameter data is modified, then all the sequencer paraConsequently, all meter data are transferred. the image data of the pC are always latest data. The sequencer parameter data can only be read in the sequence program and they must not be modified.

Using
1/0

as 1 byte
example:

data

list 1A

/7000

UI~sert

parameter

data

name

The symbol expression The example of using following figure,

is the address number. in timer is shown in the

number beyond #7100 corresponds (a) I address one keep memory of 1 byte (8 bits). 1/0 list example:

to

Example:

l177il,

#70 ::7:: Timer setting by parameter

t+y~
Variable instruct timer ion

Relay numbers to 1 keep

//71061

~ ~Write the name of keep memory the

(10)
These

Addresses
are the

(#7100

- #7999)

of Keep

of the keep
(a) I bit of

address numbers and bit relays used in the PC. #7100 - #7999 corresponds

(b) The follows :

number

of usable

kee~

memorv

is as

900 memories

from

#7100 to #7999 stands for the

relay. 1/0 list example:

(c) The address number itself symbol of the keep memory.

Bit

No. 0

7654321

l+

MOV

I1
#1500, Values

#713::

#1500 Relays and

7100P==@===
Write the name of the keep relay (b) The number of usable keep relays is as follows . 900 bytes
x

MOV : Transfer to keep memory

the contents #71zK~

of register

(12) Writing Initial Keep Memories

of Keep

8 bits

= 7200 points

(c) The keep relays and their contact are expressed by the following symbols.

When preparing a sequence program by using the keep relays and keep memories, it becomes necessary to set the initial values prior to the execution. (a). Set the system number switch of NC unit 11111 and then turn on the power supPIY. (b) Depress the [=1 function key. state will be at

0+
(NO Contact) (NC Contact)

Input/output displayed on the

signal ON/OFF CRT screen:

(c) After keying-in in the order of ~~ [1 @ ~, if the cursor key is depressed, then the following display will be o-btaine~.

(11)

Addresses

(#7100

- #7999)

Cursor t

DIAGNOSIS 76543210 #710000000000 ;//710100001000 7710200000000 77103 OOOOO1O1 #710411111111 /710800000000 #710900011000 O: OPEN
1:

00000

NOOOO
- Bit No.

These are the addresses corresponding to the 1 byte memory which can be preserved even after If the perturning off the power supply. formance is limited only to the preservation of data, the keep memory can be used in the same way as that of a register, Consequently, the keep memory can also be used as an object of register instruction or as supplementary data Especially, when of macro instruction. preparing a sequence program for memory random type ATC, this keep meinory becomes necessary.

o 8 0 5 255 o
CLOSE +2____
Decimal - display

RDY

5.2

ADDRESS

MAP AND DISPLAY

SYMBOL

(a)

Keep

memory

display added
12GN

(Centd) (d) Adjust addresses condition setting by #7105 to #7294 for initial depressing the cursor.

Following displays are #7499 display: Depress function key Key-in

to existing
.

#7100 -

u, u, u

and depress

cursor

(e) If the -] (insert) key is depressed, the cursor will move in the right hand direction, and will move to the 7th bit position of the address. (f) Keep on pressing the cursor becomes adjusted to the position display. (g) Key-in ting initial the desired values condition and then key until it of the decimal

L-l
~ .

CRT screen has display as shown in either Fig. (i) or (ii) . [Hereafter Fig. (i) is to be called 2-digit display, while Fig. (ii) is to be called 4-digit display. ]

(O - 255) for depress the get changed

setm to

DIAGNOSIS ._-_____= ._~OOOO 0000 L--~:N-O____-_____!-??: ----- .--_r-l :#8600: 1o11


1 la SET T~

- POT NO, TITLE

:#8601 :
1

!02: ;03; ,04;

DIGIT

key. The decimal display will the presently keyed in value.

,#860211(001)1 h8693j(O02)~

;r--l

(h) If the _ key is depressed, the cursor will move to the left hand position #. Thereby, the setting of one address number is completed. (i) Repeat steps (d) desired initial values (j) Adjust the system to (h) to write of the address number switch all the numbers, to O.

;#86041fi O03)~ I -~-J ;#86051 L------;#8606 ;


1 I I

:05; 1 --1 loo;_______

.-POT NO.

- KEEP MEMORY

Fig.

(i)

#6022 D2=0

#6355=8602

#6356=8604

Note: If a particular bit is desired to be changed O Z 1, carry out following operations the after the operation of item 5) . Depress cursor key and adjust the cursor to the bit desired to be changed, then depress ~ key. 0= 1 change will be obtained. 1: 0 change will be obtained is depressed again. (13) Writing of Keep Relay (Optional only for J50M) if the ~ key

NOooo DIAGNOSIS ----- --- .- 00000 ~ [:-:N]:: __ _ ___ __T_-w.r - - - -------,, l#8600[ !02011 I II [#86011 I ,0403 +SET T4 1#8602~ (001)
!, DIGIT

- POT NO. TITLE

I#8603; ;#8604; (002) j#86051

I II

Numerical

Input

:#8606;
I I

L-J

105051 II 1; , 100001

__ --.___!-. -KEEP MEMORY NO. Writing to keep memory (#7100 - #7999) can be normallv executed from O to 255, however, 4-digit #6356=8604 Fig. (ii) #6022 D2=1 #6355=8602 writing is also possible with numbers #8600 #8999. #7100 - #7499 and #8600 - #8999 correspond to each other as shown in the figure below. #7101 For Fig. (ii) , even and uneven number keep memois altered by writing and alteration of #8601. ries are used in pairs, O to 9999 are available by expressing the higher 2 digits of the decimal Iiote: When keep memory is referred 4 digits with even No. keep memory, and lower 2 from sequence, use #7100 - #7499, digits with uneven No. keep memory. not #8600 #8999. ______

lti Nio91_____

Pot No, display When the max.

I
I

Z8600 $8601

*71OO 37101

[Figs. (i) , (ii)] and min. keep memory numbers are #6355 and #6356, Figs. (i) and set to parameters (ii) show how #6355 and #6356 are set for #7402 and #8604, respectively. (b) Writing to keep memory Turn system No. switch to 1 . Use page cursor keys

L
10

aa999

IT7499

~ on

and

to move

the

cursor to keep memory No. to be changed. Input Procedure mennew figure and depress WR key. tioned above enables #8600 - #8999 range data to be changed and set.

Notes: . The same memory is used for #8600 - #8999 and #7100 - #7499: if a value of #8602 is changed, that of #7102 is changed to the same value. . When the display can be extended up to 9999, as in Fig. (ii), the even number keep memory data are changed to one lower number and cursor moves there by writing when the cursor is at an uneven keep memory number.

r DIAGNOSIS P-NO ?$8600 (010) ?48601 (011) #8602 (012) L

00000 NOOOO T-No 01 02 03 4 1

Fig.

(V)

#6022 D2=0

#6355=7391

. If #6355 and #6356 are set conversally,

pot No. title and pot No. are not normally displayed. However, if #6355 and #6356 have keep memory No. on the same page, pot No. title is displayed, [Refer to Fig. (iii).]

. When pot number #6355 and #6356.


q

is not

displayed,

set

O for

. If uneven

In 2-digit display (#6022 D2=O), writing-in more than a 3-digit number is not accepted. Address Setting of 1/0 Board For

number is set by mistake for #6355 when 4-digit display (#6022 D2=1), pot No. is displayed from the even number keep memory No. which is one number higher than the pot No.

(14)

1/0 board has a rotary switch for address setting. rotary switch and address, refer to the table below. (a) Standard 1/0 Board

DIAGNOSIS -. --- -----00000.NOOOO @~::____-____ T-_ N@+--01 #8600 #8601 #8602 #8603 # 8604 #8605 #8606 02 03 04 05 06 07

-. POT NO.
TITLE

FC861 1/0 AreaNo.

1-1
1-2 2-1 2-2

Input output #1000 #lloo


to # 1007 to

1/0AreaNo.

FC810 C660 Input

3utput
#lloo to #1111

$1008
to

#1106 #1108
to

#1000
# 1813

#lo15 #1016 to # 1023 #1024


to

#1114 #1116
to

#1122 #1124
to

#1016
to

#1116
to

#1029

#1127

#8609

09

#lo31 #1032

#l130 #1132 #1032 #1132


to

Fig . (iii)

#6022 D2=0

#6355=8604

#6356=8602

#1:45

#1143

DIAGNOSIS P-NO #8600 #8601 #8602 #8603 #8604 (001) #8605 #8606 (002) # 8609

00000 Noooo T-NO 0201

#1046
to

#1148
to

#1061

#1159

0403

For rotary switch (SW1) setting and 1/0 area No., refer to the table below.
1/0 Area No. Swl

0805 FC861 FC8 lo/Fc860

0807

o
1 2

No setting
1-1 1-2 2-1 2-2 3-1 3-2 4-1 4-2

No setting
1 No setting 2 No setting 3 No setting 4 No setting

Fig.

(iv)

#6022 D2=1

#6355=8603

#6356=8606

3 4 I I

. If a number
#8600,
number

pot

lower number
set

than that for #6355 is set for from #8600 is lower than the
to display. [Refer to Fig.

5
6 7 8 Q
:0 F

already

(v).

No setting

11

5.2

ADDRESS

MAP AND DISPLAY

SYMBOL

5.3

I/0

LIST AND SEQUENCE

LADDER

~Contd) (b) CRT Panel Buik-in I/O Board


SP50 1/0 Area No. I , 1-1 1-2 2-1 2-2 3-1 3-2 4-1 4-2 I
InDut output

The data list of the address map is called the 1/0 lists. The 1/0 lists for J50L (for lathes) J50M (for machining centers) are shown in the Appendixes at the end of this manual.
#lloot0#llo3 #l108to#llll #ll16to#ll19 #l124t0#l127 #l132t0#l135 #l140t0#l143 #l148to#l151 #l156to#l159 (1) all,

#looo to #loo7 #1008 to #1015 #1016 to #1023 #1024 to #1031 #1032 to #1039 #lo40 to #lo47 #1048 to #1055 #1056 to #1063

For
carry

preparing out the

the

sequence

ladder,

first

of

assignment

(#1000 and #1100) machine tool.

between

of the 1/0 signals the PC and the of the for

(2) After the completion of the assignment 1/0 signals, refer to the 1/0 list as a list

For rotary switch (SW1) setting and 1/0 area No., refer to the table below.

data and freely prepare sequence ladder through In this case, the command symbols of the PC. it is convenient to use the abbreviated names like SW7, SOL A, etc. for element names.
the assignment of the address (3) complete internal relay, numbers for each element: timer, etc. for the completed and register, Thereby, the comchecked sequence ladder. plete sequence ladder and a complete

1/0 list

;S obtained.

31 4 5 6

2-1 2-2 3-1 3-2

12

6. SEQUENCE

CONTROL

Sequence control through the PC is carried out successively through the software, so the operations are quite different from that of the simultaneous processing in the case of normal relay circuit. So, it is necessary to have clear understanding of this point prior to programming.

LD //10001 OUT I11OO1 LD #10001 AND NOT #11001

6.1
Relay

DIFFERENCES
sequence:

IN OPERATION
Each element is simultaneously processed with regard to time.

OUT #11002

PC sequence:

Each element is successively processed. The ladder is repeatedly processed at a conThis period is stant period. called scanning time. (Scanning time Ex, : 8 msec X n times)

Example sequence (called

of coded program list)

6.2

SCANNING

TIME

(PR~EssING

TIME)

Example: A

The execution time from the start to the end of a sequence program is called the scanning time. The scanning time for this PC is as follows. High //10001 B B #llool Low speed speed scanning scanning time: time: 8 msec 8 msec
x n

$
r::

/}10001

/}11001

#lloo2

That means, in this PC, the sequence program can be processed by dividing it into the high speed processing part and the low speed proIn this case, write the program cessing part. as follows.

The above PC sequence ladder is operated in the following sequence. Simultaneous processing is never carried out. Condition This of contact point A is read. relay B as it is.

71
@

Part of sequence program for high speed processing j Endcomnand forhigh speed processing instruct ion

is output

to internal point from

Condition

of contact

A is read. the NC contact

AND logic is taken point of relay B. The result is output

:-IT +!
(1) Relationship and Low Speed
8 msec i-

Part of sequence program for low speed processing End instruction for

to internal

relay

D.

E-.II#1-

equence program
sequence Speed program needs

Due to this successive processing, the internal On the other hand, if relay D is not turned on. the above ladder is executed by the relay sequence, the relay D is turned on for a moment and thereby one shot operation is being carried above, it should always be out . As discussed remembered that the processing in the PC is carried out successively and then programming For reference, if the should be completed. above mentioned PC sequence ladder is coded according to PC command words, it takes the following form.

The first part of the write high speed processing.

between High Processing

Processing

8 msec

8 msec 1-

m~= RTH

13

6.2 SCANNING

TIME (PROCESSING

TIME) (Centd)
High speed sequence RTH

(a) From the beginning of the sequence to the RTH command, speed sequence program the high (high speed Seq.), as shown in the above figure,

is surely executed once within 8 msec. During the execution of this high speed sequence, the input condition does not change. (b) The low speed sequence program (low speed Sea.) after RTH command is divided into n items and one of them is executed in the remaining time of 8 msec. That means, the whole low speed sequence program is executed in 8 msec x n times time. Consequently, the value of n depends on the capacity of the whole program and the length of the high speed sequence program. Since the low speed program is divided into many parts,sotheI/Oconditionchanges in the middle. So,be sure totake NOTE ofitem3 ofthis section. (c) At the first part 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 output conditions (#1100 and #1300) are output at a time. (2) Precautions for Sequence Program High Speed Processing

Low speed sequence

Receive the input of low speed processing through the internal relay

Through the above operations, ditions-may be kept ;nchanged of execution of the low speed sequence program, (c) If the output of sequence program is processing sequence like (b) needs to be

the input conduring 1 cycle processing

the high speed processing to be used in the low speed program, the processing carried out.

In this program, only the portion where high speed responses such as counting of ON/OFF are necessary, is handled. So limit it to the least possible size of the sequence program. Limit it within 100 steps when converted into contact point instruction. (3) Precautions for Sequence Program Low Speed Processing

(d) The output signals which are not desired to be output until the end of the execution of low speed processing sequence program, once received outputs them through the internal relays without outputting them to the addresses of output of the PC unit. Then, do not connect the same to the address of the external output at the tail of the low speed processing sequence program.

1
RTH

I
Write the desired output after one low speed sequence cycle of the processing

(a) The scanning time for low speed processing differs depending on the capacity of the total (The amount sequence program (8 msec x n). of program that can be executed within 8 msec is approximately 3000 steps when converted into However, this amount contact point instruction. of steps is the combination of high speed and low speed processing. ) (b) Since division processing is carried out during the execution of the low speed processing sequence program, the input condition Consequently, all inputs to be changes. used through the low speed processing sequence program need to be received through the internal relays at the top of the low speed processing sequence program. Then, use the contact point of the receiving relay in place of the input.

6.3

MEMORY

CAPACITY

OF

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. Step No.of 1
PROM Location on PC Board

Division No. of Bytes

c~nven~i~n

pROMS

JANCD-CP50 30

32 k bytes

Approx. 8000steps

(Usually, relay instruction is of 3-7 bytes and other commands are of 1-25 bytes range. ) For the memory storing the sequence program of 16K bytes, 4000 steps (16 K/4 = 4K (4000 steps) is required, if approximately 4 bytes is used for one step.

14

7. PC INSTRUCTIONS
This chapter explains the 61 type basic instructions and 11 type macro instructions that can be used with this PC while describing their funcsymbols and coded lists. tions, display 7.2 (1) TYPES OF INSTRUCTIONS Types following types in the instructions AND LISTS

Instruction

There are the used with PC. Basic @)

7.1

PRELIMINARY

KNOWLEDGE
intermediate results during

instructions Instructions Instructions Instructions Control

(61 for for for

types) relay: registers: timers: 13 types 37 types 2 types 7 types 59 types

(Registers to store logical operation )

@ @)

(1) PC is provided with a register mediate results of logical operation and it consists of 1 bit programs, shown below.

to store interof sequence + 16 bits, as

instructions: Total

Macro

instructions instructions: instructions: 9 types 4 types

~- Th. T.SU1, .f operation currencly executed is stored (0 or

1)

(1) (2)

Macro

Auxiliary

L I.str.ctIon such

.S

AND-STR or OR-STR

[- lns,rucrfonsuch ., STR ., STR.NOT

(2)

RR

(Result

Register)

l-bit register to which the result of operation currently executed is stored. The contact status (O or 1) can be set into RR by the LD instruction or the RR contents can be output to the relay Also, l-bit shift address by the OUT instruction. of the stack register contents to RR (after oper ation) by the STR or AN DSTR instruction is possible. (3) Stack Register (Stack, STO - ST15)
from stack long logical the register

Intermediate

operation

resulting

operation can be saved into sequentially up to 16 bits,

Data in RR is shifted to STO by the STR or STR-NOT instruction, and data in the stack register is shifted by 1 bit toward right . Also data in STO and RR is operated by the ANDSTR or OR-STR instruction, set into RR, and data in the stack register is shifted by 1 bit toward left. ST15 is cleared to O. If the number of STR or ST R-NOT instructions does not equal to the number of AN DSTR or OP.-STR instructions used in a series of long logical operations until the final result is obtained, it results in an error. In other words , the number of times that data is saved in the stack and the
number equal. of times that data is fetched out must be

15

7.2 (2)

TYPES List

OF

INSTRUCTIONS for relay

AND

LISTS

( Centd )

of instructions

=7===

*
1

Meaning

RR after operation sets it to RR sets it to RR I 1

Page

-+--b=Reads

I I

signal

status

(0 or 1) and status and RR and

Reads

inversion of

signal

Sets AND
Sets

contact

to RR and

(AND) RR to RR

I I I

19 19 20 20 20 20 20 20 21

AND

of inversion AND) of signal and

signal

+-+=
5 6 7 8 9 10
11 12 =+=

I (Reverse

I
I
to RR .

I
1 1 I

I
I

I I
I I

OR OR-NOT

Sets

OR

RR signal

to RR and

(OR) RR

. to RR

1
1 1 1 1 1 1 1

I
I I

Sets OR (Reverse Sets Sets Loads

of inversion OR) .

I I
I I
LD

I
I I

XOR XNR
STR

uncoincidence coincidence RR contents

between between

signal signal and and

and RR

RR

to RR.

to stack

executes

I instruction
Loads RR

.
contents . of RR RR to stack and executes LD

I
NOT

I
I 1
1

ST R-NOT AN D-STR OR-STR

I instruction

I
I
.

I
I
,

21 21
21 21

I
,

Sets Sets Writes

AND OR of

and and

stack stack

to RR. to RR. (RR) to relay (address)

13

OUT

operation

results

Note: 1. The * column shows the execution (1 = One contact instruction)

time converted

to the contact after

instruction are operated.

2, The $ mark shows that the RR contents change The mark shows that no change occurs.

instructions

(3)

List

of Instructions

for

Timers
RR after operation time up = 1 Page 22

No.
1 2

Instruction TIM TlvfR

Meaning Timer processing (Fixed timer)

10 10

Timer

processing

(Variable

timer)

time up = 1

22

16

(4)

List

of

Instructions

for

Registers

No. 1

Instruction

* I I \ I I ] I 3 3 2 3 3 3 3 3 3 3

IN R DCR CLR

I I

Meaning Adds + 1 to register -1 to register contents. contents. contents. contents. contents and numeric. and numeric.

I I I
l
I I

RR after oDeration

Page 22 22

21
31

I Adds I Clears I Inverts

the register the register of register

123

41 51 61
71

CMR
ADI SBI N OR1 XRI DEC

I Addition I Subtraction IANISO

l l
I
I

I I

23 23 23

of register contents contents contents

contents

f register

and numeric, and numeric. and numeric. contents contents contents contents and numeric. and numeric. and numeric. and numeric.

H
24 24 24

8 9 10 11 12 13 14 15 16 17 18 19
1

OR of register XOR of register. Coincidence

of register of register of register of register

1 I I 1

I I I

COI

I
I I

4 3 4 3 4

I Coincidence
I Comparison I Comparison Load numeric

CMP CPI MVI ADD

I I

I I 25 I 25
24

to a register. R1 and R2 and stores the result

2!5 25 25 25 25 26
t

Adds registers in R2.

SUB AN R ORR XRR

I [

4 4 4 4

Subtracts R1 from R2 and stores the result I , in R2. Takes AND of R1 and R2 and stores the result in R2. Takes OR of R1 and R2 and stores the result in R2.
1

Takes XOR of R1 and R2 and stores in R2. Checks the result of com arisen and stores the result in I?2. Checks coincidence between sets the result in RR.

the result
1

20 21 22 23 24 25 I I I

CPR COR MOV DST DIN ADC I I

5 5 4 5 1, 7

of R1 with R2, I and

26 26 I I 26 26

R1 and R2,

I
l
127

Transfers Transfers R2.

R1 contents

to R2. and numeric to

AND of R1 contents

I Data extraction

I Double

length

addition

17

7.2

TYPES

OF

INSTRUCTIONS

AND

LISTS

( Centd )

No. 26 27 28 29 30 31 32 33 34 35 36 37

:nstructio] ADDW SUBW MULW


DIVW

*
4 4 10 15

Meaning Adds double length registers stores the result in WR2. Subtracts WR2, (wR2 and WR1) the result and in

RR after operation

Page
I

WR1 from WR2 and stores

Multiplies double length register (WR2) with register (Rl) and stores the result in WR2. Divides double length re ister (WR2) by register (Rl) and stores the resu ? t in WR2. + 1 to double - 1 to double double double length length result to RR. length length register register contents. contents.

RR 1 s set to 1 when overflow occurs. *


I

HI

27 28

lNRW DCRW CLRW CMRW CORW CPRW MVIW DSTW

3 I Adds 3 3 2
1

129 29

Adds Clears Inverts

register register

contents. contents.
1

29 29

3 3 3 5

Sets coincidence (WR2 and WR1)

of double of double

length length

registers I registers I

29 29 29 30

Sets comparison result (WR2 and WR1) to RR.


Loads numeric to double

length

register.

I
1

Transfers contents (WR2) .

AND of double length register (WR1) and numeric to double len~th register

I
RR after operation

(5)

List

of Control

Instructions * 1 I 1 1 1 1 1 No-operation. I Start of master control relay. Meaning Page 30 30 30 . is executed. 1 sequence program 30 30 31 31

No. 1 2 3 4 5 6 7

nstruction NOP MCR END RET


RTI SET RTH

End of master control relay. I I Sequence program termination.

r m
I

is set

tO

and RET instruction

1
1

Sets RR to 1. High speed termination. processing

-1

(6)

List

of Macro

Instructions RRafter Operation 1 1 1 1 1 BCD). t 1 1 I

No. 1 2 3 4 5 6 7 6 9

Instruction SUBP005 SUBP006


SU13P 007

* Counter.

Meaning

Page 31 33 35 36 37 37 38 38 39

Rotation (forcontrolof rotating object). Codeconversion. Patternclear. Approx. 100 Parttycheck. Dataconversion (Bina~ Datasearch. Indexdatamove. MeaSage dispfay(Option).

S~BP 009 SUBP011 SUBP014 SUBP017 SUBP018 SUBP023

(7)

List

of Auxiliary

Macro

Instructions RR after Operation used by SUBP. I of register used

Instruction IPSH I
APSH

* 2 I 2 Designation by SUBP. Designation by SUBP.


Designation by SUBP.

Meaning Designation of numeric of address

age 31 [ 31

I
I

I I
_

PUSH

of address

of register

used

TPSH

I
FOR

of

Table

No.

of PC

table

used

I I I
4 xxx ,

31

31

7,3

INSTRUCTIONS

RELAYS operation{ RR $ I

LD-NOT Format

(Load

Not)

IRRI

LD ( Load)
Format LD#xx

RR after xxx Internal

LD-NOT#xx Internal

signal

name

signal

name

Example:

#loloo #14321 contact to RR. instruction ) . B 1/ 4 1 #14123 LD-NOT AND-NOT OUT status ( 1 or O) and

Example:

#loloo #14312 ( 1 or O) and sets the

Read inversion sets the result Normally this tact B ( ~Y~ is applied to ConA +/}10010

Reads contact status results to RR. Normally tact this

is applied

to Con-

instruction

c & {/11012 #loolo #14123 #llo12

LD AND OUT

#loolo
#14123 #13080

19

7.3
(3) @

INSTRUCTIONS
AND Format AND#x

FOR RELAYS
{RR$I xxx + signal x

( Centd )

(6) @

OR-NOT
Format OR-NOT Internal #xx

[RR$) xxx name

t signal

Internal @

name

Taken OR of inversion contact point and RR and loads the result to RR (Reverse OR).

Takes AND of contact and RR and loads the result to RR (AND).

LD AND AND OUT (4) @ AND-NOT Format AND-NOT Internal @)

#loo12 #14352 #14132 #14040 {RR$ ] (7) # X X X X X signal

14;
X(3R @ name Format

1
HI-NOT OR-NOT OR-NOT OUT OR) #10012 #14352 #14132 #14040 {RR$j xxx t signal name contact and RR

#14132

(Exclusive XOR#xx

Takes AND of inversion contact and and loads the result to RR (Reverse

RR AND).

Internal @ Loads dissidence to RR.

between

=Qfkoolz

lx lx 1 I #14352 ~ t //14132 {/14040 LD-NOT AND-NOT AND-NOT OUT #10012 #14352 #141 32 #14040 {RR1} OR#xx ! Internal xxx signal name (8) @

(5) @

OR Format

Takes OR of contact point and RR and loads the result to Rk (OR).

XNR

(Exclusive
XNR#xx

NR)
xxx 4 signal

{RR$}

Format

~ 0 E
#14040 #14352 #14132
I

Internal @ Loads coincidence to RR.

name contract and RR

between

LD OR OR OUT

#loo12 #14352 #14132 #14040

20

(9) @

STR

(Store) STR#xx Internal xxx

{RR$I

Format

signal to stack.

name 1A c /)10012 ] Jm/loo131 E 1 I #14041

Loads

RR contents

tl+~
~aC;e
Up

RR

STO

ST1

ST.2 . . . . . . . . ST15 u

II

Utitiu
Then, @ executes the

to

16.

41

1
/)14001

I ID
41
I,k

I #14002

LD instructions. is used for signal

Normally, this instruction of Contact A ( ~ ~ ).

1A

I (12) OR-STR Format

LD OR STR-NOT OR-NOT AND-STR OUT (OR-Store) OR-STR

#loo12 #14001 #10013 #14002 #14041 {RR$;

LD OR STR OR AND-STR OUT (10) STR-NOT Format

#loo12 #14001 #loo13 #14002 #14041 NOT)


{RR~;

Executes OR of RR and loads the result to RR.

stack

(STO ) and

1A

B {/19012

t---F
#loo13 signal name ex-

(Store ST R-NOT

I 4h----iJl----J
#14002 LD AND STR AND OR-STR OUT #loo12 #14001 #loo13 #14002 #14041 {RRI OUT#xx xxx

# x x x x x

Internal Loads ecutes A , B #loo12 -

RR contents into stack and then the LD NOT instruction. c {/10013 {/14041 D 11
II

E
4I

(13) @

OUT Format

1>

1
/)14001 LD-NOT OR-NOT STR-NOT OR- NOT AND-STR OUT

J
#14002

t
Internal @ Writes operation result signal (RR) name to relay.

#loo12 #14001 #10013 #14002 #14041 {RR$! LD AND OUT #loo12 #14001 #14041

) AND-STR Format

(AND-Store) AND-STR

Executes AND of RR and stack (STO ) and loads the result to RR. The stack shifts by one each toward left.

21

7.4 (1)
@

INSTRUCTIONS TIM
(Fixed

FOR TIMERS
{RR time up = 1} xxH

Timer) TIM#xxxx,

Format

Set the aforementioned timer value through the NC keyboard in the procedures of Parameter Write Operation. In this case, the write can be in a decimal notation, and the CRT display is also in a decimal notation. The
types
I

~~;::::::; #1700 - #1799 The timer counts up in the state that the ST contact is ON (RP = 1), and sets TM In the state of the on after the set time. ST contact being OFF (RR = O), TM is cleared and the timer is reset. The timer set value is in the range of O 255 (decimal notation). However, make sure to write this in a hexadecimal notation The CRT display is also in a (NOTE 1). hexadecimal notation. Five types of timers can be used.
No. of Timers

same as with the TIM instruction, 5 of timers can be used with TMR. ST
TIM #1705, #7042
4I

t+ //10012

1 LD TMR OUT #loo12 #1705, #7042 #14041

@)

7.5 (1)

INSTRUCTIONS INR (Increment INR#x

FOR

REGISTERS {RR -j

Register) xxx

Address

Types

Format

#1700-#1709, #1760-#1769 Timer of 1 = 8 msec #1710- #1729. #1790 -#1799 \Timer of 1 = 0.1 sec /
I I

20
30 30 10 4 Adds

#1730 -#1749, #1780- #1789 \Timer of 1 = 50 msec \ #1750-#1759 #1770-#1773 Timer of 1 = 1 sec Timer of 1 = 1 min

#1400 #1500 #1600 #1800 #1900

#1499 #1599 #1699 #1899 #1999

( regkter

number)

ST

TIM }1705,

t+

#loo12 LD TIM OUT

(J3H #14041

#loo12 #1705, 03H #14041

contents when the + 1 to the register ST contact is ON (RR = 1). This instruction is not executed when the ST contact is OFF (RR = O). The INR ST contact instruction.
ST

must be made before

the

When the
Note: 1. A conversion table between decimal and hexadecimal notation is pro~ ided in Appendix 3 at the end. 2. The same address must not be used in fixed timer and variable timer, for normal operation cannot be guaranteed. the register

contact contents

is ON, + 1 is in every 8 x

added to n msec.

ST INR #1505

TMR

(Variable

Timer)

{RR

time up = 1 \ # xxxx

LD INR

#10012 #1505 (, Cannot use this method

Format

TMR#xxxx, ~

T #7000 - #7294 address of seuence parameter

DCR
Format

(Decrement
DCR

Register)
# x x 4 x x

{RR

-~

#170A - #1799 q

The timer counts up in the state of the ST contact being ON (RR = 1) , and TM is set When the ST contact on after the set time. is OFF (RR = O) , TM is cleared and the timer is reset. The timer set value 255 (decimal notation).
is in

#1500 - #1599 #1800 - #1899 #1900 - #1999


(register number)

the

range

of O -

....

when

the

. .n

S1 contact

is

-..

,-.

UN

(KK

1) ,

1 is

added to the register contents. This instruction is not executed when the ST contact is OFF (RR = o). The RR contents remain unchanged.

The register contents are inverted 8 x n~ msec when the ST contact

in everv is ON.

AD I (Added
Format

Immediate)

{RR-; xxH

ADI#xxxx,
X5~;meric

The ST contact DCR instruction.

must be made before

the (hexadecimal) #1800 - #1899 #1900 - #1999 (register number) Adds the register contents and numeric and loads the result to the register when the ST contact is ON (RR = 1) . This instruction is not executed when the contact is OFF (R= O). The RR contents remain unchanged. The ST contact AD I instruction. must be made before the

b~
CLR (Clea) Format

ST

DCR LD DCR

//10012

xxx !

#1505

< 1

#10012 #1505
is ON, in every 1 is 8 x added to In!! msec.

When the ST contact the register contents

{ RR-j

CLR#x

The ADI instruction 8 x n msec when


ST

is executed in every the ST contact is ON.

#1500 - #1599 #1800 - #1899 #1900 - #1999 (register number)


Clears the register contents when the ST contact is ON (RR = 1). This instruction is not executed when the contact is OFF (RR = o). The RR contents remain

1- ~f
ADI #loo12 LD AD1 SBI (Subtract Format SBI#xxxx, _l.-

#1505,

10H

#loo12 #1505, 10H ( RR-; xx ~...H ~umeric


(hexadecimal)

Immediate)

unchanged

1 L #1500 - #1599 #1800 - #1899 #1900 - #1999


LD CLR #loo12 #1505 (register number)

CMR (Complement
Format CMR#x

Register) xxx

{ RR-~

Subtracts the register contents and numeric and loads the result to the register when the ST contact is ON (RR = 1) . If it is OFF, The RR the instruction is not executed. contents remain unchanged. The ST contact SBI instruction. ST SB1 #1505, must be made before the

7 #1500 - #1599 #1800 - #1899 #1900 - #1999 (register number) Inverts the register contents when the STO contact is ON (RR = 1) . This instruction is not executed when the contact is OFF (RR = o). The RR contents remain unchanged. The ST contact CMR instruction.
ST

t-+---+

)10012 LD AD I

1-1

20H

I ~

#loo12 #1505, 20 H is executed in every the ST contact is ON,

must be made before

the rhe SBI instruction ) x n msec when

P+ml
//14001
LD

#1505 +--i

#14001

CMR

#1505

23

7.5

INSTRUCTIONS AN I (And Format

FOR REGISTERS {RR-]


xxH

Centd )

(9) @

XRI

(Exclusive

or

Immediate)

Immediate)
ANI#xxxx,

Everything tion, with

is the same as in the ORI instrucan exception of the following table. D7 D6 D5 D4 D3 D2 D1 DO

L.

umeric

#1500 - #1599 (hexadecimal) #1800 - #1899 #1900 - #1999 (register number) contents and numeric is AND of the register taken and load~d in the register when the ST contact is ON (RR = 1). If the contact is OFF (RR = O) , the instruction is not exThe RR contents remain unchanged. ecuted. The ANI ST contact instruction ST WI #loo12 LD ANI must be made before the

Register Numeric Result

o o o

0 1 1

1 0 1

1 1 0

0 0 0

0 1 1

1 0 1

1 1 0

(10)

DEC Format

(Decode) DEC#xxxx,

[RR$; xxH

T~:::::cimal) Register

and contact

set of set to

t-----

1
1

/}1505,

55H

d 1 t

RR the are RR

is one when 8 bits of the This equal. of the input

the data and numeric register and contact will occur irrelevant side.

#10012 #1505, 55H

D7 D6 D5 n). ln~ ln~ Inf Inn Re~ister Numeric Result o 0

No contact can be added before the DEC inUse the COI instruction when a struction. contact must be added.

tmT-tw0 IRR-1 xxH !For example, if the M function output is #1222, to set on/off Mll with an Mll signal, the following must be given. DEC #1222, OBH OUT #14100 (relay (11 ) CO I (Coincide @ Format Immediate) xxH r Numeric Register @ and contact set for Mll) {RR$ ~ O1o11 DEC OUT #1505, 10H #14020

1011 !01110111011
I 0 001

ORI

(Or

Immediate)
ORI#xxxx,

Format

1
- #1899

Numeric
(hexadecimal)

#1500 - #1599
#1800

#1900 #1999
OR of the register taken and loaded ST contact is ON is OFF (RR = O) , The RR ecuted. contents and numeric is in the register when the (RR = 1). If the contact the instruction is not ex contents remain unchanged.

COI#xxxx,

-..

T
.

D7 D6 D5 D4 D3 D2 D1 D() o o o 0 1 1 1 0 1 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1

Register Nuneric Result

RR is set to It111when the data and numeric of the register or contact set coincide when the ST contact is ON(RR = 1). If the contact is OFF (RR = O) , the COI instruction RR is cleared. is not executed.

t--i--,+=l=l=l
LD COI OUT #14016 #1220, 10H #14010

24

(12)

CMP Format

(Compare)
CMP
#xx

{RR$;
XX, XXH

Register

This instruction transfers the register when the ST (RR = 1). If the contact the MVI instruction is not ST MVI k~~ #14002 LD MVI #14002 #1505, 15H by the #1505,

the numeric to contact is ON is OFF (RR = O), executed.

Numeric (hexadecimal) set

and contact

15H

If the comparison result of the 8-bit data and numeric of the register and contact set is that the register (contact set) is equal or greater than the numeric, RR is set to 1.1 If the register (contact set) is smaller than the numeric, RR is cleared. This is executed irrelevant to RR of the input side. No contact can be added before the CMP instruction. Use the CPI instruction when a contact must be added. Z1 cm #1230, 10H #14500 #1230 2 10H #1230 < 10H CMP OUT (13) ~Zl=ON ~ 21 = OFF I

RR is not affected

MVI instruction. MV1 instruction msec.

CDIf
(15)

the ST contact is ON, the is executed in every 8 x n

ADD
Format

(ADD

Register)

{ RR-;
#xxx ~ti5ter to be (R2)

ADD#xxxx,

T Operating

operated register (Rl )

#1230, 10H #14500

CPI (Compare
Format

Immediate)
xxH T T Register

{RR$I

CPI#xxxx,

When the ST contact is ON (RR = 1) , the register (R2) contents and register (Rl) are added and the result is loaded in register (R2) . The R1 register contents remain unchanged. The RR contents also remain unchanged. The ADD instructions not executed when the ST contact is OFF (RR = o). ST ADD b}+ #14012 LD ADD #1501, {/1502 a #14012 #1501, #1502

Numeric (hexadecimal]) set

and contact

RR is set to 1 if the comparison result of the data and numeric of the register or contact set is that the register (contact set ) is greater or equal to the numeric when the ST contact is ON (RR = 1). When the ST contact is OFF (RR = 1) , the CPI instruction is not executed. RR is cleared.

Note: In ADD or SUB, detection of overflow or With ADD, make the underflow is not performed. result less than 255 (FFH) ; With SUB, do not make R 1 >R2. (16) @ SUB (Sub Register) [ RR-j inis

t-+~~-=---l
LD CPI OUT (14) @ MVI
Format

Everything struction, subtraction ANR (And

is the same as the ADD except here the operation (R2-R1 R2) .

#14002 #1230, 10H #14500 { RR- ) xxH

(17) @

Register)

( RR-)
inis

(Move

Immediate)

Everything struction, AND, (RZ


ORR (Or

is the same as the ADI) except here the operation AND R1 ~ R2) Register) ( RR- )

h4VI#Xxxx, Register

(18)

Numeric (hexadecimal)

Everything struction, OR. (R2

is the same as the ADD except here the operation OR R1 -+ R2)

inis

25

7.5 (19) @

INSTRUCTIONS XRR (Excluse

FOR or

REGISTERS

( Centd ) {RRI

ST COR #1501,

Z1

Register)

t+
Everything is the same as the ADD instruction, except here the operation is XOR. (R2 XOR RI -+ R2) CPR Format (Compare Register) #x {RR$j xxx @) Register or contact set (R2) or contact set (R 1) @ @ When the difference ST contact is ON (RR = 1), the between R1 and R2 is taken, and; @

#14012 LD COR OUT

#1502

#14012 #1501, #1502 #14123

(20) @

#1501 = #1502 ,.. 21 is set. #1501 = #1502 . Z1 is cleared. The data of R1 and R2 remains unchanged when the COR instruction is executed. MOV Format

CPR#xxxx,

T Register

(22)

(Move

Register)

{RR-) #x xxx (R2)

MOV#xxxx, 77 Register

(Rl)

Register

RR is cleared if R is smaller than R2, and RR is set to 1 if R1 is greater than or equal to R2. CPR is not executed is OFF (RR = O). The unchanged. ST when the ST contact RR contents remain

The R1 register contents to Register R2 when the The Register (RR = 1). unchanged. I I
~T -.

are transferred ST contact is ON R1 contents remain

l++ I

Z1
CPR I #1501, #1502

r
@ (23) DST

MOV #14012 LD MOV

#1501,

, #1502

4 I

#14012

#14012 #1501, #1502 by the {RRMOV instruction. I x,xx H

LD CPR OUT

#14012 #1501, #1502 #14123

RR is not affected (Data Store)

#1501 c #1502 0.. 21 is set. #1501 2 #1502 . . . 21 is cleared. @) The data in R1 and R2 remain unchanged when the CPR instruction is executed,

@Format

DST#xxxx,

#xxx

~G,*)
The instructions for registers described 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 register contents by 8 x rims.
Note:

Register @ When the ST contacts

(Rl) in ON (RR = 1);

(21 ) COR @ Format

(Coincide

Register) #x

{RRI] xxx

COR#xxxx,

Register R1 and the numeric are ANDed, an~ the result is transferred to R2, Register R1 remains unchanged. When the ST contact is OFF (RR = O); The DST instruction is not executed.

T Register @ When the If If ST contact

Register or contact set (R2) or contact (RR = 1): set (R 1)

is ON

P11
#14012

ST

DST

#1501,

//1502, OFH

RI is equal to R2, Z1 is set. R1 is not equal to R2, Z1 is cleared. = O), the and the

LD DST

#14012 #1501, #1502, OFH DT D6 D5 D4 D3 D2 D1 DO

When the ST contact is OFF (RR COR instruction is not executed, RR contents remain unchanged.

Reg.

RI

B o
o !!0!!

B 0
0

B c
0

B o
0

B 1
B

B
1

B
1

B
1

Numeric
Reg. B: R2

l!~!t or

26

RR is not instruction. DIN Format (Data

affected

by execution

of the

DST

#1503

#1502

(24]

Insert)

{ RR-~ # XX T-
I

CzEicl
XX, XXH

P=l

DIN#xxxx, 7

u
PR @ RR must be cleared struction. ADDW Format (Add Word to execute the ADC in-

T Numeric (hexadecimal) Register or contact set (R2) Register or contact set (Rl)

(26) When the ST contact is ON (RR = 1) , the R1 data and numeric are ANDed and the result is ORed with the AND of the R2 data and the numeric complement. The result is stored in R2 (data extraction) . When the ST contact is OFF (RR = 1) , the DIN in- struction is not executed. @

Register) #xxx

{ RR- ! x,

ADD#xxxx,

Low side of double length register (WR2) Low side of double register (WR1) length

@ LD DIN #14012 #1501, #1502, OFH

ID71D61D51D41D31 D21D11D0

A, (25) @

4 BE
R2BB n 00 B T 1 BBB 1 11 Result B: B
A

RI

AA

AAA

When the ST contact is ON (RR = 1), the contents of double length registers, WR2 and WR1, are added and the result is stored in WR2. WR1 remains unchanged. (WR2) + (WR1) + (WR2) . The RR contents do not change by the operation. When the ST contact is OFF (RR = O) , the ADDW inThe numeric struction is not executed. is judged without code.
ST

AAA

Data is 1 or O.

l+
#14012 LD ADDW #14012 #1500, #1502 (wR2) #1503 [ (WR1) #1502 I

ADC
Format

(Add

with

Carry)

{RR)
#x T xxx

ADC#xxxx,

T
Register or

Register or contact set (R2)


set (Rl)

contact

Register Rl, R2 and RR are added, and the result stored in Register R2, RR is set to 1 when a carry occurs .

+1
r

#1501

#1500

l---m-+
I1OO12

ADc ;1501,#1502

ADC tlsoo, #1503

(WR2)

LD NOT ADC ADC

#loo12
#1501, #1502 #1500 , #1503

27

7.5
(27)

INSTRUCTIONS
SUBW Format (Sub

FOR REGISTERS
Register) #xxx x,#x

(Centd )
[RR-; xxx

ST MULW 1+--+.L {/14012 //1500, {/1502 1+

Word

SUBW

LD MUL

#14012 #1500, #1502 (WR2)

Low side of double length register (WR2) Low side of double length register (WR1) When the ST contact is ON (RR = 1), the results of the contents of double length registers, WR2 minus WR1 is stored ~n WR2. WR1 remains unchanged. (WR2) (WR1) + (WR2) = O) , the The )

~ (RI) m

L #1503
(29) @ DIVW Format (Division Word DIVW#xxxx, TT

: #1502

When the ST contact is OFF (RR SUBW instruction is not executed. numeric is judged without code. ST SUBW #14012 l----+ 1~ LD INRW (WR2) [ #1503 : (WR1) -) [ I #1501 i #1500 #1502 1 #14012 #1500, #1502 #1500, #1502

(WR2) Register) #x xxx ( RR- ;

I
Regis~er (Rl) @ When the contents is divided is stored When the instruction is judged operation ST

Low side of double length register (WR 2)

#15o3

~ (WR2)

#1502

ST contact is ON (RR = 1), the of double length register WR2 by register R1 and the result WR1 remains unchanged. in WR2. ST contact is OFF (RR = O), DIV The numeric is not executed. If WR1 is 110,11 without code. will not be executed.

(28)

MULW Format

(Mul

Word

Register)

{RRII #xxx
X

I--+11
DNW
#1500, #14012

{/1502 l-+

MULW#xxxx,

LD DIV

#14012 #1500, #1502 (WR2)

I I
Register (RI)

Low side of double length register (WR2)

#1503

#1502 (Rl)

When the ST contact is ON (RR = 1), the contents of double length register, WR2 and register R1 are multiplied, and the R1 remains result is stored in WR2. unchanged. (WR2) x (Rl) + (WR2)

E!iIEl
#1503 ! (WR2) #1502 I

When the ST contact is OFF (RR = O) , the MUL instruction is not executed. The If the numeric is judged without code. result is overflown, more than FFFFH , RR equals one.

(so)
@

INRW ( Increment
Format INRW#x

Word Register)
xxx

{RR- I

The data of WR1 and WR2 do not change when the CORW instruction is sxecuted. CPRW Format (Compare Word Register) #xxx (RR$
X

(35) I Low side of double register @

length

CPRW#xxxx,

When the ST contact is ON, +1 is added the double length register contents.

to

Double Ien gth register (WR2)


T

Double (WR1) @ When the ST contact and WR2 are checked If WR1 is smaller If WR1 is greater RR is set.

length

register

b
(31) @ DCRW

ST
INRW #1500 #14012 LD INRW (Decrement #14012 #1500 Word Register) {RR-I here is ON (RR = 1), WR1 for the difference; than WR2, RR is cleared. than or equal to WR2,

Thesame as INRW, butthe operation is addition of -1 to the double length register contents.

When the ST contact is OFF (RR CPRW instruction is not executed. contents remain unchanged. ST CPRW {/1500, {11502 #14012 b11~ LD CPRW OUT #14012 #1500, #1 502 #14123

= O) , the The RR

Z1

(32)
~

CLRW (Clear

Word

Register)

{ RR-~
the double cleared. {RR- I

il14123

Thesame as INRW, buthere length register contents are CMRW (Complement Word

(33) @

Register)

The same as INRW, but length register contents CORW Format (Coincide Word

here the double are inverted. (36) Register) #x {RR$j xxx

#1500 t #1502 . . . Z1 is set. #1500 2 #1502 0.. Z1 is cleared. MVIW Forma t (Move Immediate Word Register) xxxx H Numeric (Low side) [ RR-~

(34) @

MVIW#xxxx,

CORW#xxxx,

TDouble (WR1) @ When the ST contact and WR2 are checked If WR1 and WR2 are If WR1 and WR2 are cleared.

F Double length register (WR2) length register

~?
Numeric (High side) Double When the ST contact is numeric is transferred When the ST contact is MVIW instruction is not length register

is ON (RR = 1), WRI for the coincidence; equal, RR is set to 1. not equal, RR is = O) , the and the

ON (RR = 1), the to the register. OFF (RR = O) , the executed.

When the ST contact is OFF (RR CORW instruction is not executed, RR contents remain unchanged. ST CORW 1/1500, #1502 b~l= #14012
LD CORW OUT 4114012 #1500, #1502 #14123 . . . Zl is set. . . . Z1 is cleared.

H+
The tion

ST

MVIW #1500,

#14012

1=

20FFH

4
by execu-

Z1 {i14123

RR contents are not affected of the LIVIW instruction,

#1500 u #1502 #1500 = #1502

29

7.5
(37) @

INSTRUCTIONS DSTW (Data


Format

FOR REGISTERS
Store Word Register)
#XXXX,

( Centd )
{ RR-)
XXXXH

DSTW

#xJCxX ,
~--p--,c

i
Register @

R~gister (WR1)

(WR2)

t++cki
WD

When the ST contact is ON (RR = 1), Register WR1 and the numeric and ANDed and the The result is transferred to Register WR2. WR1 contents remain unchanged. When the ST contact is OFF (RR = O) , the DSTW instruction is not executed.
ST

LD AND MCR LD OUT LD OUT LD OUT END

#14001 #14002 #14003 #14010 #14004 #14011 #14005 #14012 Where Xl and X2 contacts are off, is given from internal relays 21, 22 and z3.

i--+

#14012 LD DSTW

1~
DSTW B o o B 0 0

#1500, /}1502, OFOFH

#14012 #1500, #1502, OFOFH

-.
D15 DI ~ DI 3 D12 DI 1 DIO D9 Dg Reg. WRl B 0 0 B 0 0 B 1 B B 1 B B 1 B B 1 B

Another MCR instruction MCR and END (7 levels

can be given max) .

between

When a timer instruction is included in MCR, the timer is cleared when MCR is OFF. Even if a self-holding circuit is formed between MCR and END instructions, the circuit output is OFF when MCR input contact is OFF. END (Master END that MCR is at the end. ! RR ) Control End) [ RR- )

Numeric Reg. WR2

D7 D6 D5 D4 D3 D2 D1 D() Reg. WRl B B B B B B B B

Numeric
Reg.

0 0

0 0

0 0

1
B

1
B

1
B

1
B

Format Indicates RET

WR2 o
1!011

B: ~ The
the

11111 or

RR contents
DST

remain unchanged instruction is executed.

when

( Return) RET the end

Format Indicate

of sequence

program.

7.6

CONTROL NOP (No

INSTRUCTIONS RTI Operation) NOP and the system The RR contents


When next the step ST contact is executed. is OFF, ladder of the

( Return
RTI

Indirect)

{ RR- )

; RR- }
Format

Format

No operation is conducted moves to the next step. remain unchanged. MCR


(Master Control)

ST RTI { RR- ] b----~ //14011 LD RTI #14011 1

Format

MCR
are ON (RR = X2 contacts ladder is released. are OFF (RR = X2 contacts in the to END is executed O.

When the Xl and 1) , the sequence When the Xl and O) , the ladder up
state of RR being

SET

(Set

Return
SET sets

Register)

{ RR-}

q TPSH (Table Push)

{m-)
XXXX

Format Forcibly RTH

o
RR to 1.1

Format

TPSH

I I

Table ( Return RTH the end of a high speed sequence

number of PC table used

High

Sequence)

[ RR-)

Format Indicates program.

Designates @ with SUBP.

the

table

number

(1) SUBP 005 (Counter)

o
INSTRUCTIONS
(a)

7.7

MACRO

Function: This counter can be used in many ways to control machine tool operation according to the applications, as described below. Ring counter

Macro instructions (SUBPXXX) are provided to enable the operators to simply arrange oper ations of machine tools with which ladders cannot be prepared easily with basic instructions (relay instruction, register instruction, etc. ) only. The following explains further The format of macro instructions details. is as follows: SUBP
X X X

This counter is ring counter. Accordingly, it returns to the initial value when a count signal is input after counting up to the preset value.

(b)

Preset

counter and the count COUNT UP is

If a count number is preset, value reaches the set value, output . (c) Up/Down counter can be used for

t
Macro instruction The following auxiliary with macro instructions: instructions number are used This counter count also. @) Form
PRESET VALUE IPSH lb l e COUNTER ADDRESS _ WORKPIECE ADDRESS APSH /}1510 1-

up count

and down

q IPSH (Immediate Push)


@ Format IPSHXXXXH t Numeric @ Directly SUBP. designate

{RR-1
. f,

(hexadecimal)
APSH {/1500

the numeric

used

with
1.

q APSH (Address Push)


@ Format APSH
#X XXX

{RR-}

-/

I CNO
UP/ DOWN RST

,,
CTR RI

I
COUNT UP OUTPUT

Register @ Designate the address with SUBP. of the register used

y ~ooo
f?lool
/}14002 //11000 ACT SUBP 005 *

@ PUSH (Push) @ Format PUSH #x

{RR-} xxx

IPSH APSH APSH

16 #1500 #1510 #14000 #14001 #14002 #14003

.,.

Preset

value address address

. . . Counter . . . Workpiece . . . CNO

t Register @ Designate the address where used with SUBP is stored. the numeric

LD STK STR STR

. . . UP DOWN .,.
RST

. . . ACT . . . COUNTER . . . COUNT


instruction UP output

SUBP 005 OUT #11000

31

7.7
@ (a)

MACRO
COritml Preset

INSTRUCTIONS
conditions value designation

( Centd )

(g)

COLJNT signal lt~t,

(ACT)

(IPSH

xx)

ACT

I I
t
COUNT

I
t
COUNT

Directly designate a preset value. TO designate a variable value, use the pUSH instruction, instead of IPSH, and designate the address, The preset value becomes the address contents. Example: PUSH #1550

ACT

. 0: The

counter does not operate. The R1 contents remain unchanged. at

ACT

= 1: Counts
Ill+!!

the rise

of O to

If the above designation is given, the two byte of #1550 and #1551 are used. Do not use #1551 for others even if only one byte is to be used. (b) Counter address designation (APSH #xxxx)

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.

Designate the counter address. If APSH #1500 is designated, the continuous two bytes, that is, #1500 and #1501, are used for the counter address. (c) Workpiece (APSH#xxxx) address designation (h)

COUNT

UP output

(Rl) counting up to the preset

Designate an address that is not used by 1 byte is needed for other instructions. When two or more SUBP 005 one SUBP 005. are used, designate an address to each of it. (d) Initial value designation (CNO) value

Up counter: R1 is set to l!111upon value. Down counter: When CON = O R1 is set to 1 when When CON = 1 R1 is set to 1 when @ Counter

counted counted

down down

to IO. II to 11.1

CNO = O: The counter cumulative starts at O. (O, 1, 2, 3, 4, . . . n) CNO = 1: The counter cumulative starts at 1. (1, 2, 3, 4, 5, . . . n) (e) lJp/DOWN designation

use example of using the counter as a preset

value

(a) Example counter

UP/DOWN

= O: Up counter Initial value CNO = O Initial value CNO = 1

The number of machined workplaces is counted. When the count reaches the set value, the COUNT UP signal is output. is 01 with is 1 with

UP/DOWN

= 1: Down counter The initial value preset value. (RST) release

is the

PUSH

#1520

1
I

(f) RST RST

Reset

#1500

= O: Reset

= 1: Reset R 1 is cleared. The cumulative values is set to the initial value.

APSH
Al r ir#14001 Al UP/DOWN , 41 #14001 RST RST c NO ACT M02 CUP 4 #llooo U12007

#1510

CTR

CUP

. Al
the

is the count

circuit

to create

Logic

1. since

. REV is a signal

. NC contact . NC contact
it is used

of Al is used to clear CNO range used is O to 9999. of Al used to clear as an UP counter.

UP DOWN as is

that changes according to the rotation direction. It is O for forward rotation and 1 for reverse rotation. Therefore, it operates as an Up counter for forward rotation and as a Down counter for reverse rotation. signal is used in this exThereample, it is kept to O always. fore, NC contact of Al is used. CNT count signal is a signal ON/OFF 10 times & one rota~ion rotation object, value #1520 and #1521, respectively. to turn of the addresses of

. RST,
used

the input signal from the NC unit, as the counter reset signal.

. .Since no reset

. The count

signal is the input signal from the NC unit. M02 or. M30. NC contact of CUP is contained in this signal the counte:r does not count once it counted up unless it is reset. counter to memorize the

. The

(b) Example of using the rotating object posit~on.

. Set 10 and O to the preset

(2) Al @ TAl #14000 &

SUBP

006 (ROTATION)

Function:

_
PUSH #1520

This instruction is used to control rotation objects such as blade base, ACT and rotating table. It has the following functions: (a) .Judgement of short-cut rotation direction the

APSH

#1500

(b) Calculation of number of steps between current position and target position

AFS13 #1510
CNO
UPDOWN RST ACT

Looo

CTR
RI

(c) Calculation of the position of one step before the target position or the number of steps up to one step before the target position.

Jiwh4010
Al #14001 CNT -1 } #14030 6 5 4 REV=l \/ 0 2 1 REV=O 7 8 g SUSP 005
al

#14020

F---+ ls[
APSH

#1510

CALCULATION RESULT ADDRESS

#1520

TARGET POS1T ION ADDRESS CURRENT POS 1TIoN AODRESS

1~

APSH

#1530 NIMSER OF ROTATING OBJECT POS1TION1NGS

slm

10 A

P=
11
DIR Pos t14002 14003

RI

P-- /111000

INDEXED POSITION

w-mFrm5-l
I
APSH APSH #1510 #1520 ,..

sum

006

. Al
d

is circuit

to create

Logic

1.

With the rotating object of 10 angles, as shown in the figure, the count start numTher~fore, NO contact o:f Al is used ber is 1. to CNO to 11. REV is a signal that changes according to the rotation direction. It is O for forward rotation and 1 for revers set CNO
111.11

Calculation address

result

output input address

position . . . Target address . . . Current position

APEiH #1530 IPSH to LD #14000 10

. . . Number of rotating object positioning . . . The position from O or number 1. is

33

7.7 STR STR STR STR STR

MACRO #14001 #14002 #14003 #14004 #14005 006


#llooo

INSTRUCTIONS .,.

( Centd )

(g)

Designation

of operation

conditions of steps

(POS) to

The position data is in 1 byte or 2 bytes.

P(2S = O: Calculate the number the target position. Pos=l:

. . . The rotation direction is constant or in shortcut, . . . Target position step before . . . Position number . . . Execution . . . ROT instruction direction output number of steps or one of

Calculates the position or number of steps of one step before the target. of position or number of steps

(h) Designation (INC) INC INC (i) ACT ACT = O: = 1:

Calculates Calculates

the position the number (ACT)

number. of steps.

SUBP
OUT

Execution

command

.. . Rotation

= O: Pio execution of R(.)T R1 is not affected.

instruction.

Control

conditions result storage

= 1: Execute the ROT instruction. (This is not a rise signal. ) Rotation The The direction rotation rotation output direction direction (Rl ) is forward. is reverse.

(a) Designation of calculation address (APSH#XXXX)

(j)

The ROT instruction calculates the number of steps that the rotating object should rotate, step number of one step before or the position of one step before the target position, and the result is stored in the designated address. (b) Designation (APSH#XXXX) of target position address

R1 = O: R1 = 1:

Note: 1. The rotation below:

direction

is defined

as shown

Designate the address at which the target position is contained. In other words, this is the address in which the T command from NC unit is contained. (c) Designation (APSH#xxxx) of current position address

the

clQ 8
2

l~wm

PoS1TION

1NDEX2D POS1TION

Designate the address where the current posiFor example, this is the tion is stored. address of the counter that memorizes the rotating object position. (d) Designation of initial value of the position number of rotating object (RNO) RNO = O: The position object starts RNO = 1: The position object starts number of rotating from O. number of rotating from 1. of bytes of posi-

The rotation direction in which the number increases from the indexed position is the forward direction. The direction in which the number decreases is the reverse direction. position is equal to the 2. When the current target position, th~ calculation result of the number of steps of one step before the target position (POS = 1, INC = 1) is

o. @
Use of example of ROT instruction

(e) Designation of number tion data (13YT) BYT BYT = O: Binary = 1: Binary 1 byte 2 bytes

The following shows the control of a 16-position rotating object, without short-cut control but for deceleration at the position of one step before the target position.

(f) Designation Of whether or not short-cut direction should be determined (DIR)

DIR = O:

No determination is made on The rotation shortcut direction.


direction is forward only.

DIR = 1:

Determines

short-cut

direction.

34

Conversion standard data address Data table

wi~~!~e[able BYT-O BY T-1

Conversim

head address Xxxx

data
1

o 2 3

~~

Itli
/

-=Conversion
data output address

ACT

lPSH

20 #1500 #1510 ~

. NUMBER OF CONVERs 10N DATA ITEMS - CONVERS1ON STANDARD DATA ADDRESS - CONVERS1ON DATA OUTPUT ADDRESS - NO. OF PC TA$LE CDNTAINING CDNVERS 10N DATA

k~
DECACR T,

h?= TF

Awn
DECACR U1S1O, ~150Q DEC #11.020 DECELER4TION POS1. TION DETECTION

ASSH m__.._J

COR

I I GQIN REO

I %1-co-dbiim

,,,,., , LmrmN

SYT -+ !414000

L-

con \ RI

9000

(3) @

SUBP 007 (CODE Function: prepared


Conversion standard data address Data head

CONVERSION) the PC table

Converts data using on the ladder.

table address

Number within

Conversion data table ~

El
IPSH APSH 20 #1500 #9000 #1510 #14000 #14001 #14002 007 #14010
table

lAH

2BH 3CH

I
data of data table conversion data store data. bytes) address .

. . . Size of conversion
(Number

. . . Conversion . . . No.
of PC containing

Conversion

data output address

TPSH APSH

. . . Converted
address,

-3

LD STR STR SUBP OUT -20H -30H -40H

. . . Data
1 byte

of

data or

table

is

in

2 bytes.

. When 3 is instructed

for the conversion standard data address with BYT = O, as shown in the above figure, the data of the third address from the head of the table is stored in the conversion data output adThe head address of the table is 0.! dress. status when BYT is set to 1 is shown At this time, check that the size below. of the conversion data table is in a even byte number.

. . . Reset . . . Execution . . . COD . . . ERROR


instruction output

. The

Conversion
-lAH -2BH

data

table

-3CH

35

7.7
@

MACRO
Control

INSTRUCTIONS
conditions

( Centd )

(4)
@

SUBP 009 (PATTERN


Function: Writes

CLEAR)

(a) Designation of number items (IPSH xx) Designate conversion 256 bytes. the size (number data table. The

of conversion

data

the designated the designated


write

the same numeric for number of bytes from address.

of bytes) maximum

of the size is

pattern CzJ \

Numberof bytesto write

(b) Designation address (APSH

of conversion #xxxx)

standard

data

Data in the conversion data table is fetched out by designating the number inside the Designate this number inside data table. the table.

<! El
00 00
00

1=
I

00 00 00 02

20 BYTES

L..m_.JJ

Form

(c) Designation address (APSH

of conversion #xxxx )

data

output II

Designate the address to output the data stored in the number inside the table that is designated by Item b. When BYT is N1, II data at the higher side iS output to the address address. (d) Designation (TPSH Xxxx) Table No, size next to the designated IPSH of conversion data table on PC table IPSH APSH depending LD SUBP

L ACT
PCLR
#14000

I
O

b
. . . Write . . . Head . . . PCLR . . . Write conditions of write

WRITE COMPLETION OUTPUT

DY-JE_l
pattern of bytes

I
to write to write

20 #1500 #14000 009 #14010

. . . Number

address

is different

. . . Execution instruction completion output

9000

9007:

256 bytes 128 bytes 64 bytes 32 bytes 16 bytes of data

max max max max max (BYT)

OUT @ (a)

9008 - 9023:
q

9024 - 9087: 9088 - 9215: 9216 - 9435: Designation = O: = 1:

Control

Designation

pattern

(IPSH

xx)

(e) BYT BYT

size

Designate a write pattern. If the pattern is to be variable, instead of IPSH, and designate (b) Designation (IPSH XX) Designate clear. the of number number

use PUSH, the address. to write pattern

When data of the conversion data table is in 1 byte. When data of the conversion data table is in 2 bytes. (RST)

of bytes for

of bytes

(f) RST RST (g) ACT ACT (h)


An

Reset

= O: No reset. = 1: ERROR Execution = O: = 1: Error


error

(c) Designation (APSH #XXXX) output R1 is cleared. (ACT ) R1 does not change. (d) ACT Execution = O: = 1: Write

of the
)

head

address

to write

command

Designate the head address for PATTERN CLEAR start, PATTERN CLEAR is executed for the designated number of bytes from the address. command (ACT)

No execution. Executes. output


that has

No execution. Executes. completion Write Write not output completed (R] ) yet.

(RI)
o.=.==~~ea du~im~ exe.ut

ACT a numeric size) . error. (e)

of the COD instruction (when that is greater than the table the R1 is set to NlT! to notify

R1 = O: R1 = 1:

completed.

36

(5) @

SUBP 011 (PARITY

CHECK)
_ INPOTDATA

Function: Parity check (even and odd) of the check data (l-byte data). If not normal, an ERROR output it made. Form

AmIusss
Sq Sq tlmu f1510

l---j

- OUTPUTDATA
AODSSSS

i--+==5%
APSH LD STR STR #1500 #14000 #14001 #14002 . . . Check data address switch. . . Even /odd parity ing . . . Reset . . . Execution . . . PARI command

ii ~~

BY?
f

ZU

~g

tll+ooo CNv , t tl.iool


,

OcNv RI
I

SS? iIS14002

#lholo

+&lo,
#1500 #1510 #14000 #14001 #14002 #14003 014 #14010

I1

SUBP 014

I
to be converted result storing processto

APSH APSH LD STR instruction output STR STR SUBP data address OUT @

. . . Data address . . . Conversion address. . . . l-byte ing.

or 2-bytes

., . Conversion from binary BCD or vice versa. . . . Reset . . . Execution . . . DCNV . . . ERROR conditions of data to be converted instruction output

SUBP 011 OUT @ #14010 Control

. . . ERROR conditions of check

(a) Designation (APSH #XXXX).

Control

Designate the address where the data to be checked is stored. This data to be checked is in 1 byte (8 bits). (b) Odd/Even Even command parity (OE)

(a) Input address (APSH #XXXX)

OE = O: OE = 1:
(c)

check check

Designate the address where the data to be In the case of converted is stored. BYT = 1, two continuous bytes are used for the address. (b) Conversion result storing address data. are used. of data

Odd parity

Reset = O: = 1: No reset. Resets ERROR output RI.

RST RST (d) ACT ACT (e)

This address stores the converted Where BYT = 1, continuous bytes (C) Designation (ByT) instruction. BYT BYT = O: = 1: of number of bytes

Execution = O: = 1: Error

command

(ACT) of PARI change.

No execution RI does not Executes output (Rl)

The processing byte. The processing bytes.

data is in one data is in two

PARI

instruction.

When an odd parity resulting from even parity check or even parity resulting from odd parity check, ERROR output R1 is set to 111.!! (6) @ SUBP 014 (DATA Function: Converts versa. CONVERSION)

(d) CNV CNV (e) RST RST

Designation = O: = 1: Reset = O: = 1:

of conversion binary
BCD

form data

(CNB) data.
data.

Converts
Converts

to BCD
binary

data

to

(RST) No reset. Resets error output R1.

binary

data

to BCD

data,

or vice

37

7.7
(f) ACT
ACT (g) R1

MACRO
Execution = O:
= 1: ERROR = O:

INSTRUCTIONS
command (ACT)

( Centd )

LD

#14000

. . . The

processing data is in one byte or two bytes.

STR STR STR

#14001 #14002 #14003 017 #14010

. . . Reset . . . Execution . . . Execution . . . DSCH . . . ERROR

No execution.
Execution. output (Rl)

SUBP OUT

instruction output

Normal

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). (7) @ SUBP 017 (DATA SEARCH)

Control

conditions of data items size (number of of

(a) Designation of number data table (IPSH xx) Designate bytes) . the data table

Function: Searches the same data as the input data If there is, the relative in the table. address from the table head is stored in If the same the output data address. data is not found, an ERROR output is made.

(b) Designation (APSH #XXxX) Designate The data

of head

address

of data table

the head address of the data table, table may be created in any place. of input data address
the data to be

(c) Designation (APSH #XXXX)


1

When BYT = O Input data address m Output data address m When E2YT = 1 Input data address #nxll 5 4C 30
d

able inside No. BYT=I BYT=O

Oata

Designate searched

the address is stored. of

where

0 1
2 3 k 5 n-3 n-2 n-1 n

1
2 3 n-1 n

(d) Designation (APSH #xxXx)


3A
.4C

output

data

address

30

lf the searched data is found (Rl = O) , the number inside the table where the data is Designate the output stored is output. address. (e) BYT Designation = O: of data size the (BYT) data table is

Output data address /


#xXxx

l~j
Check

The stored in in one byte, The table data is in stored two

Note :
byte

number

when

that the table size is in as even L3YT = 1.

BYT

1:

in bytes.

the

data

Form
lPSH
.

(f) ACT
20 I APSH Msil APSH 11500 :1510 #1520 BYTE NO. 01 DATA TABLE HSAD ADDRESS DATA TABLE INPUT DATA .40DSESS
OF

Execution = O: = 1: Reset = O: = 1: ERROR No

command execution

(ACT)

ACT (g) RST RST (h)

Execution (RST) Not Reset. output reset. R1 (Rl) is cleared.

CONTROL WND1TIONS

I
I
RI
11401

OUTPUT DATA AODRESS

II

SYT DSCH ~#4000

I
IPSH APSH APSH APSH

E
ACT

#140Q1 114002 SUBP 017

b----l
ERROR OUTPUT

R1 = O:
R1 = 1:

The
The

search
search

data is found.
data is not found.

20 #1500 #1510 #1520

Number of bytes of data table of data . . . Head address table . . . Search data address ..< . . . Table inside number storing address

(8) @ the

SUBP 018 (INDEX Function: data table. Reads

DATA MOVE) or re-writes data from

(a) Read as the table . N3N was designated and the contents were read.

inside

number

38

@
Table inside
No.

Control

conditions of data items size (number of of

storing

address

(a) Designation of number data table (IPSH xx) Designate bytes) . the data table

storing /)xXxx

address

,~]>

(b) Designation (APSH #XXXX) Designate The data

of data

table

head

address

the data table head table may be created of 1/0 data to store to store

address. in any place. address data. data. stor-

(c) Designation (APSH #XXXX) (b) Re-write number RW = O: RW = 1: (d) ing


Data

storing output input

Address Address

. 3 was designated as the table inside and the contents were re-written.
Tsble inside No. storing address Tab l.e inside No.

Designation of table inside address (APSH #xxxx)

number

Designate which data in the data table should be read or rewritten with a table The table inside number inside number, designates the storing address. (e) Designation = O: = 1: of data size (BYT)

;d~tp~ Ea :fl;? #xxxx

30

4 n-1 E n

BYT BYT

The data stored in the data table is in one byte. The data stored in the data table is in two bytes. of read data or re-write the (RW)

(f)
(. . NOME ER OF BYTES OF OATA TASLS

Designation Reads

RW = O: RW = 1: (g) RST RST (h) ACT ACT (9) @ Reset = O: = 1:

from

data table. the data table.

lPSH APSH APsll

20

1
I _

DATA TABLE HSAO

Re-writes (RST)

data

from

41500
FIS1O

ADDSESS [/0DATA STORING


ASLE INSIDE NOKNER STORING ADDRESS

Not reset. Reset. R1 is cleared. (ACT)

APSH CONTROL COnditiOnS OYF ---i ~~m RU

11520

SMov 1 RI

l~El t--1
414001 RST #14010 #l14002 ACT #14003

Execution = O: = 1:

command

ERROR OUTYUT

No execution Exechtion DISPLAY) messages on the

SUBP 018

SUBP 023 (MESSAGE Function: Displays CRT of NC.

IPSH APSH APSH APSH


LD

20 #1500 #1510 #1520


#14000

. . . Number
table

of bytes head

of data address address

. . . Data table

. . . 1/0 data storing . . . Table


storing

inside number address data is in or two bytes.

~
USERS MESSAGE The message is displayed under the title of

. . . The processing
one byte

STR STR STR SUBP OUT

#14001 #14002 #14003 018 #14010

. . . Read or Re-write ,..


Reset

. . . Execution . . . XL!C)V instruction . . . ERROR


output

SER
39

7.7

MACRO

INSTRUCTIONS

( Centd )
under the title
APSH U1500 l= 4 SIZE OF MESSAGE CONTROL ADDRESS MESSAGE ADDRESS CONTROL

The message is displayed of USERS MESSAGE.

Max. number of characters and types of messages are as follows. One of each is selected.

IPS14

Max. numberof

character 32 bvtes
64 bytes

I
I

VP 128
64

Tableaddress I
I

#9088to #9215
#9024 to #9087

I t----i

DiSP

I
I

The following shows the max. number that can be displayed on the CRT at the same time.
Max. number of characters

I
Table addresses

t----i
SUBP 023 I

Dis la re uest

Numberofs

Imultaneous displays

32 bytes 64 bvtes

2 aeta 1 Set

~
9229 #9230 #9231 $15015 #15016 #15017 UNUSABLE. S-CODE UNUSABLE M-CODE PARAMETER ERROR

Up to 4 messages are displayed on the If there is a request to disCRT screen. play more messages, low order bits are given the priority. Messages of higher priority are displayed sequentially.

APSH IPSH IPSH TPSH SUBP

#1500 1 32 9216 023

. . . hfessage address

data

control control of

. The displayed messages set the corresto be ponding bits to II1, N and messages cleared clear the corresponding bits. The figure below shows the correspondence.

. . . Size of message address .0.

Number of characters one message data

. . . Top of PC table containing message. . . . DISP conditions of message head address control that address instruction

7
Dkplay request

6 14 6 14 22 30 22 30

5 13 5 13 21 29 21 29

4 12 4 12 20 28 20 28

3 11 3 11 19 27 19 27

2 10 2 10 18 26 18 26

1 9 1 9 17 25 17 25

0 8 0 8 16 24 16 24

#1530 #l Sol 171502 #1503 #1504 #1505 #1506 #l 507

[
DisDlay status

15 7

Control

(a) Designation (AliSH #XXXX) Designate the the message. (b) Designation address (IPSH

[ Display request

15 23 31

request

{ 23 Display status [[ 31

of size xx)

of message

control of

Designate the size (number message control address.

of bytes)

Note: 1. Do not set bits


to 111.11

containing

no message

data

is an instruction to dis2. This instruction play messages on the CRT screen. The instruction cannot set NC to an alarm state (l-block atop, decelerated stop, and immediate stop ) .

For example, when the message control address is designated as APSH #1500 if IPSH 1 is specified, continuous 4 bytes from #1500 are used, and if IPSH 2 is specified, continuous 8 bytes from #1500 are used. Note: Up to 16 types of messages available when IPSH 1 is specified. (c) Designation message (IPSH of number xx) are

of characters

per

The number of characters for each message varies. Designate the maximum number of characters in the PC table to be used.

40

(d)

llesignation

of top

number

containing

message instruction

(TPSH

of PC table XXXX)

USERS MESSAGE display following operation: @

is selected

by

the

DISP

use example

When contacts AL1 - AL4 are set on, the message corresponding to the request bits are displayed on the CRT screen, and deThe display celeration stop is performed. goes out when a reset signal is given.

The established USERS selected by depressing alarm display. Added USERS by depressing Depressing MESSAGE 1. DISPLAY the 1. MESSAGE ALM key ALM key

MESSAGE 1 display ALM key to select

is

2 display again. again

is selected

calls

up USERS

MESSAGE
DISPLAY RSQUEST

a. Two

MESSAGE SUBP023S

instruction on the ladder.

can be used SUBP023

First

P G
#12181

SST

CSXOJ #1500 #1502 1

1 4 ERR #13187

DISPLAY RSSST

CLRW

CNP

kwoo, 01

DECELP.RATION STOP

#1500 ~i SH I 1

IPSH

TPSH

9088

DISP SUBP 023

Second

SUBP023

Table

addresses

#9088

Display #

request

Message

contents

#9089 #9090 #9091

00 #i:ool #15002 #15003

PARAMETER ERROR SPiNDLE SERVO ALARM M06 ERROR KEY-LOCK ERROR

Improving USERS MESSAGE funcUon(J50M

only)

This fucction displays from PC input signals machine defects. The


(i) (ii) (iii)

messages on NC CRT screen having operation mistakes or

DISP
are displayed: and ERROR
condition. etc. in NC USERS SUBP 023

following Regarding
Showing Showing

messages ERROR
machine operation can be

code
operation

contents.
SUBPOZ3 which has been used is displayed under the title of on the message ALM screen key, and (USERS SUBP023, first on the ladder USERS MESSAGE 1 MESSAGE which 1) . has been USERS

procedure, displayed

These messages MESSAGE screen, There is displaying

Depress

no distinction between the ways messages for easy operation.

of

used later, is displayed under the MESSAGE 2 on the message screen MESSAGE 2) .

title of (USERS

USERS

MESSAGE

display

selection

41

7.7

MACRO

INSTRUCTIONS

( Centd ) i

By depressing ALM key again, the display is reverse displayed to USERS MESSAGE 1 from USERS MESSAGE 2. Note: USERS By depressing called up. b. Display MESSAGE 1 has only on display. PAGE key the previous display is

specifications in a message and message

Number types.

of characters

16 characters 32 characters 64 characters

* 220 types * 128 types * 64 types

(Max. ) (Max. ) (Max. )

LL- ~J@J
Note: When the table shown above another SUB P023, range of display decreased. is used table is for

For two SUB P023S, the same characters can be used. In this case, however, the total number of the message types of two SUB P023S should be less than the maximum of each message. Display table

When the display table is used for another SUBP02 for other purposes, max. display type is limited available table capacity. When making a table, put SPACE if necessary.

64 character 64 addresses 32 character 128 addresses 16 character 220 addresses USERS MESSAGE

between between between

9024 and 9087. 9088 and 9215. 9216 and range 9435.

Characters

under

!!FF!T are

disregarded.

2 display

Simultaneous display range Valid width . . . . . . . . . . . . 30 characters Valid lines . . . . . . . . . . . . 10 lines Valid No. of message . ..3 to 5 types within the rang~ of valid 10 lines or less.

@
(,

64 characters max. in use ~

42

8. SEQUENCE PROGRAM EXAMPLE


8.1
(1)
EDTLK EDTI.K

SERIES

CONNECTION

(LIST) LD OR
LD1r LOCK

#15000 #15001 #15002

OUT

#11067

OUT

#13187

b~

#10062

OR (3) (a) I MOZ

//13062

(LIST)

LD OUT (2)
MCRD

#10062 #13062

END OF PROGRAM RS T 9s * 1J511181

LAMP

#lol17 b

~ MRD

#llo57

~(.~~pJE READY

(LIsT)
LD OR #12006 #12007 #13164 AND-NOT OUT #14661 #14301

W//l3l6O

(LIST)
LD AND-NOT #lol17 #12181 OUT OUT #:llo57 #:13160

OUT (b)
M02

PM /)12006 M30

M02/30 //14661

o
EOP

//14301

din=:=

/}12007

#13164

(LIsT) LD-NOT AND #1421(1 #lo120 AND-NoT OUT #1491o #13174


Note: In this program , coding cannot be made. Make a sequence as described in (3) a, or change the ladder as follows.

8.2
(1)

PARALLEL

CONNECTION

h-+
02 M30

Mo 2

PM 1 xi I

M02/30

/112006

(LIST)
LD OR OUT #loooo #10063 #13000

&,
//12006 //12007

Uti

EOP n WI113164

8.3

SERIES

AND PARALLEL

CONNECTION

(2)

---%x#
(LIST) LD OR-NOT #13176 #12191 AND OUT #14431 #14050

43

8.3 SERIES (Centd )

AND PARALLEL

CONNECTION

(4)

1
(LIsT) LD STR OR-NOT (2) (a) #14431 #13176 #12191

SF a 8 #12191

E53
(LIST) #14050 LD STR AND OR-STR AND-NOT #13021 #loool #14003 #14003 #14001 #13020 AND AND OR-STR OR AND OUT #14005 #loo40 #13020 #14220 #loooo AND STR

AND-STR OUT

&&o
G151OO

8.4
#12181 #15100 (1)

MASTER

CONTROL

RELAY

APPLICATIONS

(LIsT) LD-NOT AND OR (b) #14200 #14111 #15100 AND-NOT OUT

ZRN ~Rfi ,,,...

ZRILK
MCR

(LIST) LD STR-NOT AND (3) #15100 #14200 #14111 OR-STR AND-NOT OUT #12181 #15100

E: $
#14023
+x ZRX

Rloolo

#l&ol

+Y

ZRY

#loon

11401

+Z

ZRZ

#loo12

#1401

END

(LIsT)
LD AND AND-NOT #looo7 #loooo #14023 LD OUT LD OUT #loolo #14010 END #loon #14011 #loo12 #14012

b----T--vw--+k+---+k+mdmd
1 190 12190 12192 TF !4F1N TFIN

HF

MF

TF

FIN

MCR
FIN

113166

LD OUT

(LIST) LD OR STR-NOT OR AND-STR #12190 #12192 #12190 #14114 ATR-NOT OR AND-STR OUT #13166 #12192 #14361

The above ladder has the same meaning of the ladder below.

as that

44

(2)
M,,

(LIST) LD
t

#12190

OUT DEC

#14101 #1222, 05H #12003 #14102

; M04

#12190 M03 DEC //1222, 03H

MCR DEC #1222, 03H #14100 #1222, 04H

AND ; M03 OUT END

#14100 M04

OUT DEC

; M05

DEN

M05

DEC

//1222, 05H I

m, //12003

This is By use inserting

the code detection ladder for M code. of MCR, ladder can be completed without MF in each M code.

9. SEQUENCE PROGRAM ONLINE EDITING SYSTEM


This section describes the functions provided by a sequence program editor (J DUO1) in temporary connection with the NC unit YASNAC J50L or J50M, together with the operating procedures for the editor. The functions of the sequence program system fall into three major categories: Editing Sequence Programs commands from, in editPUNCHED TAPE

RS2 32c INTERFACE

ing (1)

To erase, alter and insert and to sequence program. (2) Providing Programs Hard-copy

of Edited

Sequences tape and

, 4 zi:
YA5NAC J50L/JSOM , , m+STANDARD NC MAIN SECTION TAPE PUNCHER DATA FACE 110 lNTER(OPTION) Pc 1/ SECTION

PUNCHED *-

TAPE

EDIT SYSTEM 0PERAT0R,5 STATION (NC OPEATORCS STATION MACHINE OPERATOR*S STATION

To punch a sequence program onto transfer data to P-ROM writer. (3) Checking Edited Sequence

i)

Programs

111

Y
A

--

v-

[ml
SEQUENCE PRO !GRAM EDIT UN~ IJDUOII

Iu

CONTROL CABINET

To check a sequence program in C-MOS and another program written in P-ROM through execution. tions The following paragraph discuss the and operating procedures in detail. func-

9.1 EDIT

BLOCK

DIAGRAM

OF SEQUENCE

PROGRAM

Fig.

9.1

SYSTEM
constitution of

Block Diagram of Sequence Program Edit System

Figure below shows the hardware sequence program edit system.

45

9.1 EDIT

BLOCK

DIAGRAM (Centd)

OF SEQUENCE

PROGRAM

9.3

CONNECTING

SEQUENCE

PROGRAM

EDITOR

SYSTEM

Follow the steps given below to connect the JDUO 1. (1) The sequence program editor (JDUO1) should be mounted on the CPU rack in the NC unit before being wired. (2) To operate a sequence program editing system, use the NC operator panel with a CRT as an operator panel for the editing system. (3) A tape reader is used to load into sequence program editor memory a list tape with a sequence ladder coded in it or a P-ROM format tape written in machine language. (4) A tape puncher is used to punch out the final sequence program that was edited and checked on a list tape or P-ROM format tape.
INSERTION

(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

(5) A commercially available P-ROM writer can be connected to the NC RS232C interface to write the final sequence program into P-ROM.

EJRCT ION

\/ 9.2 SEQUENCE PROGRAM EDITOR


of the Editor

(JDUO1 )
sequence pro-

(1) The name and the type gram editor are as follows: Name: Type: Sequence Program

JZNC-JDUO1

External view of the JDUO 1 is shown in Fig. 9.2. (2) The JDUO1 has a C-MOS memory backed up by battery. It can store up to a 128 k-byte sequence program to be edited. The stored sequence program is on the level of the P-ROM format in machine language. (3) JDUO 1 components listed below. along with their functions are

(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.

Fig. 9.2 CPU Rack

46

9.4

EDIT

SYSTEM

OPERATORS

STATION
Fig. 9.3 shows for YA=NAC J50L the NC operators station resDectivelv .

The NC operators station with CRT is used for sequence program editing, when used as a sequence program editing unit.

and J50M.

H,XCTIOS

Im!aiilaEiiaii El Iaaaa EiiaEiI

I t-

+J-

-4

Fig, 9.3 Operators Station for J50L/J50M

(1)

POWER

ON/OFF

Pushbuttons

. Depressing
backward.

~
n ~

key

moves

the

cursor

. POWER

ON pushbutton

To turn on the power for the control: Depress the pushbutton first to turn on the control power and depress it again to (Push this butturn on the servo power. ton to recover the servo power after an emergency stop. ) s POWER OFF pushbutton To turn off the power Depress it to turn off control powers. (2) DATA Key for the control: both the servo and

. Keeping the cursor control key depressed makes the cursor move automatically forward or backward. (6) PAGE Keys the one. ~~~~
u

Depressing page the by

key

increases the

the editing moves

Depressing

~ key n PAGE

cursor

backward. Key (Function Mode Select Keys)

(7) [m

For O to 9, data keys of O to 9 are used. For hexadecimal A to F, address keys of A Commands and address input to F are used. can be made by using address keys. (3) For (4) ~] (cancellation) of the key: input data into buffer key: input data.

Depressing the NEXT key increases the function mode number by one. Mode 6 changes to mode 1 by depressing the NEXT key. For details of mode 1 to 6, refer to par. 9.5. (8) ~ ,~,~] , and ~ Keys

cancellation ~ (write) the

(a) ~] key: For erasure of a block program. (b) ~] key: For insertion of a block program (c) ]=] key: For alteration of a block program

of data in a sequence

For storing storage. (5) CURSOR

of data in a sequence

Keys

The CURSOR control key is used to move the cursor. It is used to start address search. . Depressing forward.

of data

in a sequence

B
~

key

moves

the

cursor

47

9.4 EDIT SYSTEM OPERATORS

STATION

(Centd)

9.5

FUNCTION

MODE

OF EDIT SYSTEM

(d) l=] key: For storing a block of data in a sequence ladder. The block stored using the EOB key be the last block in a sequence program. (9)

will

When the control unit is used as a sequence program unit, four function modes can be Use the -] key for mode selected. selection. J50L/J50M PC System Structure

key: (a) To start storing memory through (b) ~1 To start punched

u u

,~]

, and

~]

Keys tape into


P-ROM (SEQUENCE PROGRAM) (P,

data on paper tape reader.

key: verifying between tape data.

memory

data

and

m~r1 NC UNIT (MAIN PART) n n


[

~
D-RAM f ,{CI I10 PRINTED BOARD

IOUT] key: (c) To start outputting various through data 1/0 interface.

data in memory

(d) I RESET Ikey: To return the editing pointer to the head sequence ladder. A~s; used for releasing alarm codes if their causes are eliminated.

sDC-MOS (SEQUENCE PROGRAM)

of

I
P-ROM WRITER

(1) JDUO1 board ROM/RAM select switch ROM : From P-ROM Transfer at power ON RAM : From C-MOS 1 (2) + : Stores the edited D-RAM data in C-MOS of JDUO1 board. (See (4) in the column of MODE 4.)

Table 9.1 List of Function Modes and Functions


Function Mode No.
Function
Mode

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 (1) (2] (3) (4) (5) (6) (7) (8) (9) sequence programs to P-ROM writer.

Mode 1

Edit mode (fADDER EDfTl List tape mode (SOURCE TAPE)

Mode 2 Mode 3

PROMwrfter mode (ROMWRfTERl

Mode 4

Parameter mode

(P~ETER)

Registration of version number Registration of tape comments Setting Baud rate Transfer of DRAM to C-MOS Transfer of P-ROM to DRAM or C-MOS to DRAM. P-ROM ~pe selection Rcactting of edit area Returning to NC mode 1/0 device selection

Mode 5

PC data edit mode (PC TABLEEDITI

(1) Editting of PC table and address searching (2) Storing, collating, and punching-out of P-ROMformattape in Checking foraddressduplication sequence program.

Mode 6

Addresscheckmode (ADDRESS CHECKJ

48

9.6

HOW

TO ENTER

EDITING

SYSTEM

MODE

9.6.2

When

NC

Unit isin Online + SD MODE)

State

(System
Given below are the EXIT STEPS to leave the NC system mode (NC Mode) , and to enter the system mode (SD mode) in which the editing The unit

NO.4

NC unit in the online state that can operate in the NC

is

an

NC

device is used as sequence program editing After switchover to the SD mode, system. the device permits operations described in par. 9.7 through 9.11. 9.6.1 When NC Unit is in Offline

power-on, with the sequence stored in P-ROM or C-MOS.

mode upon program

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/RAM select switch to ROM on the JDUO1. Set the switch to C-MOS for the program stored in C-MOS.
to apply (2) Depress the POWER ON pushbutton power (set the System No. switch to O The NC mode will be or ~4~ beforehand) . entered.

State

(System

NO. 6

SD MODE)

The NC unit in the oftline state is an NC unlit that 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 following operations, provided that the JDUO1 has been connected as explained in par. 9.3: (1) Set the System No. switch select to ~ . to RAM

(2) Snap the ROM/CMOS on the JDUO1.

switch

(3) When a test run is performed here for sequence program check, stop all NC functions by Feed Hold or other operations and press the ~] key afterward. (4) (5) the Set the Depress 1~] System No. switch to 4j .

the POWER ON pushbutton to apply (3) Depress power. A comment OPTIONAL JOB will appear on the CRT.

OPTIONAL

JOB

function key, and depress the ~] A comment ! (STORED) will key. another comment DIAGNOSIS

appear on the (6) (4) Deress the

following CRT. the

Depress Then
9.5). SD

u and
the ~
will~ar

keys, key.
on the

in that A comment
CRT 1

u, u

order. and ~ keys, in that


(Fig. of the

depress
EDITORJl About

NSEQUENCER

Then order. IISEQUENCER

depress the ~] key. A comment EDITOR1l will appear on the CRT.

2 seconds entered

later, (Fig. 9.6).

MODE

mode

is

*SEQUENCER

EDITOR* )

(7) Then o~erate the PAGE keys of six MODES in the SD mode. NOTE 1. The NC unit enter the SD parameters. #6030D7 = 1

to select

one

2 seconds About mode is entered.

later,

MODE 1 of the

SD

in the online state can mode by the following #6030Dl = 1 for J50M. for J50L.

switchcover from the online 2. After state to the SD mode, the PC output signals remain as they were just before the SD mode was entered. Example: A flashing PC output signal remains on when SD mode is selected during on state. for the SD 3. The minimum condition mode to be entered by the above steps (end command of high is that !!RTHII speed sequence program) and RET!] (end command of sequence program) have been written in P-ROM or

(5) Then operate the PAGE keys of six MODES in the SD mode.
Note: Generally, the parameter

to select

one

mode of MODE 4 is later entered to clear the edit area, followed by the storing of the list tape in the list tape mode of MODE 2.
For more details, refer to par. ,IOp ERATING PROCEDURE. 9.14,

C-MOS. 49

9.7
This

EDITING

MODE

( MODE
the

1 ) operations: search programs. out P-ROM

mode permits

following

(l) After, operation (2)

insert, erase, and address on sequence programs. operation verifying on sequence and punching

MDI write

(3) Loading, format taDes. 9.7.1 (1) Sequence CRT

Note: If MODE 1 of the SD mode is entered , an error from the System No. switch at will appear on the comment I!* DISASSEMBLE* CRT because no sequence program is currently stored. In this case, enter the parameter mode of MODE 4 and clear the edit are ((6) in par. 9.10) to reset the error comment. Commands ttRTHll and IIRET will appear on the CRT. Then normal edit operations are possible.

(2) Program Editing display in MC)DE 1

ADDRESS

SEARCH commands procedure or line is

(a) As shown below, 10 lines of a sequence program stored in C-MOS are displayed in A blank line is counted as one MODE 1. line.
MODE DISPLAY A MODE ~ MDDE 1 I

Address Search searches the to be edited. The searching as follows. (a) Key in the commands

to be searched O, O, causes OR of the

Keying in O, R, WR, l, the keyboard NO,1! NO,N through #10000; to display CRT screen. (b) Depress the at the bottom

LADDER

EDIT

,,,~1023 &

Nor y;

F-l-%iL iibt%uc
(c) If the keyed-in
w-ill N*ERRI)OB*II be

key. E Search starts. When the search is completed, ten-line commands including the searched command will be displayed on the CRT screen. command cannot be found, shown on the CRT screen. code by depressing ml

TL
(b) A tached with a with a

COMMAND INPUT CCMPLETE DISPLAY INPUT DATA DISPLAY AREA

Release or ~1
1

the. alarm key.


I

Fig.

9.7

I I

LADDER

EDIT

MODE

1 I

0001

line number is a serial number atto a closed circuit group beginning contact input command and ending contact output command.

LD AN O-NOT OUT sET DSTW LO-NOT o,R TMR

nloo13 815034 nllou:

0002

S1402. U14020 Uloooo s1711,

U1500,0FFFFH

LINE NO. //1000 0125 #15553 R


0126

rl--L
0003 OR #1000o:

I
J

#7012

SEARCHED

COMMAND

$4
//10132 (I10125 I /

20/+14003 u

l---+
EDIT

CURSOR

indicates Fig.

the 9.9

searched

command.

(c) A cursor to be edited. dress search the cursor.


LADDER 0001

to the command See the next paragraph Adfunction o for how to specify

is positioned

Note: 1. The command can be searched by in the part of the command data.

keying-

Example: For DST #1200, #1100, FF commands keying_in 1,~, fl !!s ,11 !IT, I! !IWR!l can search the DST commanck regardless of

#1200, #1100, and FF.


MODE 1
2.

LD AND-NOT OUT SET


DSTW

#loo13 #15034 $11007


#1402, #14020 ~1500. OF FFFH

Address search one address Example:

can be done by using

only

0002
0003

For DST #1200, #1100, FF comt!#ll Itl, ll 112,!1 1,0, ,, ,Io,ll mands, keying-in WRV can search the commands which use

#1200 regardless of DST,

#1100, and FF.

LD -NOT >Q,R

3% R /

*1 OOOO $11711 .#7012

3. Address

search can be done continuously.

Fig.

9.8

B key is pressed again after address search. Depress ~ key to quit searching.

Searching can be continued if

4. When the data to be searched

is near the

@Eil ~se
the required

the

II@@

keY

to reach

data.

(3)

Key

input

operations and

(f) Press the ~ key. A semicolon ( ;) will be displayed to complete the key-in operation. If an inadvertent key is pressed in each section explained above, press the correct key [~ ey and then press the

Below are the steps to key in commands display them at bottom left on the CRT screen for editing or address search.

(a) Press the ADDRESS keys to sequentially key in the alphabetic of the commands to be entered. Example: (Command) (Key-in operationsi)

r Fig. 9.10

r
u

Use the Minus key instead of the Hyphen key. at bottom

Fig.

9.11

Alphabetic strings will appear left of the CRT screen. (b) i. Depress the ~ key.

I MOV
The

#1501,

#1502;

For commands not requiring address numbers (SET, END, etc. ) , a semicolon (;) is displayed after each to complete the key-in operation.
For commands requiring addre!ss numbers (OR, MOV, etc.), a symbol played after each to prompt {f is disfurther entry.

Fig.

9.12

ii.

above procedure covers most of the commands, In any case, with only a few differences for some. a semicolon (; ) appearing at the end of the entered data indicates the end of the key-in operation. On the data thus keyed by the in, address , ml search and and

111.

...

Entering an alphabetic string other than the commands causes a comment *ERRO1* This is reset by to appear on the CRT. depressing the ~] or ~!til key.

editing m (4) Edit

functions

INsRT

keys are av~lable Operation (~] ,-], cursor ~Z] can be )

(c) Key-in address numbers (followed by bit numbers if necessary) . For commands requiring one address number (e. g. , OR) , entering the required number of digits causes a semicolon (; ) to appear automatically after each number, thus completing the key-in operation. (d) Press the ~ key. For commands requiring two address numbers (e. g. , MOV) , symbols , # will automatically appear after entry of the first number. (e) Key in the next address number will be displayed. number, and the

The command specified by the altered, inserted or erased. (a) Alter operation

Depress the ~~~ key. The command specified by the cursor will be erased and replaced by the command just entered. After alteration, the command that replaced the old one remains specified.

51

9.7.1

Sequence

Program

Editing ( Centd )

(c)

Erase

operation

Press
LADDER 0001 EDIT LD AND-NOT OUT SET DSTW LD-NOT 7MR AND-NOT ALTER (-l KEY LADDER 0001 EDIT LD AND-NOT oUT SET DSTW *1OOI3 !415034 #lloo7 #1402, #1500,0FFFFH MODE 1 #loo13 $15034 #lloo7 #1402, #1500,0FFFFH MODE 1

the

v]

key.

The

command

specified by the cursor will After erasure, the command erased command is specified.

be erased. following

the

0002
0003 ,0.R

LADDER 0001

EDIT LD AND-NOT OUT SET DSTW $I1OO13 #15034 *11OO7

MODE

#14020 4F1OOOO #1711, #7012

4F16003

0002

$! 1402,111500,0FFFFH S14020 #loooo #1711.117012

0003 LD-NOT ----.$rtR

0002 0003

LD-NOT AND-NOT ~tiR

814020 *161303 $!1711 .$17012

)[
ERASE KET LADDER 0001

EDIT $!10013 #15034 #lloo7 #1402 .

MODE

II
II

LD ANDNOT oUT SET DSTW

)
Fig. (b) Press Insert the operation 1=~ key. The command just 9.13

0002 0003

.411500.OFFFFH

LD-NOT T,MR dUT

4F14020 $1711.$7012

Illloso

Fig.

9.15

entered will be inserted following the .c,ommand specified by the cursor. After insertion, the command just inserted remains specified.

(5) Low-speed division

processing

sequence

program

LADDER 0001

EDIT LD AND-NOT OUT S ET DSTW LD-NOT ,QR TMR !410013 #15034 *I1OO7 *1402

MODE

When the edit operation of sequence program is completed in the edit mode, the sequence program should be divised for low speed processing. and key with Depress MODE 1. The programs are automatically divided for low-speed processing and number of section count is indicated. 9.7.2

I
lINSRTl~
-J

0002 0003

)#1500.0FFFFH

1114020 $I1OOOO #1711, #7012

I
)

themkey~

then=

MDI Write

Operation

on Sequence

Program

AND-NOT

$16003

LADDER 0001

EDIT LD AND-NOT OUT SET DSTW LD-NOT OR AND-NOT

MODE

In MODE 1, a sequence program can be written by MDI key-in operations from the beginning. The write operations are as follows:
(1) Operate the NEXTtoselect MODE4. Clear the edit area. For the details, refer to par. 9.10(7).

#loo13
#15034 #lloo7 #1402, l!14020 #loooo #16003 #1500, 0FFFFH

0002 0003

(~) This

Operate operation of will

the

NEXT returns

key

to

return

to

MODE

1.

beginning RET; (3) Key of par.

memory. appear on

the cursor Commands the CRT.

to the RHT and

Fig.

9.14

in the desired command 9.7.1 (3) on page 51.

by

the

operation

52

(4)

Depress

the [INSRT]

key,

and the

command

LADDER

EDIT

MODE

just keyed in will be inserted following the command specified by the cursor. lrhe inserted command will be specified anew. (5) Repeat the operations of (3) anc[ (4) above to write the sequence program consecutively. , ~, [~ and (6) Finally, depress the keys, in that order, to complete the writing of the sequence program (RET = sec[uence program end command) .

0001 0002

LD #10013 AND NOT #15034 SET D;T #1402, #1500. oFFFFH

I
EXIT COUNT-II

~]

L
Fig.
4. Search **** After keying ladder serted (a) times. digits) (b) Key-in The to be Key-in function finding ~ of the

SECTIONCOU~

NOTE

9.17
section section marked count is inby

1. Depressing

the ~ key inserts the command iust keved-in following the command specified by the cursor, and erases all the subsequent commands. That is, the command stored
the ~ key becomes the last sequence in the (4), the edit ~ program operation key

by

command of the at that time.

, the

portions

in the

2.

where the section can be searched. ~and section then, count

Consequently, of par. 9.7.1

I=lfo.r n! ~. (two and

can be used to erase all commands following a specific command (see Fig. 9.16). Depressing the @ key in-

searched,

Ed
.

serts AND-NOT command after OR command and deletes all the commands stored after AND-NOT.

(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 depressing the ~] key.
MODE 1

LADDER 0001

EDIT LD AND-NOT OUT S1OO13 815034 $I11OO7 $1402, #1500

9.7.3 (~,~])
.OFFFFH

P-ROM

Format

Tape

Input/Output

Function

I
EOB

0002

SET
DSTW

MODE 1 permits a P-ROM format tape machine language level to be inputted, verified and punched out.
J

on the

T
XEY LADDER 0001 EDIT 0002 SET DSTW

AND-NOT

816003

(1)

Inputting

P-ROM

Format

Tape

(~) form of

MODE nloo13 $$ 15034 *11OO7 t11402. #1500, 0FFFFH

A sequence program stored in, the P-ROM format tape is reedited. (a) Set a P-ROM reader. (b) Depress format tape

on the

tape

LD AND-NOT OUT

the~key.

This

will move

the

0003

LD-NOT OR

$14020 810000
#16003

_.&ND-NOT

. .

contents of the P-ROM format tape into PC50 RAM memory (edit area) . If an inadvertent tape read operation or an erroneous entry *ERRO03* is displayed on the is detected, CRT screen and the tape stops on an Although depressing 16K-byte boundary. the

Fig.
3. Section count

9.16
function:

key

again

can reset

the error

and

display

UpOn completion of a ladder se quence editing process, depress the~] or ~key to produce the section and CHECK SUM (total). Then the section count is displayed ~=1 as shown key can below. clear ~ or this.

continue loading the tape contents, it is recommended to run the tape from the Should the error recur, the beginning. tape is not usable.

53

9.7.3 P-PROM Function (~ (2) Punching

Format , ~])

Tape Input/Output (Centd) Format Tape (1~] )

9.8

LIST TAPE lNPUT/OUTPl.JT

MODE

( MODE

2)

Out P-ROM

An edited sequence program a P-ROM format tape. (a) the


(b)

is punched

out onto

MODE 2 allows a list ta~e with a seauence ladder . coded in PC instruction words to be loaded, verified and ~unched out. . (1) CRT Display in MODE 2

Connect the tape puncher (see NOTE 1) via data 1/0 interf~ce- option of the NC unit. Depress the ~] key
to the

Operate the tie following


r

PAGE keys to select MODE 2, and screen will appear on the CRT:

and ~
beginning

key
of

orderly.
the

The cursor will return sequence program. (c) Depress the nOUT

SOURCE

TAPE

MODE

key.

The

contents

of PC50
MEMORY

RAM memory will be punched out onto a P-ROhl format tape on the machine language level.
TAPE

REMARKS: i. To verify whether or not the contents are punched out correctly, continue the verification of ( 2) above. A feed hole punch portion about 75 cm long is provided at the both ends of the +ape. NOTE 1. The storage devices and tape punchers for P-ROM format tapes and list tapes are designated by MODE4, FUNCTION 10. Storing data on P-ROM format tape is only about one tenth as bulky as that on list tapes. However, a list tape cannot be produced directly from a P-ROM format tape. This format is convenient for punching each sub stantial amount of data for storage. SEQUENCE
tiDER -n ,,M. = ::= . .,., = :J - - .,*au - ., W,. ,,,.,, 4...! . . . . . L. ::&? : :Yw- - -, - .,..,, = ., :,:,- -9! .. ,,.,,, .,,. - . . .,,, ,,,,

ii.

Fig.

9.18

Note: SOURCE TAPK should be regarded as the same as LIST TAPE. (2) List Creation Tape Definition and Rules on List Tape

2.

(a) The list tape is defined as a punched tape with a sequence ladder coded in PC instruction 9.19. words. S~e Fig.

LIST

LIST TAPE

NC & JSD

12!iH 0 CODING T 0

--u
TAPE READE[

ASSEMBLE

C-MOS EDIT AREA

- ;:
-n .,
!.. -

;&
.,US ,,!.. . ..

.(..
!:MYS:

___

2 - . . %

.,.
!
.,-. ,,, .

:.=::%
. . . .

,.

to

- ~

r.

.!!.

n PRINTER .,-,7 ,,,1 .,!.0..?

-o
: TAPE PUNCHEE

REASSEMBLE

Fig.

9.19

&!_I_.J

54

(b) The follows :

rules

for

creating

a list

tape

are

as

@
EIA

Punching of a line ~~d~lanks .

CR (or specifies

LF/NL) a line

at the beginning feed. with space

i.

The or

list 1S0

tape code; when

may the the

be code

punchec~ is tape is read

either in.

in

autc~matically

must be filled

identified ii.

The beginning and end of the list should be in the following format: For EIA code

tape

In a label part, No. ) or space. For PC table, Fig. 9.21.

punch

a number

(line

@ DATA OR (

follow

the

format

in

LIST EOR OR EOR

NOTE Line numbers and comments are only for readability and are insignificant in assembling. The line numbers may or may not match those that were entered; The editor internally processes the line numbers regardless of the entered line numbers for display on the CRT and printing. No comments are stored in memory, nor are they displayed on the CRT or printed out. # is used for 1S0 code. IINll is used for EIA code.

For 1S0 code -% LF/NL LIST ~% DATA LF/NL

111.

...

The following rules should be observed in punching a list tape from a. handwritten list (Fig. 9.20) :

Note.

Symbol

indicates

CR or LF/NL.

CODING SHEET

Fig.

9.20

55

9.8

LIST TAPE lNPUT/OUTPUT 2)( Contd )

MODE

(MODE f
Line

&

Command Address 91011 ]213141516 1718192021 ?-223 2425262728293031 K 1 1 t 1 1 1 1 I 1 1 1 I 1 1 1 1 -Example11 , 1 1 1 1 1 L 1 I 2 t 1 1 1 i & I 1 1 , 1 1 I 8 1 i 1 1 1 I ! 1 1 1 1 I 1 1 $ 3 N,9,CI0,0,/)% .&&. ,1,H,-, - -,-,-,-,-,-,-,-,-J, 1) 11I 4 , 1 1 1 Ii 1 1 I 1 i I PROGRAM THE DATA BITS L 5 1 I TO PC TABLE NO. 1 1 i , , L 1 i CORRESPONDING 6 I 1 ,~ASCII CODE \256BYTES FOR #9000) 1 7 1 1 1 I 1 I I ,., i 1 1 1 1 1 , t I 1 1 1 1 1 1 ) 1 1 I 1 i 8 1 1 1 1 , 1 1 1 , 1 , 1 1 1 I 1 k I 1 1 1 1 , t I 1 1 I 1 9 10 11 12 13 Lable 12345678 14 15 16 17 18 19 xl 7.1 22 23 24 25 26 27 28 29 ?0 L

Contents 13:)435:M 3738

3!+4041 421:344451647 4849X 51L25:3S4 W 53575459606162263

1 &

1 , I

# 1

I 1 1 k

1 ,

1 , I , I 1 I t

1 1

I I 1 1

1,,

!ll

,11111

1 1 i 1 i

1 ,

, 1 1

I 1

I 1

1 I 1 I

1 1

t 1 1

.,

1 I

t 1 1 , , 1 I 1 MEMOCON CODING SHEET

Fig.

9.21

(3)

Assembling

and

Storing

List

Tape

(~) and its

A designed sequence ladder data used for editing. (a)

is coded tape reader.

(b) Depress the ] RESE_f return to the beginning program.

I key. of the

The cursor sequence

will

Set a list

tape

key. List tape data will (b) Depress the be loaded into DRAM memory (edit area) as If a code error or they are assembled. punch error is detected, the tape is kept read in and the error is loaded as NOP No error indication is given. code.
Note : Assemble operation means converting PC instruction words in list form into machine language. It follows that the PC50 edit area holds data in

on the

(c) Depress the ~OUT I key. The contents of PC50 memory will be punched out onto a list tape of the PC instruction word level. (5) Reading-in, tables punching-out, and verifing

of PC data

(n , 1-1, ml ) u Operations of reading-in, punching-out, and verifing PC data tables should follow the procedures shown below. Reading-in Punching-out keys. (

) . . . Press

and

machine language. (4)


Punching Out List Tape (1OUT]) for listing on form of list a

(ml

) . . . Press

keys. M

and

The edited printer is tape.

sequence punched

program out in the

(6)

PAUSE

function

Since length of list tapes tends to become long, more than two tapes are sometimes Therefore, PAUSE function is needed, provided of list for
tapes.

(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.

the

, and

ml

operations

56

(a) \OUT \ (punch-out)


If ~CAN]

key

is pressed

while

a list. tape

is

punched out, then up to the end part (i.e. AND #10013; %) of a command code will be on punched out, t!ouT pAUSEll will be displayed the CRT, and the punching out stops. If the OUT key is pressed again in this state, then following data will be punched out. However, if RESET key is pressed then the punching out starts again from the beginning of the data. (b)

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 represents location numbers of P-ROMs for further identification. That is, the edit area is represented in terms of P-ROMs. To transfer below by PC table data, set the display shown

AGE key.

(b) PC table data


ROM WRITER PC TABLE MODE 3

(reading

in and verifing)

For reading-in and verifing operations of a list tape, when the last %t of a command TIIN pAUSEN is displayed code is readin, and a corresponding operation stops. - If IN key is pressed after changing a 1 t aDe then followin c data will be stored or . Howeve~, if ~] verified. key is
pressed, then storing or verifing
Stilrts

FUNCTION 1 INTEL 2 3 4 5 USED *3O #s PROM #

HEX

LOCATION # #

NUMBER # #

again

from

the

first

part
NOTE

of the

data.

1. Continue the verificationof (2)


above to check that the program correctly punched out.
cm long

is

Fig. 9.24
(2) Selection of P-ROM Writer

2. A feed hole punch portion about 75


is provided at the beginning and the end of the punched-out tape.

3. The above

steps

applv

to

the

puncl~-

ing of data inISO- ;ode.

TO Gunch

(a) The user is expected to prepare a commercially available P-ROM writer with the following 4 features: (i) Reading in the for data transfer. I!Intel Hex Format is available

out in EIA code, press the ~


key while pressed. keeping the

key

de-

(ii) Writing to the P-ROM 27C1024 (made by HITACHI Ltd.) is available.

9.9

P-ROM

WRITER

MODE

( MODE

(iii)

The

RS232C

interface

is provided.

This mode is used to transfer a sequence program or PC table data from DRAM memory to a commercially available P-ROM writer connected to the cont~ol via the RS232C interface of the NC. (1) CRT Display in MODE 3

(iv) One of the data transfer baud rates shown in Table 9.3 on page 61 is usable. (b) The following are some recommended writers that meet the above requirements: Table 9.2 Recommended P-ROM Writers
P-ROM EPROM

P-ROM

Operate the NEXT key to select MODE 3. The following screen will appear: (a) Ladder data

Writer I programmer:R4945 I

Manufacturer
ADOBANTESUTO INC.

(3)Writing Operation to P-ROMs


ROM WRITER LADDER MODE 3

FUNCTION 1INTEL 2 3 4
5

HEX

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 :

USED #30 ##

PROM *

LOCATION # #

NUMBER # #

Fig.

9.23

Display

in Mode

57

9.9

P-ROM WRITER MODE

(MODE

3) (Centd )

iv.

(a) Transfer conditions of R4945


(i) Selection of device Select HN27C1024 made by HITACHI. [Manufacturers setting] and ~ . Key-in ~~ ,

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).
PAGE

To write PC table data,

depress

key to

M 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.) and ~ Depress the panel. (See Fig. 9.25)

. Select Hitachi by using oDepress ~ key. [Setting of device type]

. or

key.

and ~. . Key-in TYPE, . Select HN27C1024/H by using . Depress ~ key. (ii)

or

vi. key.

keys on the editing

Conditions of transmission and ~ . . Key-in TYPE, or key. Select baud rate 4800 by using . Depress ~~~key. . Select bit configuration, 8N01 (8-bit, no parity, 1 or key. stop bit) by using

ROM WRITER

hloDE

ROM NOI----1

FNC -l

. Depress ~] key. . Set to ENA (to perform or key. using

XON/XOFF

control)

by

. Depress ~

key.

(iii) Setting of transfer format . Set the transfer format to intel-HEX. and ~ . . Key-in -1,

u
or

Fig. key. vii.

9.25

. Select intel-HEX by using . Depress l~j NON by using . Depress ~

or

u
key.

key, and select terminator key.

Key-in a desired 2-digit P-ROM location number (noted numbers in procedure iv.) from editing , and ~ keys are panel. When the keyed-in, display as shown in Fig. 9.26 will appear.

u u

(b) Connection of cable RS-232C (Cable length is around 3 m)


I R4945

RoM WRITER

MODE

SIDE 1 -----c;:

JSD SIDE

FG (FRAME

GROUNDING)

: :

I
*30

ROM

S0-30

F\C-l

l---l

TXD (TRANSMISSION RXD (RECEMNG

DATA) :

DATA)

2 ,~; :4 :5 6 773--+: : 20 ~;

RTS (TRANSMISSION CR (TRANSMISSION SEITING

REQUEST) ENABLED) READY) : :

DSR (DATA SG (SIGNAL

GROUNDING)

DTR (DATA TERMINAL

READY)

Note : RS-232C termination hand-shake is provided. (c) Writing to P-ROM writer R4945 (ladder data/PC table data) Connect the P-ROM writer (hereinafter R4945) to the RS-232C interface of NC. called

Fig.

9.26

viii. To com~lete receivin~ the serial data, depress the R4945 keys, e] keys as this order. ,

u ,~

u ad

i.

ii. iii.

Turn on the NC unit and switch to the JSD mode. 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

..
RON NO -30

..

. . . . . . ..
I--I
RoM NO-30

)I
l-- ---- ------l

I
panel is depressed.

I
* ~RESPONSE

m
WR Fig. 9.27 and ~ on editing panel. When 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.

key

on the

editing

ix. Key in

u
ROM NO- 30

1---------------1

I
* I

**

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. x. Set deleted P-ROM on R4945.

Data transfer

is completed.

xi. To write-into P-ROM, depress [-~,

u,
RoM NO- 30 l----
q

~ I_ and ~ keYS as ~S order. When write-in is completed, the sum value is displayed 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.
q

1 **

* -

~~~

TRANSFER COMPLETE RSSPONSE

The
ROM NO- 30 l------------l

response

appears

on

the

screen.

Fig. 9.28

9.10
*tl

PARAMETER

MODE

( MODE

4)

(1) CRT Display and Functions in Parameter Mode ~

key

on the

editing

panel

is depressed.

Operate the NEXT key to select MODE 4. The screen shown below will appear, displaying the functions available in this mode.

I I
ROM NO-30

\
PARAMETER

MODE

l--------l

FUNCTION

lVERSION NO. 2TAPE COMMENT 31/0 DEFINE 4SYSTEM 5 6, 7sYSTEM 8LADDER SA\E

*K
*R

LOAD CLEAR

The

response

appears

on the

screen.

9SYSTEM RETURS 101/0 SELECT

1234567:0013765

Fig.

9.29

9.10 pARkiMHER
1. 2. 3. 4. 5. 6. 7. 8. 9.

MODE (MODE 4) ( Centd )

(3) (Z.

Registering Tape TAPE COMMENT)

Comment

Version No. registration Tape comment registration Baud rate setting Data transfer from DRAM to C-MOS Not used Not used Data transfer from P-ROM to DRAM Edit area clear Reset to NC mode

This function is used, upon punching out a P-ROM format tape or list tape, to punch a registered tape comment in perforated ornate characters following the feed hole portion. The (a) (b) steps Operate Depress to make registration the m] the ~, ~ key are as follows: MODE 4.

to select key.

(c) Key-in a comment in 10 characters or less. The keys shown shaded in Fig. 9.30 are usable. (d) DeDress the . will be registered ~ kev. The typed was the tape comment. characters

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

&
Mb,\l I>AIA

-m

El Imp lEmmEil

u and ~

keys.

(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. rypical Ornate Characters (10 characters or less in practice) Fig.
YASNAC

9.31 (3. 1/0 DEFINE)

(4)

Setting

Baud

Rate

J50M
VER 65432.10 12345.67

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) (b) Operate Depress the the NEXT key to select MODE 4.

, n WR key.

VERSION NO. ~ OF SEQUENCE PRCJ2RAM

(c) Key in one of 2-digit numbers 00 to !!1911that corresponds to the baud rate of the P-ROM writer. Refer to Table 9.3. (d) Depress the will be registered. ~ key. The baud rate

Fig. 9.30
The high-order 5 digits are separated by a decimal point from the low-order 2 digits. What the digits signify for easiest identification is up to you.

60

Table 9.3 PROM Writer Baud Rate Key-Input Data stop signal = 1 bit 00 01 02 03 04 05 06 07 08 09* Value Data stop signal = 2 bits 10 11 12 13 14 15 16

(e)

For

pc

table,

press

T key 1

and then

B ey (f) When the data transfer is completed, !lLOAD END1! will be displayed. When an error If is made, IILOAD ERROR!l will be displayed. an error is made then restart from the step (c).

50 100 110 150 200 300 600 1200 2400 4800

(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.

(a)
(b)

Depress Depress Clear

the

NEXT key

key

and select ~

the key.

MODE 4.

and then

17 18 19 (c) operation Depress the keys in the For ladder clear: following order. (i) (ii) C-MOS side

* Baud rate 09 is automatically set when the JSD mode is entered. The rate remains unchanged tf the above operations are not performed. Note: Number of bits on P-ROM writer. in data stop signal depends

RAM side

u, u , ~ u, u, ~
Press the keys in the follow-

For PC table: ing order.

(i) c-MOs ide


(ii) RAM side

(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) (b) Depress Depress the M NEXT key key and select ~ MODE 4. key.

El IEl u, u , ~
13 $

(8) Return to the NC mode (9. SYSTEM RETURN) This function returns a mode from the XSD mode This will be explained in to the NC mode. the par. 9.13. (9) Input /Output device (10. 1/0 SELECT) This function mode. (a) (b) (c) Depress Depress Depress selects the NEXT key, selection used in the the SD MODE 4.. ~ key.

and then

(c) Depress L key 1 Depress ladders. to save tables.

and then n WR key to save key and then m WR keY

1/0 port key

(d) SAVE END will be displayed when the nSAVE ERRORn will be saving is completed. If an displayed when an error is detected, error is made then repeat from 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/CMOS switch on the JDUO1, choose from which part (ROM or CMOS) the transfer to RAM is to be made. (b) (c) Depress Depress NEXT ~ key and select ~ MODE 4. key.

and select key,

and then

u and then ~

key. Here, the contents of

n is given by the Table 9.4. The initial value of n when power is applied is zero. Once n is determined, the value will be retained until power is turned off or the mode returns to the NC mode.

Table 9.4
n I

InputDevtce
lRO

Output

Devtce

1RO

lRO : lRS 232C

key

and then

WR key. (d) Depress nL key and then u The contents of the P-ROM or C-MOS is transferred to the edit area of the JDUO1.

9.11

PC DATA TABLE EDIT MODE


operations can be done

(MODE 5)
in this of PC of mode.

(b)

Depress

T u number

key. which

The

cursor

moves searched.

Following

to the table

has been

(1) Editing data tables.

and address

searching

(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 displayed as @ . 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 _ the cursor is moved to each data. key, and

(2) Storing, verifying, P-ROM format tapes. 9.11.1 (1) Editing

and punching-out

of PC Data in the

Tables

CRT

display

MODE 5

(a) When the NEXT key is pressed and MODE 5 is selected, the CRT displays the following figure (shown in the Fig. 9.32).

TABLET

EDIT

MODES

(d) Data can be changed in the insert mode. Example : In case of lttersl data de ress 4, 1, ~ ASCII code data depress hA , ~ keys. . In case of

TABLE PARAMETER 1: USING TABLE 0: NOT USING SETTING :0

9.11.2 Reading-in, Punch-out, and Verify a P-ROM Format Tape (IN, OUT, and VER operations) Like the ladder done by using

in the MODE 1, this , [ml , and ~ Tape

can be keys.

Refer to the P-ROM Format in par. 9 .7.3 for details. Fig, 9.32

1/0 function

(b) Fix the SETTING to 111 by pressing ~ This operation makes the PC data and @. When the table is not used, table usable. u and fix the SETTING to 01 by pressing the ~. (c) H Actual key edit mode is given in Fig. by depressing

9.12

ADDRESS

CHECK

MODE ( MODE

6)
in the

This function checks address duplications sequence ladder created by the JDUO1, (1) #looo #lloo Check address area from from from from a machine) a machine) the the NC) NC)

PAGE

shown

9.33.

to #lo99

(Input

to #1199 (Output

#1200 to #1299 (Input


TABLE EDIT MODE 5

#1300 to #1399 (Output #1400 to #1999 (Internal

registers)

TC 000

FF

#1700 to #1799 (Timer ) #7000 to #7099 ( Sequence #7100 to #7999 (Keep parameter) area)

CST

memory

............
PAGE 1

(2)

Check

operation will be counted in

Number of OUT #xxxxx the sequence ladder.

Fig.
(2)
Address search

9.33

(i) For # 1000s, # 1200s and # 1700s an address error will be displayed, if, for example, a command such as #1 7521 (this address not an output address) can be found. numbers. (ii) For #1 100s, #1300s from #1400s to #1900s, #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.

function

This (a)

function

searches

table

Input a table number

to be searched.

Example : By depressing displays 9100.

u ,u , u

, the CRT

62

(3)

CRT

display

and its

operation

method and MODE 6 9.34.

(a) When the NEXT kev is Dressed is selected, the CRT d~spla~s Fig.

#1300 shown above flashes. In ALL ADDRESS CHECK, the CRT displays ALL as shown in the Fig. 9.38 instead of 1300. -

ADORESS

CHECK

MODE 6

ADORESS

CHECK

MODE6

#lcxX3 70 I #lloo 71 2 #12cxl 72 3 #130a 73 4 #1400 74 5 #lsm 75 6 #16c0 76 77 i #17C0 8 S180C 78 9 #1900 79 10 .ILL ADDRESS

# 7000 #71a3 #72oo 87300 S7400 #7500 # 76# #7700 #78C0 # 790Q

ALL

OK

Fig.

9.34

Fig.

9.37

(b) Specify a number of a range to be For example, if #1300s (#1300 to checked. #1399) will be checked then press :? , m. (c) When the above is keyed-in, displays the figure below (Fig. the 9.35). CRT

ADDRESS

CHECK

14GADDRESS #13101 # 13102

USED COUNT ~ 3

ADDRESS

CHECK

S1300

CHECK
Fig. 9.38 Maximum USED COUNT is 255. If there exists more than 10 NG ADDRESSis, they will be displayed in the next page by using 1~1 kev. In ALL ADDRESS, check if a check re~ult is NG then the operation will halt when the address or higher number address in its corresponding range is, checked.
To continue checking, press u To key.

Fig.

9.35

#1300 shown above blinks. In case of ALL ADDRESS CHECK, the screen continuously changes from #1000. (d) When checking is completed, the CKr displays Fig. 9.36 and Fig. 9.37. /
.4 DDRESS CHECK
MODE 6

cancel will

the

checking, the

press

I CAN Ikey. in Fig.

The 9.33.

CRT

display

screen

shown

=1300

OK

(
Fig. 9,36

63

9.13

RETURN TO NC SYSTEM

MODE

( MODE

4)

The information that follows explains how to switch from the JDUO1 editing mode to the NC system mode. 9.13.1 When NC Unit from Offline State Entered SD Mode

Do not return to the NC mode if the SD mode was entered by setting the System No. switch When NC Unit is in to u (See par. 9.6.1, Online State. ) After setting the sequence ladder to SAVE, be sure to turn off power. [For SAVE setting, see par. 9.10 (5) . ] When the edit area has been cleared in parameter mode, applying power supply again causes the NC mode to be entered. gram Turn off power now even has already been edited. When NC Unit Entered if a sequence pro-

9.13.2

SD Mode from

Online

State

Operate the steps below if the SD mode was entered by setting the System No. switch to (See par. 9.6.2 When NC Unit is in 4. Online State. ) (a) (b) Depress Press the the NEXT key to select key. MODE 4.

, and \~l keys, in (c) Press the that order. The system will be changed from the SD mode to the NC mode. or in the Then setting the System No. switch to NC mode enables operation check on the edited sequence program.

u u

and ~

64

9.14

OPERATING
procedure

PROCEDURE
for editing sequence program is shown in the flow chart below.

Operating

START

?
z from system No. u to SD mode.
Switch MODE 3 Write-tn m I Par. 9.9 MODE 4 to P-ROM I

Clear the edit area.

I I
Write-inl@t by MDI

MODE m

--J=%----l
Storethe ltsttape.

Insert P-ROM

-z
Edit the sequence program. Par. 9.7.1 POWEROFF Par. 9.13.1 POWERON
NC MODE

-------2

System

No.

u
0

NC MODE

Ftnal test run OK?

YEs

+---

--G
Switch from system No. u to SD mode.

Par. 9.6.2

Punch out the P-ROM format tape.

I
--

=b--Psequence program.
MODE 4

MODE 2 m ;;;h

F--l
Register the version number.

Par. 9.6.2

Par. 9.7.1

-/
MODE 4

Par. 9.7.3 [3]

Store the sequence program.

0.t the kt

_I

1-----

r-Type out , I the list. ,

I
Set back to NC mode.

u
)

Par. 9.10 (2)

/)
B

65

9.14 OPERATING
(2)
Table 9.4 list

PROCEDURE
the alarm

(Centd)
codes at SD mode and operation for releasing

them.

Table 9.5 Alarm Codes at SD Mode

Alarm Code *ERROO 1*


Wrong command

Cause

or

wrong setting keyed in.

010
x 0

*ERRO03*

Reading or punching error of P-ROM format tape Address acarch unable

u or ~

Afarms can be released by key.

* ERRO08*

o
x

0
Alarms can be released by 0 ~ or CURSOR key.

* ERR020*

Veri&ing error of list tape

*EFU?040*

Wrong input on MODE 3

* ERR050*
*ERR051 *

Table keyer-in

not correct

01
0101
x

I
.
Afarrns can be released by
clearing MODE 4 edit area.

Table search unable

*DISASSEMBLE*

Memory contents

not cleared

I I

*MCR ERR*

Numbers

of MCR and END are not same

Confirm

numbers of MCR and END on MODE 1

*1.ADDER FULL*

Excseded memory capacity

Alarm occurs while list tape and MDI are stored.

*VER. ERR*

Veri&tng error of PROM format tape

O : Operating the key can release the alarm. Opsrating the key cannot relesse the alarm. x:

66

10. SEQUENCE PROGRAM OFFLINE EDITING 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. The following table shows contacts and register numbers with which the compiler can compile.

Input from machine Outuut to machine

#1000 to #1061

#lloot0#l155

IO. I

ouTLINE

OF OFFLINE

EDITING

:3YSTEM
Address at which compiier can be converted

JSD offline system calls four utility groups for YASNAC J50 PLC development which 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 : Available memory exceeding 4C1O k-byte 10.1.2 Execution Files

Timer address
Holding-ty

#1700

to

#1799
#7999

#7000 to
,

memory ar dress
I

(Including sequencer parameters)


T9000 to TW023 T9025 to T9435

I
10.1.4

Message table conversion

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

The JSD offline system is composed of the following execution fties.

I
Ladder Language Compiler Linker ROM Writer Output Source Conveter

File Name
JLCOMP.EXE JLLINK.EXE JROMOIJI.EXE EJROMOUT.EXE XCONV.EXE

Emanation
MS-DOS general purpose MS-DOS general purpose For PC9S01 series

\ ; ****************
; * XSD LADDER

****************
PROGRAM

**************
SRC) *

(YELADDER.

For IBM compatible machines MS-DOS general purpose

. *****************

******************

***********

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 following table shows capacity at whtch compiling

HIGHSEQUENCE INCLUDE LAD. HI ENDP LOWSEQUENCE INCLUDE LAD .LO1 INCLUDE LAD .L02 INCLUDE LAD L03 ENDP CONVERSION INCLUDE CONV .DAT ENDP MESSAGE INCLUDE MES .DAT ENDP

; HIGH-SPEED

LADDER

; LOW-SPEED

LADDER

; CONVERSION

DATA

; MESSAGE

DATA

is

possible. Bytes J50 64K Approx. Number of Steps Calculated Approx. 16000 steps Number of PROMS 1024 k-bit, 1 unit

67

10.1.4 Outline of Operation (Centd) (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.

(4) Nesting of source files A source tile of ladder program has considerable capacity so that it cannot be edited easily. By providing include-file function in this compiling function, souce files which are divided individually (sequence source and table source) are collected into one to compile them. LADDER .SRC LAD .SRC
INCLUDE LAD.SRC INCLUDE LAD.TBL
1

SEQUENCE
1

LAD .TBL .......... LOW-SPEED SEQUENCE 1

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 be used. (2) Definition of numerical values Decimal notation : 9, 1234 Hexadecimal notation : 1234H, Oab 12H, OFFH * Contact/ladder table No. : #1000, #10012, #9024 Note : Any hexadecimal values starting with A from F must be added with O at the head of them. (3) Types of pseudo-instructions The following characters are processed as pseudo-instructions. These pseudo-instructions can be used only once in each source file. highsequence lowsequence conversion message endp include

File nesting is enabled up to level 1 as shown above. 10.2.2 Source Files

The following describes the formats of source files, showing some examples. YELADDER.SRC (Main file)

>
* *

; * *********************************** .* J50 LADDER PROGRAM


. ***************** ******************

@ @ @ @

HIGHSEQUENCE INCLUDE LAD. HI ENDP LOWSEQUENCE INCLUDE LAD .LO1 INCLUDE LAD . L02 INCLUDE LAD .L03 ENDP CONVERSION INCLUDE CONV.LAD ENDP

; HIGH-SPEED LADDER : LOW-SPEED LADDER

; CONVERSION DATA

MESSAGE : MESSAGE INCLUDE MESSAGE.DAT ENDP

DATA

(a) LAD.H1

(f)

MESSAGE. DAT . ******************* *************** .* MESSAGE DATA * . ******:********* ***************** * ;9024 SPINDLE T9323 HARD ERROR \

****************** **************** .* HIGH-SPEED LADDER *


; ** ******************************** LD OUT RTH #loooo #llooo

(1)

Name of source file file name can be given freely. . SRC

(b)

LAD . LO1

Ay

**********:*******

****************

(2) Source file describing format 1. There is no limitation in character starting, lines, columns such as pseudo-instructions, sequence programs, data, etc. 2. Characters in the line after : are treated as a comment. (3) Details of pseudo-instructions @ HIGHSEQUENCE . Indicates the starting of high-speed ladder sequence.

; * LOW-SPEED LADDER (HEAD) * ; * ********************************* LD #14000 INR #1500 OUT #11010

(c)

LAD . L02

o Sequence programs until ENDP are created as highspeed ladder for object. Format : HIGHSEQUENCE ......ENDP . High-speed ladder is not provided unless specitled. . It is necessary to write in this pseudo-instruction to the main file. @ INCLUDE

. ****************** **************** ;* Low-.smm LADDER 2 (MIDDLE) * .****************** ****************


~D DST OUT #14056 #1552.#1532 .OFFH #14033

Calts a file to be included. Format : INCLUDE B : LAD.LO1

(d)

LAD . L03

; ******************

****************

; * LOW-SPEED LADDER 3 (END) * . *** ******************************* ~D OUT OUT RET #loo12 #14500 #14010

L
T @ ENDP . Format : ENDP

Name of file to be included Name of drive where file to be included is inserted.

. It is possible to write in a pass name before the name of the ftle to be included. INCLUDE B: X LPROG Y LOWX LAD.LO 1

oIndicates completion of high-speed ladder sequence, low-speed ladder sequence, conversion data or message data. , 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 lowspeed ladder for object. Format: LOWSEQUENCE ooENDP

**:************* : ******************

***************** :***************

*
*

; * CONVERSION TABLE DATA

T9000 OH,lH, 2H, 3H, 4H, 5H, 6H, 7H


T9023 OFAH, OFBH, OFCH, OFDH, OFEH, OFEH, OFFH

. Low-speed ladder is not provided unless specified. . It is necessary to write in this pseudo-instruction to the main file.

69

10.2.2 Source Files (Centd) @ 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

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.

. 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. (Conversion data 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

10.3 COMPILER
10.3.1 Compiler Operation

Conversion table/message table files oThere is no limitation in data starting lines or colums, expect that 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 T9008 to T8023 T9024 to T9087 113088 toT9215 T9216 to T9435 : : : : : Up Up Up Up Up to to to to to 256 bytes 128 bytes 64 bytes 32 bytes 16 bytes 1

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] . Description of parameter Option : Display language/E - Displayed in English file 1 : Source file name (input) file 2 : Object file name (output) file 3 : Error file name (output) Bracketed parts can be omitted. When inputs of files 2 and 3 are omitted, default is set. . When only JLCOMP is input, the parameter input guide is displayed.

Conversion tables, message tables

B : LADTEST [CR] . 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 compiled ; files to be included are compiled automatically. 10.3.2 Error List of Compile

. In the normal format, data are stored in a ladder table as byte data. T9000 1,2,3,4,5 T9000[01 [1] [21 [31 H 1 2 3 4
I

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. men there is a file having the same name as that of the error list file, that file is erased.

70

Error list file LAD.SRC LAD.SRC 40 33 56


II t
I

10.4 LINKER
Unacceptable characters are used. Ineffective operator Number of operands is not sufficient.
--

~--j-; 1
1
1

LAD.SRC

ERROR MESSAGE t ERROR OCCURRING LINENO. ----------------------ERROR OCCURRING FILENAME

Linker reads object files in the order which are indicated in the link module specification file, and performs processing in which the data contained in the files are mapped into the executable file in the same format as that of ladder ROM. Linker performs linking processing for the following three objects. (1] Ladder program object

10.3.3 Compiler Checking Items Compiler checks that source format is to be processed. At 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 (# 1700s) addresses are not overlapped. (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.

(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 ~ (3) Table data (CONVERSION/MESSAGE setting data) or RTL

. 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 activation 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 below. are specified as shown

. There is not limitation in character starting line or column. (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

10.4.2 Linker Operation (Centd) YELAD.LNK --------------------------------1 ~ LADSRC. OBJ j LADCNV. OBJ ! LADMSG.OBJ
L-------________ l---------______l

AF9704

EPROM

PROGRAMMER

made by ANDO

DENKI CO., LTD. INC.

EPROM PROGRAMMER

R4945 made by ADOBANS~O

q Ladder ROM can be created by using personal computer RS232C. 10.5.2 Line Connection

(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 7digit value. Since the upper 5 digits and lower 2 digits are registered separately with a decimal point, pay attention to the meaning.

The following shows connection of personal computer and ROM writer. FG


j~~ ~ FG (FRAME GROUNDING) ~A1-A)

TXD (TRANSMISSION DATA) RxD[RE~..NG

CTS (TRANSMISSION REQUEST) ;~ SG


RR3 E

RTS (RECEMNG SG
DSR (SIGNAL

REQUEST)

GROUNDING) READY) READY)

(DATA SEITING

DTR (DATA TERMINAL

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 Data bit Parity Stop bit XON/XOFF : : : : : 9600 bps 8 bits None 2 bits ON

PLEASE INPUT

VERSION NO : 12~4567_

REGISTE&D

AS 12345.67

(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 > JROMOUT JROMOUT EXECUTING YELAD . BIN

10.4.3

Linker Output File

The result of the linking by JLLINK is created as a binary output file. Example : JLLINK YEIAD.LNK[CR] Output ffle YELAD.BIN Ladder execution file . Ladder execution ftie A binary file including codes where actual ladder codes are turned into assembler.

Verl. O

(2) When transfer returned again.

is completed,

the main menu is

10.5 CHANGING
10.5.1

INTO ROM

Selection of PROM Writer

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 available. (3) The RS232C interface is provided. The following are some recommended P-ROM writers that meet the above requirements.

72

10.6 JSDLADDER

SOURCE

CONVERTER

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 Number of stack instruction by STR is not correct.

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 USAGE XCONV [filel] [tHe2] file 1: input file file2 : output file . Conversion of source/table files To convert a source file named LAD. 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 1

~ 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.
L---------------------------.______________..____________j

\
I I

SUBP023 parameter errorYYn Y O

! \ 1

/******

~arning

message>

*************1

wARNING] ~ARNING]

Out instruction Already Define. Timer address already Define.

10.7 LIST OF ERROR MESSAGES MESSAGES

AND WARNING 10.8 NOTES


The number of object files to be created must be less than the following three types. . Ladder source object . Table related object : Conversion table Message table When more than one ladder source files is provtded, use INCLUDE pseudo-instruction to create them as one object at compiling.

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-range is not correct.

73

APPENDIX 1 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: CFW panel built-in 1/0 board (JANCD-SP50)

J50L (FOR LATHES)


.

~p

<Input
D7

from Machine>
D6 D5
I

D4

D3
1

D2
1

D1
I

DO 1

#looo 04 36 0421 0405

0435

04--20

0434

0419

0433

#lool 0424 0408 0438 0423 0407 04 37 0422 0406

#loo2 0411 0441 0426 0410 04 40 0425 0409 0439

#loo3 0445 0414 0444 0413 0443 0412 0442 0427

#loo4 0449 0418 04 48 0417 0447 0416 04 46 04 15

#loo5
0506 0507 0538 0539 0520 0521 05 22 0523

#1006 0508 05 09 05 40 0510 0524 0525 0511 0512

#loo7 0513 05 37 0505 0514 0515 0516 0517 0518

#1008 0541 0526 0527 0519 0533 0534 05 35 0536

#loo9
0542 0543 0544 05 45 05 46 0547 05 48 0549

#lolo 0311 0341 0326 0310 0340 0325 0309 0339

#loll 03 45 0314 0344 0313 03 43 0312 0342 0327

#lo12 0349 0318 0348 0317 0347 0316 0346 0315

~~

< Input

from Machine>

#lo13 = ::03 ::15 ::08 ::02


::14

::01

#lo16 =
04-06 04-05 04-04 04-03 04-02 04-0

#lo17
=.14 04-3 04-12 04-11 04-,0 04-09

#1018
= 04-24 04-23 04-22 04-2 04-20 04-9

#lo19
=.05-06 05-05 05-04 05-03 05-02 05-0,

#lo20
= 05-14 05-13 05-12 0,-1 a

#lo21
=724 05-23 05-22 05-21 05-20 05-19

#lo22
= 06-06 06-05 06-04 06-03 06-02 06-0

#1023
= 06-14 06-3 06-2 06-1 06-0 06-09

APPENDIX 1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Centd)


o
<Output to Machine> D7 D6 D5 D4 D3 D2
D1 DO

#l loo
0105 0106 01 07 0108 0141 0127 0126 0125

#llol
0109 0110 0119 0120 0121 0122 0123 0124

#llo2
0133 0134 0135 0136 01 37 0138 0139 0140

#llo3
0111 0112 0113 0114 0115 0116 0117 0118

#llo4
0142 0143 0144 01 45 0146 0147 01 48 0149

#llo5
0207 0212 0206 0211 0205 0217 0210 0204

#1106
0336 0321 03 05 03 35 0320 0334 0319 0333

#llo7
0324 03 08 0338 0323 0307 0337 0322 03 06

#1108
0611 06 12 0613 0614 0615 0616 0617 0618

#llo9
0642 0643 0644 0645 0646 0647 0648 0649

#lllo
0619 0620 0621 0622 0623 0624 0625 0626

#1111
0633 0634 0635 0636 0637 0638 0639 0640

< Output D7

to Machine > D6 D5 D4 D3 D2
D1 DO

#1116 =04-32
04-31 04-30 0,-,, ,4-X8 O,-,

#1117 =04-40 04-39 04-38 04-37 04-36 04-35

#1118 =o,-32 05-31 05-30 0,-29 05-28 05-27

#1119 =05-40 * For JANCD-SP-50-2,


24 points

05-39
shown below

0,-38
are

05-37

05-,6

05-35

effective.

#l

120

#1121

=06-24 =06-32
1 ! 1

06-23

06-22

06-2,

06-20

06-19

06-31

06-30

06-29

06-28

06-27

ffl

177

#llo7
0324 03 08 0338 0323 0307 0337 0322 03 06

#1108 0611 06 12 0613 0614 0615 0616 0617 0618

#llo9
0642 0643 0644 0645 0646 0647 0648 0649

#lllo 0619 0620 0621 0622 0623 0624 0625 0626

#1111
0633 0634 0635 0636 0637 0638 0639 0640

APPENDIX 1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Centd)


~~
#1200

. hput
D7

fro.

NC> D6 D5 ~ D4 D3 D2

M28

M24

M22

M21
M FUNCTION

M18
BCD OUTPUT

M14

D1 M12

DO Mll

#1201

M30R M3O DECODE OUTPUT

M02R MO2 DECODE OUTPUT

MOIR MO1 DECODE OUTPUT

MOOR MOO DECODE OUTPUT .

M38

MM

M32

M31

#1202

TF
\ T-FUNC TION

SF
S-FUNC TION

MF
M- FUNC TION

SINVA
S-4

IER
INPUT ERROR

* ESPS
EMER -

RST
RESET

ALM
ALARM

SAMPLING OUTPUT #1203 EDTS EDIT OPERATING STATUS #1204 S28 S24 AUTO AUTO MODE STATUS

1 DIGIT OUT INVERT STATUS MAN MANUAL MODE STATUS

OUTPUT

GENCY STOP OUTPUT RWDS REWIND STATUS

OUTPUT

OUTPUT

THC THREAD CUTTING STATUS

OP FEEDING

DEN
POSI TIONING END

S22

S21 S FUNCTION

S18 BCD OUTPUT

S14

S12

Sll

#1205

T28

T24

T22

T21

T18

T14

T12

Tll

T FUNCTION BCD OUTPUT

#1206

2 ZPZ

2 ZPX

ZPZ Z-AXIS

ZPX X-AXIS

SPL FEED HOLD LAMP

STL CYCLE START LAMP

Z-AXIS X-AXIS ~~ NO.2 REFERENCE POSITION #1207

REFERENCE POSITION

#1216

R08(SD07)

R07(SD06)

R06(SD05)

R05(SD04)

IR04(SD03)

R03(SD02)

R02(SD01)

ROl(SDOO~

EXTERNAL OUTPUT FOR S-COl@lAND (S4 DIGIT) NO.1

#12171

(SDO15)

(SD014)

(SD013)

(SD012)

Rolc(sDo9) R012(SD011)RO11(SDO1O) (S4 DIGIT) NO.2

R09(SD08)

EXTERNAL

OUTPUT FOR S-COMMAND

78

--19#1218

< Input

from

NC >

DO ]

-1

i1
FSCE
COMPLETION OF FS MEMORY MODI FICATIO.N

FSMD
DURING FS EDITING MODE

~ G96S S4-DIGIT DURING


COMMAND ANALOG SF

#1219

, I ESEND EXTERNAL DATA SEARCH END

PERIPHERAL SPEED CONSTANT CONTROL I SIDXA SPINDLE INDEX END I

I EREND EXTERNAL] DATA INPUT END

I SETEND COORDI NATE SYSTEM SETTING g:;mg$

TLCH

SIDXO SPINDLE INDEX EXECUTING

TPSA S.S. LIMIT AREA CHANGE END

TOOL CHANGE COMMAND (:TOR::FE

#1220

U07

U06

U05

U04

U03

Uo 2

Uo 1

Uo o

OUTPUT FOR USERS MACRO NO.I

#1221

UO15

U014

Uo 13

U012

Uoll

Uolo

Uo 9

UO 8

OUTPUT FOR USERS MACRO NO.2

#1223

FSCLRE COMPLETION OF FS DATA CLEAR

#1224

MD7

MD6

MD5

MD4

MD3

MD1

MDO

HIGH-SPEED

M FUNCTIONS

#1280

SSW3

SSW2

Sswl

Sswo

SKIP SKIP INPUT

SYSTEM NO. SWITCH

#1281

OFFPB POWER OFF PB.

ONPB
POWER ON PB.

OLD
OVERLOAD

SVALM
SERVO ALARM

ESP
EMERGENCY STOP

OHT
OVERHEAT

#1282

1HP7

1HP6

1HP5

1HP4

1HP3

1HP2 MONITOR

lHP1

IHPO

NO.1 MANUAL PULSE GENERATOR

1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Centd)

D7 #1283 I

D6

D5

D4

D3

D2

D1

DO

SET3

SET2

SET1

SETO

SETTING #6219 MONITOR

#1284

SVMX

SVMX

SERVO POWER ON (= NRD)

#1285

0 CONSTANT

#1286

0 CONSTANT

0 0

0 -.-

#1287 ,

Pcs PHASE-C

PBS
PHASE-B

PAS
PHASE-A

SIGNAL FROM SPINDLE PG

#1288

TGONX X-AXIS TG ON \

Pcx PHASE-C

PBX
PHASE-B

PAX
PHASE-A PG /

*ALX
MONITOR

* OLX

FUX

SRDX

FOR SERVO UNIT OF X-AXIS

SIGNAL FROM X-AXIS

#1289

TGONZ
Z-AXIS TG ON

Pcz
PHASE-C

PBZ
PHASE-B

PAZ
PHASE-A

* ALZ
MONITOR

*OLZ

FUZ

SRDZ

FOR SERVO UNIT OF Z-AXIS

SIGNAL FROM Z-AXIS PG

#1290 SCOM28 SCOM24 I SCOM22 SCOM21 SCOM18 SCOM14 SCOM12

SCOM1l ~

SPINDLE COMMAND MONITOR

#1291

SCOh148

SCOM44

SCOM42

SCOM41

SCOM38

SCOM34

SCOM32

I l

7 SCOM31 ~

SPINDLE COMMAND MONITOR

#1292

S028

S024

S022

S021

S018

S014

S012

SoilJ

SPINDLE OUTPUT MONITOR

~~

<Input D7

from

NC> D6 D5 D4 D3 D2 DI DO

#1293

S048

S044

S042

S041

S038

S034

S032

S031

SPINDLE OUTPUT MONITOR

#1294

ALM 28

ALM 24

ALM 22

ALM 21

ALM 18

ALM 14

ALM 12

ALM 11

ALARM CODE MONITOR

#1295

ALM 38 \

ALM 34

ALM 32

ALM 31 )

ALARM CODE MONITOR

#1296

INHEDTT

AFLT

ABST

DRNT

BDTT

DLRT

MLKT

SBKT

SETTING #6000 MONITOR

APPENDIX 1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Centd)


~ < Output to-NC >

#1300

D7 EDT
EDIT

D6 MEM
MEMORY

D5 D
MD I

D4 T
TAPE

D3

D2 H/S
HANDLE/ STEP

D1 J
MANUAL JOG

DO RT
MANUAL RAPID

#1301

MP 1

ROV 2

ROV 1

FV16

FV 8

FV 4

FV 2

FV 1

WUAL PG MUL - RAPID SPEED OVERRIDE TIPLE SELECT #1302 I HZ HX z MANUAL +Z

FEEDRATE OVERRIDE /MANUAL JOG SPEED

+x SELECT

MP 4

MP 2

MANUAL PG AXIS SELECT

TRAVERSE AXIS DIRECTION

MANUAL PG MULTI-PLY SELECT

#1303

INHEDT INHIBIT EDIT

AFL M.S.T LOCK

ABS
MANUAL ABS .

DRN
DRY RUN

BDT
BLOCK DELETE

DLK
DISPLAY LOCK

MLK
MACHINE LOCK

SBK
SINGLE BLOCK

#1304

ZRN
RETURN TO REFERENCE

CDZ
THREAD CUT UP

SMZ
ERROR DETECT

RWDH
HIGH SPEED REWIND

SRN
SET UP POINT RETURN

PST
POSITION SET

*SP
FEED HOLD

ST
CYCLE START

#1305

ERR 1

ERR O

STLK
INTERRUPT

RWD
REWIND

EOP
END OF PROGRAM

ERS
EXTERNAL RESET

FIN
MST FIN

MRD
MACHINE READY

EXTERNAL ERROR INPUT

#1306

SAGR
SPINDLE SPEED AGREEMENT

* DCZ

* DCX

* LZ

* +LZ
OVERTRAVEL

xLX

* +LX

DECREASE INPUT FOR REFERENCE POINT

INPUT

#1307

GRS sCOMMAND CONSTANT

Gsc SPINDLE SPEED CONSTANT

SSTP
SCOMMAND ,,0,,

SINV
sCOMMAND INVERT

GR 4

GR 3

GR 2

GR 1

SPINDLE GEAR RANGE SELECT

#1308

EOUT

EVER

EIN NC
PROGRAM INPUT

DRSZ

DRSX

EXTC
TIME COUNT

NC
PROGRAM PUNCH OUT #1309 BDT 9

NC
PROGRAM VERIFY

DISPLAY RESET

BDT 8

BDT 7

BDT 6 ADDITIONAL

BDT 5 BLOCK DELETE

BDT 4

BDT 3

BDT 2

o
#1310

<Output

to

NC >

D7
WN16

D6 WN 8

D5 WN 4

D4 WN 2
SEARCH

D3 WN 1

D2 SPC

D1 SPB

DO SPA

EXTERNAL WORK NUMBER

SPINDLE OVERRIDE

#1311

~r

CPRN
CUTTING POINT RETURN

HAUTO MODE HANDLE OFFSET

MIX
X-AXIS MIRROR IMAGE

PRST
PROGRAM RESTART

OVCT
OVERRIDE CANCEL

#1312

bTREQ
COORDI:d;Es~:TING REQUEST INPUT

FSCLRFS DATA cLEAR

I COV16

COV 8

Cov 4

Cov 2

Cov 1

G71/G72 CUTTING OVERRIDE

#1313

FSCH FS MEMORY MODIFI CATION

FSMEM FS MEMORY

FSCM FS EDITING MODE

~i

#1316

SID8

SID7

SID6

SID5

SID4

SID3

SID2~]

SPINDLE INDEX POSITION SET

#1317

TP 8

TP 4

TP 2

TP 1

S1D12

SID1l

SID~S~~

TOOL NO. SET FOR STORED STROKE LIMIT

v SPINDLE INDEX POSITION SET

#1318~

TLTM
TIMER COUNT L

E]
TOOL SKIP

ST
TOOL RESET CONTROL

I
,

D
SPINDLE INDEX RESTART

SDXNCI
SPINDLE INDEX POSITION INCREMENTAL DESIGNATION

Ps
T(YOL NO. CHANGE FOR S.S. LIMIT

1--5SPINDLE INDEXING

SIGNAL

FOR

TOOL

LIFE

#1319

ROV4 EXTENDED RAPID TRAVERSE OVERRIDE

SPE

SPD

TLA21

TLA18

I TLA14~

TLA~

EXTENDED SPINDLE OVERRIDE

CHANGE TOOL NO.

(TOOL LIFE CONTROL)

APPENDIX 1 1/0 LIST FOR YASNAC J50L (FOR LATHES) (Centd)

o
#1322

< Output

to NC >

D? SONPB SERVO
POWER ON

D6

D5

D4

D3

D2 I

D1

DO

#1323

R18(SD17) RI7 (SDI 6) R16(SDI 5) R15(SD14) R14(SDI 3) R13(SD12) ]R12(sDIl) RIm


EXTERNAL INPUT OF S-COMMAND (S4 DIGIT) NO. 1

#1324

(SDIII) IRIU(sDIIo) IRIIo(sDI 9) IRI9 (SDI 8) I L!W) I (SD4) I SD113) I SD112) I R112
EXTERNAL INPUT FOR S-COMMAND (S4 DIGIT) NO. 2

#1325

UI7

UI6

UI5

UI4

UI3

UI2

UI1

UIO

INPUT FOR USER S MACRO NO. 1

#1326

U115

U114

U113

U112

UI1l

UIlo

UI9

UI8

INPUT FOR USER S MACRO NO.2

#1327

ED 7

ED 6

ED 5

ED 4

ED 3

ED 2

ED 1

ED O

EXTERNAL DATA INPUT NO. 1

#1328

ED15

ED14

ED13

ED12

ED1l

ED1O

ED 9

ED 8

EXTERNAL DATA INPUT NO. 2

#1329

~CL

EDS 2

EDS

EDSO

EDSD

EDSC

EDSB

EDSA

CONTROL

SIGNAL FOR EXTERNAL DATA INPUT

84

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS)


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,

#looo 0436

~
0434

0421

0405

0435

0420

0419

0433

#lool

#loo2

#loo3

=.-38 =04-26 =04-44

04-23

04-07

04-37

04-22

04-06

04-10

04-40

04-25

04-09

04-39

04-13

04-43

04-12

04-42

04-27

#loo4

QELGZ-48
GTEL05-38 -05-40 -05-27 LEELEL5+4 LEGA-26 =03-44
~=g
(For special application) =02-03

04-17

04-47

04-16

04-46

04-15,

#loo5

05-39

05-20

05-2

05-22

05-23

#1006

05-0

05-24

05-25

05-1

05-12

#loo7

LEPZ05-05

05-14

05-15

05-6

05-17

05-18 ~

#1008

05-1,

05-33

05-34

05-35

05-36

#loo9

05-45

05-46

05-47

05-48

05-49

#lolo

03-10

03-40

03-25

03-09

03-39

#loll

03-13

03-43

03-12

03-42

03-27-

#lo12 03-17 03-47 03-16 03-46 03-5-

#lo13
02-15 02-08 02-02 02-1, 02-01

85

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)
~ ~ <Input from Machine>
D7 D6 D5 D4 D3 D2 Ill DO

#1016 0436 0421 0405 0435 0420 0434 0419 0433

#lo17 0424 0408 0438 0423 0407 0437 0422 0406

#1018 0411 0441 0426 0410 0440 0425 0409 0439

#lo19 0445 0414 0444 0413 0443 0412 0442 0427

#lo20 0449 0418 0448 0417 0447 0416 0446 0415

#lo21 0506 0507 0538 0539 0520 0521 0522 0523

#lo22 0508 0509 0540 0510 0524 0525 0511 0512

#1023 0513 0537 0505 0514 0515 0516 0517 0518

#1024 0541 0526 0527 0519 0533 0534 0535 0536

#1025 0542 0543 0544 0545 0546 0547 0548 0549

#1026

0311

0341

0326

0310

0340

0325

0309

0339

#1027 0345 0314 0344 0313 0343 0312 0342 0327

#10Z8 0349 0318 0348 0317 0347 0316 0346 0315

#1029 0216 0209 0203 0215 0208 0202 0214 0201

o
#l loo

<Output to Machine>

::07

~~o,

::41

::27

~~,6

::25

#llol
= ol-1~ 0-20 0-, 01-22 01-,3 0-,

#llo2
= 0-35 01-36 01-37 0-,8 01-39 01-40

#llo3
=X4 01-15 01--16 01-17 0-1,

#llo4
=-01-44 01-45 0-46 0-47 O-A, 01-49

#llo5
==6 02-11 0,-05 0,-17 -o 0,-0,

#1106 = 03-05 03-35 03-,0 03-34 03-19 03-33

#llo7
= 03-38 03-,, 03-07 03-3z=l==l

#1108 =.. 06-1, 06-1, 06-16 06-17 06-18

#llo9
=0606-~ 06-46 06-,7 06-48 ,6-Q .

#lllo
= 06-2 06-,, -06-,3 06-,, 06-,5 06-,6

#1111
=. 06-,6 06-37 06-,, 06= 06-0

87

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)
@ f Output D7 to Machine > D6

D5

D4

D3

D2

D1

DO

#1116 0105 0106 0107 01 08 0141 0127 0126 0125

#1117 0109 0110 0119 0120 0121 0122 01 23 0124

#1118 0133 0134 0135 0136 0137 0138 0139 0140

#1119

0111

0112

0113

0114

0115

0116

0117

0118

#l 120 0142 01 43 0144 0145 0146 0147 0148 0149

#1121 02 07 0212 02 06 0211 0205 0217 0210 0204

#1122 03 36 0321 03 05 03 35 0320 0334 03 19 0333

#1123 0324 03 08 03 38 0323 0307 0337 0322 0306

#1124 0611 0612 0613 0614 0615 0616 0617 0618

#1125 0642 0643 0644 0645 0646 0647 06-=

#1126 0619 0620 0621 0622 0623 0624 0625 0626

#1127 06 33 0634 0635 06 36 0637 06 38 06 39 0640

~~ #l Zoo

< Input D7 M30

fro.

NC > D6 M02 D5 MO1 D4 MOO D3 DEN POSITIONING COMPLETED D2 OP FEEDING

D1
SPL TEMPORARY STOP

DO
STL CYCLE START

#1201

2zPa

2 ZPZ SECOND REFERENCE

2 ZPY

2 ZPX

lzpa

1 ZPZ FIRST REFERENCE

1 ZPY

1ZPX

POINT LAMP

POINT LAMP

#1202

4zPa

4ZPZ

4ZPY

4ZPX

3zP~

3ZPZ

3.ZPY

3ZPX

FOURTH REFERENCE

POINT LAMP

THIRD REFERENCE

POINT LAMP

#1204

r=~l

#1205

TLCHA SIGNAL FOR TOOL CHANGE

TLCHB SIGNAL FOR SELECT NEW TOOL

TCF SIGNAL FOR READING TOOL CHANGE

TCHGF SIGNAL FOR COMPLETION OF TOOL CHANGE/ GROUP

#1206

RPDO OUTPUT
DURING RAPID TRAVERSE

SINVA OUTPUT
DURING SPINDLE TRAVERSE G93M G93 MODE OUT PUT

#1207

SIDXA SPINDLE INDEXING COMPLE TION OUTPUT

SIDXO OUTPUT DURING SPINDLE INDEXING

SLPS SPINDLE LOOP STATUS OUTPUT

#1208

WSFTER

WSFTK iiOR~ coordinate


SYSTEM DISPLAY SETTING COMPLETION

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)
--@t#1209
< Input D? from NC > D6 D5 D4 D3 D2 D1 DO

I FOR MACHINING INTERRUPTING POINT RETURN COMPLETION


SIGNAL

MANINTK

.~

FSCLRK COMPLEION OF FS DATA CLEAR

FSCE COMPLETION OF FS MEMORY CHANGE

FSMD FS EDITING

#1210

~~-~

#1211

MIMGM a

MIMGMZ

MIMGMY
IMAGE

I MIMGMX

DURING MIRROR

#1212

#1213

#1214

#1215

rG84S G74/G84 EXECUTING

#1216

T8/T28

T 7 /T24

6/T22

T 5/T21

T 4/T18

T 3/T14

T 2/T12

T1/Tll

T-FUNCTION

BINARY/BCD

OUTPUT

#1

217

~16/T48

T15/T44

T14/T42

T13/T41

T12/T38

T1l/T3~

TIO/T32 ]

T9/T31

T-FUNCTION BINARY/BCD OUTPUT

--+1--#1218

< Input D7

from

NC > D6 D5 D4 D3 D2 D1

TAP
TAPPING

M04S
SPINDLE REVERS ING

TLMO
TOOL LENGTH MEASURE:MENT

G80s
CANNED CYCLE

I EREND
EXTERNAL DATA INPUT COMPLETED

LSILNIJ

---.. I

~s.r
RESET

DO
AL J

EXTERNAL DATA INPUT COMPLETED -


TFUNCTION

ALARM

#1219 SPINDLE REVERSE

FMF
MF SPINDLE STOP v FOR CANNED CYCLE

I
/
EXTERNAL MOT 10N BFUNCTION

F
sFUNCTION

L!!!!L MFUNCTION

#1222

M8

M7

M6

M5

M4
BINARY

M3

M-FUNCTION

#1223

0s
ORIENTATION

EDTS ~
EDITING

IER
~~ INPUT ERROR

4 NGC
4TH-AXIS DISREGARD

AUTO ~MAN
AUTOMATIC

. MANUAL

I - RDY
LT PREPAR7TION COMPLETED sDA2/sB2 OUTPUT

RWDS REWIND

_l

#1224

IsDA8/sB8 IsDA7/sB7 IsD.46/sB6 I sDA5/sB5 lsDA4fsB4 1sDA3/sB3 s5-DIGIT ANALOG OUTPUT/S4-DIGIT 12-BIT NO-CONTACT

SDA1/SBl

#1225

SDA16

SDA15

SDA14

SDA13

SDA1l/SBllSDAIO/SBIO SDA91SB9 SDA121SB12


12-BIT NO-CONTACT OUTPUT

S5-DIGIT ANALOG 0UTPUT/S4-DIGIT

91

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)
~~ < Input
D7 from w > D6 D5 D4 D3 D2 D1 DO

#1229

#1230

#1231

#1

232

B8/B28

B7/B24

B6/B22

\ B5/B21

B4/B18

B3/B14

B2/B12

B1/Bll

B-FUNCTION

BINARY/BCD

OUTPUT

#1233

B16/B48

B15/B44

B14/B42

B13/B41

B12/B38

B1l/B34

BIO/B32 HIGHSPEED GEAR

B 9 /B31 LOWSPEED GEAR

B-FUNCTION

BINARY/BCD

OUTPUT

#1234

S28

S24

S22

S21
S-FUNCTION

S18
BCD OUTPUT

S14

s12/GRH

S1l/GRL

#1235

S48

S44

S42

S41
S-FUNCTION

S38
BCD OUTPUT

S34

S32

S31

#1236

U7

U6

U5

U4

U3

U2

U1

Uo

MACRO PROGRAM

#1237

U15

U14

U13

U12

Ull

Ulo

U9

U8

MACRO PROGRAM

$ #1277 [

1HP7

1HP6

1HP5

1HP4

1HP3

1HP2

lHP1

lHPO
!}

FIRST HANDLE PULSE

z o 2(

#1280

SKIP

SN4

SN3

SN2

SN 1

SYSTEM NO. SWITCH

#1281

ON-PB POWER ON SWITCH

OLD

SVALM

ESP

OHT OVERHEAT

OVERLOAD

SERVO ALARM

EMERGENCY STOP

#1282

JSD

BALM

1
CONSTANT 1

EXAXIS
BOARD MOUNT MONITOR O:WITH sR51 BOARD 1:WITHOUT SR51 BOARD

PAGEO

EXCMOS

JSD MOUNT BATTERY 0 :WITH ALARM MONITOR JSD l:WITHOUT JSD #1283

IJPTION AXIS CONTACT SIGNAL MONITOR FOR MAINTENANCE

SNS4

SNS3

SNS2

SNS1

SYSTEM NO. SETTING

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)
~~ . Input D7 #1284 SVON SERVO POWER ON fro. NC > D6 NRD NC READY D5 D4 D3 D2 D] DO

#1285

0 CONSTANTS

0 1

j$ 1286

0 CONSTANTS

0 O

#1287

Pcs

PBS

PAS

SPINDLE PG MONITOR

#1288

TGONX

Pcx X-AXIS

PBX PG MONITOR

PAX

.ALX

.OLX

FUX

SRI)X

X-AXIS SERVO UNIT MONITOR

#1289

TGONY

PCY Y-AXIS

PBY PG MONITOR

PAY

.ALY

.OLY

FUY

SRDY

Y-AXIS SERVO UNIT MONITOR

#1290

TGONZ

Pcz

PBZ

PAZ

.AI.Z

.0L7.

FUZ

SRl)Z

Z-AXIS PG MONITOR

Z-AXIS SERVO UNIT MONITOR

#1291

TGON4

PC4

PB4

PA4

*AL4

*OL4

FU4

SRD4

4-AXIS PG MONITOR

4-AXIS SERVO UNIT MONITOR

#1292

#1293

r+53D51D41

ZNGC Z-AXIS DISREGARD

ABSC

EDTLKC D31D21D1 EDIT LOCK

D0 J]
I ati Zo MB E2 z~

MANUAL ABSOLUTE

#1294

AFLC

MLKC

OPTC

DRNC

BT DC OpkIONAL BLOCK SKIP FUNCTION ENABLED MI(IC \ (l

LILKC DI SPLAY LOCK

STLKC >+ART LOCK

S13KC IJ SINGLE BLOCK

AUX FUNCTION LOCK

MACHINE LOCK

OPTIONAL STOP FUNCTION ENABLED

DRY RUN

#1295

~pLBKc
!

PLAYBACK

MIZC z
v

MIYC Y IMAGE AXIS

MIXC x )

MIRROR

#1297

ALM28

ALM24

ALM22

ALM21

ALM18

ALM14

ALM12

ALMII

ALARM CODE MONITOR

(LOWER 2-DIGIT BCD CODE)

#1298

ALM38

ALM34

ALM32

ALM31

ALARM CODE MONITOR (UPPER 1-DIGIT BCD CODE)

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)

o-#1300

~ Output to NC > D7 D6

D5

D4

D3

D2

EDT EDIT

MEM MEMORY

MDI MANUAL DATA INPUT

T TAPE

s STEP

H HANDLE

D1 J MANUAL FEED

DO RT RAPID TRAVERSE

#1301

Ovc

ROV 2

ROV 1

OV16

OV 8

Ov 4

Ov 2

Ov 1

OVERRIDE CANCEL

RAPID TRAVERSE RATE OVERRIDE

FEEDtiTE OVERRIDE

#1302

+U

+Z MANUAL FEEDRATE

Y SELECTION

+Y

+x

#1303

SPC

SPB

SPA

JV16

JV8

JV 4

JV 2

JV 1

SPINDLE SPEED OVERRIDE

MANUAL FEEDRATE OVERRIDE

#1304

DRS
DI S PLAY

MP 4

MP 2

MP 1

Ha

HZ

HY

HX

RESET

HANDLE PULSE MULTIPLY

HANDLE AXIS SELECTION

#1305

AFL
AUXILIARY FUNCTION LOCK

MLK
MACHINE LOCK

OPT
OPTIONAL STOP

DRN
DRY RUN

BDT
BLOCK DELETE

DLK
DI SPLAY LOCK

SBK
SINGLE BLOCK

#1306

SRN
PROGRAM RESTART

F1
F1-DIGIT

RET
RETRACT

TLMI
MEASURED LENGTH

ZRN
ZERO RETURN

EDTLK
EDIT LOCK

*SP
FEED HOLD

ST
CYCLE START

#1307

I
PINT

ZNG

ABS

MI d

MIZ

MIY
IMAGE

MIX

PROGRAM INTERRUPTION

Z-AXIS DISREGRAD

MANUAL ABSOLUTE

MIRROR

#1308

9 BDT

8 BDT

7BDT

6 BDT

5BDT

4BDT

3BDT

2BDT

SPECIAL BLOCK DELETE

o
#1309

<output

to

NC >

D7 ZRN 2 MANUAL 2ND HOME POSTTION RETURN #1310


DEVSLTI

D6

D5 4 NG

D4 EWS

D3 PST TOUCH SENSOR SIGNAL

D2

D1
WSH

DO

4TH-AXIS EXTERNAL DISREGARD WRITE SIGNAL

DESIGNATION OF TAPE OPERATION DEVICE

#1312

PLYBK PLAYBACK

TCNT CUTTING TIME $;:~;A$~ ING SIGNAL

15ENSON TOUCH SWITCH VALIDATING S:[GNAL

TLCTN

TLSKP

TLRST CONTROL

ESC 1

ESC O

TOOL LIFE

EXT STROKE CHECK SELECTION

#1313

RWDH HIGHSpEED REWIND & AUTOSTART

FSCH FEEDING SPEED, SPINDLE ~;~y CHANGE SPD

FSMEM FEEDING SPEED, SpINDLE SPEED STORED ROV 4 ~plD TRAVERSE RATE OVERRIDE
PPR

FSCM FEEDING SPEED, SPINDLE SPEED EDITING MODE

SLPC SPINDLE LOOP COMMAND INPUT ECLM EXTERNAL PROGRAM CLEAR

#1314 ~

SPE

SPINDLE OVERRIDE

#1315

MANINT

SSM

NTCRQ

TCFIN

SIGNAL FOR MACHINING INTERRUPTING POINT RETURN COMPLETION

SENSOR STOP MODE

MACHINING INTERRUPTING POINT RETURN MODE

REQUEST FOR NEW TOOL REPLACEMENT

COMPLETION OF TOOL REPLACEMENT

#1316

FFIN
CANNED CYCLE FIN

FIN
MST COMPLETION

EOP
END PROGRAM

ERS
EXTERNAL RESET

EXTC
EXTERNAL TIME COUNT

STLK
CYCLE START INTERLOCK

MRD
MACHINE READY COMPLETED

97

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)

o#1317

< Output D7 I S-INV

to NC > D6 S-FIN

D5

D4

D3

D2

D1

DO

SAGR
SPINDLE STOP SPINDLE COINCI DENCE

SOR
SPINDLE ORI ENTATION

GRB

CRA

GST
GEAR SHIFT

SPINDLE REVERSE

S CODE COMPLETED

GEAR SELECTION

#1318

ERR 2
DEC TO STOP

ERR 1
IMMEDI ATE STOP

ERR O
BLOCK STOP

SENS(G)
ELMINATE

SENS(T)
TOOL BREAKAGE

EXOUT
EXTERNAL OUTPUT

EXVER
EXTERNAL VERIFY

F.XIN
EXTERNAL INPUT

#1319 OVERTRAVEL

#1320

HOFS

XITa

* ITZ

* ITY

* lTX

AXIS INTERLOCK

#1321

* EDa

* +EDc%

* EDZ

* +EDZ
EXTERNAL

* EDY
DECELERATION

* +EDY

* EDX

* +EDX

#1322

SONPB SERVO POWER ON \

* svoFa

* SVOFZ

* SVOFY

* SVOFX

SERVO OFF

#1323

UI7

UI6

UI 5

lx 4

UI3

UI2

UI1

UIo

MACRO PROGRAM

#1324

U115

U114

U113

U112
MACRO

(JI1l
PROGRAM

UI1O

UI9

UI8

#1325

ED 7

ED 6

ED 5

ED 4

ED 3

ED 2

ED 1

ED O

EXTERNAL DATA INPUT

<Output D7

to

NC > D6

D5

D4

D3

D2

D1 ED 9

DO ED 8

#1326

ED15

ED14

ED13

ED12

ED1l

EDlO

EXTERNAL DATA INPUT

#1327

EDCL

EDAS 2

EDAS 1

EDAS O

EDSD

EDSC

EDSB

EDSA

EXTERNAL DATA INPUT

#1328

EDAS 3 EXTERNAL
COORDI -

x DECd

* DECZ

* DECY LS

* DECX

DECELERATION

NATE SYSTEM SHIFT ABS/lNC #1329 TL64 TL32 TL16 TL 8 TL 4 TL 2 TL 1 ~KIP u. SIGNAL / INPUT TOOL GROUP NO. #1330 (TOOL LIFT CONTROL)

#1331

SD18

SD17

SD16 EXTERNAL

SD15

SD14

SD13

SD12

SDI1

INPUT FOR S-CON@LLND (S5 DIGIT)

#1332

SD116

SD115

SDI14 EXTERNAL

SD113

SD112

SDI1l (S5 DIGIT)

SDI1O

SD19

INPUT FOR S-COMMAND

#1335

FSCLS FS EDIT DATA CLEAR

WSKAN1 MANUAL SKIP COMPLETION SIGNAL WN64 WN32 WN16 WN8 WN4 WN2

#1338

WN128

WN1

EXTERNAL WORK NO. SEARCH INPUT

APPENDIX 2 1/0 LIST FOR YASNAC J50M (FOR MACHINING CENTERS) (Centd)

o-#1341

< output
D7

to NC > D6

D5

D4

D3

D2

D1 SID2

DO SID1

SID8

SID7

SID6
DESIGNATION

SID5

SID4

SID3

OF SPINDLE INDEXING POSITION

#1342

SID12

SID1l

SID1O

SID9

DESIGNATION OF SPINDLE INDEXING POSITION

#1343

SPCUT SPINDLE INDEXING STOP

SIDXI SPINDLE INDEXING RESTART

I SIDXINC I
SPINDLE INDEXING POSITION INCREMENTAL DESIGNATION

SIDX REQUEST FOR SpINDLE INDEXING

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M < Internal
1 D7 I Relays >

D6

#1400 #1401 #1402 #1403 #1404 #1405 #1406 #1407 #1408 #1409 #1410 #1411 #1412 #1413 #1414 #1415 #1416 #1417 #1418 #1419 #1420 #1421 #1422 #1423 #1424

D5

D4
1,

D3

D2

D1

DO

101

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


#1425 #1426 #1427 #1428 #1429 #1430 #1431 #1432 #1433 #1434 #1435 #1436 $1437 #1438 #1439 #1440 #1441 #1442 #1443 #1444 #1445 #1446 #1447 #1448 #1449

102

#1450 #1451 #1452 #1453 #1454 #1455 #1456 #1457 #1458 #1459 #1460 #1461 #1462 #1463 #1464 #1465 #1466 #1467 #1468 #1469 #1470 #1471 #1472. #1473 #1474

103

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


#1475 #1476 #1477 #1478 #1479 #1480 #1481 #1482 #1483 #1484 #1485 #1486 #1487 #1488 #1489 #1490 #1491 #1492 #1493 #1494 #1495 #1496 #1497 #1498 #1499

104

~ Register

>

#1500 #1501 #1502 #1503 #1504 #1505 #1506 #1507 #1508 #1509 #1510 #1511 #1512 #1513 #1514 #1515 #1516 #1517 #1518 #1519 #1520 #1521 #1522 #1523 #1524 #1525 #1526 #1527 #1528 #1529 #1530 #1531 #1532 #1533 #1534 #1535 #1536 #1537 #1538 *1539 #1540 #1541 #1542 #1543 #1544 #1545 #1546 #1547 #1548 #1549

#1550 #1551 #1552 #1553 #1554 #1555 #1556 *1557 #1558 #1559
I

I
I

#1560 #1561 #1562 #1563 #1564 #1565 #1566 #1567 #1568 #1569 #1570 #1571 #1572 #1573 #1574 #1575 #1576 #1577 #1578 #1579 #1580 #1581 #1582 #1583 #1584 #1585 #1586 #1587 #1588 #1589 #1590 #1591 #1592 #1593 #1594 #1595 #1596 #1597 #1598 #1599

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


#1600 #1601 #1602 #1603 #1604 #1605 #1606 #1607 #1608 #1609 #1610 #1611 #1612 #1613 #1614 #1615 #1616 #1617 #1618 #1619 #16Z0 #1621 #1622 #1623 #1624 #1625 #1626 #1627 #1628 #1629 #1630 #1631 #1632 #1633 #1634 #1635 #1636 #1637 #1638 #1639 #1640 #1641 #1642 #1643 #1644 #1645 #1646 #1647 #1648 #1649 I
I I I I

1
(

#1650 #1651 #1652 #1653 #1654 #1655 #1656 #1657 #1658 #1659 #1660 #1661 #1662 #1663 #1664 #1665 #1666 #1667 #1668 #1669 #1670 #1671 #1672 #1673 #1674 #1675 #1676 #1677 #1678 #1679 #1680 #1681 #1682 #1683 #1684 #1685 #1686 #1687 #1688 #1689 #1690 #1691 #1692 #1693 #1694 #1695 #1696 #1697 #1698 #1699
I

I
I ,
I
I I

[
L

I I I I

r
I I

I
I

I
L

I I

I i

1 1

I I

I
I I
I

I
1
I I I

i
I I

1 J

I
I

I
I 1 I I

I I I
I ! 1 I

I
I 1

I
I I

I ,
I
J

I ,

[ I
I
I

I 1 I

I I

i I I
I I

! I I
1 1 I

I
I

1 I

I I

I 1

I J I

1
r

I I

r
I

I
I

I 1

I
r 1
I

i
1

TMR

<

Sequencer

Timer

>
set value

(8 ms Timer)

( 1 . Timer)

set Val,, e
I

#1700 #1701 #1702 #1703 #1704 #1705 #1706 #1707 #1708 #1709 #1710 #1711 #1712 #1713 #1714 #1715 #1716 #1717 #1718 #1719 #1720 #1721 #1722 #1723 #1724 #1725 #1726 #1727 #1728 #1729 #1730 #1731 #1732 #1733 #1734 #1735 #1736 $1737 #1738 #1739 #1740 #1741 #1742 #1743 #1744 #1745 #1746 #1747 #1748 #1749

I I I

I f

#1750 #1751 #1752 #1753 #1754 #1755 #1756 #1757 #1758 #1759 #1770 #1771 #1772

I
1 I I

I
1 I 1 I
1

1
I

J
I

i
I
I

I
! I

I
I
I

I
1

I
( 1 min Timer) I

I I

I 1

1 I

#1773 #1760 #1761 #1762 #1763 #1764 #1765 #1766 #1767 #1768 #1769 #.1790 #1791 #1792 #1793 #1794 #1795 #1796 #1797 #1798 #1799

(8 ms Timer) I I I I

I
I r , I , I
1

I
1

1
1 1 1
1

I
I i
I

I
I

1 ,
I ,
1

I
1 I

I
1

I (O. 1 s Timer)

,
1
I

I
I
I

I
I

I
I I I I

I
I

I
I

1 1

I
(50 ms Timer) I I 1 I I I I [ I I I

#1780 #1781 #1782 #1783 #1784 #1785 #1786 #1787 #1788 #1789

I I I

107

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


< Register >

#1800 #1801 #1802 #1803 #1804 #1805 #1806 #1807 #1808 #1809 #1810 #1811 #1812 #1813 #1814 #1815 #1816 #1817 #1818 #1819 #1820 #1821 #1822 #1823 #1824 #1825 #1826 #1827 #1828 #1829 #1830 #1831 #1832 #1833 #1834 #1835 #1836 #1837 #1838 #1839 #1840 #1841 #1842 #1843 #1844 #1845 #1846 #1847 #1848 #1849
1 #
1 I I 1

#1850 #1851 #1852 #1853 #1854 #1855 #1856 #1857 #1858 #1859 #1860 #1861 #1862 #1863 #1864 #1865 #1866 #1867 #1868 #1869 #1870 #1871
[ I I I I

I
I

I 1

I 1

1 I

r
I
L I
L

I
I
I I

I
I

I L
I

I 1
I

1 I
I

I
I
L

I 1

I 1

I 1 1

[ ,
I
1

1
t

#1872 #1873
I I I

1
1

1
I I I
I

#1874 #1875 #1876 #1877 #1878 #1879 #1880 #1881 #1882 #1883 #1884 #1885 #1886 #1887 #1888 #1889 #1890 #1891 #1892 #1893 #1894 #1895 #1896 #1897 #1898 #1899

I I r I

L ! I
I 1

.J
I
L I ,

I
I 1

I I

1
I

1 1

1 1

I
1

[ L I

I
I

I I

r
I

I I
I

I
r

I r I I I r

I
1 I

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949

t
I

I
I

#1950 #1951 #1952 #1953 #1954 #1955 #1956 #1957 #1958

[
I
I

1
J

#1959 #1960 #1961 #1962

r
1

#1963 #1964 #1965 #1966 #1967 #1968 #1969 #1970 #1971 #1972 #1973
1 I I I

I
I I I 1

I I I
I

t
I

I I

f
I
I

1 I I

#1974 #1975 #1976 #1977 #1978 #1979 #1980 #1981 #1982 #1983 #1984 #1985 #1986 #1987 #1988 #1989 #1990 #1991 #1992 I
1

I [

I I

I
I

1
,
I

L f

I 1

#1993 #1994 #1995 #1996 #1997 #1998 #1999

1
I J

109

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


--4t~ Sequencer Parameter >

#7000 #7001 #7002 #7003 #7004 #7005 #7006 #7007 #7008 #7009 #7010 #7011 #7012 #7013 #7014 #7015 #7016 #7017 #7018 #7019 #7020 #7021 #7022 #7023 #7024

110

#7025 #70i6 #7027 #7028 #7029 #7030 #7031 #7032 #7033 #7034 #7035 #7036 #7037 #7038 #7039 #7040 #7041 #7042 #7043 *7044 #7045 #7046 #7047 #7048 #7049

111

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)

#7050 #7051 #7052 #7053 #7054 #7055 #7056 #7057 #7058 #7059 #7060 #7061 #7062 #7063 #7064 #7065 #7066 #7067 #7068 #7069 #7070 $7071 #7072 #7073 #7074

112

#7075 #7076 #7077 #7078 #7079 #7080 #7081 #7082 #7083 #7084 #7085 #7086 #7087 #7088 #7089 #7090 #7091 #7092 #7093 #7094 *7095 #7096 #7097 #7098 #7099

113

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


<Keep Memorp

#7100 #7101 #7102 #7lo3 *7104 #7105 #7106 #7107 #7108 #7109 #7110 #7111 #7112 #7113 #7114 #7115 #7116 #7117 #7118 #7119 #7120 #7121 #7122 #7123 #7124 #7125 #7126 #7127 #7128 #7129 #7130 #7131 #7132 #7133 #7134 #7135 #7136 #7137 #7138 #7139 #7140 #7141 #7142 #7143 #7144 #7145 #7146 #7147 #7148 #7149

#7150 #7151 #7152 #7153 #7154 #7155 #7156 #7157 #7158 #7159 #7160 #7161 #7162 #7163 #7164 #7165 #7166 #7167
1

1 I
I
I

#7168 #7169 #7170 #7171 #7172 *7173

I [ I
1 I I

J \
I

I
I

1 i

I I I I I
[

1
i
I
I

#7174 #7175 #7176 #7177

I
1

#7178 #7179 #7180 #7181 #7182 #7183 #7184 #7185 #7186 #7187 #7188 #7189 #7190 #7191 #7192 #7193 #7194 #7195 #7196 #7197 #7198 #7199
L

#7200 #7201 #7202 #7203 #7204 #7205 #7206 #7207 #7208 #7209 #7210 #7211 #7212 #7213 #7214 #7215 #7216 #7217 #7218 #7219 #7220 #7221 #7222 #7223 #7224 #7225 #7226 #7227 #7228 #7229 #7230 #7231 #7232 #7233 #7234 #7235 #7236 #7237 #7238 #7239 87240 #7241 #7242 #7243 #7244 #7245 #7246 #7247 #7248 #7249

I
I

#7250 #7251 #7252 #7253 #7254 #7255 #7256 #7257 #7258

I I

I I

I I

J I [

#7259 #7260 #7261 #7262 #7263 #7264 #7265

#7266 #7267 #7268 #7269 #7270 #7271 #7272 #7273 #7274 #7275 #7276 #7277 #7278 #7279 #7280 #7281 #7282 #7283 #7284 #7285 #7286 #7287 #7288 #7289 #7290 #7291 #7292 #7293 #7294 #7295 #7296 #7297 #7298 #7299

1 [

r
I

1 I
1

1
1

{
I

I
t

1 1

I 1

r
I r

I
I 1

115

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


#7300 #7301 #7302 #7303 #7304 #7305 #7306 #7307 #7308 #7309 #7310 #7311 #7312 #7313 #7314 #7315 #7316 #7317 #7318 #7319 #7320 #7321 #7322 #7323 #7324 #7325 #7326 #7327 #7328 #7329 #7330 #7331 #7332 #7333 #7334 #7335 #7336 #7337 #7338 #7339 #7340 #7341 #7342 #7343 #7344 #7345 #7346 #7347 #7348 #7349
#7350 #7351 #7352 #7353 #7354 #7355 #7356 *7357 #7358 *7359 #7360 #7361
I I

I
I

#7362 #7363 #7364 #7365 #7366 #7367 #7368 #7369 #7370 #7371 #7372 #7373 #7374

I t

I
I

I
I
L
I

I I

I I

I
1

I
I

J
I

I I
I

I I

#7375 #7376 #7377 #7378 #7379 #7380

7
I I

r
i

1
1 1

,
I
I ,

#7381
I

#7382 #7383

1
I
I

I
I

87384 #7385 #7386 #7387 #7388 #7389 #7390 #7391 #7392 %7393 #7394 #7395 #7396 #7397 #7398 *7399

1 1
I
I

I
1

I
J 1

I I
1

J
I

i
1

,
I
I
1

1 I
I

r
I

I 1
1 I

I I
I

1
I

1 ,
1

[ ,
I

1 I

116

#7400 #7401 #7402 #7403 #7404 #7405 #7406 #7407 #7408 #7409 #7410 #7411 #7412 #7413 #7414 #7415 #7416 #7417 #7418 #7419 #7420 #7421 #7422 #7423 #7424 #7425 #7426 #7427 #7428 #7429 #7430 #7431 #7432 #7433 #7434 #7435 #7436 #7437 #7438 #7439 #7440 #7441 #7442 #7443 #7444 #7445 #7446 #7447 #7448 #7449

I 1

#7450 #7451 #7452 #74,53 #7454 #7455 #7456 #7457 #7458 #7459 #7460 #7461 #7462 #7463 #7464 #7465 #7466 #7467 #7468 #7469 #7470 #7471 #7472 #7473 %7474 #7475 #7476 #7477 #7478 #7479 #7480 #7481 #7482 #7483 #7484 #7485 %7486 #7487 #7488 #7489 #7490 #7491 #7492 #7493 #7494 #7495 #7496 #7497 #7498 #7499
I
I
1 I I

[
I

I !
I I I I I I
I I

I I

I
! I

1 # I
I } (

I i I ( I 1 I I

I I

I
1 I

I I

J I
I I

I 1

I 1
r I
I I

1
I
1

1 I

I
I

I
I

J
I

I I
1

i I 1 I
I

I
I I

I I 1
I

I 1 1
1

I I

I I (

1 I 1

I
!

I 1
!

I
I
I 1

I 1

I
1

I
I

J
1

1
I
I I

I I

I I

1 I I

I
J

I
1

I I
I

J I I

117

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


#7500 #7501 #7502 #7503 #7504 #750,5 #7506 #7507 #7508 #7509 #7510 #7511 #7512 *7513 #7514 #7515 #7516 #7517 #7518 #7519 #7520 #7521 #7522 #7523 #7524 #7525 #7526 #7527 #7528 #7529 #7530 #7531 #7532 #7533 #7534 #7535 #7536 #7537 #7538 #7539 #7540 #7541 #7542 #7543 #7544 #7545 #7546 #7547 #7548 #7549 #7550 #7551 #7552 #7553 #7554 #7555 #7556 #7557 #7558 #7559 #7560 #7561 #7562 #7563 #7564 #7565 #7566 #7567 #7568 #7569 #7570 #7571 #7572 #7573 #7574 *7575 #7576 #7577 #7578 #7579 #7580 #7581 #7582 #7583 #7584 #7585 #7586 #7587 #7588 #7589 #7590 #7591 #7592 #7593 #7594 #7595 #7596 #7597 #7598 #7599

r I
1

I
I

I t I L
I

J
I
I I

I I

r
I

I
,

, I
I
I

, I
I
I

I
r 1

J
J I

1
1 1

I 1
1

I I I
L I

I I
1 I

I
r

1
r

I
,

I 1 I I
I

I I I 1
1

I i
I I
I

I I
I r

I , r !
f

I I

1 ,

I
[ I
r I r
I

I
I I
I

i
1

1
I

J I I

I I I
I

I I
r
I

1 !
I

1 I I

1 I
I I r r

1 I
I I

I
I

1
I
1

J 1 I I

1 1

, 1

I I I
L

I
I
r

I t
I

I
1

I
I 1
!

I 1 ,
1

I I

I I I

i I

I [

118

# 7600 # 7601
7602 # 7603 # 7604 # 7605

I I
1

#7650 #7651 #7652 #7653 #7654 #7655 #7656 #7657 #7658 #7659 #7660 #7661 #7662 #7663 #7664 #7665 #7666

! 1

I I

I
1

I
L

1
1

I I I
I I

I
1

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649

1 I I I
I

I I 1

t
1 I

I I 1
I
I

I
J I I I I i I
I t

I
I

I r
I

#7667 #7668 #7669 #7670 #7671 #7672 #7673

I I 1 I
I

I
I ( I
1 I

I ,
1 1

1
I
1 1

1 I I

I 1

#7674 #7675 #7676 #7677 #7678 #7679 #7680 #7681 #7682 #7683 #7684 #7685

I 1
I I

J
1

I
L I
I

1
J I

I 1

I I

I
I I

I
I

I
I

,
1

#7686 #7687 #7688 #7689 #7690 #7691 #7692 #7693 #7694 #7695 #7696 #7697

I [

#7698 #7699

119

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


#7700 #7701 #7702 #7703 #7704 #7705 #7706 #7707 #7708 #7709 #7710 #7711 #7712 #7713 #7714 #7715 #7716 #7717 #7718 #7719 #7720 #7721 #7722 #7723 #7724 #7725 #7726 #7727 #7728 #7729 #7730 #7731 #7732 #7733 #7734 #7735 #7736 #7737 #7738 #7739 #7740 #7741 #7742 #7743 #7744 #7745 #7746 #7747 #7748 #7749 #7750 #7751 #7752 #7753 #7754 #7755 #7756 #7757 #7758 #7759 #7760 #7761 #7762 #7763 #7764 #7765 #7766 #7767 #7768 #7769 #7770 #7771 #7772 #7773 #7774 #7775 #7776 #7777 #7778 #7779 #7780 #7781 #7782 #7783 #7784 #7785 #7786 #7787 #7788 #7789 #7790 #7791 #7792 #7793 ?477.94 #7795 #7796 #7797 #7798 #7799

I I

1 I

[
!
I

I I
!

I I
I

I
I I

1
1

I I
,

1
1

I 1

I 1

L
I

I
I

I I r I
I 1 r I

I I 1
1 1

I 1

1 1
I

I
!

I
I

I I

L
1

J I
I
I

I
r
L ,

I
I

I
!

I
1

I
I
I

}
t
I

, t

I
1 [

[
I
L 1

1
I I

I 1

1 1

I
I
[

1 1

r
I

I I i

1
I

#7800 #7801 #7802 #7803 #7804 #7805 #7806 #7807 #7808 #7809 #7810 #7811 #7812 #7813 #7814 #7815 #7816 #7817 #7818 #7819 #7820 #7821 #7822 #7823 #7824 #7825 #7826 #7827 #7828 #7829 #7830 #7831 #7832 #7833 #7834 #7835 #7836 #7837 #7838 #7839 #7840 #7841 #7842 #7843 #7844 #7845 #7846 #7847 #7848 #7849

#7850 #7851 #7852 #7853 #7854 #7855 #7856


I I 1 1

,
I
!

#7857 #7858 #7859 #7860 #7861 #7862 #7863 #7864 #7865 #7866 #7867 #7868 #7869 #7870 #7871 #7872 #7873 #7874 #7875 #7876 #7877 #7878 #7879 #7880 #7881 #7882 #7883 #7884 #7885 #7886 #7887 #7888 #7889 #7890 #7891 #7892

1 I ,
I

I I 1
I

I
1

I
I
I

I
I

I 1

I
I

r
I
I I

I
I

,
!

I
I

J
I

J
I [

1 i
I L

I
I

I
1 r

1 1
J I

{
I I
I

[
,

#7893 #7894 #7895 #7896 #7897 #7898 #7899


I
I

I
I

I I
I

1 !

I
I

1 I I

APPENDIX 3 LIST OF INTERNAL RELAYS, REGISTERS FOR YASNAC J50L/J50M (Centd)


#7900 #7901 #7902 #7903 #7904 #7905 #7906 #7907 #7908 #7909 #7910 #7911 #7912 #7913 #7914 #7915 #7916 #7917 #7918 #7919 #7920 #7921 #7922 #7923 #7924 #7925 #7926 #7927 #7928 #7929 #7930 #7931 #7932 #7933 #7934 #7935 #7936 #7937 #7938 #79.39 #7940 #7941 #7942 #7943 #7944 #7945 &7946 #7947 #7948 #7949
I i

I I
I I

I ,
I
1

I
1

[
I

I
I I

I 1

I
I

I
1

#7950 #7951 #7952 #7953 #7954 #7955 #7956 #7957 #7958 #7959 #7960 #7961 #7962 #7963 #7964 #7965 #7966 #7967 #7968 #7969 #7970 #7971 #7972 #7973 #7974 #7975 #7976 #7977 #7978 #7979 #7980 #7981 #7982 #7983 #7984 #7985 #7986 #7987 #7988 #7989 #7990 #7991 #7992 #7993 #7994 #7995 $7996 #7997 #7998 #7999

1 [

I I
I 1

1
r I 1 I [ 1 I I

I I I
[

1 I I
I

1 1
I t

1 L 1 1 1 I I
I 1 1 [ I [

I I 1

1
I

I 1

1
I
I 1 1

I
I

I t I 1 I

I
I
I

1 I

122

APPENDIX

4 CONVERSION HEXADECIMAL

TABLE OF DECIMAL NOTATION

AND

Hex () o

Dec

Hex

Dex

Hex

Dec

Hex

Dec

Hex

Dec

Hex

Dec

Hex

Dec

Hex

Dec

0 1 02 ()3 04 05 06 07
08 09 OA OB

0 20 1 21 2 22 3 23 4 24 5 25 6126 7127
8 9 10 11 28 29 2A 2B

32 40 33 41 34 42 35 43 36 44 37 45 38146 391471 ,
40 41 42 43 48 49 4A 4B

64 60 80 96 128 65 61 81 97 129 66 62 82 98 130 67 63 83 99 131 68 64 84 100 132 69 65 85 101 133 701661102186]134 71 67 I103]87I135IA7
72 73 74 75 68 69 6A 6B I104 ( 105 106 .1o7 88 89 8A 8B 136 137 138 139

AO
Al

160
161

AZ 162 163 A3 A4 164 A5 165 IA 6]1661C6] ]1671C


A9 AB \169 171

co c1 C2 C3 C4 C5

192 193 194 195 196 197 198

EO

224

7/199
C9\2011E9] CB Z03

El 225 E2 226 E3 227 E4 E 228 E5 E6] 230 E7] 231


232 233

A8\1681C812001E8] A iAt1701CA12021EA12 EB

34
235

=1=1
lC
28 3C

Oc OD OEI , 0 F 10 I 11 12 13 14 15 16 17 181 1925 1A lB lD lE lF

12[2c/ 1312D ?.E 141 1 1512F 16 30 31 17 32 18 33 19 34 20 21 35 36 22 37 23 38 24 39 26 27 3D 3E 3F

4 4 4C 45 4D 4614E 47]4F 48 50 49 51 50 52 51 53 52 54 53 55 54 56 55 57 56 58 571591

76 6C 108 77 6D 109 78 I6E]11O 79]6F] 111 80 70 112 ) 81 71 113 82 72 114 83 73 115 84 74 116 85 75 117 86 76 118 87 77 119 88 78 120 891 79 121 7A 122 7B 123
92

8C 140 8D 141 8E] 142 8F] 143 Qn . 11A4 ..= 91 145 92 146 93 147 94 148 95 149 96 150 97 151 98 152

AC AD AE AF BO B1 02 03 B4 B5 B6 B7 B8

172 173 1174 175 176 177 178 179 180 181 182 183 184

cc CD CE CF DO D1 D2 D3 D4 D5 D6 D7 Dg
D9

204
205

EC
Et)

236
237

206 207 208 209 210 211 212 213 214 215 216
217

EE 238 EF 239 FO 240 F1 241 F2 + ,242 F3 243 F4 244 F5 245 Ffi 246 F7 247 Fg 248
F9 249

60

5C

B
7C

DA DB
9C 156 BC 188

218 219

FA FB

250 251

124

29 30 -31

61 62 63

5D 5E 5F

93 94 95

7D 7E 7F

125 126 127

9D 9E 9F

157 158 159

BD BE BF

189 190 191

123

YASNAC J50 PC SYSTEM

INSTRUCTIONS
TOKYO OFFICE New Pier Takesiba South Tower, 1-16-1, Kaigan, Mlnatoku, Tokyo 105 Japan Phone 81-3-5402-4511 Fax 81-3-5402-4580 YASKAWA ELECTRIC AMERICA, INC. Chicago-Corporate Headquarters 2942 MacArthur Blvd Northbrook, IL 60062-2028, U S.A Phone 1-847-291-2340 Fax 1-847-498-2430 Chicago-Technical Center 3160 MacArthur Blvd. North brook, IL 60062-1917, U S A Phone 1-847-291-0411 Fax 1-847-291-1018 MOTOMAN INC. 805 Liberty Lane West Carrollton, OH 45449, U.S.A. Phone 1-5i3-8:7-6200 Fax 1-513-847-6;77 YASKAWA ELETRICO DO BRASIL COMERCIO LTDA. Avenlda Briaadelro Far[a Lima 1664-~CJ 504/511. S.io Paulo. Brazil Phone 55-11:815-7723 Fax 55-11-870-3849 YASKAWA ELECTRIC EUROPE GmbH Am Kronberger Hang 2, 65824 Schwalbach, Germany Phone 49-6196-569-300 Fax 49-6196-888-301 Motoman Robotics AB Box 504 S38525 Tors~s, Sweden Phone 46-486-10575 Fax 46-486-41410 Motoman Robotec GmbH Kammerfeldstra,8e 1, 85391 Allershausen, Germany Phone 49-8166-900 Fax 49-8166-9039 YASKAWA ELECTRIC UK LTD. 3 Drum MaIns Park Orchardton Woods Cumbernauld, Scotland, G68 9LD U K Phone 44-1236-735000 Fax 44-1236-458182 YASKAWA ELECTRIC KOREA CORPORATION Paik Nam Bldg. 901188-3, l-Ga EulIIro, Joong-Gu Seoul, Korea Phone 82-2-776-7844 Fax 82-2-753-2639 YASKAWA ELECTRIC (SINGAPORE) PTE. LTD. 151 Lorona Chuan, #04-01. New Tech Park SinaaDore 556741, SlnaaDore Phane 65->82-3003 Fax 65-289-3003 YATEC ENGINEERING CORPORATION Shen Hslang Tang Sung Chiang Building 10F 146 Sung Chiang Road, Taipei, Taiwan Phone 886-2-563-0010 Fax 886-2-567-4677 BEIJING OFFICE Roam No. 30f Office Building af Beillng International Club, 21 Jlanguomenwal Ptmne 86-10-532-1850 Fax 86-10-532-1851

Avenue,

Belung

100020,

China

SHANGHA+OFFICE RoomNa. 86 Wan Z+?ang Bu!ldmg 1303 Yan An Road (West), Shanghai 200050, Phone 86-21-6212-1015 Fax 86-21-6212-1326 YASKAWA JASON (HK) COMPANY LIMITED Rm.2916, Hong Kong Plaza, 186-191 Cannaught Road West, Hong Kong Phane 852-2858-3220 Fax 852-2547-5773 TAIPEI OFFICE Shen Hslang Tang Sung Chiang Build!ng 10F 146 Sung Chlang Road, Ta[pe, Taiwan Phone 886-2-563-0010 Fax 886-2-567-4677

China

YASKAWA ELECTRIC CORPORATION

yASKAWA

TOE-C843-1 2.1B in Japan February 199795-3 0 Printed

0.5TA @

S-ar putea să vă placă și