Yea Siaz C844 0.1 PDF
Yea Siaz C844 0.1 PDF
Yea Siaz C844 0.1 PDF
SAFETY INFORMATION
PRECAUTIONS
1. Read this instruction manual in its entirety before using the programming functions available in the
YASNAC PCNC/PLC.
2. The following warning symbols are used to indicate precautions that the user must be aware of
to safely use this equipment. Failure to follow these precautions can result in serious or possibly
even fatal injury and damage to products or related equipment or systems.
WARNING
This symbol indicates the presence of a potentially hazardous condition which, if not avoided,
could result in serious personal injury or death.
This precautionary symbol appears in labels attached to YASNAC products to alert the user to
conditions requiring concern for safety.
SPECIAL SAFETY NOTE: This symbol indicates that ELECTRICAL SHOCK HAZARD
condition exists. DO NOT TOUCH any electrical connection terminals when the power is on, and
for at least 5 minutes after switching off the power supply. Warning label is located on the CNC
PCNC Unit
xxxxxxxxx
xxxxxxxxx
WARNING LABEL
xxxxxxxxx
xxxxxxxxx
xxxxxxxxx
NOTICE
Printed _______. 1999. The information contained within this document is the proprietary property of
Yasakawa Electric America, Inc., and may not be copied, reproduced or transmitted to other parties without
the expressed written authorization of Yasakawa Electric America, Inc.
No patent liability is assumed with respect to the uses of the information contained herein. Moreover,
because Yaskawa is constantly improving its high quality product, the information contained in this manaul
is subject to change without notice. Every precaution has been taken in the preparation of this document.
Nevertheless, Yasakawa assumes no responsibility for damages resulting from the use of the information
contained within this publication.
i
YASNAC PCNC PLC Programming Manual
This manual decribes the procedures for programming the <$61$&3&1&/PLC. The programmable
control system (hereafter called PLC) is installed in the <$61$&3&1&electrical cabinet.
YASNAC PCNC I/O Signal Function Describes functions between PCNC and PLC
(YEA-SIE-C844-2.3)
YASNAC PCNC Connecting Manual Instructions for connecting PCNC with machines, machine
(YEA-SIE-C844-0.2) interface and peripheral equipment
ii
YASNAC PCNC PLC Programming Manual
INFORMATION INDICATORS
The following symbols are used in this programming manual to emphasize particular information to the
user:
TERMS Indicates definitions of terminology that has not been explained before.
It is important that the user should read this manual before installing, operating, performing any
maintenance or inspecting the <$61$&3&1&3/&Also, the functions and performance of a NC
machine tool are not determined by the CNC unit itself, therefore thoroughly read and familiarize yourself
with the machine builder’s documentation concerning the safe and most efficient ways to use the machine
tool.
iii
YASNAC PCNC PLC Programming Manual
TABLE OF CONTENTS
1. SYSTEM CONFIGURATION
1.1 System Configuration of the YASNAC PLC PCNC . . . . . . . . . . . . . . . . . . . . . . .1-2
iv
YASNAC PCNC PLC Programming Manual
6. PLC INSTRUCTIONS
6.1 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-2
6.1.1 Result Register (RR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-2
6.1.2 Stack Register (ST0 to ST15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-2
7. OFFLINE EDITING
7.1 Outline of Offline System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-2
7.1.1 Operating Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-2
7.1.2 Execution Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-2
7.1.3 Outline of the Execution Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-2
7.1.4 Sequence Program Development Procedure. . . . . . . . . . . . . . . . . . . . . . . .7-3
7.2 Source File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-4
7.2.1 Source File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-4
7.3 Complier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-14
7.3.1 Complier Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-14
7.3.2 Complier Error List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-14
7.3.3 Complier Check List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-15
7.4 Linker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-17
7.4.1 Object Data and Linker Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-17
7.4.2 Linker Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-18
7.4.3 Linker Output File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-19
v
YASNAC PCNC PLC Programming Manual
8. ONLINE EDITING
8.1 Outline of Online Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3
8.1.1 Creating a New Sequence Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3
8.1.2 Creating a Sequence Program by Modifying
the Existing Sequence Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-4
vi
YASNAC PCNC PLC Programming Manual
vii
YASNAC PCNC PLC Programming Manual
viii
YASNAC PCNC PLC Programming Manual Chapter 1: System Configuration
1
System Configuration
1-1
YASNAC PCNC PLC Programming Manual Chapter 1: System Configuration
Printer
IBM compatible PC
YENET1200
Interface
Floppy Drive
(JANCD-FC810)
I/O unit
1-2
YASNAC PCNC PLC Programming Manual Chapter 2: Sequence Program Development Procedure
2
Sequence Program Development Procedure
Chapter 2 describes the sequence program development off-line and on-line mode operations
2-1
YASNAC PCNC PLC Programming Manual Chapter 2: Sequence Program Development Procedure
NO YES
Without errors?
2-2
YASNAC PCNC PLC Programming Manual Chapter 3: PLC Program Specifications
3
PLC Program Specifications
Chapter 3 describes the specifications of the PLC programs
3-1
YASNAC PCNC PLC Programming Manual Chapter 3: PLC Program Specifications
Item Specifications
Note 1: Value “n” is determined by the high speed processing capacity and total program capacity.
2: 384K bytes are equivalent to approximately 24K steps of basic instructions.
3-2
YASNAC PCNC PLC Programming Manual Chapter 3: PLC Program Specifications
Item Specifications
1. Internal relays and registers occupy the same addressses, and the addresses
used for internal relays cannot be used for registers. Similarily, the addresses
used for registers cannot be used for internal relays.
2. Keep relays and battery back-up memory occupy the same addresses, and the
addresses used for keep relays cannot be used for battery back-up memory.
Similarily, the addresses used for battery back-ip memory cannot be used for
keep relays.
3. Note that keep registers (#8000 to #9999) cannot be used for the keep relays.
3-3
YASNAC PCNC PLC Programming Manual Chapter 3: PLC Program Specifications
Module Type JANCD- Number of Input Points Number of Output Points Remark
JSP02 64 56
3-4
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
4
Sequence Control Method
4-1
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
ö AND operation is executed between the status of contact A and the status of NC contact of
relay B.
4-2
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
4.2.2 Operation
The operation time chart of PCNC sequence program is indicated below.
4-3
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
For PCNC, NC service task takes priority. If the divided low-speed program is perform-ed in
the setting scan section, the remaining program will not be performed in the next section. The
execution of low-speed sequence program is determined by system soft-ware, which monitors
the load of entire system.
Sequence program size that can be processed in a 8-msec interval is approximately 6000 steps
in contact instructions. This size is the total of high-speed processing sequence program and
low-speed processing sequence program.
4-4
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
Since the low-speed processing sequence program is executed in several sections, the status
of inputs will be changed during the execution of the program. Therefore, the inputs that are
used for the execution of the low-speed processing sequence program should be taken into the
internal relays at the start of the low-speed processing sequence program, and for the execu-
tion of the low-speed processing sequence program, the contacts of the relays where the inputs
have been received should be used as the input signals.
By creating the program in this manner, one cycle of the low-speed processing sequence pro-
gram can be executed under the same input signal status.
1. If the results of the high-speed processing sequence program are output to the low-speed
processing program, the same consideration must be given to the creation of the program.
2. The signals that should not be output until one cycle of the low-speed processing pro-
gram is executed should not be directly output to the PLC address used for external out-
puts. Such signals should first be input to the internal relays and they should be connected
to the external output addresses at the end of the low-speed processing sequence program.
4-5
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
4-6
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
5
Address Numbers And Map
5-1
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
When creating a sequence program, input/output signals of PLC, internal relays, timers, battery
back-up memory and other devices in the PLC are designated by an address number (four-digit
number following #) and a bit number (bit 0 to bit 7).
(1) Designation of I/O Signals, Internal Relays, and Other Devices (One-bit Device)
The devices which have one-bit information are designated by a five digit number (address
number + bit number) following “#” as indicated below.
Device Designation
I/O signals
Internal relays
Keep relays
In this case, the address number has the same meaning as a) explained above, and it can be
considered to be the name assigned collectively to eight points of a signal.
(2) Designation of the Registers, Timers and Other Devices (One-byte Devices)
The devices which have one-byte (eight bits) information are designated by the address
number following “#”. The address number is the name assigned to one-byte data.
Device Designation
Registers
Timers
Sequencer parameters
Keep memory
5-2
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
The address map and the relationship with external devices is shown below.
• The input signals of #1000 to #1063 are expressed by the following symbols.
5-3
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
• The output signals of #1100 to #1163 are expressed by the following symbols.
(3) Addresses of Input Signals from the NC’s Main Section (#3500 to #3799)
For the signals input from the NC main section, in other words, the signals output from the
NC main section to the PLC, such as M-BCD signal, addresses #3500 to #3799 are assigned.
The correspondence between the signal name and the address is determined by the NC and
cannot be changed.
• One bit of address (#3500 to #3799) corresponds to one point of input signals.
Example:
• The input signals of #3500 to #3799 are expressed by the following symbols.
5-4
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
• The output signals of #3000 to #3159 are expressed by the following symbols.
(5) Addresses of Internal Relays (#1200 to #2994; excluding #1300 to #1399 and #1700 to
#1799)
For the internal relays that can be used only in the PLC to create a sequence program
addresses #1200 to #2994 (excluding #1300 to #1399 and #1700 to #1799) are assigned.
• One bit of address of #1400s, for example, corresponds to one piece of internal relay.
Example:
5-5
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
The internal relay and its contact are expressed by the following symbol.
There are no limits to the number of contacts (NO and NC contacts) as long as the
program capacity is not exceeded.
• The address used for registers cannot be used for internal relays.
(6) Addresses of Internal Registers (#1200 to #2994; excluding #1300 to #1399 and #1700 to
#1799)
For the general-purpose one-byte (eight bits) register, address #1200 to #2994 (excluding
#1300 to #1399 and #1700 to #1799) are assigned.
These registers are used for register instruction and workpiece address for macro instructions,
• One address number corresponds to a one-byte register.
Example:
• For the registers, the address number itself is used as the symbol in a ladder.
Example:
• The address used for internal relays cannot be used for registers.
5-6
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
The number of available timers and timer setting units are indicated below.
5-7
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
5-8
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
5-9
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
5 - 10
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
80
80
• For the devices that have one-byte or larger information, a four-digit address number is
assigned.
Although the data are basically of one-byte construction, the data can be handled as two-
byte or four-byte data by the setting for the parameter.
5 - 11
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
In the case of two or four-byte data, the address is specified as a one-byte unit address;
the address of the least significant byte is used as the address for two or four-byte data.
(12) Writing the Initial Values for Keep Relays and Keep Memory
When keep relays and keep memory are used in a sequence program, it is necessary to set the
initial values for these devices before running the program.
Set the initial values following the procedure indicated below.
In MMI environment, select UTILITIES.
ó From Utilities screen, select LOGIN.
ì To initialize values for Keep Relays and Keep Memory you must log in at
Machinist Level or Higher. Also, at the bottom of the Login screen
“Enable Parameter Change” option must be selected.
ö Now, select the “Maintenance” screen and hit “PLC Diagnostics”
ú In this screen, simply search for the keep relay or keep memory
that you wish to initiate. Once you have found your address, simply click on it
to select it.
÷ Once you have selected your address bit, click on “SET”.
5 - 12
YASNAC PCNC PLC Programming Manual Chapter 5: Address Numbers And Map
5 - 13
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6
PLC Instructions
Chapter 6 describes the PLC instructions.The PLC can use basic instructionsand macro instrutions.
Explanation is given for the function and display symbols.The list of coded instructions is also given.
6-1
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6.1 Registers
The PLC has registers where the intermediate results of logical operation in a sequence program
are saved. Configuration of these registers is “1bit +16bits”.
This is a one-bit register where the result of presently executed operation is set.
Setting the status (0 or 1) of contact to RR by using the LD instruction and outputting the contents
of RR to the relay address by using the OUT instruction are possible.
It is also possible to shift the contents of RR to the stack register by one bit or to shift the contents
of the stack register to RR by one bit after the completion of operation by using the STR or AND-
STR instruction.
When executing a long logical operation, it is possible to save the intermediate result to the stack
register by up to 16 bits.
The STR and STR-NOT instructions move the data in RR to ST0 and, sequentially, the data in the
stack registers to the right one bit.
The AND-STR and OR-STR instructions execute the operation between the data in ST0 and RR,
set the result to RR and shift the data in stack register to the left by one bit. After the execution of
these instructions, “0” is set for ST15. Both the number of STR and STR-NOT instructions, and
the number of AND-STR and OR-STR instructions must be the same during the execution of a
series of logical operations, otherwise, an error occurs. In other words, the number of data saving
times to the stack register and the number of data fetching times from the stack register must be
the same.
6-2
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
RR after Reference
Instruction Description
Operation Page
6-3
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
AND-STR
Executes AND between RR and the stack resister and sets
the result to RR.
Ù
OR-STR
Executes OR between RR and the stack resister and sets the
result to RR.
Ù
OUT Writes the result of operation (RR) to the rely (address) —
RR after Reference
Instruction Description
Operation Page
RR after Reference
Instruction Description
Operation Page
6-4
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
CPR
Executes comparison between registers R1 and R2 and
stores the result to RR.
Ù
COR
Executes comparison between registers R1 and R2 and
stores the “coincide” result to RR.
Ù
MOV Transfers the content of the register R1 to Register R2. —
6-5
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
CPRW
Executes comparison between double-length register R1
and double-length register R2 and stores the result to RR.
Ù
MVIW Loads a numeric value to the double-length register. —
RR after Reference
Instruction Description
Operation Page
NOP No operation —
RR after Reference
Instruction Description
Operation Page
RR after Reference
Instruction Description
Operation Page
6-7
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Example
6-8
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Example
(c) Example
(c) Example
Ù
(5) OR RR after operation: RR
6-9
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(a) Function
Executes OR between the contact and RR and sets the result to RR (logical sum).
(b) Format
(c) Example
(c) Example
6 - 10
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Example
(c) Example
6 - 11
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Format
(c) Example
6 - 12
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Example
6 - 13
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Example
6 - 14
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• Setting range is from 0 to 255 in decimal. However, the setting must be made in
hexadecimal.
If the setting is “255”, the timer does not count up.
• The following five types of timers can be used.
6 - 15
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
Do not use the same address for both a fixed timer and a variable timer.
If used, correct operation cannot be guaranteed.
(c) Explanation
• Setting range is from 0 to 255 in decimal. However, the setting must be made in
hexadecimal.
• If the setting is “255”, the timer does not count up.
• Write the timer value from the NC keyboard by following the parameter writing
procedure. In this case, the timer value can be written in a decimal value.
• Five types of timer can be used as with the TIM instruction.
(d) Example:
6 - 16
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
Do not use the same address for both a fixed timer and a variable timer.
If used, correct operation cannot be guaranteed.
D Paradym31 Variable
Name
(c) Explanation
• An ST contact must be entered before the INR instruction.
• The INR instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• There is no function to detect overflow. If a timer counts to FFH, it returns to 0H.
(d) Example
The following examples show when the register of #1500s is used.
6 - 17
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 18
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• An ST contact must be entered before the DCR instruction.
• The DCR instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• There is no function to detect overflow. If a timer counts to 0H, it returns to FFH.
(d) Example
(c) Explanation
• An ST contact must be entered before the CLR instruction.
• The CLR instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
(d) Example
6 - 19
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• An ST contact must be entered before the CMR instruction.
• The CLR instruction is executed in intervals of “4 n” msec while the ST contact is ON.
(d) Example
(c) Explanation
• An ST contact must be entered before the ADI instruction.
• The ADI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• There is no function to detect overflow. Make sure that the result will not exceed FFH.
6 - 20
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
d) Example
(c) Explanation
• An ST contact must be entered before the SBI instruction.
• The SBI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• There is no function to detect underflow. Make sure that “numeric value contents of
register”.
(d) Example
6 - 21
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Format
(c) Explanation
• An ST contact must be entered before the ANI instruction.
• The ANI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• The relationship between register and numeric value is shown below”.
D7 D6 D5 D4 D3 D2 D1 D0
Register 0 0 1 1 0 0 1 1
Numeric value 0 1 0 1 0 1 0 1
Result 0 0 0 1 0 0 0 1
(d) Example
6 - 22
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• An ST contact must be entered before the ORI instruction.
• The ORI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• The relationship between register and numeric value is shown below”.
D7 D6 D5 D4 D3 D2 D1 D0
Register 0 0 1 1 0 0 1 1
Numeric value 0 1 0 1 0 1 0 1
Result 0 1 1 1 0 1 1 1
(d) Example
(c) Explanation
• An ST contact must be entered before the XRI instruction.
• The XRI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
6 - 23
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
D7 D6 D5 D4 D3 D2 D1 D0
Register 0 0 1 1 0 0 1 1
Numeric value 0 1 0 1 0 1 0 1
Result 0 1 1 0 0 1 1 0
(d) Example
(c) Explanation
• It is not allowed to enter a contact before the DEC instruction. If a contact must be
entered, use the COI instruction.
• The DEC instruction is executed in intervals of “4 × n” msec.
(d) Example
6 - 24
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the COI instruction.
• The COI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
(d) Example
6 - 25
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• It is not allowed to enter a contact before the CMP instruction. If a contact must be
entered, use the CPI instruction.
• The CMP instruction is executed in intervals of “4 × n” msec.
(d) Example
(c) Explanation
• A ST contact must be entered before the CPI instruction.
• The CPI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
(d) Example
6 - 26
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• An ST contact must be entered before the MVI instruction.
• The MVI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
(d) Example
6 - 27
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the ADD instruction.
• The ADD instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• There is no function to detect overflow. Make sure that the result will not exceed 255
(FFH).
(d) Example
(c) Explanation
There is no function to detect underflow. Make sure that the following is always satisfied:
R1≤ R2.
(17)ANR (AND Register) RR after operation: RR-
(a) Function
The function executes AND operation between the content in the resister R2 and the
content in register R1 when the ST contact is ON (RR = 1) and stores the result to
register R2.
The content in register R1 remains unchanged and status of RR also remains unchanged.
If the ST contact is OFF (RR = 0), the instruction is not executed.
6 - 28
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Format
6 - 29
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• After the execution of the CPR instruction, the contents of R1 and R2 remain
unchanged.
• An ST contact must be entered before the CPR instruction.
• The CPR instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
(d) Example
6 - 30
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Format
(c) Explanation
• After the execution of the COR instruction, the contents of R1 and R2 remain
unchanged.
• A ST contact must be entered before the COR instruction.
• The COR instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
(d) Example
(c) Explanation
• A ST contact must be entered before the MOV instruction.
• The MOV instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
6 - 31
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
(c) Explanation
• An ST contact must be entered before the DST instruction.
• The DST instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• The relationship between register and numeric value is shown below.
D7 D6 D5 D4 D3 D2 D1 D0
Register R1 B B B B B B B B
Numeric Value 0 0 0 0 1 1 1 1
Result R2 0 0 0 0 B B B B
B: “0” or “1”.
(d) Example
6 - 32
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the DIN instruction.
• The DIN instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• The relationship between register and numeric value is shown below.
D7 D6 D5 D4 D3 D2 D1 D0
R1 A A A A A A A A
R2 B B B B B B B B
n 0 0 0 0 1 1 1 1
Result B B B B A A A A
A, B: “0” or”1”
(d) Example
6 - 33
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Format
(c) Explanation
• The ADC instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• To execute the ADC instruction, the content of RR must be “0”.
(d) Example
6 - 34
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the ADDW instruction.
• The ADDW instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
• There is no function to detect overflow. Make sure that the result will not exceed
FFFFH.
(d) Example
(c) Explanation
• A ST contact must be entered before the SUBW instruction.
• The SUBW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• There is no function to detect underflow. Make sure that the following is always
satisfied WR1 ≤ WR2.
6 - 35
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
(c) Explanation
• A ST contact must be entered before the MULW instruction.
• The MULW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• If overflow occurs, in other words, if the result exceeds FFFH, “1” is set to RR
(RR = 1)
The lower one word is stored to the register.
6 - 36
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
(c) Explanation
• A ST contact must be entered before the DIVW instruction.
• The DIVW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• The instruction is not executed if the content of R1 is “0”.
6 - 37
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
(c) Explanation
• A ST contact must be entered before the INRW instruction.
• The INRW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• There is no function to detect overflow. If the result of operation exceeds FFH, it
returns to 0H.
(d) Example
6 - 38
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the INRW instruction.
• The DCRW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• There is no function to detect overflow. If the result of operation exceeds 0H, it
returns to FFFH.
(c) Explanation
• A ST contact must be entered before the CLRW instruction.
• The CLRW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• There is no function to detect underflow. If the result of operation exceeds 0H, it
returns to FFFH.
6 - 39
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the CMRW instruction.
• The CMRW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• There is no function to detect underflow. If the result of operation exceeds 0H, it
returns to FFFH.
(c) Explanation
• After the execution of CORW instruction, the contents of WR1 and WR2 remain
unchanged.
• A ST contact must be entered before the CORW instruction.
• The CORW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
6 - 40
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
(c) Explanation
• After the execution of CPRW instruction, the contents of WR1 and WR2 remain
unchanged.
• A ST contact must be entered before the CPRW instruction.
• The CORW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
(d) Example
6 - 41
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the MVIW instruction.
• The MVIW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
(d) Example
6 - 42
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
• A ST contact must be entered before the DSTW instruction.
• The DSTW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
• The relationship between register and numeric value is shown below.
Register WR1 A A A A A A A A A A A A A A A A
Numeric Value 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
Register WR1 0 0 0 0 A A A A 0 0 0 0 A A A A
a: “0” or “1”
(d) Example
6 - 43
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 44
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
6 - 45
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Example
(c) Explanation
With the JMP instruction, the states of output coils up to ADR are retained when RR = 1.
6 - 46
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(d) Example
(c) Explanation
The JMP and ADR instructions are always used in pairs. The label numbers specified by
the JMP and ADR instructions given in a pair must be the same.
6 - 47
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
There are several machine control sequences that cannot be programmed easily if only basic
instructions (relay instructions, register instruction, etc.) are used. The macro instructions are
provided to simplify programming such sequences.
Marco instructions are written in the following format.
(1) SUBP 003 (UP: Detecting rising edge of a signal) RR after operation: Ù
(a) Function
The instruction detects the rising edge of a signal.
(b) Format
(a) Function
The instruction detects the falling edge of a signal.
(b) Example
“0”
R1
“1”
• Even if “ACT = 0” when the power is turned ON, it is not regarded as the falling edge.
6 - 49
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 50
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 51
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
• Reset (RST)
RST = 0: Reset released
RST = 1: Reset
R1 is cleared to “0”.
Counted value is reset to the initial value.
• Count signal (ACT)
ACT = 0: The counter does not operate. Contents of R1 remain unchanged.
ACT = 1: Counts at the rising edge (“0” Å “1”)
If the content of the counter is greater than the preset value, the counter operates
in the following manner.
UP counter: The value returns t the initial value at the first ACT signal.
DOWN counter: The value is reduced at each input of ACT until the count values
is reduced to the preset value. After that the counter operates as
a normal counter.
6 - 52
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
• Designation of the initial value of the position number of the rotating unit (RNO)
6 - 53
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
If the number of steps to the position one step before the target position is calculated
while the present position is equal to the target position (POS = 1, INC = 1), the result
of calculation is “0”.
6 - 54
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
• BYT = 0
If “3” is specified for the conversion standard data address as shown above, the
instruction stores the “third data” from the start of the table to the conversion data
output address.
The start of the table is 0th.
• BYT = 1
In this case, the size of the conversion data table should be an even number of bytes.
6 - 55
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 56
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
Designate the address where the data, stored at the number in the table which is
specified in item 2 above, should be output.
If “BYT = 1”, the upper byte data are output to the address next to the designated
address.
• Designation of the conversion data table (TPSHXXXX)
The size of table differs depending on the PLC table number.
9000 to 9007: Max 256 bytes
9008 to 9023: Max. 128 bytes
• Designation of the data size (BYT)
Designate the size of the data in the conversion data table.
BYT = 0: 1 byte
BYT = 1: 2 bytes
• Reset (RST)
Designate whether or not the error output coil R1 is reset.
RST = 0: Not reset
RST = 1: Reset
• Execution command (ACT)
ACT = 0: The COD instruction is not executed. R1 remains unchanged.
ACT = 1: The COD instruction is executed.
• Error output (R1)
If an error occurs during the execution of the COD instruction (a numeric value
greater that the size of the table is set), “1” is set for “R1” (R1” (R1 = 1) indicating
the occurrence of an error.
6 - 57
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 58
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 59
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 60
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 61
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
Note 1: When “BYT = 1”, the size of the table must be an even number of bytes.
2: If the data to be searched exist at more than one place, the data found first
is regarded as the objective data.
3: The data address to be stored is in units of bytes if “BYT = 0”or in units
of words if “BYT = 1”.
(b) Example
6 - 62
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 63
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
• Rewriting
To rewrite the contents by designating “3” (the number in the table).
6 - 64
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 65
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 66
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
• If more than 14 message display requests are given for one display screen,
14 lines of messages are displayed in order of priority (lower bit given highest
priority).
• The message to be displayed or cleared can be selected by setting “0” or “1” to
the corresponding bit. “1” for the message to be displayed and “0” for the message
to be cleared.
The correspondence is indicated below.
Note 1: If “1” is set for the bit where no message is stored, blank spaces are displayed.
2. This instruction is used to display messages on the screen. It cannot be used to
place the NC in the alarm state. (1-block stop, stop after deceleration, immediate stop).
3. Do not write the data to #1502, #1503, #1506, and #1507, or output the data from these
addresses by using the OUT instruction.
• The PLC system has two display screens for display of messages and they are
controlled by the DISP (SUBP 023) instruction.
Therefore, if the DISP instruction is specified more than one time for the same
message display screen, the display processing is executed more than one time
in one scan and the messages cannot be given correctly.(Messages will be written
over.)
Even if the DISP instruction is specified more than one time, it will not cause a
problem when only one DISP instruction is processed in one scan by designing
a JMP or other appropriate instructions.
6 - 67
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 68
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 69
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 70
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 71
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
0
0
1
0
2
1
3
1 2 4
. . .
. . .
. . .
n n n
6 - 72
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 73
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 74
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
= 1: 4bytes, = 0: Skip
6 - 75
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 76
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
0
0
1
0
2
1
3
1 2 4
. . .
. . .
. . .
n n n
6 - 77
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 78
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
0
0
1
0
2
1
3
1 2 4
. . .
. . .
. . .
n n n
6 - 79
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 80
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 81
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 82
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
= 1: 2 bytes
= 2: 4bytes
2nd digit = 0: Constant data
= 1: Address data
• Execution command (ACT)
ACT = 0: The binary-data addition instruction is executed.
R1 remains unchanged.
ACT = 1: The binary-data addition instruction is not executed.
• Error output (OUT)
OUT = 0: Normal
OUT = 1: Error
#2999
Operation status is written
d0 = 1: 0
d1 = 1: Negative
d5 = 1: Overflow
6 - 83
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Example
6 - 84
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 85
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 86
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 87
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 88
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 89
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 90
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
6 - 91
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7
Offline Editing
7-1
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
The YASNAC PCNC off-line systems consists of the following software packages.
• J1LCOMP.EXE Ladder language compiler
• J1LLINK.EXE Linker
The compiler compiles the source file, coded using the ladder language, to generate the object
file.
The processing objective data by the compiler is indicated below.
• Version number
• High-speed scan ladder program
• Low-speed scan ladder program
• Low speed ladder stop count
• Conversion data table
• Message data table
• Symbol data
PCNC treats the low-speed ladder stop count as no-meaning code.
(2) Linker
The linker generates the binary file in the executable format from the object file which is out-
put by the compiler.
7-2
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
;*************************
**********;
VERSION JXSD LADDER
ì By consolidating the object files into a single file, generate the executable file.
Use the J1LLINK to generate the executable file.
For the operation procedure, refer to 7.4 “LINKER”.
This link processing is always necessary even if only one object file has been generated.
The executable file (*.BIN) generated by the linker is the binary file having the same
configuration as the file written to the PLC’s flash ROM.
7-3
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7-4
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7-5
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
;*************************
**********;
VERSION JXSD LADDER
ó
ì LOWSTOPCOUNT2; Low-speed scan ladder pro-
ö gram stop count
ú HIGHSEQUENCE; High-speed scan ladder program
÷ INCLUDE LAD.HI
ENDP
LOW SEQUENCE; Low-speed scan ladder program
INCLUDE LAD.LO1
INCLUDE LAD.LO2
ø INCLUDE LAD.LO3
ENDP
û
ENDP
MESSAGE;Message data
7-6
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
Entry of a path name preceding the file name of an included file is possible.
INCLUDE B:\LPROG\LOW\LAD.L01
ö ENDP
This indicates the end of a high-speed scan ladder sequence, low-speed
scan ladder sequence, conversion data, and message data.
Format: ENDP
This pseudo instruction must always be written in a main file.
ú LOWSEQUENCE
This indicates the start of a low-speed scan ladder sequence.
An object file is generated as a low-speed scan ladder up to the ENDP
instruction.
Format: LOWSEQUENCE . . . . ENDP
If no entry is made, a low-speed scan ladder is not generated.
This pseudo instruction must always be written in a main file.
÷ CONVERSION
This instruction generates the object file as the conversion data in the table.
Format: CONVERSION . . . . . ENDP
If no entry is made, it is regarded as there being no message data.
ø MESSAGE
This instruction indicates the start of setting of message data in the ladder
table.
The instruction generates the object file regarding the data up to ENDP
as the message data.
Format: MESSAGE . . . . . ENDP
If no entry is made, it is regarded as there being no message data.
7-7
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
í SYMBOL
This defines the names for individual coils.
Definition is possible in up to 8 characters.
In the display of ladder, the first 5 characters of the specified symbol
name are displayed.
Registration capacity of the symbol makes is 5000.
Format: SYMBOL . . . . . ENDP
(b) Included files
Files shown below are examples of high-speed scan ladder, low-speed scan ladder,
conversion data, and message data that are included in the main file (YELAD-
FER.SRC). Pseudo instructions such as HIGHSEQUENCE, LOWSEQUENCE,
CONVERSION, MESSAGE, SYMBOL and ENDP must not be written in the
source files.They must be written in a main file.
LAD.HI
;*************************
**********
LD #10000
OUT#11000
-
LAD.L01
;*************************
**********
LOWSEQUENCE
LD #14000
INR#1500
-
LAD.L02
;*************************
**********
LD #14056
DST#1552, #1532, 0FFH
-
Out #14033
7-8
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
LAD.L03
;*************************
**********
LD #10012
OUT#14500
-
OUT#14010
CONV.DAT
;*************************
**********
N90000H, 1H, 2H, 3H, 4H, 5H, 6H, 7H
-
N90230FAH, 0FBH, 0FCH, 0FDH, 0FEH, 0FFH
MESSAGE.DAT
;*************************
**********
N9024‘SPINDLE ALARM’
-
N9323‘TROUBLE EXTERNAL DEVICE’
SYMBOL.DAT
;*************************
**********
#10000JOG; Jog
-
#79990 OIL; Coolant
7-9
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7 - 10
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
To store double-word data, place two underscores preceding the numeric values.
7 - 11
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
;*************************
**********
VERSION JXSD LADDER
LOWSTOPCOUNT1
LAKDHI.SRC
;*************************
**********
HIGHSEQUENCE
LD #14000
INR
-
OUT#11010
LADLOW1.SRC
;*************************
**********
LOWSEQUENCE
LD #14000
INR
-
OUT#11010
LADLOW2.SRC
;*************************
**********
LOWSEQUENCE
LD #14056
DST#1530, 1532, 0F FH
-
OUT#14033
7 - 12
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
LADLOW3.SRC
;*************************
**********
LOWSEQUENCE
LD #10012
OUT#14500
-
OUT#1410
RET
CONV.SRC
;*************************
**********
CONVERSION#10012
N90000H, 1H, 2H, 3H, 4H, 5H, 6H, 7H
-
N90230FAH, 0FBH, 0FCH, 0FDH, 0FEH, 0FFH
MESSAGE.SRC
;*************************
**********
MESSAGE
N9024‘APINDLE ALARM’
-
N9323‘TROUBLE IN EXTERNAL DEVICE’
SYMBOL.SRC
;*************************
**********
SYMBOL
N10000JOG- Jog
-
N19990OIL; Coolant
7 - 13
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7.3 COMPILER
7.3.1 Compiler
By executing the compiler instruction, the source file which has been created of edited is
compiled to generate the object file.
If an error occurs during compilation, the compiler outputs the error list file having the extension
of “.ERR” with the same main file name as the input file.
It is also possible to designate the file name of the error list file at start of the compiler. In this
case, the error list is output in the designated file name.
The compiler error information is stored to the error list file.
If the file has the same name as the error list file name, the existing file is detected when the error
list file is generated.
7 - 14
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
The compiler checks the source file for the format whether it is written in the processing
permitted format. In addition to this check, it also checks the following items.
7 - 15
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7 - 16
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7.4 Linker
The linker reads the object file in the order in which they are designated in the link module
designation file and maps the data contained in these files in the executable format that is the
same format as in the flash ROM.
Linker processing for the data contained in the object files is described below.
• The linker stores the version number data to the desginated address.
• An error occurs if a version mumber is defined in more than object file.
7 - 17
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
The linker generates the link binary file from the object output from the compiler by using the
linker instruction.
KANKYOU.OBJ
LADHI.OBJ
LADLOW1.OBJ
LADLOW2.OBJ
LADLOW3.OBJ
MESSAGE.OBJ
DATA.OBJ
SYMBOL.OBJ
7 - 18
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
The result of link by the execution of linker instruction is generated in one output file.
Example: J1LLINK YELAD.LNK[ENTER]
Output file
YELAD.BIN Ladder execution file
7 - 19
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7 - 20
YASNAC PCNC PLC Programming Manual Chapter 4: Sequence Control Method
7 - 21
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8
Online Editing
8-1
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8-2
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
It is possible to edit the sequence ladder directly at the NC operation panel instead of using a
personal computer. Sequence ladder edit operation procedure differs slightly depending on
whether the sequence ladder is newly created or the sequence ladder is created based on the
existing sequence ladder.
After setting RSW1 on PCNC unit to “4”, turn the power ON.
YES
Error?
NO
Select the run mode for the sequence program.
YES
Error?
NO
Run and check the sequence program.
YES
Bugs?
NO
Completion of sequence program creation.
8-3
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
• ENDP
ì The message data area is cleated.
ö The conversion data area is cleated.
ú The symbol data area is cleated.
8.1.1 Creating a Sequence Program by Modifying the Existing Sequence Program
PCNC:Set the RSW (rotary switch) to “4” on the NC unit.
The operation steps to be followed when creating a sequence program by modifying the
existing sequence program are described below.
YES
Error?
NO
Select the run mode for the sequence program.
YES
Error?
NO
Run and check the sequence program.
YES
Bugs?
NO
Completion of sequence program creation.
8-4
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8-5
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8-6
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
The ladder display function displays the sequence program stored in the NC in ladder form.
One line of ladder can contain a maximum of 13 contacts; the maximum number of contacts that
can be displayed in a sequence ladder is 100. There are no limits on the number of lines as long
as the maximum number of contacts is within the limit.
Each instruction indicated in Table 8.1 is counted to have the specified number of contacts.
SUB 3 CLRW 2
8-7
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
The function displays only the selected nets. This function is used when the nets to be referenced
are separated from each other so that displaying them on one display page is impossible.
This function is executed in the following procedure.
On the sequence ladder display screen, press the ENTER key when the net number to be
selected is displayed.
ó The selection symbol is displayed and the net is set in the selected status.
Selection is possible for up to ten nets. If an attempt is made to select the net exceeding
this limit, a warning message is displayed.
“SELECTION OVER!”
ö Press the [NET SEL] function soft-key once again, and the screen returns to the
normal sequence ladder display screen.
The selected status of the nets is cleared when the power is turned OFF.
8-8
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
By using the [GO/STP] function soft-key, the sequence program execution (run, stop) can be con-
trolled. At the start of sequence program execution, correctness of the sequence program is
checked. During this check, the message “LADDER CHECKING” is displayed. If an error is
found during this check, the sequence program cannot be executed even if the [GO/STP] function
soft-key is depressed.The content of the error found during the check is displayed by the corre-
sponding warning message.
Note that the [GO/STP] function soft-key is not valid while the NC is running. After the start of
the sequence program, message <EXEC> is displayed on the screen.
Fig. 8.3
8-9
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
If an error is found in the correctness check, the sequence program is not executed.
When the execution status shifts from “stop” to “run”, the total sum value is created in addition
to the correctness check. The total sum value can be confirmed by the SEQ information function.
8 - 10
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
1. During the execution of a sequence program, if the objective of editing is either the
RTH or RET instruction, editing (change, insert, delete) is not allowed. If the [NET EDT]
function soft-key is depressed during the execution of a sequence program, the following
warning message is displayed.
“LADDER CHECKING”
2. The contact status is not displayed during net editing.
8 - 11
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
When selecting an edit item, either a net edit key or an action key on the NC operation panel
can be used.
(2) Selecting the Edit Mode by Action Key on the NC Operation Panel
Selection of an edit mode is possible without displaying the pop-up menu screen. To clear
the pop-up from the screen, press the [NET EDT] function soft-key once again.
Without using the pop-up menu, change, insert, and delete modes can be selected by using
the action keys on the NC operation panel.
[ALT] key: This selects the change mode.
[INS] key: This selects the insert mode.
[ERASE] key: This selects the delete mode.
8 - 12
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
In this mode, a new net is inserted preceding the selected net.When the insert mode is
selected, the edit screen is opened for insertion operation. Since a new net is inserted,
the opened screen does not show the ladder and the mode indication changes to <INS>.
8 - 13
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 14
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
The net edit screen is displayed when either the insert or the delete mode is selected. On the net
edit screen, editing is possible for one net.
A contact instruction can be input by using a function soft-key. The same restrictions as applied
for displaying the ladder are also applied for editing the ladder: a maximum of 13 contacts in one
line, no limitations on the number of lines in the vertical direction, and the maximum of 100 con-
tacts. If the number of contacts exceeds 100, the following warning message is displayed.
“CONTACT OVER!”
If the number of contacts exceeds the limit, reduce the number by dividing the net into two or
more nets or some other appropriate method and create a net again.
Register instructions other than contacts can be input in the conversational mode by entering the
first character of the instruction. To input contacts and register instructions, move the cursor to
the position where the input is possible. If an attempt is made to input them at a position where
input is not possible, the following warning message is displayed. In this case, move the cursor to
the position where the input is permitted and input them again.
“INPUT ERROR”
In the net edit mode (change or insert), the following function soft-keys are provided as the
secondary function soft-keys.
8 - 15
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
: Replaces the block where the cursor is positioned with the NC contact.
If this key is pressed when the cursor is positioned on the block which
includes a register instruction, the remaining block is deleted as indicated
below.
: Replaces the block where the cursor is positioned with the OUT coil.
If this key is pressed when the cursor is positioned on the block which
includes a register instruction, the remaining block is deleted as indicated
below.
Note: An OUT coil can be input only at the 13th contact. If it is input at
any other position, and error occurs and “INPUT ERROR” message us dis-
played.
: Replaces the block where the cursor is positioned with a horizontal line
“—”.
If this key is pressed when the cursor is positioned on the block which
includes a register instruction, the remaining block is deleted as indicated
below.
If this key is pressed when the cursor is positioned on the block of the hor-
izontal line “—”, the horizontal line is deleted.
8 - 16
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
: Draws a vertical line on the block where the cursor is positioned and also
on the block above this block.
How the vertical line is drawn is explained below:
If a vertical line does not exist in the upper right of the cursor, a vertical
line is drawn.
If a vertical line exists in the upper right of the cursor, the vertical line is
deleted.
8 - 17
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 18
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 19
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
ì Enter “10000” and press the ENTER key. The LD instruction is input and the contact
number is input correctly. The cursor position is not changed before or after the input
of the LD instruction.
8 - 20
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
By using the function soft-keys [—] or [__], a vertical line of a horizontal line can be input at the
cursor position.
When inputting a vertical line, the content of line display varies depending on the cursor position
and the instructions existing around the cursor. How the vertical line is input is shown below.
After the correct input of the vertical or horizontal line, the input instruction is reflected to the
ladder chart. The cursor position is not changed before or after the input of the varietal/horizontal
line.
The example of the screen below shows the vertical line input operation.
Since a horizontal line does not exist in the upper right of the cursor, the vertical line is drawn
upward.
8 - 21
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
By keying in the first letter of register instruction, pop-up menu for the selection of the register
instruction appears on the screen.
(1) Items Given in Pop-up Menu
The items displayed in the pop-up menu are indicated in Table 8.3. In response to the
character keyed-in to the key buffer area, the corresponding list of register instructions is
displayed in the pop-up menu. Select the required instruction by moving the cursor on it
and press the [WR] key. The require register instruction can be written in this manner.
Keyed-in
Corresponding Register Instructions Displayed in Pop-up Menu Quantity
Character
CLR, CMR, COI, CMP, CPI, CPR, CIR, CLRW, CMRW, CORW,
C 11
CPRW
O ORR, ORI 2
8 - 22
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 23
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 24
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
To cancel this operand input waiting status, depress the [RST] key.
8 - 25
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
Screen Operand
INRW N [7000] INR, DCR, CLR, CMR, INRW, DCRW, CLRW, APSH,
PUSH, XOR, XNR
CPI# [7000], #[ ]H TMR, ADI, SBI, ANI, ORI, XRI, DEC, COI, CMP,
CPI, MVI
ADDW # [7000], #[ ] TIM, ADD, SUB, ANR, OPR, XRR, CPR, COR, MOV,
ADC, ADDW, SUBP, MULW, DIVW, CORW, CPRW,
MVIW
8 - 26
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
Table 8.4.5.2 Range of Registers that can be input for Individual Register instructions
8 - 27
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 28
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 29
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
It is possible to cancel (quit) the contents of net edit during editing. Key-in “Q” and press the
[WR] key.
8 - 30
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
Example 2: In the case of the ladder shown in Fig. 8.18, the ladder
is not one net and therefore connection error occurs.
8 - 31
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
8 - 32
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
ø After the completion of the check indicated above, the screen changes.
During net check, the NET CHECKING” is displayed on the screen as shown
in Fig. 8.19.
8 - 33
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
The conversion data that has been set by using the pseudo instruction “CONVERSION”
can be edited.
The data can be edited in units of bytes. The data for which word or double-word designation
has been made in the conversion table of the source program are also displayed in units of words
in this screen.
Conversion data are set in hexadecimal.
The conversion data numbers are indicated below:
N9000 - N9007 256bytes
N9008 - N9023 128 bytes
“FFH” is displayed for undefined conversion data.
8 - 34
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
The message data that has been set by using the pseudo instruction “MESSAGE” can be edited.
Up to 40 characters can be input as message data.
Fig. 8.21 shows the message data edit screen.
The message data number is #9024 to #9323.
8 - 35
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
The symbol name that has been set by using the pseudo instructon “SYMBOL” can be edited.
As a symbol name, a character-string of upto five characters can be set for one contact.
Registration of a symbol is not possible in the byte register.
When registering symbol names, there must be no blank in the contact number area. If there is
a blank, it is regarded as the end of registration and the symbol data registered after the blank,
if any, is not output in text output operation.
Move the cursor to the contact number area input the contact number to be set.
The maximum serial number is 5000.
ó Move the cursor to the symbol name area and input the symbol name. A symbol name
should be input in a maximum of five characters.
1. When inputting a register number, it is not necessary to input “#”.
2. For a register number, only a numerical value is allowed. If a character other than a
numeric value is input “INPUT ERROR!” is displayed.
3. A symbol name is a character-string of up to five characters. If a character-string
longer than five characters is input, “INPUT ERROR!” is displayed.
8 - 36
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
From the CMOS area, you able to upload and download both Binary and Text files
of the ladder sequence program.
The procedure used for down loading the sequence program (execution module *.BIN)
stored in the Floppy disc to the NC is explained below.
Once you have debugged you sequence, go to Utilities and Log in at Machinist
level or higher.
8 - 37
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
Messages displayed during on-line editing are given in Tables 8.8, 8.9 and 8.10
Message Description
INPUT COMPLETED Inputting of sequence program data has been completed correctly.
OUTPUT COMPLETED Outputting of sequence program data has been completed correctly.
The message requesting the input of a contact number when the contact function is
INPUT CONTACT NUMBER
selected.
When outputting a file to a PC card, the same file name as the one already existing in
OVERWRITE? (Y/N)
the PC card is designated.
INITIALIZE SEQ.? (Y/N) This message is displayed when the [INITI] function soft-key is pressed.
Message Description
8 - 38
YASNAC PCNC PLC Programming Manual Chapter 8: Online Editing
NO START INST! An instruction that must be designated at the beginning of a ladder is not designated.
NOT CONNECTED! Line connection is incomplete.
SUBP FORMAT ERROR! Format error in the SUBP instruction.
EXECUTING An invalid function is selected during sequence execution.
An instruction which must not be designated with another instruction is designated in
DOUBLE INST ERR!
a net.
An instruction which must be designated with another instruction is designated
SINGLE INST ERR!
without other instruction in a net.
SIZE OVER! The size of sequence exceeds the allowable limit.
FILE DATA ERROR! The data input to the PC card are not the sequence file for JX.
DOUBLE LABEL! There is more than one label for JMP instruction.
INVALID NET! A net which cannot be analyzed is edited.
Message Description
BACKUP THE SEQUENCE After editing the sequence program, the system has been started with the system
POGRAM number switch set at “0” or “A” without backing up the sequence program.
PLC CMOS ERROR The CMOS (hardware) in the JCP02 has been destroyed.
RESETTING HAS BEEN Since the sequence data in the JCP02 have been destroyed, the contents in flash ROM
MADE! have been transferred to the CMOS.
8 - 39
YASNAC PCNC PLC Programming Manual Chapter 9: Downloading & Uploading Sequence Program
9
Downloading & Uploading Sequence Program
9.1 Å
Downloading Sequence Program (Floppy Disk Flash ROM) . . . . . . . . . . . . . . .9-2
9.2 Å
Uploading Sequence Program (Flash ROM Floppy Disk) . . . . . . . . . . . . . . . . . .9-3
9-1
YASNAC PCNC PLC Programming Manual Chapter 9: Downloading & Uploading Sequence Program
9.1 Downloading Sequence Program (Floppy Disk Å Flash Rom)
The procedure for downloading the PCNC sequence program from Floppy Disk to flash
ROM is indicated below.
ì Insert a floppy disk with the Bin. file that you want to Download into
Floppy Drive.
9-2
YASNAC PCNC PLC Programming Manual Chapter 9: Downloading & Uploading Sequence Program
ö Highlight the “lader” path name. Hit the “Modification” button and make the path point to
ú Once you found your binary file hit enter and again highlight “lader” path name.
9-3
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
10
YASNAC Paradym-31 Sequence Program
Development Environment Setup
Chapter 10 describes the YASNAC Paradym-31 sequence program development environment setup.
10 - 1
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
10.1 Cautions
• Some diagrams in this manual illustrate the removal of the cover or safety shield for
detailed explanation purposes. When operating this machine, the cover or safety shield
must be installed in the required position, and operation must be performed following the
manual instructions.
• The diagrams and pictures in this manual represent typical examples, they may differ from
the products received by users.
• This manual may be amended due to product retrofit, specification change, as well as
manual ease-of-use improvement.
• If amended, the revised manual will be issued with a new document number.
• Product retrofitted by the user is beyond the scope of quality compensation provided by
our company. Our company will not assume the responsibility for any injury or damage
caused by retrofitted product.
Before usage (operation, maintenance, inspection), this manual and other relative documents
must be read carefully to ensure that the machine will be operated correctly and safely.
Furthermore, machine knowledge, safety information and cautionary items must also be fully
understood before operating the machine.
After reading, this manual should be kept in a convenient location to ensure that it can always be
readily available to the user during machine operation.
10 - 2
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
In this manual the following symbols for safe operation are used. Since the contents of the
symbols are very important, they must be followed.
This symbol indicates that there is a risk of death
or serious bodily injury resulting from improper
! WARNING operation.
! !
In this manual the ISO standard symbol is used.
Product warning display labels may use either the ISO or the JIS standard; however, both should
be followed in the same way.
10 - 3
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
10.3 Icons
In this manual, the following icons are used, where necessary, to enable the user to quickly
understand the contents.
This icon is used to identify an item which is important and is necessary to
Important remember during operation.
It also indicates inputs or operations which should not be made because they
may cause an alarm or malfunction, but not machine damage.
10 - 4
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
10.4 Preface
This document explains the procedures and restrictions for performing an on-line debug based
on software YASNAC Paradym-31 (hereinafter, Paradym-31) used for sequence program
development. Refer to Paradym-31 Users Guide/Reference Book for general Paradym-31
operation methods.
RS-232C
Windows-NT4.0
YASNAC Paradym-31
10 - 5
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
10 - 6
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
Software Installation
First, the Paradym-31 must be installed on the PC to be used.
Refer to the Paradym-31 Users Guide/Reference Book for Paradym-31 installation
methods.
Hardware Setup
(1) RS-232C Cable Connection
The RS-232C cable must be connected to the connector CN13 (1st port) of the CNC side
and a usable port (port1 or port2) of the PC side.
(2) Paradym-31 Debug Mode Set-up
Perform the following settings to set the Paradym-31 debug mode on the NC side.
• Match the system number switch to “4”.
• Set NC parameter pm5014 d5 as “1” (Paradym-31 communication effectiveness).
When pm5014 d5=1 is set, an NC alarm “ALM0050: PARAM REQUIRING POWER
OFF” is displayed. Therefore, after the power is turned off, turn on the NC power again.
(3) RS-232C Communication Set-up
In the RS-232C communication set-up, if the port number used to connect the RS-232C
is selected as a communication port number, communication speed will be automatically
set-up. The CNC side will be automatically set-up by the above Paradym-31 debug mode
set-up.
10 - 7
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
Editing sequence
program by
Paradym-31
Important
Creating execution The sequence program and sequence
module by Paradym-31 execution module created by the
(compile/link) Paradym-31 become original files;
therefore, they must be saved
on a disk.
Yes
Error?
No
Sequence program,
sequence execution Match rotary switch
module storage of CNC device to “4”,
turn CNC power on.
Ends
10 - 8
YASNAC PCNC PLC Programming Manual Chapter 10: YASNAC Paradym-31
The following restrictions exist when the CNC device is in the Paradym-31 debug mode.
(1) The ladder display and ladder on-line edit function of the CNC device are disabled. When
the ladder display key is pressed, the warning message “P31 is being selected” is shown
on the CNC display.
(2) The input/output of the NC data (parameter, working program, offset data) based on the
Paradym-31 is disabled. (In the case of YASNAC J100M, J100L, parameter input/output
based on PC card is possible).
Important
pm5014 d5: Paradym-31 debug mode selection parameter
0: Invalidate the communication between the Paradym-31 and CNC device
1: Validate the communication between the Paradym-31 and CNC device
• When this parameter is changed, the NC alarm “ALM0050: PARAM
REQUIRING POWER OFF” is displayed. Therefore, after the NC power is
turned off, turn the NC power on again.
• This parameter is enabled only when the rotary switch used for system set-up
is “4”.
10 - 9
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
11
YASNAC Paradym-31 Specifications of
Dynamic Link Library (DDL)
11 - 1
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
11.1 Outline
This specification sheet explains the Dynamic Link Library (hereinafter, DLL) (for
Windows) which enables the connection and on-line debug of sequence program
development software YASNAC Paradym-31 (hereinafter, Paradym-31) and a CNC device
(YASNAC PCNC series). (The Paradym-31 has three debug methods: dual port, Ethernet,
and RS-232C. YASNAC uses only the RS-232C.)
The YASNAC sequence program debug is performed by connecting and communicating the
Paradym-31 with the CNC device via the RS-232C.
Refer to YASNAC Paradym-31 Sequence Program Development Environment Set-up
Manual for the cable specification.
RS-232C
Windows-NT4.0
YASNAC Paradym-31
11 - 2
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
Paradym-31 Communication
Application parameter set-up
functions
Communication
Communication
Binary
YASNAC
11 - 3
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
11 - 4
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
STS =
0: Successful
Other than 0: Number of error or warning
Basically, the ladder compiler contains the YASNAC J100 specification; however, since
the following changes have been added, it is considered the Paradym-31 DLL ladder
compiler.
(1) Compatible with 16-bit Message Data
16-bit characters are converted to 32-bit SHIFT-JIS and saved in an execution module, in
order to correspond to 16-bit message data in the DLL ladder compiler.
(In conventional specifications, the message data is created by the 32-bit SHIFT-JIS.)
(2) Possible to duplicate symbol name definition for one contact number
The Paradym-31 can give more than two (a maximum of 5000) symbol definition names
to one contact number. Therefore, the compiler for the YASNAC is also capable of this
function.
For example: #10000 STEP
#10000 STEP2
(In conventional specifications, the compilation error “Variable number has duplicated
contact definition” occurs.
Process When An Error Occurs
When a compilation error occurs, the file that saves compiler error data is automatically
opened from a memo pad.
11 - 5
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
When the link is successful, the sum value of a binary file is displayed in the message box.
11 - 6
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
The communication speed is automatically set-up. When an error occurs, the following
message is displayed in the message box.
11 - 7
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
11 - 8
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
11 - 9
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
Note: Although data can be obtained that extends over the range of the I/O area or the NC
standard signal diagnosis number area using the contact and byte data obtaining
function (Getvalue), it is indefinite.
11 - 10
YASNAC PCNC PLC Programming Manual Chapter 11: YASNAC Paradym-31 DLL
11 - 11
YASNAC PCNC PLC Programming Manual Appendix 1: Paradym-31 Reference Table
1
Paradym-31 Reference Table
A1 - 1
YASNAC PCNC PLC Programming Manual Appendix 1: Paradym-31 Reference Table
APPENDIX 1.1
B – Register (variable)
17 ADD A – R1 (variable)
B – R2 (variable)
18 SUB A – R1 (variable)
B – R2 (variable)
A1 - 2
YASNAC PCNC PLC Programming Manual Appendix 1: Paradym-31 Reference Table
19 ANR A – R1 (variable)
B – R2 (variable)
20 ORR A – R1 (variable)
B – R2 (variable)
21 XRR A – R1 (variable)
B – R2 (variable)
22 CPR A – R1 (variable)
B – R2 (variable)
23 COR A – R1 (variable)
B – R2 (variable)
24 MOV A – R1 (variable)
B – R2 (variable)
27 ADC A – R1 (variable)
B – R2 (variable)
30 MULW A – R1 (variable)
B – WR2 variable)
31 DIVW A – R1 (variable)
B – WR2 variable)
A1 - 3
YASNAC PCNC PLC Programming Manual Appendix 1: Paradym-31 Reference Table
B – Register (variable)
40 NOP
41 MCR
42 END
43 RTI
A1 - 4
YASNAC PCNC PLC Programming Manual Appendix 1: Paradym-31 Reference Table
A1 - 5
YASKAWA ELECTRIC AMERICA, INC.
Chicago-Corporate Headquarters 2121 Norman Drive South, Waukegan, IL 60085, U.S.A.
Phone: (847) 887-7000 Fax: (847) 887-7310 Internet: http://www.yaskawa.com
MOTOMAN INC.
805 Liberty Lane, West Carrollton, OH 45449, U.S.A.
Phone: (937) 847-6200 Fax: (937) 847-6277
YASKAWA ELECTRIC CORPORATION
New Pier Takeshiba South Tower, 1-16-1, Kaigan, Minatoku, Tokyo, 105-0022, Japan
Phone: 81-3-5402-4511 Fax: 81-3-5402-4580 Internet: http://www.yaskawa.co.jp
YASKAWA ELETRICO DO BRASIL COMERCIO LTDA.
Avenida Fagundes Filho, 620 Bairro Saude Sao Paolo-SP, Brasil CEP: 04304-000
Phone: 55-11-5071-2552 Fax: 55-11-5581-8795 E-mail: yaskawabrasil@originet.com.br
YASKAWA ELECTRIC EUROPE GmbH
Am Kronberger Hang 2, 65824 Schwalbach, Germany
Phone: 49-6196-569-300 Fax: 49-6196-888-301 Internet: http://www.yaskawa.de
MOTOMAN ROBOTICS AB
Box 504 S38525, Torsas, Sweden
Phone: 46-486-48800 Fax: 46-486-41410
MOTOMAN ROBOTEC GmbH
Kammerfeldstraβe 1, 85391 Allershausen, Germany
Phone: 49-8166-900 Fax: 49-8166-9039
YASKAWA ELECTRIC UK LTD.
1 Hunt Hill Orchardton Woods Cumbernauld, G68 9LF, Scotland, United Kingdom
Phone: 44-12-3673-5000 Fax: 44-12-3645-8182
YASKAWA ELECTRIC KOREA CORPORATION
Paik Nam Bldg. 901 188-3, 1-Ga Euljiro, Joong-Gu, Seoul, Korea
Phone: 82-2-776-7844 Fax: 82-2-753-2639
YASKAWA ELECTRIC (SINGAPORE) PTE. LTD.
Head Office: 151 Lorong Chuan, #04-01, New Tech Park Singapore 556741, SINGAPORE
Phone: 65-282-3003 Fax: 65-289-3003
TAIPEI OFFICE (AND YATEC ENGINEERING CORPORATION)
10F 146 Sung Chiang Road, Taipei, Taiwan
Phone: 886-2-2563-0010 Fax: 886-2-2567-4677
YASKAWA JASON (HK) COMPANY LIMITED
Rm. 2909-10, Hong Kong Plaza, 186-191 Connaught Road West, Hong Kong
Phone: 852-2803-2385 Fax: 852-2547-5773
BEIJING OFFICE
Room No. 301 Office Building of Beijing International Club,
21 Jianguomanwai Avenue, Beijing 100020, China
Phone: 86-10-6532-1850 Fax: 86-10-6532-1851
SHANGHAI OFFICE
27 Hui He Road Shanghai 200437 China
Phone: 86-21-6553-6600 Fax: 86-21-6531-4242
SHANGHAI YASKAWA-TONJI M & E CO., LTD.
27 Hui He Road Shanghai 200437 China
Phone: 86-21-6533-2828 Fax: 86-21-6553-6677
BEIJING YASKAWA BEIKE AUTOMATION ENGINEERING CO., LTD.
30 Xue Yuan Road, Haidian, Beijing 100083 China
Phone: 86-10-6232-9943 Fax: 86-10-6234-5002
SHOUGANG MOTOMAN ROBOT CO., LTD.
7, Yongchang-North Street, Beijing Economic & Technological Development Area,
Beijing 100076 China
Phone: 86-10-6788-0551 Fax: 86-10-6788-2878