31i PMC Programming
31i PMC Programming
PROGRAMMING MANUAL
B-63983EN/01
• No part of this manual may be reproduced in any form.
• All specifications and designs are subject to change without notice.
The export of this product is subject to the authorization of the government of the country
from where the product is exported.
In this manual we have tried as much as possible to describe all the various matters.
However, we cannot describe all the matters which must not be done, or which cannot be
done, because there are so many possibilities.
Therefore, matters which are not especially described as possible in this manual should be
regarded as ”impossible”.
This manual contains the program names or device names of other companies, some of
which are registered trademarks of respective owners. However, these names are not
followed by or in the main body.
B-63983EN/01 DEFINITION OF WARNING, CAUTION, AND NOTE
WARNING
Applied when there is a danger of the user being
injured or when there is a danger of both the user
being injured and the equipment being damaged if
the approved procedure is not observed.
CAUTION
Applied when there is a danger of the equipment
being damaged, if the approved procedure is not
observed.
NOTE
The Note is used to indicate supplementary
information other than Warning and Caution.
s-1
B-63983EN/01 TABLE OF CONTENTS
TABLE OF CONTENTS
c-1
TABLE OF CONTENTS B-63983EN/01
2 PMC SPECIFICATIONS.......................................................................45
2.1 SPECIFICATIONS .......................................................................................46
2.1.1 Basic Specifications............................................................................................... 46
2.1.2 Program Capacity .................................................................................................. 49
2.1.3 Sequence Program Memory Capacity ................................................................... 50
2.1.4 Addresses............................................................................................................... 52
2.1.5 Basic Instructions .................................................................................................. 54
2.1.6 Functional Instructions (Arranged in Sequence of Instruction Group) ................. 55
2.1.7 Functional Instructions (Arranged in Sequence of SUB No.) ............................... 58
2.2 PMC SIGNAL ADDRESSES........................................................................61
2.2.1 Addresses for Signals Between the PMC and CNC (F, G) ................................... 61
2.2.2 Addresses of Signals Between the PMC and Machine (X, Y) .............................. 62
2.2.3 Internal Relay Addresses (R)................................................................................. 65
2.2.4 Internal Relay (System Area) Addresses (R) ........................................................ 66
2.2.5 Extended Relay Addresses (E) .............................................................................. 74
2.2.6 Message Display Addresses (A)............................................................................ 75
2.2.7 Timer Addresses (T).............................................................................................. 76
2.2.8 Counter Addresses (C) .......................................................................................... 77
2.2.9 Keep Relay Addresses (K) .................................................................................... 79
2.2.10 Nonvolatile Memory Control Address (K)............................................................ 80
2.2.11 System Keep Relay Addresses (K)........................................................................ 81
2.2.12 Data Table Addresses (D) ..................................................................................... 87
2.2.13 Subprogram Number Addresses (P) ...................................................................... 93
2.2.14 Label Number Addresses (L) ................................................................................ 94
2.3 PMC PARAMETERS ...................................................................................95
2.3.1 Cautions for Reading from/Writing to Nonvolatile Memory................................ 96
2.3.2 PMC Parameter Format ......................................................................................... 97
2.4 PARAMETERS FOR THE PMC SYSTEM.................................................103
2.4.1 Setting Parameters ............................................................................................... 103
2.4.2 PMC System Parameters ..................................................................................... 106
2.4.3 CNC Parameters Related to the PMCs ................................................................ 108
2.5 COMPATIBILITY WITH CONVENTIONAL MODELS................................118
2.5.1 Compatibility with the PMCs for the 16i/18i/21i-B............................................ 118
2.5.2 Compatibility with the PMCs for the 15i-MODEL A/B ..................................... 120
2.5.3 The convert method of source program using FANUC LADDER-III ................ 122
c-2
B-63983EN/01 TABLE OF CONTENTS
c-4
B-63983EN/01 TABLE OF CONTENTS
c-5
TABLE OF CONTENTS B-63983EN/01
c-6
B-63983EN/01 TABLE OF CONTENTS
c-7
TABLE OF CONTENTS B-63983EN/01
c-8
B-63983EN/01 TABLE OF CONTENTS
c-10
B-63983EN/01 TABLE OF CONTENTS
c-11
B-63983EN/01 1.OVERVIEW OF PMC
1 OVERVIEW OF PMC
-1-
1.OVERVIEW OF PMC B-63983EN/01
Internal External
I/O Sequence I/O
program
Input signals of the PMC include signals input from the CNC (such as
M and T function signals) and signals input from the machine (such as
the cycle start button and feed hold signal button). Output signals of
the PMC include signals output to the CNC (such as the cycle start
command and feed hold signal command) and signals output to the
machine (such as turret rotation and spindle stop). The PMC controls
these I/O signals by executing a sequence program to control the
machine tool.
-2-
B-63983EN/01 1.OVERVIEW OF PMC
F X Signals
Signals to/from
PMC
to/from CNC machine
G Y (MT)
Nonvolatile memory
(1) Variable timer (T)
Internal relay (R) (2) Counter (C)
(3) Keep relay (K)
(4) Data table (D)
NOTE
Optionally, extra relays (E) may be assigned to
nonvolatile memory locations.
The PMC signal address format consists of an address number and bit
number (0 to 7) as follows:
Bit number (0 to 7)
Address number (letter followed by decimal
number)
-3-
1.OVERVIEW OF PMC B-63983EN/01
-4-
B-63983EN/01 1.OVERVIEW OF PMC
-5-
1.OVERVIEW OF PMC B-63983EN/01
-6-
B-63983EN/01 1.OVERVIEW OF PMC
(1) Signal names may consist of any alphanumeric characters and the
special symbols. The number of characters that can be entered
varies depending on the PMC model. For the allowable number of
characters, see the table in Subsection 2.1.1.
(2) As the names of the signals between the CNC and PMC, use the
signal names indicated in the address table of the PMC without
modifications.
(3) Some CNC signals are input from the machine or output to the
machine. The names of these signals are distinguished by
prefixing X or Y to the names of signals between the CNC and
PMC.
For example, a single block input signal is represented as XSBK
by prefixing X, while a start lamp output signal is represented as
YSTL by prefixing Y.
The names of some signals between the CNC and PMC, however,
exceed the maximum allowable number of characters as a result
of prefixing X or Y to the names. In such a case, delete the last
character of the signal name.
(*SECLP → X*SECL)
(4) The same signal name (symbol name) cannot be assigned to more
than one signal address.
1.2.3 Comment
A comment can be added to each symbol in the symbol table so that it
can be indicated as a comment on a relay or coil in the sequence
program. The number of characters that can be entered varies
depending on the PMC model. For the number of characters that can be
entered, see the table in Subsection 2.1.1.
For all relays and coils that are output signals to the machine, add a
comment to provide a detailed signal explanation. For other auxiliary
relays, provide explanations of the signals if these relays have
significant meanings in sequence control.
In particular for machine-related input signals, be sure to provide a
detailed signal explanation as a comment in the symbol table.
Add detailed comments to signals dedicated to the machine so that one
can guess the meanings of these signals just from the symbol names.
-7-
1.OVERVIEW OF PMC B-63983EN/01
Relays (contacts)
Instruction
Function
representation
Normally open contact
-| |-
(contact A)
Normally closed contact
-|/ |-
(contact B)
Coils
Instruction
Function
representation
-¡- Coil
-¡¡- Negated coil
-(S)- Set coil
-(R)- Reset coil
-8-
B-63983EN/01 1.OVERVIEW OF PMC
A
R1
B
R2
A
R1
A B
R2
A B
R1
R2
-9-
1.OVERVIEW OF PMC B-63983EN/01
- 10 -
B-63983EN/01 1.OVERVIEW OF PMC
(1) PC programmer
FANUC supplies FANUC LADDER-III as sequence program
development software for FANUC PMC. Use of FANUC
LADDER-III allows you to edit a program in the Ladder language
on a personal computer.
Auxiliary function
completion
signal
Fig. 1.3.3
- 11 -
1.OVERVIEW OF PMC B-63983EN/01
Table 1.3.3
Step No. Instruction Address No. & bit No. Remarks
1 RD F7.0 MF
2 OR F7.2 SF
3 OR F7.3 TF
4 RD.NOT.STK F7.0 MF
5 OR R211.7 MFIN
6 AND.STK
7 RD.NOT.STK F7.2 SF
8 OR R211.5 SFIN
9 AND.STK
10 RD.NOT.STK F7.3 TF
11 OR R211.6 TFIN
12 AND.STK
13 WRT G4.3 FIN
After completing editing for the sequence program, input (transfer) the
program to the PMC. This operation is unnecessary when you have
edited the program by using the built-in programmer.
When you have edited the sequence program by using the PC
programmer, input the sequence program from the editing environment
(the personal computer (PC)) to the PMC. The following input
methods can be used:
After inputting the sequence program, write it in the flash ROM. This
operation can be done with the DATA I/O screen of the PMC.
- 12 -
B-63983EN/01 1.OVERVIEW OF PMC
After writing the sequence program in the flash ROM, check the
sequence program.
The sequence program can be checked in the following two ways:
- 13 -
1.OVERVIEW OF PMC B-63983EN/01
Sequence program
memory
Sequence
program
input
Output circuit
The RD instruction causes the CPU to read the signal of the input
circuit at address X0.0 and set the read data in the operation register.
Next, the AND instruction causes the CPU to AND the set data with the
internal relay state at address R10.1 and set the result in the operation
register. The CPU then executes the subsequent instructions at high
speed, and the operation result is output to the output circuit at address
Y0.0.
- 14 -
B-63983EN/01 1.OVERVIEW OF PMC
- 15 -
1.OVERVIEW OF PMC B-63983EN/01
- 16 -
B-63983EN/01 1.OVERVIEW OF PMC
1.4.3 Processing Priority (1st Level, 2nd Level, and 3rd Level)
Sequence program
Division 2
2nd level sequence part
Division n
- 17 -
1.OVERVIEW OF PMC B-63983EN/01
As the amount of the 1st level sequence part increases, the amount
of the 2nd level sequence portion executed within the ladder
execution cycle decreases. As a result, the number of divisions n
increases, which increases the overall execution time including
the 2nd level (sequence processing time). Therefore, the 1st level
sequence program part should be minimized where possible. The
division number of 2nd level may be indefinite because of
changing of the working condition of functional instructions in 1
st level and 2 nd level.
1st level
Last division n
Division 1 Division 2
2nd level
3rd level
3rd level processing
Ladder execution cycle (4 or 8 ms) Ladder execution cycle (4 or 8 ms) Ladder execution cycle(4 or 8 ms)
- 18 -
B-63983EN/01 1.OVERVIEW OF PMC
1.4.4.1 Implementation
Job A
Job B
(2) Nesting
Ladder routines created in (1) are connected to configure a ladder
sequence.
Job An
- 19 -
1.OVERVIEW OF PMC B-63983EN/01
Application example
(1) Example
Suppose that there are four major jobs.
- 20 -
B-63983EN/01 1.OVERVIEW OF PMC
Machine workpiece.
Machine workpiece.
Move pallet.
Machine workpiece.
- 21 -
1.OVERVIEW OF PMC B-63983EN/01
Pick up workpiece
from pallet. Ladder representation
Ladder representation
Machine workpiece.
Ladder representation
Return workpiece to pallet.
- 22 -
B-63983EN/01 1.OVERVIEW OF PMC
Specifications
(1) Main program
A ladder program consisting of the 1st ladder level and 2nd ladder
level is called a main program. You can create just one main
program. Subprogram calls from the 1st ladder level are not
allowed. Any number of subprogram calls from the 2nd ladder
level may be made. Functional instructions JMP and COM must
be closed within the main program and each subprogram.
(2) Subprogram
Programs called from the 2nd ladder level are referred to as
subprograms. A subprogram is a program unit enclosed by
functional instructions SP and SPE. Up to 512 or 5000
subprograms can be created for one PMC.
(3) Nesting
A subprogram can call another subprogram.
Up to eight levels of subprograms can be nested.
Recursive calls are not permitted.
- 23 -
1.OVERVIEW OF PMC B-63983EN/01
Subprograms
End of sequence
End of entire sequence program is
program
indicated by END instruction.
Fig. 1.4.4.1
- 24 -
B-63983EN/01 1.OVERVIEW OF PMC
Function
A conditional call (or unconditional call) is coded in the main program,
and the name of a subprogram to be executed is specified. In the
subprogram, the subprogram name and a ladder sequence to be
executed are coded.
When a conditional call specifying Pn (representing a program name)
is made, a subprogram named Pn is called and executed.
A subroutine name can be assigned by adding a symbol or comment to
Pn.
In the example shown in Fig. 1.4.4.2 (a), the main program calls three
subprograms. These calls are all conditional calls. Subprogram P1 is
named SUBPRO. Subprogram P1 calls subprogram PROCS1
unconditionally.
- 25 -
1.OVERVIEW OF PMC B-63983EN/01
Execution method
The main program is always active. Subprograms are active only when
called by another program.
In the following example, subprogram SUBPRO is called by signal A.
Program cycle
Signal A
Main
program
Subprogram
Management
program
Execution flow
(1) A subprogram call by functional instruction CALL transfers
control to the subprogram.
(2) When the execution of the subprogram is completed, control is
returned to the main program.
(3) When the execution of the main program is completed, the ladder
program postprocessing is performed.
- 26 -
B-63983EN/01 1.OVERVIEW OF PMC
Creating a program
After the 1st, 2nd, and 3rd level ladder programs, create subprograms
in the similar manner.
Creation example
- 27 -
1.OVERVIEW OF PMC B-63983EN/01
Inhibit items
(2) A subprogram is created within the 1st, 2nd, or 3rd level ladder
program.
- 28 -
B-63983EN/01 1.OVERVIEW OF PMC
(1) DISPB
(2) EXIN
(3) WINDR (low-speed type only)
(4) WINDW (low-speed type only)
(5) AXCTL
- 29 -
1.OVERVIEW OF PMC B-63983EN/01
Example:
A subprogram is called from two places. (When the WINDR
instruction is used)
Set DATA1.
Set DATA2.
Explanation:
Subprogram 1 controls ACT (A) and W1 (B) of WINDR (subprogram
2).
The main program determines which data (C1 or C2) is to be used
according to A controlled by subprogram 1. Upon completion of the
WINDR instruction, the next data is set, and the other CALL
instruction is executed. In the subsequent operation, these steps are
repeated.
- 30 -
B-63983EN/01 1.OVERVIEW OF PMC
Signals input to the PMC include input signals from the CNC (such as
M function and T function signals) and input signals from the machine
(such as cycle start and feed hold signals). Signals output from the
PMC include output signals to the CNC (such as cycle start and feed
hold signals) and output signals to the machine (such as turret rotation
and spindle stop signals).
The relationships between these signals and the PMC are shown in Fig.
1.4.5 (a), in which input signals are input to the input memory of the
PMC, and output signals are issued from the PMC.
As shown in Fig. 1.4.5 (a), the input signals are synchronized during 1
scan of the 2nd level sequence part.
CNC
Input memory of CNC Sequence program
Input signal from 1st level sequence
CNC part
Transferred at
start of 2nd level 2nd level synchronous
input signal memory
Output signal to
CNC
- 31 -
1.OVERVIEW OF PMC B-63983EN/01
- 32 -
B-63983EN/01 1.OVERVIEW OF PMC
NOTE
1 The statuses of the input memory of the CNC, input
signals from the machine, output memory of the
CNC, and output signals to the machine can be
viewed on the SIGNAL STATUS screen of the PMC.
For the SIGNAL STATUS screen, see Section 7.1.
2 I/O signals exchanged with the machine are normally
transferred at intervals of 2 ms when the I/O Link is
used. Depending on the channel setting of the I/O
Link, however, the transfer interval varies. For
details, see Section 3.1.
- 33 -
1.OVERVIEW OF PMC B-63983EN/01
- 34 -
B-63983EN/01 1.OVERVIEW OF PMC
Difference in signal status between 1st level and 2nd level sequence parts
The status of the same input signal may become different between the
1st and 2nd level sequence parts. The 1st level sequence part uses the
input signal memory for signal processing while the 2nd level sequence
part uses the 2nd level synchronous input signal memory. Therefore, it
is possible that an input signal for the 2nd level sequence part lags
behind the input signal for the 1st level sequence part by a cycle of the
2nd level sequence execution at the worst.
When creating a sequence program, note the following:
Signal status
A.M On (pulse signal with short pulse width in time)
B Off
C On
When the 1st level is executed, the following difference can occur
between Fig. 1.4.5 (d) and Fig. 1.4.5 (e):
NOTE
In the middle of 1st level processing, a signal status
change may occur asynchronously with the
sequence program processing. For details, see
Subsection 1.4.7.
- 35 -
1.OVERVIEW OF PMC B-63983EN/01
1st level
2nd level
1.4.6 Interlock
- 36 -
B-63983EN/01 1.OVERVIEW OF PMC
- 37 -
1.OVERVIEW OF PMC B-63983EN/01
The CNC systems and the I/O Link channels to be controlled by PMCs
can be changed by CNC parameter setting. In a parameter-set
configuration, one PMC may control all CNC systems, or each PMC
may control a different CNC system.
- 38 -
B-63983EN/01 1.OVERVIEW OF PMC
CNC PMC
Peripheral
2nd PMC equipment,
etc.
Loader
3rd PMC Operator's
control group
panel for
loader, etc.
If the Series 30i-A system is used to control more than one CNC path,
some paths can be grouped to share data within a group and to stop all
the paths in the group if an alarm condition occurs in one of the paths.
The group is referred to as the machine group.
The system supports up to 3 machine groups. Each group has a
separate emergency stop signal address.
A PMC is basically assigned to each machine group.
- 39 -
1.OVERVIEW OF PMC B-63983EN/01
Execution order
If parameters related to the execution order are not set (0 is set), the
following order sequence is assumed by default:
Level 1
Level 2
Level 3
- 40 -
B-63983EN/01 1.OVERVIEW OF PMC
Level 1
Level 2
Level 3
- 41 -
1.OVERVIEW OF PMC B-63983EN/01
The I/O addresses of I/O Link channels can be assigned with CNC
parameters.
If these parameters are not set (0 is set), all channels are assigned to the
first PMC by default as follows:
1st PMC
Channel 1
X/Y0 to X/Y127
Channel 2
X/Y200 to X/Y327
Channel 3
X/Y400 to X/Y527
Channel 4
X/Y600 to X/Y727
1st PMC
Channel 1
X/Y0 to X/Y127
Channel 2
X/Y200 to X/Y327
2nd PMC
Channel 3
X/Y0 to X/Y127
3rd PMC
Channel 4
X/Y0 to X/Y127
Fig. 1.5.2 (b) Example of I/O address assignment for I/O Link channels
- 42 -
B-63983EN/01 1.OVERVIEW OF PMC
The PMC to control the interface between the CNC and PMC and PMC
addresses (F/G addresses) can be set with CNC parameters.
With these parameter settings, a desired interface control system can be
built, in which the entire CNC-PMC interface of the CNC may be
controlled by a single PMC or the CNC-PMC interface may be
controlled by multiple PMCs.
For the CNC-PMC interface, a memory area consisting of 10 blocks,
each of which is an addressable, 768-byte DI/DO area, is provided.
When viewed from the ladder program in each PMC, these addresses
begin with 0.
If these parameters are not set (0 is set), the initial settings are assumed,
where the F/G addresses of the CNC equals the F/G addresses of the
first PMC as follows:
- 43 -
1.OVERVIEW OF PMC B-63983EN/01
- 44 -
B-63983EN/01 2.PMC SPECIFICATIONS
2 PMC SPECIFICATIONS
- 45 -
2.PMC SPECIFICATIONS B-63983EN/01
2.1 SPECIFICATIONS
Table 2.1.1 (a) Basic specifications of the PMCs for the Series 30i-A
30i-A
Function Second PMC Third PMC Dual-check safety
First PMC
(option) (option) PMC (Note 1)
Programming language Ladder Ladder Ladder Ladder
Number of ladder levels 3 3 3 2
Level 1 execution period 4 or 8 ms 4 or 8 ms 4 or 8 ms 4 or 8 ms
(Note 2)
Processing power
• Basic instruction 25 ns/step 25 ns/step 25 ns/step 1 µs/step
processing speed
Program capacity (Note 3)
• Ladder Up to about 64,000 Up to about 64,000 Up to about 64,000 Up to about 3,000
steps steps steps steps
• Symbol/comment At least 1 KB At least 1 KB At least 1 KB At least 1 KB
• Message At least 8 KB At least 8 KB At least 8 KB At least 8 KB
Instructions
• Basic instructions 14 14 14 14
• Functional instructions 66 (80) 66 (80) 66 (80) 60 (80)
(Note 4)
• Variable timers 250 pieces 40 pieces 40 pieces 40 pieces
• Fixed timers 500 pieces 100 pieces 100 pieces 100 pieces
• Variable counters 100 pieces 20 pieces 20 pieces 20 pieces
• Fixed counters 100 pieces 20 pieces 20 pieces 20 pieces
• DIFUs/DIFDs 1000 pieces 256 pieces 256 pieces 256 pieces
PMC memory
• Internal relay (R)
• User area 8,000 bytes 1,500 bytes 1,500 bytes 1,500 bytes
• System area 500 bytes 500 bytes 500 bytes 500 bytes
• Extra relay (E) 10,000 bytes (Note 5) 10,000 bytes (Note 5) 10,000 bytes (Note 5) -
• Message display (A)
• Display requests 2,000 points 2,000 points 2,000 points 2,000 points
• Status displays 2,000 points 2,000 points 2,000 points 2,000 points
• Nonvolatile memory
• Timer (T)
• Variable timer 500 bytes 80 bytes 80 bytes 80 bytes
• Variable timer 500 bytes 80 bytes 80 bytes 80 bytes
precision (Note 6)
• Counter (C)
• Variable counter 400 bytes 80 bytes 80 bytes 80 bytes
• Fixed counter 200 bytes 40 bytes 40 bytes 40 bytes
• Keep relay (K)
• User area 100 bytes 20 bytes 20 bytes 20 bytes
• System area 100 bytes 100 bytes 100 bytes 100 bytes
• Data table (D) 10,000 bytes 3,000 bytes 3,000 bytes 3,000 bytes
- 46 -
B-63983EN/01 2.PMC SPECIFICATIONS
Table 2.1.1 (b) Basic specifications of the PMCs for the Series 30i-A
30i-A
Function First PMC Second PMC Third PMC Dual-check safety
(option) (option) PMC (Note 1)
PMC memory
• Subprograms (P) 5,000 pieces 512 pieces 512 pieces 512 pieces
• Labels (L) 9,999 pieces 9,999 pieces 9,999 pieces 9,999 pieces
CNC interface
• Input (F) 768 bytes × 10 768 bytes × 10 768 bytes × 10 768 bytes (Note 7)
(Note 7) (Note 7) (Note 7)
• Output (G) 768 bytes × 10 768 bytes × 10 768 bytes × 10 768 bytes (Note 7)
(Note 7) (Note 7) (Note 7)
DI/DO
• I/O Link
• Inputs (X) Up to 4,096 points Up to 4,096 points Up to 4,096 points Up to 64 points
(Note 8) (Note 8) (Note 8)
• Outputs (Y) Up to 4,096 points Up to 4,096 points Up to 4,096 points Up to 64 points
(Note 8) (Note 8) (Note 8)
Symbol/comment
Number of symbol 16 16 16 16
characters
Number of comment 30 (Note 10) 30 (Note 10) 30 (Note 10) 30 (Note 10)
characters
Program storage area Up to 768 KB of flash Up to 768 KB of flash Up to 768 KB of flash 128 KB of flash ROM
(Note 9) ROM ROM ROM
- 47 -
2.PMC SPECIFICATIONS B-63983EN/01
NOTE
1 This PMC is used for dual-check safety. It is used to
watch both safety-related signals and ladder
programs. Refer to "FANUC Series 30i dual-check
safety Operators Manual(B-64004EN)" for details.
2 NC parameter No. 11930 is used to specify a level-1
execution period. See Subsection 2.4.3 for details.
Note, however, that it is impossible to specify a
level-1 execution period for each PMC separately.
3 The maximum overall program size (including the
maximum number of ladder steps, symbols/
comments, and messages) varies depending on
option settings. See Tables 2.1.2 (a) to 2.1.2 (d) for
details.
4 For the number of functional instructions, each
parenthesized number indicates the number of all
functional instructions, and each non-parenthesized
number, the number of valid functional instructions.
5 The extra relay is common memory for the multi-PMC
function. To put it another way, its size covers all of
the first, second, and third PMCs.
6 This area is used to specify the precision of the
variable timer. Do not use this area in user programs.
7 It is possible to specify which program is used to
control a specific CNC system. See "Interface
between CNC and PMC" in Subsection 2.4.3 for
details.
8 Each CNC unit can use up to four I/O Link channels
(4,096 input points and 4,096 output points).
However, only one I/O Link channel (1,024 input
points and 1,024 output points) can be used in the
standard continuation. Using more than one channel
requires installing an I/O Link point extension option
for each additional channel.
It is possible to specify which program is used to
control a specific I/O Link channel. See "I/O Link
input/output addresses" in Subsection 2.4.3 for
details.
9 The capacity of the program storage area varies
depending on option settings. See Tables 2.1.2 (a) to
2.1.2 (d) for details.
10 When you use only the full-size character. The
number of comment character becomes half of the
normal specification.
- 48 -
B-63983EN/01 2.PMC SPECIFICATIONS
Table 2.1.2 (d) Program capacity for the dual-check safety PMC
Maximum program size
Number of ladder steps
(flash ROM capacity)
3000 steps (Note 1) 128 KB
NOTE
1 The dual-check safety option supports this quantity of
steps.
- 49 -
2.PMC SPECIFICATIONS B-63983EN/01
- 50 -
B-63983EN/01 2.PMC SPECIFICATIONS
NOTE
1 The total sequence program size (including all items
such as ladders, symbols/comments, and
messages) cannot exceed the sequence program
memory storage capacity. If a ladder, symbol/
comment, or message is large, the size of other
categories may be limited.
2 The PMC programmer may adjust arrangement of
these items in the sequence program memory to
improve processing efficiency. As a result, up to 1K
byte (1024 bytes) may be added to the sum of the
sizes of individual items.
3 Each full-size character takes a memory capacity of
2 bytes.
4 For half-size katakana, special characters, full-size
hiragana, kanji, and special characters, each
character in a character code notation (including
leading and trailing "@" characters) takes a memory
capacity of one byte. See descriptions about the
DISPB function instructions for the character input
code notation.
- 51 -
2.PMC SPECIFICATIONS B-63983EN/01
2.1.4 Addresses
Table 2.1.4 (a) Addresses of the PMCs for the Series 30i-A
30i-A
Dual-check
Function Symbol Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Signal input to the PMC X X0 to X127 X0 to X127 X0 to X127 X0 to X127
from the machine X200 to X327 X200 to X327 X200 to X327
X400 to X527 X400 to X527 X400 to X527
X600 to X727 X600 to X727 X600 to X727
X1000 to X1127 X1000 to X1127 X1000 to X1127
(Note 1) (Note 1) (Note 1)
Signal output from the Y Y0 to Y127 Y0 to Y127 Y0 to Y127 Y0 to Y127
PMC to the machine Y200 to Y327 Y200 to Y327 Y200 to Y327
Y400 to Y527 Y400 to Y527 Y400 to Y527
Y600 to Y727 Y600 to Y727 Y600 to Y727
Y1000 to Y1127 Y1000 to Y1127 Y1000 to Y1127
(Note 1) (Note 1) (Note 1)
Signal input to the PMC F F0 to F767 F0 to F767 F0 to F767 F0 to F767
from the CNC F1000 to F1767 F1000 to F1767 F1000 to F1767
F2000 to F2767 F2000 to F2767 F2000 to F2767
F3000 to F3767 F3000 to F3767 F3000 to F3767
F4000 to F4767 F4000 to F4767 F4000 to F4767
F5000 to F5767 F5000 to F5767 F5000 to F5767
F6000 to F6767 F6000 to F6767 F6000 to F6767
F7000 to F7767 F7000 to F7767 F7000 to F7767
F8000 to F8767 F8000 to F8767 F8000 to F8767
F9000 to F9767 F9000 to F9767 F9000 to F9767
Signal output from the G G0 to G767 G0 to G767 G0 to G767 G0 to G767
PMC to the CNC G1000 to G1767 G1000 to G1767 G1000 to G1767
G2000 to G2767 G2000 to G2767 G2000 to G2767
G3000 to G3767 G3000 to G3767 G3000 to G3767
G4000 to G4767 G4000 to G4767 G4000 to G4767
G5000 to G5767 G5000 to G5767 G5000 to G5767
G6000 to G6767 G6000 to G6767 G6000 to G6767
G7000 to G7767 G7000 to G7767 G7000 to G7767
G8000 to G8767 G8000 to G8767 G8000 to G8767
G9000 to G9767 G9000 to G9767 G9000 to G9767
Signal input to the PMC M M0 to M767 M0 to M767 M0 to M767 M0 to M767
(Note 2)
Signal output from the N N0 to N767 N0 to N767 N0 to N767 N0 to N767
PMC (Note 2)
Internal relay R
• User area R0 to R7999 R0 to R1499 R0 to R1499 R0 to R1499
• System area R9000 to R9499 R9000 to R9499 R9000 to R9499 R9000 to R9499
Extra relay E E0 to E9999 E0 to E9999 (Note 3) E0 to E9999 (Note 3) (Note 4)
- 52 -
B-63983EN/01 2.PMC SPECIFICATIONS
NOTE
1 This area is reserved for PMC management software.
No I/O can be allocated in this area. Do not use it in
user programs.
2 This area is used to specify the precision of a variable
timer. Do not use it in user programs.
3 This area is common memory for the multi-PMC
function. It is possible for each program to read the
same value from, and write it to, the area.
4 No extra relay is available for the dual-check safety
PMC.
- 53 -
2.PMC SPECIFICATIONS B-63983EN/01
Table 2.1.5 Basic instructions for PMCs for the Series 30i-A
30i-A
Dual-check
Instruction name Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
RD ¡ ¡ ¡ ¡
RD.NOT ¡ ¡ ¡ ¡
WRT ¡ ¡ ¡ ¡
WRT.NOT ¡ ¡ ¡ ¡
AND ¡ ¡ ¡ ¡
AND.NOT ¡ ¡ ¡ ¡
OR ¡ ¡ ¡ ¡
OR.NOT ¡ ¡ ¡ ¡
RD.STK ¡ ¡ ¡ ¡
RD.NOT.STK ¡ ¡ ¡ ¡
AND.STK ¡ ¡ ¡ ¡
OR.STK ¡ ¡ ¡ ¡
SET ¡ ¡ ¡ ¡
RST ¡ ¡ ¡ ¡
(¡: Usable. ×: Unusable.)
- 54 -
B-63983EN/01 2.PMC SPECIFICATIONS
Table 2.1.6 (a) Functional instructions for PMCs for the Series 30i-A
(arranged in sequence of instruction group)
30i-A
Instruction Instruction SUB Second Third
Processing DCS
group name No. First PMC PMC PMC
(Note 4)
(option) (option)
Timer 1 TMR 3 Timer processing ¡ ¡ ¡ ¡
(Section 4.3) 2 TMRB 24 Fixed-timer processing ¡ ¡ ¡ ¡
3 TMRC 54 Timer processing ¡ ¡ ¡ ¡
Counter 1 CTR 5 Counter processing ¡ ¡ ¡ ¡
(Section 4.4) 2 CTRB 56 Counter processing ¡ ¡ ¡ ¡
3 CTRC 55 Counter processing ¡ ¡ ¡ ¡
Data transfer 1 MOVB 43 1-byte transfer ¡ ¡ ¡ ×
(Section 4.5) 2 MOVW 44 2-byte transfer ¡ ¡ ¡ ×
3 MOVD 47 4-byte transfer ¡ ¡ ¡ ×
4 MOVN 45 Transfer of arbitrary number of bytes ¡ ¡ ¡ ¡
5 MOVE 8 Data transfer after logical product ¡ ¡ ¡ ¡
6 MOVOR 28 Data transfer after logical sum ¡ ¡ ¡ ¡
7 XMOVB 35 Index modification binary data transfer ¡ ¡ ¡ ¡
8 XMOV 18 Index modification data transfer ¡ ¡ ¡ ¡
Comparison 1 COMPB 32 Binary comparison ¡ ¡ ¡ ¡
(Section 4.6) 2 COMP 15 Comparison ¡ ¡ ¡ ¡
3 COIN 16 Coincidence check ¡ ¡ ¡ ¡
Data search 1 DSCHB 34 Binary data search ¡ ¡ ¡ ¡
(Section 4.7) 2 DSCH 17 Data search ¡ ¡ ¡ ¡
Bit operation 1 DIFU 57 Rising-edge detection ¡ ¡ ¡ ¡
(Section 4.8) 2 DIFD 58 Falling-edge detection ¡ ¡ ¡ ¡
3 EOR 59 Exclusive OR ¡ ¡ ¡ ¡
4 AND 60 Logical AND ¡ ¡ ¡ ¡
5 OR 61 Logical OR ¡ ¡ ¡ ¡
6 NOT 62 Logical NOT ¡ ¡ ¡ ¡
7 PARI 11 Parity check ¡ ¡ ¡ ¡
8 SFT 33 Shift register ¡ ¡ ¡ ¡
Code 1 COD 7 Code conversion ¡ ¡ ¡ ¡
conversion 2 CODB 27 Binary code conversion ¡ ¡ ¡ ¡
(Section 4.9) 3 DCNV 14 Data conversion ¡ ¡ ¡ ¡
4 DCNVB 31 Extended data conversion ¡ ¡ ¡ ¡
5 DEC 4 Decoding ¡ ¡ ¡ ¡
6 DECB 25 Binary decoding ¡ ¡ ¡ ¡
(¡: Usable. ∆: Executed as NOP instruction (Note 1). ×: Unusable.)
- 55 -
2.PMC SPECIFICATIONS B-63983EN/01
Table 2.1.6 (b) Functional instructions for PMCs for the Series 30i-A
(arranged in sequence of instruction group)
30i-A
Instruction Instruction SUB Second Third
Processing DCS
group name No. First PMC PMC PMC
(Note 4)
(option) (option)
Operation 1 ADDB 36 Binary addition ¡ ¡ ¡ ¡
(Section 2 SUBB 37 Binary subtraction ¡ ¡ ¡ ¡
4.10) 3 MULB 38 Binary multiplication ¡ ¡ ¡ ¡
4 DIVB 39 Binary division ¡ ¡ ¡ ¡
5 ADD 19 BCD addition ¡ ¡ ¡ ¡
6 SUB 20 BCD subtraction ¡ ¡ ¡ ¡
7 MUL 21 BCD multiplication ¡ ¡ ¡ ¡
8 DIV 22 BCD division ¡ ¡ ¡ ¡
9 NUMEB 40 Binary constant definition ¡ ¡ ¡ ¡
10 NUME 23 BCD-constant definition ¡ ¡ ¡ ¡
CNC function 1 DISPB 41 Message display ¡ ¡ ¡ ∆
(Section 2 EXIN 42 External data input ¡ ¡ ¡ ∆
4.11) 3 WINDR 51 CNC window data read ¡ ¡ ¡ ∆
4 WINDW 52 CNC window data write ¡ ¡ ¡ ∆
5 AXCTL 53 PMC axis control ¡ ¡ ¡ ∆
Program 1 COM 9 Common line control ¡ ¡ ¡ ¡
control 2 COME 29 End of common line control ¡ ¡ ¡ ¡
(Section 3 JMP 10 Jump ¡ ¡ ¡ ¡
4.12) 4 JMPE 30 End of jump ¡ ¡ ¡ ¡
5 JMPB 68 Label jump 1 ¡ ¡ ¡ ¡
6 JMPC 73 Label jump 2 ¡ ¡ ¡ ¡
7 LBL 69 Label ¡ ¡ ¡ ¡
8 CALL 65 Conditional subprogram call ¡ ¡ ¡ ¡
9 CALLU 66 Unconditional subprogram call ¡ ¡ ¡ ¡
10 SP 71 Subprogram ¡ ¡ ¡ ¡
11 SPE 72 End of subprogram ¡ ¡ ¡ ¡
12 END1 1 End of first-level program ¡ ¡ ¡ ¡
13 END2 2 End of second-level program ¡ ¡ ¡ ¡
14 END3 48 End of third-level program ¡(Note 2) ¡ (Note 2) ¡ (Note 2) ∆ (Note 3)
15 END 64 End of ladder program ¡ ¡ ¡ ¡
16 NOP 70 No operation ¡ ¡ ¡ ¡
Rotation 1 ROT 6 Rotation control ¡ ¡ ¡ ¡
control
(Section 2 ROTB 26 Binary rotation control ¡ ¡ ¡ ¡
4.13)
(¡: Usable. ∆: Executed as NOP instruction (Note 1). ×: Unusable.)
- 56 -
B-63983EN/01 2.PMC SPECIFICATIONS
Table 2.1.6 (c) Functional instructions for PMCs for the Series 30i-A
(arranged in sequence of instruction group)
30i-A
Instruction Instruction SUB Second Third
Processing DCS
group name No. First PMC PMC PMC
(Note 4)
(option) (option)
Invalid 1 SPCNT 46 Spindle control ∆ ∆ ∆ ∆
instruction 2 DISP 49 Message display ∆ ∆ ∆ ∆
(Section 3 MMCWR 98 MMC window data read ∆ ∆ ∆ ∆
4.14) 4 MMCWW 99 MMC window data write ∆ ∆ ∆ ∆
5 PSGNL 50 Position signal output ∆ ∆ ∆ ∆
6 PSGN2 63 Position signal output 2 ∆ ∆ ∆ ∆
7 FNC90 90 Arbitrary-function instruction 1 ∆ ∆ ∆ ∆
8 FNC91 91 Arbitrary-function instruction 2 ∆ ∆ ∆ ∆
9 FNC92 92 Arbitrary-function instruction 3 ∆ ∆ ∆ ∆
10 FNC93 93 Arbitrary-function instruction 4 ∆ ∆ ∆ ∆
11 FNC94 94 Arbitrary-function instruction 5 ∆ ∆ ∆ ∆
12 FNC95 95 Arbitrary-function instruction 6 ∆ ∆ ∆ ∆
13 FNC96 96 Arbitrary-function instruction 7 ∆ ∆ ∆ ∆
14 FNC97 97 Arbitrary-function instruction 8 ∆ ∆ ∆ ∆
(¡: Usable. ∆: Executed as NOP instruction (Note 1). ×: Unusable.)
NOTE
1 These instructions are intended to maintain source-
level compatibility with programs for conventional
models. They are treated as a NOP instruction
(instruction that performs no operation).
2 The 3rd level sequence part is available for the
conpativility with programs for conventional models.
However the execution cycle period of time for
processing the 3rd level sequence part is not
guaranteed. See Section 1.4.3 “Processing priority”.
3 These instructions are intended to maintain source-
level compatibility with programs for other models. A
program can be created on level 3, but it is not
executed.
4 This term stands for the dual-check safety
PMC(option).
- 57 -
2.PMC SPECIFICATIONS B-63983EN/01
Table 2.1.7 (a) Functional instructions for PMCs for the Series 30i-A
30i-A
Instruction SUB
Processing Second PMC Third PMC DCS
name No. First PMC
(option) (option) (Note 4)
END1 1 End of first-level program ¡ ¡ ¡ ¡
END2 2 End of second-level program ¡ ¡ ¡ ¡
TMR 3 Timer processing ¡ ¡ ¡ ¡
DEC 4 Decoding ¡ ¡ ¡ ¡
CTR 5 Counter processing ¡ ¡ ¡ ¡
ROT 6 Rotation control ¡ ¡ ¡ ¡
COD 7 Code conversion ¡ ¡ ¡ ¡
MOVE 8 Data transfer after logical product ¡ ¡ ¡ ¡
COM 9 Common line control ¡ ¡ ¡ ¡
JMP 10 Jump ¡ ¡ ¡ ¡
PARI 11 Parity check ¡ ¡ ¡ ¡
DCNV 14 Data conversion ¡ ¡ ¡ ¡
COMP 15 Comparison ¡ ¡ ¡ ¡
COIN 16 Coincidence check ¡ ¡ ¡ ¡
DSCH 17 Data search ¡ ¡ ¡ ¡
XMOV 18 Index modification data transfer ¡ ¡ ¡ ¡
ADD 19 Addition ¡ ¡ ¡ ¡
SUB 20 Subtraction ¡ ¡ ¡ ¡
MUL 21 Multiplication ¡ ¡ ¡ ¡
DIV 22 Division ¡ ¡ ¡ ¡
NUME 23 Constant definition ¡ ¡ ¡ ¡
TMRB 24 Fixed-timer processing ¡ ¡ ¡ ¡
DECB 25 Binary decoding ¡ ¡ ¡ ¡
ROTB 26 Binary rotation control ¡ ¡ ¡ ¡
CODB 27 Binary code conversion ¡ ¡ ¡ ¡
MOVOR 28 Data transfer after logical sum ¡ ¡ ¡ ¡
COME 29 End of common line control ¡ ¡ ¡ ¡
JMPE 30 End of jump ¡ ¡ ¡ ¡
DCNVB 31 Extended data conversion ¡ ¡ ¡ ¡
COMPB 32 Binary comparison ¡ ¡ ¡ ¡
SFT 33 Shift register ¡ ¡ ¡ ¡
DSCHB 34 Binary data search ¡ ¡ ¡ ¡
XMOVB 35 Index modification binary data transfer ¡ ¡ ¡ ¡
ADDB 36 Binary addition ¡ ¡ ¡ ¡
(¡: Usable. ∆: Executed as NOP instruction (Note 1). ×: Unusable.)
- 58 -
B-63983EN/01 2.PMC SPECIFICATIONS
Table 2.1.7 (b) Functional instructions for PMCs for the Series 30i-A
30i-A
Instruction SUB
Processing Second PMC Third PMC DCS
name No. First PMC
(option) (option) (Note 4)
SUBB 37 Binary subtraction ¡ ¡ ¡ ¡
MULB 38 Binary multiplication ¡ ¡ ¡ ¡
DIVB 39 Binary division ¡ ¡ ¡ ¡
NUMEB 40 Binary constant definition ¡ ¡ ¡ ¡
DISPB 41 Message display ¡ ¡ ¡ ∆
EXIN 42 External data input ¡ ¡ ¡ ∆
MOVB 43 1-byte transfer ¡ ¡ ¡ ×
MOVW 44 2-byte transfer ¡ ¡ ¡ ×
MOVN 45 Transfer of arbitrary number of bytes ¡ ¡ ¡ ¡
SPCNT 46 Spindle control ∆ ∆ ∆ ∆
MOVD 47 4-byte transfer ¡ ¡ ¡ ×
END3 48 End of third-level program ¡(Note 2) ¡ (Note 2) ¡ (Note 2) ∆ (Note 3)
DISP 49 Message display ∆ ∆ ∆ ∆
PSGNL 50 Position signal output ∆ ∆ ∆ ∆
WINDR 51 CNC window data read ¡ ¡ ¡ ∆
WINDW 52 CNC window data write ¡ ¡ ¡ ∆
AXCTL 53 PMC axis control ¡ ¡ ¡ ∆
TMRC 54 Timer processing ¡ ¡ ¡ ¡
CTRC 55 Counter processing ¡ ¡ ¡ ¡
CTRB 56 Counter processing ¡ ¡ ¡ ¡
DIFU 57 Rising-edge detection ¡ ¡ ¡ ¡
DIFD 58 Falling-edge detection ¡ ¡ ¡ ¡
EOR 59 Exclusive OR ¡ ¡ ¡ ¡
AND 60 Logical AND ¡ ¡ ¡ ¡
OR 61 Logical OR ¡ ¡ ¡ ¡
NOT 62 Logical NOT ¡ ¡ ¡ ¡
PSGN2 63 Position signal output 2 ∆ ∆ ∆ ∆
END 64 End of ladder program ¡ ¡ ¡ ¡
CALL 65 Conditional subprogram call ¡ ¡ ¡ ¡
CALLU 66 Unconditional subprogram call ¡ ¡ ¡ ¡
JMPB 68 Label jump 1 ¡ ¡ ¡ ¡
LBL 69 Label ¡ ¡ ¡ ¡
NOP 70 No operation ¡ ¡ ¡ ¡
SP 71 Subprogram ¡ ¡ ¡ ¡
SPE 72 End of subprogram ¡ ¡ ¡ ¡
JMPC 73 Label jump 2 ¡ ¡ ¡ ¡
(¡: Usable. ∆: Executed as NOP instruction (Note 1). ×: Unusable.)
- 59 -
2.PMC SPECIFICATIONS B-63983EN/01
Table 2.1.7 (c) Functional instructions for PMCs for the Series 30i-A
30i-A
Instruction SUB
Processing Second PMC Third PMC DCS
name No. First PMC
(option) (option) (Note 4)
FNC90 90 Arbitrary-function instruction 1 ∆ ∆ ∆ ∆
FNC91 91 Arbitrary-function instruction 2 ∆ ∆ ∆ ∆
FNC92 92 Arbitrary-function instruction 3 ∆ ∆ ∆ ∆
FNC93 93 Arbitrary-function instruction 4 ∆ ∆ ∆ ∆
FNC94 94 Arbitrary-function instruction 5 ∆ ∆ ∆ ∆
FNC95 95 Arbitrary-function instruction 6 ∆ ∆ ∆ ∆
FNC96 96 Arbitrary-function instruction 7 ∆ ∆ ∆ ∆
FNC97 97 Arbitrary-function instruction 8 ∆ ∆ ∆ ∆
MMCWR 98 MMC window data read ∆ ∆ ∆ ∆
MMCWW 99 MMC window data write ∆ ∆ ∆ ∆
(¡: Usable. ∆: Executed as NOP instruction (Note 1). ×: Unusable.)
NOTE
1 These instructions are intended to maintain source-
level compatibility with programs for conventional
models. They are treated as a NOP instruction
(instruction that performs no operation).
2 The 3rd level sequence part is available for the
conpativility with programs for conventional models.
However the execution cycle period of time for
processing the 3rd level sequence part is not
guaranteed. See Section 1.4.3 “Processing priority”.
3 These instructions are intended to maintain source-
level compatibility with programs for other models. A
program can be created on level 3, but it is not
executed.
4 This term stands for the dual-check safety
PMC(option).
- 60 -
B-63983EN/01 2.PMC SPECIFICATIONS
2.2.1 Addresses for Signals Between the PMC and CNC (F, G)
This subsection briefly describes interface addresses. Refer to the
applicable CNC connection manual for details.
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
F0 to F767 F0 to F767 F0 to F767 F0 to F767
F1000 to F1767 F1000 to F1767 F1000 to F1767
F2000 to F2767 F2000 to F2767 F2000 to F2767
F3000 to F3767 F3000 to F3767 F3000 to F3767
F4000 to F4767 F4000 to F4767 F4000 to F4767
F5000 to F5767 F5000 to F5767 F5000 to F5767
F6000 to F6767 F6000 to F6767 F6000 to F6767
F7000 to F7767 F7000 to F7767 F7000 to F7767
F8000 to F8767 F8000 to F8767 F8000 to F8767
F9000 to F9767 F9000 to F9767 F9000 to F9767
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
G0 to G767 G0 to G767 G0 to G767 G0 to G767
G1000 to G1767 G1000 to G1767 G1000 to G1767
G2000 to G2767 G2000 to G2767 G2000 to G2767
G3000 to G3767 G3000 to G3767 G3000 to G3767
G4000 to G4767 G4000 to G4767 G4000 to G4767
G5000 to G5767 G5000 to G5767 G5000 to G5767
G6000 to G6767 G6000 to G6767 G6000 to G6767
G7000 to G7767 G7000 to G7767 G7000 to G7767
G8000 to G8767 G8000 to G8767 G8000 to G8767
G9000 to G9767 G9000 to G9767 G9000 to G9767
- 61 -
2.PMC SPECIFICATIONS B-63983EN/01
First/second/third PMC
The addresses for four channels, X0 to X127, X200 to
X327, X400 to X527, and X600 to X727, can be used
for the signals input to PMCs. Each address is not fixed
at a specific channel. They can be assigned to any
channel. See "I/O Link channel input/output
addresses" in Subsection 2.4.3 for details.
First/second/third PMC
The addresses for four channels, Y0 to Y127, Y200 to
Y327, Y400 to Y527, and Y600 to Y727, can be used
for signals output from PMCs. Each address is not
fixed at a specific channel. They can be assigned to any
channel. See "I/O Link channel input/output
addresses" in Subsection 2.4.3 for details.
- 62 -
B-63983EN/01 2.PMC SPECIFICATIONS
- 63 -
2.PMC SPECIFICATIONS B-63983EN/01
NOTE
1 If the Series 30i-A system is used to control more
than one path, some paths can be grouped to
share data within a group and to stop all the paths
in the group if an alarm condition occurs in one of
the paths. The group is referred to as the machine
group.
The system supports up to 3 machine groups.
Each group has a separate emergency stop signal
address.
2 The emergency stop signal address is common
signal address in a machine group. But other
signals has indivisual address with each path. For
example, in the following configuration, X11.7
does not mean “the common skip signal” in first
PMCs. In second PMCs, it means “the common
skip signal”.
CNC PMC
Path 3
- 64 -
B-63983EN/01 2.PMC SPECIFICATIONS
The following table lists the number of signals (bytes) that can be used
as internal relays.
Signals that interface with other control units can be assigned to these
bytes over the FA network.
Turning on the power clears these areas to 0.
30i-A
First PMC Second PMC Third PMC Dual-check
(option) (option) safety PMC
(option)
Number of User area 8000 1500 1500 1500
bytes System area 500 500 500 500
Address number
7 6 5 4 3 2 1 0
R0
Second PMC First PMC
Third PMC
R1 Dual-check safety
PMC
.
.
.
∼ ∼
R1499
.
.
.
∼ ∼
R7999
R9000
R9001
.
.
.
∼ ∼
R9499
- 65 -
2.PMC SPECIFICATIONS B-63983EN/01
This area holds information necessary for individual ladder levels, such
as the operation results of functional instructions. This information is
saved/restored when the task is switched.
(1) R9000 (operation output register for the ADDB, SUBB, MULB,
DIVB, and COMPB functional instructions)
The result is 0.
The result is negative.
The result has
overflowed.
(2) R9000 (error output for the EXIN, WINDR, and WINDW
functional instructions)
- 66 -
B-63983EN/01 2.PMC SPECIFICATIONS
System timers
Four signals can be used as system timers.
Their specifications are as follows.
7 6 5 4 3 2 1 0
R9091
1 s cyclic signal
(504 ms ON and 496 m OFF)
CAUTION
1 Each signal is initially OFF.
2 The signals R9091.0 and R9091.1 are set at the
beginning of the first ladder level on every cycle.
3 Each pulse signal (ON-OFF signal) has an error of ±8
or 4 ms (ladder execution period).
- 67 -
2.PMC SPECIFICATIONS B-63983EN/01
Using the ladder execution start and stop signals in a ladder program
can detect when the ladder program starts and stops.
Referencing the ladder execution status signal from an external system
or program, such as the network board, C executor program, FOCAS1
Ethernet, or HSSB library, can detect the execution status of the ladder
program.
7 6 5 4 3 2 1 0
R9015
R9015.0: "Ladder execution start
signal" (can be referenced
only from the ladder
program)
R9015.1: "Ladder stop signal" (can be
referenced only from the
ladder program)
7 6 5 4 3 2 1 0
R9091
Signal operation
- 68 -
B-63983EN/01 2.PMC SPECIFICATIONS
- 69 -
2.PMC SPECIFICATIONS B-63983EN/01
CAUTION
Reference this signal only within a ladder program.
Do not reference it from an external system or
program as it indicates the status of ladder execution
separately for each ladder execution level.
- 70 -
B-63983EN/01 2.PMC SPECIFICATIONS
CAUTION
1 Reference this signal only within the ladder program.
Do not reference it from an external system or
program as it indicates the status of ladder execution
separately for each ladder execution level.
2 If the power is turned off or a CNC system alarm
occurs, ladder execution and I/O signal transfer are
immediately stopped for safety purposes. In this
case, therefore, this signal cannot be used.
- 71 -
2.PMC SPECIFICATIONS B-63983EN/01
Input Output
CNC unit
Y0.0
R9015.1 Y0.0 I/O Link slave
I/O Link
- 72 -
B-63983EN/01 2.PMC SPECIFICATIONS
7 6 5 4 3 2 1 0
R9091
- 73 -
2.PMC SPECIFICATIONS B-63983EN/01
The following table lists the number of signals (bytes) that can be used
as extended relays.
Extended relays can be used in the same manner as for internal relays.
Turning on the power clears this area to 0.
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Number of bytes 10000 10000 10000 -
Address number
7 6 5 4 3 2 1 0
E0
E1
.
.
.
∼ ∼
E9999
NOTE
The extended relay addresses (E) can be optionally
configured as nonvolatile. When they are
nonvolatile, turning off the power does erase the
memory contents.
- 74 -
B-63983EN/01 2.PMC SPECIFICATIONS
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Display
Number of 250 250 250 250
request
bytes
Status display 250 250 250 250
Display
Number of 2000 2000 2000 2000
request
messages
Status display 2000 2000 2000 2000
Address number
7 6 5 4 3 2 1 0
A0
Message display request
A1
.
.
.
∼ ∼
A249
A9000
Message status display
A9001
.
.
.
∼ ∼
A9249
- 75 -
2.PMC SPECIFICATIONS B-63983EN/01
These addresses are an area for variable timers used with the TMR
instruction and an area for the precision of the variable timers.
The following table lists how many timers can be used (number of
timers = number of bytes/2).
The number of timer precision values matches that of the timers.
Turning off the power does not cause the memory contents to be erased
because these areas are nonvolatile memory.
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Number of bytes 500 80 80 80
Number of timer
500 80 80 80
precision(bytes)
Number of timers 250 40 40 40
Address number
7 6 5 4 3 2 1 0 Variable
timer
T0
Second PMC First PMC
T1 Third PMC
Dual-check
safety PMC
.
. ∼ ∼
.
T79
.
. ∼ ∼
.
T499
Variable-timer
T9000 precision
Second PMC First PMC
T9001 Third PMC
Dual-check
safety PMC
.
. ∼ ∼
.
T9079
.
. ∼ ∼
.
T9499
- 76 -
B-63983EN/01 2.PMC SPECIFICATIONS
These addresses are an area for variable counters used with the CTR
instruction and an area for fixed counters used with the CTRB
instruction.
The numbers of the counters that can be used are:
The number of variable counters = number of bytes/4
The number of fixed counters = number of bytes/2
Turning off the power does not cause the memory contents to be erased
because these areas are nonvolatile memory.
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Number of
400 80 80 80
Variable bytes
counters Number of
100 20 20 20
counters
Number of
200 40 40 40
Fixed bytes
counters Number of
100 20 20 20
counters
- 77 -
2.PMC SPECIFICATIONS B-63983EN/01
Address number
7 6 5 4 3 2 1 0
C0 Variable
Second PMC First PMC
C1
Preset value counter
Third PMC
Counter Dual-check
C2 No. 1 safety PMC
Cumulative value
C3
.
.
.
∼ ∼
C76
Preset value
C77
Counter
C78 No. 20
Cumulative value
C79
.
.
.
∼ ∼
C396
Preset value
C397 Counter
No. 100
C398
Cumulative value
C399
C5000 Fixed
Second PMC First PMC
C5001
Cumulative value counter
Third PMC
Dual-check
. safety PMC
.
.
∼ ∼
C5038
Cumulative value
C5039
.
.
.
∼ ∼
C5198
Cumulative value
C5199
- 78 -
B-63983EN/01 2.PMC SPECIFICATIONS
These addresses are areas for keep relays and PMC parameters.
The following table lists the number of bytes that can be used. It also
lists information related to the nonvolatile memory control addresses
and the area (system area) used by the management software.
Turning off the power does not cause the memory contents to be erased
because these areas are nonvolatile memory.
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Number of User area 100 20 20 20
bytes System area 100 100 100 100
Nonvolatile memory control
K909 K909 K909 K909
address
Area used by the
K900 to K999 K900 to K999 K900 to K999 K900 to K999
management software
Address number
7 6 5 4 3 2 1 0
K0
Second PMC First PMC
Third PMC
K1 Dual-check
safety PMC
.
.
.
∼ ∼
K19
.
.
.
∼ ∼
K99
K900
K901
.
.
.
∼ ∼
K999
- 79 -
2.PMC SPECIFICATIONS B-63983EN/01
#7 #6 #5 #4 #3 #2 #1 #0
K909 MWRTF2 MWRTF
- 80 -
B-63983EN/01 2.PMC SPECIFICATIONS
The following table lists the keep relay area used by the system (PMC
management software).
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Area used by the
K900 to K999 K900 to K999 K900 to K999 K900 to K999
management software
Explained below is the meaning of each bit of the system keep relay
address. The bits and addresses left unused are reserved for use by the
system.
The system keep relays indicated with an asterisk (*) can be set up,
using setting parameters.
#7 #6 #5 #4 #3 #2 #1 #0
K900 DTBLDSP MEMINP AUTORUN PRGRAM LADMASK
NOTE
Using the override function requires setting "Override
enable" (K906.0).
- 81 -
2.PMC SPECIFICATIONS B-63983EN/01
#7 #6 #5 #4 #3 #2 #1 #0
K901 IGNDINT EDTENBL
#7 #6 #5 #4 #3 #2 #1 #0
K902 PROTPRM HIDEPRM IOLKRTRY ALLWSTOP FROM-WRT
- 82 -
B-63983EN/01 2.PMC SPECIFICATIONS
#7 #6 #5 #4 #3 #2 #1 #0
K906 SRCST EOUTPUT IOLNKCHK IOGRPSEL OVRRID
NOTE
Using the override function requires setting "Memory
write permit" (K900.4).
#7 #6 #5 #4 #3 #2 #1 #0
K909 MWRTF2 MWRTF LASER_IO
- 83 -
2.PMC SPECIFICATIONS B-63983EN/01
Example:
A0.0 0×8+0 = 0
A249.7 249 × 8 + 7 = 1999
#7 #6 #5 #4 #3 #2 #1 #0
K920 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
#7 #6 #5 #4 #3 #2 #1 #0
K921 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
#7 #6 #5 #4 #3 #2 #1 #0
K922 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
#7 #6 #5 #4 #3 #2 #1 #0
K923 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
#7 #6 #5 #4 #3 #2 #1 #0
K924 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
- 85 -
2.PMC SPECIFICATIONS B-63983EN/01
#7 #6 #5 #4 #3 #2 #1 #0
K925 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
#7 #6 #5 #4 #3 #2 #1 #0
K926 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
#7 #6 #5 #4 #3 #2 #1 #0
K927 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
- 86 -
B-63983EN/01 2.PMC SPECIFICATIONS
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Number of bytes 10000 3000 3000 3000
- 87 -
2.PMC SPECIFICATIONS B-63983EN/01
Address number
7 6 5 4 3 2 1 0
D0
Data held separately Second PMC First PMC
Third PMC
∼ from data table ∼ D1 Dual-check
(address D)
safety PMC
.
.
.
∼ ∼
D2999
.
.
.
∼ ∼
D9999
NOTE
In some cases, the start address of a data table is
odd. If an odd number of 1-byte data tables are
created, for example, the start address of the next
data table may be odd. This setting is acceptable.
However, an even start address assures faster
operations than an odd start address. We
recommend you use even start addresses whenever
possible.
- 88 -
B-63983EN/01 2.PMC SPECIFICATIONS
Number of table n
groups
Table parameter
Data type
Table group 1
control data
Number of data items
Table parameter
Table parameter
Data type
Table group n
control data
Number of data items
Intra-table number
0 Data
1 Table group n
: (Note) n1, n2, and np are the last
np intra-table number of the
respective data tables.
- 89 -
2.PMC SPECIFICATIONS B-63983EN/01
#7 #6 #5 #4 #3 #2 #1 #0
SIGN HEX MASK COD
COD
0: Data in the data table is in binary form.
1: Data in the data table is in BCD form.
MASK
0: The contents of the data table is not protected.
1: The contents of the data table is protected.
HEX
0: Data in the data table is in binary or BCD form.
1: Data in the data table is in HEX form.
SIGN
0: Data in the data table is signed.
1: Data in the data table is unsigned.
NOTE
1 The setting of COD (bit 0) is valid if HEX (bit 2) = 0.
2 The setting of SIGN (bit 3) is valid if COD (bit 0) = 0
and HEX (bit 2) = 0.
- 90 -
B-63983EN/01 2.PMC SPECIFICATIONS
Intra-table number
Table group 1
(1-byte data)
Table group 2
(2-byte data)
- 91 -
2.PMC SPECIFICATIONS B-63983EN/01
NOTE
The sequence program can also read and write the
data table.
- 92 -
B-63983EN/01 2.PMC SPECIFICATIONS
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
Number of subprograms 5000 512 512 512
- 93 -
2.PMC SPECIFICATIONS B-63983EN/01
30i-A
Second PMC Third PMC Dual-check
First PMC
(option) (option) safety PMC
Number of labels 9999 9999 9999 9999
- 94 -
B-63983EN/01 2.PMC SPECIFICATIONS
(1) Timer
This parameter specifies a timer value.
It is possible to set and display the timer value on the TIMER
screen.
The sequence program can read and write the timer setting.
(2) Counter
This parameter is used for a counter preset value and cumulative
value. It is possible to set and display these values on the
COUNTER screen. Sequence program instructions can also read
and write these settings. See Subsection 2.2.8 for details of the
counter addresses.
Counter data is two bytes in ether BCD or binary form. Higher-
order bits are held at higher addresses. Whether the counter
address is BCD or binary is determined according to the
corresponding PMC system parameter.
The default setting is binary form.
- 95 -
2.PMC SPECIFICATIONS B-63983EN/01
All data in the nonvolatile memory can be read and written with the
sequence program. The memory from which the sequence program
reads and to which it writes is not nonvolatile in effect. It has the same
data as in the nonvolatile memory in a form of nonvolatile memory
image (RAM). For this reason, turning off the power lets the data of
nonvolatile memory image disappear. However, data is sent from the
nonvolatile memory as nonvolatile memory image immediately after
the power is resumed, thus restoring the previous data correctly.
If the sequence program rewrites the nonvolatile memory image, the
changed data is automatically sent to the nonvolatile memory.
Data at more than one address in the nonvolatile memory image can be
rewritten at any time. The changed data is automatically sent to the
nonvolatile memory.
Therefore, reading from and writing to the nonvolatile memory with
the sequence program does not require any special processing. Writing
to the nonvolatile memory takes time (about 100 ms), however.
- 96 -
B-63983EN/01 2.PMC SPECIFICATIONS
30i-A
Dual-check
Second PMC Third PMC
First PMC Safety PMC
(option) (option)
(option)
xxx 30i-A 30i-A 30i-A 30i-A
n 1 2 3 9
(Example)
N600000 P1; (Timer number 1 T0)
N600002 P20; (Timer number 2 T2)
.
N600498 P32767; (Timer number 250 T498)
NOTE
At present, N609000 to N609xxx are a reserved
area, and P0 is set up for it.
- 97 -
2.PMC SPECIFICATIONS B-63983EN/01
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
xxx 498 038 038 038
(Example)
N610000 P7; (Counter number 1 C0)
N610002 P7; ( C2)
.
N610396 P9999; (Counter number 100 C396)
N610398 P0; ( C398)
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
xxx 398 078 078 078
nnn 198 038 038 038
- 98 -
B-63983EN/01 2.PMC SPECIFICATIONS
(Example)
N620000 P00000000; (K0)
N620001 P11111111; (K1)
.
N620099 P10101010; (K99)
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
xx 99 19 19 19
- 99 -
2.PMC SPECIFICATIONS B-63983EN/01
(Example)
N630000 P2;
N630002 P00000000;
N630003 P0;
N630004 P10;
N630006 P0;
N630010 P00000001;
N630011 P0;
N630012 P10;
N630014 P10;
"xxxxx" and "nnnn" indicating a range can take the values listed
below.
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
xxxxx 10000 3000 3000 3000
nnnn 9999 2999 2999 2999
- 100 -
B-63983EN/01 2.PMC SPECIFICATIONS
(Example)
N640000 P-128;
N640001 P100;
N640002 P0;
.
N640010 P1000;
N640012 P-1;
.
N649992 P50000000;
N649996 P50000000;
30i-A
Dual-check
Second PMC Third PMC
First PMC safety PMC
(option) (option)
(option)
nnnn 9999 2999 2999 2999
- 101 -
2.PMC SPECIFICATIONS B-63983EN/01
NOTE
1 E address is output in the first PMC parameter.
2 Setting keep relay K906.3 to 1 disables the E
address from being output.
- 102 -
B-63983EN/01 2.PMC SPECIFICATIONS
The parameters set up on the PMC SETTING screen are called the
setting parameters. Part of the system keep relays described earlier can
be set up using setting parameters.
This subsection describes the setting parameters for each setup menu.
See Section 9.8 for explanations about the setting screen and how to
use it.
NOTE
Using the override function requires setting "Override
enable" (K906.0).
- 103 -
2.PMC SPECIFICATIONS B-63983EN/01
NOTE
Using the override function requires setting "Memory
write permit" (K900.4).
- 104 -
B-63983EN/01 2.PMC SPECIFICATIONS
See Section 3.3 for the selectable I/O Link assignment function.
- 105 -
2.PMC SPECIFICATIONS B-63983EN/01
- 106 -
B-63983EN/01 2.PMC SPECIFICATIONS
See Section 3.3 for explanations about the selectable I/O Link
assignment function.
- 107 -
2.PMC SPECIFICATIONS B-63983EN/01
The CNC parameters related to the PMCs can be divided into those for
controlling communication with FANUC LADDER-III and ladder
editing package and those for setting up the PMCs.
Table 2.4.3 (a) Summary of the CNC parameters related to the PMCs
No. Use Remarks
24 Setting up communication with PMC online connection
ladder development tools function
11900 to Execution sequence for multiple First PMC to Third PMC
11902 PMCs
11905 to Percent execution time for First PMC to Third PMC
11907 multiple PMCs
11910 to I/O Link input/output address Channels 1 to 4
11913
11920 to CNC interface control address CNC10 system
11929
11930 Ladder 1 level execution period First PMC to Third PMC
11931#1 Run/stop of Ladder First PMC to Third PMC
- 108 -
B-63983EN/01 2.PMC SPECIFICATIONS
Communication parameters
NOTE
1 The setting of this parameter is put into effect when it
is changed or the power is turned on. It is
unnecessary to turn the power off and on again after
the parameter is re-set.
2 The setting changed on the PMC online setup screen
is not reflected to this parameter.
3 As for the RS-232C, the communication settings,
such as a baud rate, specified on the PMC online
setup screen are valid. The valid settings are a baud
rate of 9600 bps, no parity, and two stop bits if no
change has been made on the PMC online setup
screen since installation.
- 109 -
2.PMC SPECIFICATIONS B-63983EN/01
NOTE
Once any of these parameters is re-set, it is
necessary to turn the power off and on again.
Setting PMC
0 Standard setting (see below)
1 First PMC
2 Second PMC
3 Third PMC
Second
First PMC PMC Third PMC
CAUTION
If any of these parameters is nonzero, a duplicate or
missing number results in the PMC alarm "ER50
PMC EXECUTION ORDER ERROR", thus disabling
all the PMCs from starting.
- 110 -
B-63983EN/01 2.PMC SPECIFICATIONS
Percent execution time for the PMC having the first priority in execution
11905
sequence
Percent execution time for the PMC having the second priority in execution
11906
sequence
Percent execution time for the PMC having the third priority in execution
11907
sequence
NOTE
Once any of these parameters is re-set, it is
necessary to turn the power off and on again.
This item specifies the percent execution time for each PMC if the
multi-PMC function is used.
When all these parameters are 0, the standard execution time settings
listed below are used.
Table 2.4.3 (b) Standard settings of the percent execution time for
multiple PMCs
PMC PMC PMC
having the having the having the
Multi-PMC configuration
first second third
priority priority priority
First PMC only 100%
First and second PMCs 85% 15%
First and third PMCs 85% 15%
First, second, and third PMCs 75% 15% 10%
NOTE
1 If these parameters are set to too low a value, it may
be impossible to start the first level on every scan.
2 Even if you input the same program in both second
and thrid PMC, the scan time of both programs may
not correspond because of changing of the waiting
time by execution timming.
3 If the sum of these parameter settings exceeds 100,
the PMC alarm "ER51 PMC EXECUTION
PERCENTAGE ERROR" occurs, thus disabling all
PMC from starting.
- 111 -
2.PMC SPECIFICATIONS B-63983EN/01
NOTE
Once any of these parameters is re-set, it is
necessary to turn the power off and on again.
- 112 -
B-63983EN/01 2.PMC SPECIFICATIONS
If all these parameters are 0, all channels are assigned to the first PMC
(standard setting) as shown below.
First PMC
Channel 1
X/Y0 to X/Y127
Channel 2
X/Y200 to X/Y327
Channel 3
X/Y400 to X/Y527
Channel 4
X/Y600 to X/Y727
Fig. 2.4.3 (b) Standard input/output address setting for the I/O Link
channel
CAUTION
1 If any of these parameters is nonzero, a duplicate
number results in the PMC alarm "ER52 IOLink
CHANNEL ASSIGNMENT ERROR", thus disabling
all the PMCs from starting.
2 If these parameters are not set up in part, it is
impossible to assign a PMC address to the related
channel.
- 113 -
2.PMC SPECIFICATIONS B-63983EN/01
CNC-PMC interface
NOTE
Once any of these parameters is re-set, it is
necessary to turn the power off and on again.
Second PMC
Second-PMC F/G address
Third PMC
Third-PMC F/G address
- 114 -
B-63983EN/01 2.PMC SPECIFICATIONS
- 115 -
2.PMC SPECIFICATIONS B-63983EN/01
If all these parameters are 0, the standard setting is used, that is, "CNC
F/G address = first-PMC F/G address" is satisfied.
F/G1000 to F/G1767 for the CNC F/G1000 to F/G1767 for the first PMC
F/G2000 to F/G2767 for the CNC F/G2000 to F/G2767 for the first PMC
F/G3000 to F/G3767 for the CNC F/G3000 to F/G3767 for the first PMC
F/G4000 to F/G4767 for the CNC F/G4000 to F/G4767 for the first PMC
F/G5000 to F/G5767 for the CNC F/G5000 to F/G5767 for the first PMC
F/G6000 to F/G6767 for the CNC F/G6000 to F/G6767 for the first PMC
F/G7000 to F/G7767 for the CNC F/G7000 to F/G7767 for the first PMC
F/G8000 to F/G8767 for the CNC F/G8000 to F/G8767 for the first PMC
F/G9000 to F/G9767 for the CNC F/G9000 to F/G9767 for the first PMC
CAUTION
1 If any of these parameters is nonzero, a duplicate
number results in the PMC alarm "ER54 NC-PMC I/F
ASSIGNMENT ERROR", thus disabling all the PMCs
from starting.
2 If these parameters are not set up in part, it is
impossible to assign a PMC address to the related
CNC F/G address.
- 116 -
B-63983EN/01 2.PMC SPECIFICATIONS
NOTE
Once this parameters is re-set, it is necessary to turn
the power off and on again.
Setting Meaning
4 Executed at a 4-ms interval.
0, 8 Executed at an 8-ms interval.
CAUTION
1 Setting this parameter to a value other than 0, 4, or 8
results in the PMC alarm "ER55 LEVEL1
EXECUTION CYCLE ERROR", thus disabling all
PMCs from starting.
#7 #6 #5 #4 #3 #2 #1 #0
11931 PPC
NOTE
Once this parameters is re-set, it is necessary to turn
the power off and on again.
- 117 -
2.PMC SPECIFICATIONS B-63983EN/01
Table 2.5.1 Compatibility with the PMCs for the Series 16i/18i/21i-MODEL B
30i-A
First PMC Second PMC Third PMC Dual-check
Model
(option) (option) safety PMC
(option)
PMC-SA1 ¡ ¡ ¡ ¡
PMC-SB7 ¡ ▲ ▲ ▲
(¡: Upward-compatible. ▲: Partly compatible)
(1) For the Series 16i/18i/21i –MODEL B, the first level execution
period is fixed at 8 ms. For the Series 30i-MODEL A, however, it
can be switched between 4 and 8 ms, using a CNC parameter.
(2) For the PMC-MODEL SB7, the basic instruction execution speed
is 33 ns/step. For the PMCs for the Series 30i-MODEL A, it is 25
ns/step.
(3) As the execution speed of instructions become fast, the following
items about execution timing may be changed.
- The execution cycle of both first and second level of ladder
- The timing of the execution cycle of first level of ladder
according to the partition of second level ladder
- The timing between ladder execution and I/O transfer
The working test of the machine is necessary.
(4) The used size of system and symbol/comment are changed.
Generally, the program size for S30i PMC becomes bigger than
one for PMC-SB7 even if the same source program is converted.
If the program size exceed the capacity of the flash ROM, please
change the ladder step option or reduce the symbol and comment.
(5) For the PMC-MODEL SA1 and PMC-MODEL SB7, the timer
precision defined with the TMR functional instruction is fixed at a
certain value. For the PMCs for the Series 30i-MODEL A, the
timer precision can be set up for each timer number separately.
See Subsection 4.3.1 for details.
- 118 -
B-63983EN/01 2.PMC SPECIFICATIONS
The PMCs for the Series 30i-MODEL A have a smaller address range
than the models indicated as "Partly compatible" in Table 2.5.1. So the
parameters prepared for these models can be loaded partly into the
PMCs for the Series 30i-MODEL A. Any data that does not fit the
address range is discarded.
See Subsection 2.3.2.
- 119 -
2.PMC SPECIFICATIONS B-63983EN/01
The PMCs for the Series 30i-MODEL A are compatible with the
PMC-MODEL NB6 for the Series 15i-MODEL A/B with respect to
instructions on the source level except for some functions. The
specifications of these functions have been changed, thus requiring
modification in transporting programs. In addition, the arrangement
and specifications of the DI/DO signals (addresses G and F) used with
the CNC vary between the 30i- MODEL A and 15i-MODEL A/B. For
their sequences, it is necessary to modify signal addresses and control
logic.
(1) For the Series 15i-MODEL A/B, the first level execution period is
fixed at 8 ms. For the Series 30i-MODEL A, however, it can be
switched between 4 and 8 ms, using a CNC parameter.
(2) For the PMC-MODEL NB6, the basic instruction execution speed
is 85 ns/step. For the PMCs for the Series 30i-MODEL A, it is 25
ns/step.
(3) As the execution speed of instructions become fast, the following
items about execution timing may be changed.
- The execution cycle of both first and second level of ladder
- The timing of the execution cycle of first level of ladder
according to the partition of second level ladder
- The timing between ladder execution and I/O transfer
The working test of the machine is necessary.
- 120 -
B-63983EN/01 2.PMC SPECIFICATIONS
- 121 -
2.PMC SPECIFICATIONS B-63983EN/01
When you want to change ladder from old PMC to S30i-A PMC, you
can convert the source program using FANUC LADDER-III. Please
refer to following manual for details.
ii) Change the system parameters in the mnemonic file for PMC-SB7
by text editor. (“4 PMC-SB7” -> “4 30i-A PMC”)
If the mnemonic file has insufficient parameters for S30i-A first PMC
from PMC-SB7, the initial values are set with conversion for the source
program.
The mnemonic file format of the system parameter for S30i-A first
PMC is as follows.
%@0
2 BINARY 2 : Counter type ( BINARY or BCD )
3 NO 3 : Operator panel ( YES or NO )
4 30i-A PMC 4 : PMC type ( 30i-A PMC )
31 1 31: Number of display language (comment) ( 1-16 )
32 -1 32: CNC display language number 1 ( -1, 0-127 )
33 0 33: Comment set number 1 ( 0-16 )
%
iii) Create a new LAD file for S30i-A first PMC by FAPT
LADDER-III.
- 122 -
B-63983EN/01 3.I/O LINK
3 I/O LINK
- 123 -
3.I/O LINK B-63983EN/01
NOTE
1 To use channels 2 to 4 of the I/O Link, the I/O Link
point expansion option is required for each channel.
2 The transfer cycle of signals from I/O devices is 2
ms with channels 1 and 2, or 4 or 8 ms (execution
cycle of the first ladder level) with channels 3 and 4.
- 124 -
B-63983EN/01 3.I/O LINK
Slaves
Group 0
I/O Link
master
Group 1
Operator's panel
connection unit
Group 2
Power Mate
: : : : :
: : : : :
Group 15
(1) The I/O Link consists of one master and multiple slaves.
Master: CNC (such as Series 30i-A)
Slaves: I/O Unit-MODEL A, Power Mate, operator's panel
connection unit, and other devices
(2) Up to 16 groups of slaves can be connected to one I/O Link.
Group numbers 0 to 15 are sequentially assigned. Number 0 is
assigned to the group nearest to the master.
The number of connected slaves in a group differs depending on
the types of slaves.
(3) Any slave can be connected in any group. One group must
consist of slaves of the same type, however.
- 125 -
3.I/O LINK B-63983EN/01
NOTE
1 Turn the power to the slaves and master on
simultaneously or turn the power to the slaves on
before turning the power to the master.
2 When turning the power to the master off, also turn
the power to all slaves off. Turn the power to all
slaves on again before turning the power to the
master on or turn the power to all slaves and the
master on simultaneously. Turn the power to the
master on after turning the power to all slaves on or
turn the power to the master and all slaves on
simultaneously.
3 For the maximum number of slaves per group that
can be connected, refer to the hardware connection
manual for each I/O device used as a slave.
- 126 -
B-63983EN/01 3.I/O LINK
3.1.2 Numbers of Input Points and of Output Points of the I/O Link
The I/O Link has up to 1024 input points and up to 1024 output points
for each channel when viewed from the master. These I/O points can
be assigned to each slave to periodically pass I/O data between the
master and each slave.
Each slave occupies the predetermined number of I/O points.
The total number of I/O points occupied by all slaves connected to one
channel is up to 1024 points (128 bytes) for each of input and output.
The number of I/O points occupied by one group is up to 256 points
(32 bytes) for each of input and output.
NOTE
The number of occupied I/O points may differ from
the actual number of I/O points. For example, if the
number of input points is smaller than or equal to that
of output points for a group, the number of input
points is assumed equal to that of output points. For
this reason, when the number of input points for the
actually connected hardware components is 128 and
that of output points is 256, the number of occupied
input points is assumed to be 256 because there is
the following relationship between the numbers of
input points and of output points:
128 (number of input points) ≤ 256 (number of
output points)
For more specific rules, see Section 3.2.
- 127 -
3.I/O LINK B-63983EN/01
I/O devices can roughly be divided into the following three types
according to the method for specifying the connection location.
NOTE
For detailed information on settings, see Subsections
3.2.2 and 3.2.6.
- 128 -
B-63983EN/01 3.I/O LINK
NOTE
1 Assign the start byte of an analog input module
(AD04A) or analog output module (DA02A) to an
even input address (X ) or even output address
(Y ).
2 Always read an A/D converted digital value from an
input address (X ) or write a digital value to be
converted to an analog value to an output address
(Y ) in word (16-bit) units.
For details of the assignment method, see the assignment method for
each I/O device described later.
When you want to set assignment data using the I/O module screen,
for required operations, see Section 9.4.
- 129 -
3.I/O LINK B-63983EN/01
- 130 -
B-63983EN/01 3.I/O LINK
- 131 -
3.I/O LINK B-63983EN/01
NOTE
1 For the specifications and connection of each I/O
device, refer to the relevant hardware connection
manual.
2 For the assignment method for each I/O device, see
Subsections 3.2.1 to 3.2.8.
3 As assignment data for a handy machine operator's
panel, assign multiple module names successively.
For details, see Subsection 3.2.6.
- 132 -
B-63983EN/01 3.I/O LINK
Figs. 3.2.1 (a) and 3.2.1 (b) show sample configurations of I/O Unit-
MODEL A.
Slot 1
Slot 2
Slot 3
Slot 4
Slot 5
Slot 1
Slot 2
Slot 3
Slot 4
Slot 5
F F
0 0
1 1
A B
Base 0 Base 1
Slot 1
Slot 2
Slot 3
Slot 4
Slot 5
F F
0 0
1 1
A B
Base 0 Base 1
Slot 1
Slot 2
Slot 3
Slot 4
Slot 5
F F
0 0
1 1
A B
Base 0 Base 1
Base 0
Group 3
Power Mate
Base 0
- 133 -
3.I/O LINK B-63983EN/01
Assignment method
- 134 -
B-63983EN/01 3.I/O LINK
NOTE
For I/O Unit-MODEL A, when assigning 3, 5, 6, or 7
bytes, change the module name as follows.
Do not use IO24I, /3, /5, /6, or /7 as a module name.
Module names
Before change → After change
IO24I → /4
/3 → /4
/5 → /8
/6 → /8
/7 → /8
NOTE
When obtaining the number of points, assume that
the number of points required for AOA05E is 8 and
that of points required for AOA12F is 16.
- 135 -
3.I/O LINK B-63983EN/01
NOTE
For the specifications and connection of I/O Unit-
MODEL A and related I/O modules, refer to the
hardware connection manual for each I/O device.
- 136 -
B-63983EN/01 3.I/O LINK
I/O Unit-MODEL B can be used together with I/O Link devices such
as the Power Mate, operator's panel interface unit, connection unit,
and I/O Unit-MODEL A. In this case, I/O Unit-MODEL B comprises
one group and other units cannot be contained in the group.
An example of connection is shown below.
I/O LINK
MASTER
[GROUP] = 0
Power Mate
[BASE] = 0, [SLOT] = 1
[GROUP] = 1
Operator's panel
interface unit
[BASE] = 0, [SLOT] = 1
[GROUP] = 2
[BASE] = 0 [BASE] = 1
I/O Unit-B
interface unit
I/O Unit-B I/O Unit-B
DI/DO unit DI/DO unit
(Unit No. = 1) (Unit No. = 20)
- 137 -
3.I/O LINK B-63983EN/01
Assignment method
As the group number, set the group number used in the configuration.
As the base number, always set 0. As the slot number, set the unit
number of a DI/DO unit of I/O Unit-MODEL B. To assign power on-
off information, set 0 for the slot number.
Set the following values for the slot number and assignment name:
Slot number: 0: Power on-off information
1 to 30: Unit number
Assignment name: Module name representing the address
occupied by the I/O Unit-MODEL B
DI/DO unit (see Table 3.2 (b).)
Number of input or
output points required
Assignment name Occupied address
for [basic unit] +
[expansion unit]
1 byte #1 1 byte for input/output
2 bytes #2 2 bytes for input/output
3 bytes #3 3 bytes for input/output
4 bytes #4 4 bytes for input/output
6 bytes #6 6 bytes for input/output
8 bytes #8 8 bytes for input/output
10 bytes #10 10 bytes for input/output
Power on-off information ## 4 bytes for input
Example of setting
NOTE
When channels 2 to 4 are also used to connect I/O
devices, the maximum total number of groups used
for connecting I/O Unit-MODEL B with channels 1 to
4 is 8.
- 138 -
B-63983EN/01 3.I/O LINK
Slot 1
Slot 2
Slot 3
Slot 4
Slot 5
Slot 1
Slot 2
Slot 3
Slot 4
Slot 5
F F
0 0
2 1
C B
Group 1
Group 2
Operator's panel
connection unit
NOTE
For details of the AIF02C, refer to "FANUC I/O Unit-
MODEL A Connection and Maintenance Manual" (B-
61813E).
NOTE
For the setting of each I/O Unit-MODEL B unit and
the specifications and connection of related I/O
modules, refer to the hardware connection manual for
each I/O device in addition to the above connection
manual.
- 139 -
3.I/O LINK B-63983EN/01
Example of assignment
Example)
CNC
JD1A
Operator's panel
I/O module
A20B-2002-0470
JD1B
JD1A
- 140 -
B-63983EN/01 3.I/O LINK
- 141 -
3.I/O LINK B-63983EN/01
CAUTION
Always connect expansion modules 1, 2, and 3 in this
order closely when required. Any intermediate
expansion module cannot be skipped.
Basic
module
JD1B
JD1A
- 142 -
B-63983EN/01 3.I/O LINK
Basic Expansion
module module 1
JD1B
JD1A
- 143 -
3.I/O LINK B-63983EN/01
- 144 -
B-63983EN/01 3.I/O LINK
Operator's panel
I/O module
JD1B
JD1A
- 145 -
3.I/O LINK B-63983EN/01
48 input points
32 output points
Operator's panel
I/O module
JD1B
JD1A
Operator's panel
I/O module
JD1B
JD1A
- 146 -
B-63983EN/01 3.I/O LINK
I/O LINK
MASTER
[GROUP] = 0
Operator's panel
interface unit
[BASE] = 0, [SLOT] = 1
[GROUP] = 1
Power Mate
[BASE] = 0, [SLOT] = 1
Assignment method
For the group number, set the group number used in the configuration.
For the base number, always set 0.
For the slot number, always set 1.
NOTE
1 Assign input and output module names with the
same number of points.
2 For the I/O Link β amplifier, assign OC02I/OC02O.
Examples of settings
To connect Power Mate-D with 256/256 points in group 1:
Enter 1.0.1.OC03I for input and 1.0.1.OC03O for output.
- 147 -
3.I/O LINK B-63983EN/01
(a)
I/O Unit ↔ I/O Unit
Model A Model A
- 148 -
B-63983EN/01 3.I/O LINK
I/O Link
connection unit
Assignment method
Example of setting
NOTE
For details of the hardware connection method,
particularly connection of a power supply, refer to the
hardware connection manual for each related
master/slave device.
- 149 -
3.I/O LINK B-63983EN/01
Operator's panel
Group 1
connection unit
Assignment method
- 150 -
B-63983EN/01 3.I/O LINK
- 151 -
3.I/O LINK B-63983EN/01
An I/O Link-AS-i converter unit converts I/O from the I/O Link to the
AS-Interface (called AS-i below) to enable the use of AS-i slave
module DI/DO signals as a standalone unit.
The AS-i comes in two main versions: Ver 2.0 and Ver 2.1. Two
types of I/O Link-AS-i converter units are available for each of these
versions.
An I/O Link-AS-i converter unit for Ver 2.0 differs from that for Ver
2.1 in the following points.
Group 1
Operator's panel
connection unit
For the group number ([GROUP]), set the group number used in the
configuration. (Set 0 for the above example of connection.)
For the base number ([BASE]), always set 0.
For the slot number ([SLOT]), always set 1.
An I/O Link-AS-i converter unit occupies 256 points (32 bytes) for
both input and output. Therefore, the assignment names are as
follows.
Group 2
Operator's panel
connection unit
For the group number ([GROUP]), set the numbers for two contiguous
groups in the configuration. Set 0 and 1 for the above example of
connection.
For the base number ([BASE]), always set 0.
For the slot number ([SLOT]), always set 1.
An I/O Link-AS-i converter unit occupies 512 points for both input
and output, 256 points (32 bytes) per group. Therefore, the
assignment names per group are the same as for an I/O Link-AS-i
converter unit for Ver 2.0. Set the same assignment names for each
occupied group number.
NOTE
An I/O Link-AS-i converter unit for Ver 2.1 cannot be
used as a converter unit for Ver 2.0 with assignment
data for Ver 2.0.
- 153 -
3.I/O LINK B-63983EN/01
CNC
- 154 -
B-63983EN/01 3.I/O LINK
- 155 -
3.I/O LINK B-63983EN/01
Fig. 3.2.8 (d) Machine operator's panel for the 0-TC full-keyboard 9-inch CRT/MDI unit
- 156 -
B-63983EN/01 3.I/O LINK
Fig. 3.2.8 (e) Machine operator's panel for the 0-MC full-keyboard 9-inch CRT/MDI unit
- 157 -
3.I/O LINK B-63983EN/01
Example of connection
CNC
MAIN CPU
I/O Link I/O unit FS0 operator's panel
JD1A
JD1B DI M1A
(I/O Link)
module
CP32
PSU DO M2A
CP6 JD1A module
Assignment method
For the group number ([GROUP]), set the group number used in the
configuration.
For the base number ([BASE]), always set 0.
For the slot number ([SLOT]), always set 1.
For the above example of connection, the FS0 operator's panel
occupies 32 points (4 bytes) for both input and output. Therefore, the
assignment names are as follows.
- 158 -
B-63983EN/01 3.I/O LINK
For these signals, the relevant key-operated switch contact signals are
directly input to the PMC. Directly process these signals with a PMC
ladder program.
For connection, refer to the section describing the interface between
the CNC and PMC in the CNC connection manual.
Create each LED signal at PMC address R as a bit image in the user
PMC ladder program. PMC management software converts the bit
image of the LED signal to a coded output signal. (See Tables 3.2.8
(a), (b), and (c).) When a value of 1 is written in an LED bit image,
the corresponding LED is automatically turned on. In the same way,
when a value of 0 is written, the LED is turned off. All LEDs are off
at power-on.
It takes up to 200 ms until an LED is turned on (off) after a value of 1
(0) is written in the corresponding bit image by the PMC.
- 159 -
3.I/O LINK B-63983EN/01
The address of an LED signal (Ym: Table 3.2.8 (a)) and the address
of its bit image (Rl to Rl+7: Tables 3.2.8 (b) and (c)) can be defined
as the fixed address or an unused address without restrictions.
Xn+1
Table 3.2.8 (b) Key-operated switch and LED signal bit image addresses
(for a compact operator's panel)
KEY/LED #7 #6 #5 #4 #3 #2 #1 #0
Rk/Rl F3 F2 F1 D1 C1 B1 A1
Rk+1/Rl+1 F4 D2 C2 B2 A2
Rk+2/Rl+2 D4 D3 C4 C3 B4 B3 A4 A3
Rk+3/Rl+3 F6 F5 D5 C5 B5 A5
Rk+4/Rl+4 F8 D6 C6 B6 A6
Rk+5/Rl+5 D8 C8 B8 A8 A7
Rk+6/Rl+6 F9 D9 C9 B9 A9
- 160 -
B-63983EN/01 3.I/O LINK
Table 3.2.8 (c) Key-operated switch and LED signal bit image addresses
(for a full-keyboard operator's panel)
KEY/LED #7 #6 #5 #4 #3 #2 #1 #0
Rk/Rl E1 C1 A1 E6 D6 C6 B6 A6
Rk+1/Rl+1 E2 C2 A2 E7 D7 C7 B7 A7
Rk+2/Rl+2 E3 C3 A3 E8 D8 C8 B8 A8
Rk+3/Rl+3 E5 C4 A4 E9 D9 C9 B9 A9
Setting addresses
Use the system parameter screen to set key-operated switch and LED
signal addresses and bit image addresses.
For details of screen operations, see Section 9.8 described later. For
details of parameters to be set, see Section 2.4 described earlier.
The following simply describes how values set on the system
parameter screen are set at addresses shown in Tables 3.2.8 (a), (b),
and (c).
Example:
On the system parameter screen, specify that the FS0 operator's panel
is to be used. Then, set the start key-operated switch address for "DI
address", start LED signal address for "DO address", start key-
operated switch bit image address for "key input image address", and
start LED signal bit image address for "LED output image address".
When the following values are set:
DI address: X0
DO address: Y0
Key input image address: R900
LED output image address: R910
- 161 -
3.I/O LINK B-63983EN/01
The addresses shown in Tables 3.2.8 (a), (b), and (c) are set to the
following PMC addresses:
Xn → X1000
Xn+1 → X0001
Xn+2 → X0002
Ym → Y1000
Rk / Rl → R0900 / R0910
Rk+1 / Rl+1 → R0901 / R0911
Rk+2 / Rl+2 → R0902 / R0912
Rk+3 / Rl+3 → R0903 / R0913
Rk+4 / Rl+4 → R0904 / R0914
Rk+5 / Rl+5 → R0905 / R0915
Rk+6 / Rl+6 → R0906 / R0916
Rk+7 / Rl+7 → R0907 / R0917
- 162 -
B-63983EN/01 3.I/O LINK
3.3.1 Outline
Machine A Machine B
I/O devices I/O devices
Make ROM format file with I/O link assignment data that is used in both the
machine A and the machine B.
- 163 -
3.I/O LINK B-63983EN/01
The I/O devices that are used in all machines can be set as basic part
of configuration that is always effective.
Basic part
Determine the basic part and the optional part of I/O link assignment data.
NOTE
When you set a basic part, you have to assign
devices of basic part continuously from group 0. And
the basic part is connected with the top of the link.
- 164 -
B-63983EN/01 3.I/O LINK
Optional part
Basic part
NOTE
The use of the "I/O Link point expansion option" for
each of channels 2 to 4 enables this function for the
relevant channel.
- 165 -
3.I/O LINK B-63983EN/01
3.3.2 Example
• Configuration A
A machine which has a distribution I/O machine operator's panel
and a connection panel I/O connected with channel 1 of NC.
Channel 1
Channel 2
No connection
• Configuration B
A machine which has a distribution I/O machine operator's panel
and a Power Mate connected with channel 1 of NC.
Channel 1
Channel 2
No connection
- 166 -
B-63983EN/01 3.I/O LINK
• Configuration C
A machine which has the configuration A on channel 1 and two
beta amplifiers on channel 2.
Channel 1
Channel 2
Group 0 Group 1
These machines can use a common sequence program which has I/O
link assignment data that includes all I/O device configurations. The
contents of parameters for each I/O device configuration are as shown
below.
Channel 2
Address Group Base Slot Name I/O device
X0200 0 0 1 OC02I Beta amp.
: : : : : :
X0220 1 0 1 OC02I Beta amp.
: : : : : :
- 167 -
3.I/O LINK B-63983EN/01
• Configuration A
• System parameter
X0000/Y0000
ENABLE SELECTION = YES
BASIC GROUP COUNT = 1
X0200/Y0200
ENABLE SELECTION = YES
BASIC GROUP COUNT = 0
• Setting parameter
Group NO.: 00 01 02 03 04 05 06 07
X0000/Y0000 * 1 0 0 0 0 0 0
08 09 10 11 12 13 14 15
0 0 0 0 0 0 0 0
Group NO.: 00 01 02 03 04 05 06 07
X0200/Y0200 0 0 0 0 0 0 0 0
08 09 10 11 12 13 14 15
0 0 0 0 0 0 0 0
• Configuration B
• System parameter
X0000/Y0000
ENABLE SELECTION = YES
BASIC GROUP COUNT = 1
X0200/Y0200
ENABLE SELECTION = YES
BASIC GROUP COUNT = 0
• Setting parameter
Group NO.: 00 01 02 03 04 05 06 07
X0000/Y0000 * 0 1 0 0 0 0 0
08 09 10 11 12 13 14 15
0 0 0 0 0 0 0 0
Group NO.: 00 01 02 03 04 05 06 07
X0200/Y0200 0 0 0 0 0 0 0 0
08 09 10 11 12 13 14 15
0 0 0 0 0 0 0 0
- 168 -
B-63983EN/01 3.I/O LINK
• Configuration C
• System parameter
X0000/Y0000
ENABLE SELECTION = YES
BASIC GROUP COUNT = 1
X0200/Y0200
ENABLE SELECTION = YES
BASIC GROUP COUNT = 0
• Setting parameter
Group NO.: 00 01 02 03 04 05 06 07
X0000/Y0000 * 1 0 0 0 0 0 0
08 09 10 11 12 13 14 15
0 0 0 0 0 0 0 0
Group NO.: 00 01 02 03 04 05 06 07
X0200/Y0200 1 1 0 0 0 0 0 0
08 09 10 11 12 13 14 15
0 0 0 0 0 0 0 0
(3) The actual contents of I/O link assignment data modified by the
parameter
• Configuration A
Channel 1
Address Group Base Slot Name I/O device
X0000 0 0 1 CM12I Distribution I/O machine
operator’s panel
: : : : : :
X0020 1 0 1 CM03I Connection panel I/O
: : : : : :
Channel 2
No connection
• Configuration B
Channel 1
Address Group Base Slot Name I/O device
X0000 0 0 1 CM12I Distribution I/O machine
operator’s panel
: : : : : :
X0030 1 0 1 FS08A Power Mate
: : : : : :
Channel 2
No connection
- 169 -
3.I/O LINK B-63983EN/01
• Configuration C
Channel 1
Address Group Base Slot Name I/O device
X0000 0 0 1 CM12I Distribution I/O machine
operator’s panel
: : : : : :
X0020 1 0 1 CM03I Connection panel I/O
: : : : : :
Channel 2
Address Group Base Slot Name I/O device
X0200 0 0 1 OC02I Beta amp.
: : : : : :
X0220 1 0 1 OC02I Beta amp.
: : : : : :
- 170 -
B-63983EN/01 3.I/O LINK
3.3.3 Notes
Group 4 Effective
(3) You can not exchange the order of the I/O group number.
WARNING
1 If the machine is linked again with incorrect setting
of I/O link assignment parameters, the machine may
perform unexpected operation. If you want to have
the machine linked with I/O devices under the
selected I/O link assignment data, you have to turn
off and on power after the confirmation of the correct
connection of the I/O devices.
2 To prevent any operator error caused in a case as
described in "WARNING 1" above, it is
recommended that the "I/O Link connection check
function" be enabled. For details, see Section 3.4.
- 171 -
3.I/O LINK B-63983EN/01
The I/O Link connection check function always checks whether the
number of I/O Link groups defined in a sequence program is the same
as that of actually connected groups. When the selectable I/O Link
assignment function is used, the I/O Link connection check function
compares the number of selected groups with that of connected groups.
If these numbers of groups do not match, the PMC alarm "ER97 IO
LINK FAILURE (CHx yyGROUP)" is issued. For action to be taken,
see Section 10.1.
NOTE
1 All I/O devices connected to the channel in which
this alarm occurs are not linked.
2 The ladder program is executed regardless of
whether this alarm occurs.
K906.2
0: Enables the I/O Link connection check function. (Initial value)
1: Disables the I/O Link connection check function.
CAUTION
If I/O devices are linked in the status in which an I/O
device error or I/O device connection error occurs or
the setting of an I/O device is changed due to an
unintentional operation, the machine may not operate
normally. This function can always be operated to
detect an I/O device error at power-on. To
troubleshoot problems with I/O devices easily, it is
recommended that keep relay K906.2 be set to the
initial value (0).
- 172 -
B-63983EN/01 4.LADDER LANGUAGE
4 LADDER LANGUAGE
- 173 -
4.LADDER LANGUAGE B-63983EN/01
RO
A B
X8.1 R12.6
C R9.0
Address number
- 174 -
B-63983EN/01 4.LADDER LANGUAGE
- 175 -
4.LADDER LANGUAGE B-63983EN/01
Table 4.1.1 lists the types of the basic instructions and explains the
processing they perform.
The difference between the two types of formats shown under
Instruction is described below.
Mnemonic format:
The instructions are displayed in this format when you edit or
print a ladder program that has been converted to the mnemonic
format with FANUC LADDER-III, by using a commercially
available text editor.
Mnemonic format (abbreviated):
These are the abbreviated forms of instructions that you can use
when editing a ladder program that has been converted to the
mnemonic format with FANUC LADDER-III, by using a
commercially available text editor. If you input a file in this
abbreviated format and convert it again to the ladder diagram
format with FANUC LADDER-III, the code in the file can still
be recognized as being written in the valid mnemonic format.
Table 4.1.1
Instruction
Mnemonic Mnemonic
No. Processing
format format
(abbreviated)
1 RD R Reads the status of the specified signal and sets it in the ST0 bit.
2 RD.NOT RN Reads and reverses the logical status of the specified signal and sets it in the ST0
bit.
3 WRT W Outputs the logical operation result (the status of the ST0 bit) to the specified
address.
4 WRT.NOT WN Reverses and outputs the logical operation result (the status of the ST0 bit) to the
specified address.
5 AND A Produces a logical product.
6 AND.NOT AN Reverses the logical status of the specified signal and produces a logical product.
7 OR O Produces a logical sum.
8 OR.NOT ON Reverses the logical status of the specified signal and produces a logical sum.
9 RD.STK RS Shifts the register content one bit to the left and sets the status of the signal at the
specified address in the ST0 bit.
10 RD.NOT.STK RNS Shifts the register content one bit to the left, reads and reverses the logical status
of the signal at the specified address, and sets it in the ST0 bit.
11 AND.STK AS Sets the logical product of the ST0 and ST1 bits in the ST1 bit and shifts the
register content one bit to the right.
12 OR.STK OS Sets the logical sum of the ST0 and ST1 bits in the ST1 bit and shifts the register
content one bit to the right.
13 SET SET Finds the logical sum of the ST0 bit and the status of the signal at the specified
address and outputs it to the specified address.
14 RST RST Finds the logical product of the reversed status of the ST0 bit and the status of the
signal at the specified address and outputs it to the specified address.
- 176 -
B-63983EN/01 4.LADDER LANGUAGE
4.1.2 RD Instruction
(1) Format
W1
A B C
RDRD??
D G W2
instruction
X5.1 R5.4
R200.1
E
Y5.2
F
Y5.3
Fig. 4.1.2
(Address)
RD
Bit number
Address number
(2) Use this instruction to start coding from contact A (−−). For
examples of how the RD instruction is used, see the ladder
diagram shown in Fig. 4.1.2 and the input example in the
mnemonic format given in Table 4.1.2.
(3) The instruction reads the status (0 or 1) of the signal at the
specified address and sets it in the ST0 bit.
(4) The signal (contact) to be read by the RD instruction may be any
signal (contact) that is input as a logical condition of a coil
(output).
Table 4.1.2
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X10 .1 A A
2 AND X2 .0 B A⋅B
3 AND.NOT R2 .1 C A⋅B⋅C
4 WRT R200 .0 W1 output A⋅B⋅C
5 RD X5 .1 D D
6 OR.NOT Y5 .2 E D+E
7 OR Y5 .3 F D+E+F
8 AND R5 .4 G (D + E + F)⋅G
9 WRT R200 .1 W2 output (D + E + F)⋅G
- 177 -
4.LADDER LANGUAGE B-63983EN/01
(1) Format
A B C W1
G5.1 R10.5
R210.2
E
X4.2
F
Y10.7
Fig. 4.1.3
(Address)
RD.NOT
Bit number
Address number
(2) Use this instruction to start coding from contact B (−/−). For
examples of how the RD.NOT instruction is used, see the ladder
diagram shown in Fig. 4.1.3 and the input example in the
mnemonic format given in Table 4.1.3.
(3) The instruction reads and reverses the logical status of the signal
at the specified address and sets it in the ST0 bit.
(4) The signal (contact) to be read by the RD.NOT instruction may
be any contact B that is input as a logical condition of a coil.
Table 4.1.3
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD.NOT R1 .1 A A
2 AND.NOT F2 .2 B A⋅B
3 AND.NOT F3 .3 C A⋅B⋅C
4 WRT R210 .1 W1 output A⋅B⋅C
5 RD.NOT G5 .1 D D
6 OR.NOT X4 .2 E D+E
7 OR Y10 .7 F D+E+F
8 AND R10 .5 G (D + E + F)⋅G
9 WRT R210 .2 W2 output (D + E + F)⋅G
- 178 -
B-63983EN/01 4.LADDER LANGUAGE
(1) Format
A C W1
R220.1 G2.2
Y11.1
B
W2
WRT
X4.2 Y14.6 instruction
Fig. 4.1.4
(Address)
WRT
Bit number
Address number
(2) The WRT instruction outputs the result of the logical operation,
namely the status of the ST0 bit (0 or 1), to the specified address.
(3) The instruction can also output a logical operation result to two
or more addresses simultaneously. In that case, use the WRT
instruction as shown in Fig. 4.1.4 and Table 4.1.4.
Table 4.1.4
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD R220 .1 A A
2 OR X4 .2 B A+B
3 AND G2 .2 C (A + B)⋅C
4 WRT Y11 .1 W1 output (A + B)⋅C
5 WRT Y14 .6 W2 output (A + B)⋅C
CAUTION
In each WRT,WRT.NOT instruction, specify different
address. Double coil, which means a coil with an
address is often used in one ladder program, may
occur trobles of the execution timing in the sequence
program. Don’t use “double coil”.
- 179 -
4.LADDER LANGUAGE B-63983EN/01
(1) Format
A C
W1
R220.1 G2.2
Y11.1
B
W2
X4.2 Y14.6
WRT.NOT instruction
Fig. 4.1.5
(Address)
WRT.NOT
Bit number
Address number
(2) The WRT.NOT instruction reverses and outputs the result of the
logical operation, namely the status of the ST0 bit, to the
specified address. Fig. 4.1.5 and Table 4.1.5 show examples of
how the WRT.NOT instruction is used.
Table 4.1.5
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD R220 .1 A A
2 OR X4 .2 B A+B
3 AND G2 .2 C (A + B)⋅C
4 WRT Y11 .1 W1 output (A + B)⋅C
5 WRT.NOT Y14 .6 W2 output (A + B)⋅C
CAUTION
In each WRT,WRT.NOT instruction, specify different
address. Double coil, which means a coil with an
address is often used in one ladder program, may
occur trobles of the execution timing in the sequence
program. Don’t use “double coil”.
- 180 -
B-63983EN/01 4.LADDER LANGUAGE
(1) Format
A B C W1
D G W2
X5.1 R5.4
R200.1
E
Y5.2
F
AND
AND??
instruction
Y5.3
Fig. 4.1.6
(Address)
AND
Bit number
Address number
Table 4.1.6
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X10 .1 A A
2 AND X2 .0 B A⋅B
3 AND.NOT R2 .1 C A⋅B⋅C
4 WRT R200 .0 W1 output A⋅B⋅C
5 RD X5 .1 D D
6 OR.NOT Y5 .2 E D+E
7 OR Y5 .3 F D+E+F
8 AND R5 .4 G (D + E + F)⋅G
9 WRT R200 .1 W2 output (D + E + F)⋅G
- 181 -
4.LADDER LANGUAGE B-63983EN/01
(1) Format
A B C W1
D G W2
X5.1 R5.4
R200.1
E
AND.NOT
instruction
Y5.2
F
Y5.3
Fig. 4.1.7
(Address)
AND.NOT
Bit number
Address number
(2) This instruction reverses the status of the signal at the specified
address and produces a logical product.
(3) For examples of how the AND.NOT instruction is used, see Fig.
4.1.7 and Table 4.1.7.
Table 4.1.7
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X10 .1 A A
2 AND X2 .0 B A⋅B
3 AND.NOT R2 .1 C A⋅B⋅C
4 WRT R200 .0 W1 output A⋅B⋅C
5 RD X5 .1 D D
6 OR.NOT Y5 .2 E D+E
7 OR Y5 .3 F D+E+F
8 AND R5 .4 G (D + E + F)⋅G
9 WRT R200 .1 W2 output (D + E + F)⋅G
- 182 -
B-63983EN/01 4.LADDER LANGUAGE
4.1.8 OR Instruction
(1) Format
A B C W1
D G W2
X5.1 R5.4
R200.1
E
Y5.2
F
Y5.3 OR instruction
Fig. 4.1.8
(Address)
OR
Bit number
Address number
Table 4.1.8
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X10 .1 A A
2 AND X2 .0 B A⋅B
3 AND.NOT R2 .1 C A⋅B⋅C
4 WRT R200 .0 W1 output A⋅B⋅C
5 RD X5 .1 D D
6 OR.NOT Y5 .2 E D+E
7 OR Y5 .3 F D+E+F
8 AND R5 .4 G (D + E + F)⋅G
9 WRT R200 .1 W2 output (D + E + F)⋅G
- 183 -
4.LADDER LANGUAGE B-63983EN/01
(1) Format
A B C W1
D G W2
X5.1 R5.4
R200.1
E
Y5.3
Fig. 4.1.9
(Address)
OR.NOT
Bit number
Address number
(2) This instruction reverses the status of the signal at the specified
address and produces a logical sum.
(3) For examples of how the OR.NOT instruction is used, see Fig.
4.1.9 and Table 4.1.9.
Table 4.1.9
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X10 .1 A A
2 AND X2 .0 B A⋅B
3 AND.NOT R2 .1 C A⋅B⋅C
4 WRT R200 .0 W1 output A⋅B⋅C
5 RD X5 .1 D D
6 OR.NOT Y5 .2 E D+E
7 OR Y5 .3 F D+E+F
8 AND R5 .4 G (D + E + F)⋅G
9 WRT R200 .1 W2 output (D + E + F)⋅G
- 184 -
B-63983EN/01 4.LADDER LANGUAGE
(1) Format
A C W1
X1.3 Y1.4
E F
R2.1 R3.5
RD.STK instruction
Fig. 4.1.10
(Address)
RD.STK
Bit number
Address number
Table 4.1.10
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X1 .1 A A
2 AND Y1 .2 C A⋅C
3 RD.STK X1 .3 B A⋅C B
4 AND Y1 .4 D A⋅C B⋅D
5 OR.STK A⋅C + B⋅D
6 RD.STK R2 .1 E A⋅C + B⋅D E
7 AND R3 .5 F A⋅C + B⋅D E⋅F
8 OR.STK A⋅C + B⋅D + E⋅F
9 WRT Y15 .0 W1 output A⋅C + B⋅D + E⋅F
- 185 -
4.LADDER LANGUAGE B-63983EN/01
(1) Format
A B E F W1
RD.NOT.STK instruction
Fig. 4.1.11
(Address)
RD.NOT.STK
Bit number
Address number
Table 4.1.11
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X1 .0 A A
2 AND.NOT X1 .1 B A⋅B
3 RD.NOT.STK R1 .4 C A⋅B C
4 AND.NOT R1 .5 D A⋅B C⋅D
5 OR.STK A⋅B + C⋅D
6 RD.STK Y1 .2 E A⋅B + C⋅D E
7 AND Y1 .3 F A⋅B + C⋅D E⋅F
8 RD.STK Y1 .6 G A⋅B + C⋅D E⋅F G
9 AND.NOT Y1 .7 H A⋅B + C⋅D E⋅F G⋅H
10 OR.STK A⋅B + C⋅D E⋅F + G⋅H
11 AND.STK (A⋅B + C⋅D)⋅(E⋅F + G⋅H)
12 WRT Y15 .7 W1 output (A⋅B + C⋅D)⋅(E⋅F + G⋅H)
- 186 -
B-63983EN/01 4.LADDER LANGUAGE
(1) Format
A B E F W1
AND.STK instruction
R1.4 R1.5 X1.6 Y1.7
AND.STK
ST1 ST0
A B E F
W1
C D G H
AND.STK instruction
- 187 -
4.LADDER LANGUAGE B-63983EN/01
(3) For examples of how the AND.STK instruction is used, see Fig.
4.1.12 (a) and Table 4.1.12.
Table 4.1.12
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X1 .0 A A
2 AND.NOT X1 .1 B A⋅B
3 RD.NOT.STK R1 .4 C A⋅B C
4 AND.NOT R1 .5 D A⋅B C⋅D
5 OR.STK A⋅B + C⋅D
6 RD.STK Y1 .2 E A⋅B + C⋅D E
7 AND Y1 .3 F A⋅B + C⋅D E⋅F
8 RD.STK Y1 .6 G A⋅B + C⋅D E⋅F G
9 AND.NOT Y1 .7 H A⋅B + C⋅D E⋅F G⋅H
10 OR.STK A⋅B + C⋅D E⋅F + G⋅H
11 AND.STK (A⋅B + C⋅D)⋅(E⋅F + G⋅H)
12 WRT Y15 .7 W1 output (A⋅B + C⋅D)⋅(E⋅F + G⋅H)
- 188 -
B-63983EN/01 4.LADDER LANGUAGE
(1) Format
A C W1
X1.3 Y1.4
E F
R2.1 R3.5
OR.STK instruction
RD.STK??
OR.STK
(2) The OR.STK instruction finds the logical sum of the operation
result stored in the ST0 bit and that stored in the ST1 bit and sets
it in the ST1 bit. The instruction then shifts the register content
one bit to the right and puts the resulting logical sum into the
ST0 bit. Fig. 4.1.13 (b) shows a detailed image of what is shown
in Fig. 4.1.13 (a).
ST1
A C
ST0
B D
W1
E F
OR.STK instruction
OR.STK??
- 189 -
4.LADDER LANGUAGE B-63983EN/01
(3) For examples of how the OR.STK instruction is used, see Fig.
4.1.13 (a) and Table 4.1.13.
Table 4.1.13
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD X1 .1 A A
2 AND Y1 .2 C A⋅C
3 RD.STK X1 .3 B A⋅C B
4 AND Y1 .4 D A⋅C B⋅D
5 OR.STK A⋅C + B⋅D
6 RD.STK R2 .1 E A⋅C + B⋅D E
7 AND R3 .5 F A⋅C + B⋅D E⋅F
8 OR.STK A⋅C + B⋅D + E⋅F
9 WRT Y15 .0 W1 output A⋅C + B⋅D + E⋅F
CAUTION
In the example shown in Table 4.1.13, the OR.STK
instruction is specified at step number 5. You will
obtain the same result if you place the OR.STK
instruction between step numbers 7 and 8. However,
coding similar instructions, such as OR.STK and
AND.STK, successively makes you prone to errors.
It is therefore recommended to code your program as
shown in Table 4.1.13.
- 190 -
B-63983EN/01 4.LADDER LANGUAGE
(1) Format
A C
(S)
R0.0 Y0.0
X0.0
SET instruction
Fig. 4.1.14
(Address)
SET
Bit number
Address number
(2) This instruction keeps the status of the specified address to ON.
It finds the logical sum of the operation result (ST0) and the
specified address and outputs it to the specified address.
(3) For examples of how the SET instruction is used, see Fig. 4.1.14
and Table 4.1.14.
Table 4.1.14
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD R0 .0 A A
2 OR X0 .0 B A+B
3 SET Y0 .0 Y0.0 output (A + B) + C
(4) Caution
• Relationship with COM and COME
When placed between the COM and COME instructions, the
SET instruction behaves as follows:
When the COM condition is set to ON (ACT = 1), the SET
instruction runs normally.
When the COM condition is set to OFF (ACT = 0), the SET
instruction does not run.
- 191 -
4.LADDER LANGUAGE B-63983EN/01
(1) Format
A C
(R)
R0.0 Y0.0
X0.0
RST instruction
Fig. 4.1.15
(Address)
RST
Bit number
Address number
(2) This instruction keeps the status of the specified address to OFF.
It finds the logical product of the operation result (ST0) and the
specified reversed address and outputs it to the specified address.
(3) For examples of how the RST instruction is used, see Fig. 4.1.15
and Table 4.1.15.
Table 4.1.15
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST2 ST1 ST0
number No.
1 RD R0 .0 A A
2 OR X0 .0 B A+B
3 RST Y0 .0 Y0.0 output (A + B)⋅C
(4) Caution
• Relationship with COM and COME
When placed between the COM and COME instructions, the
RST instruction behaves as follows:
When the COM condition is set to ON (ACT = 1), the RST
instruction runs normally.
When the COM condition is set to OFF (ACT = 0), the RST
instruction does not run.
- 192 -
B-63983EN/01 4.LADDER LANGUAGE
- 193 -
4.LADDER LANGUAGE B-63983EN/01
L0 L1 Instruction Parameter 1
C D
(2) Parameter 2
W1
R 2.4 R 3.1 Parameter 3
RST
(1) Parameter 4
R 10.1
R 5.7
ACT
(0)
(Note 1)
R 7.1
7 6 5 4 3 2 1 0
R9000
R9001
R9002
R9003
R9004
R9005
- 194 -
B-63983EN/01 4.LADDER LANGUAGE
NOTE
1 The number within each pair of parentheses shown
for the control conditions represents the position in
the register where the result is to be stored.
2 The term (PRM) in the Instruction fields for step
numbers 8 to 11 means a parameter. You do not
need to input the term (PRM); just enter an address
or numeric data.
CAUTION
All functional instructions give precedence to the RST
processing when they include RST in their control
conditions. Therefore, when RST = 1, the functional
instruction carries out the RST processing even if
ACT = 0.
- 195 -
4.LADDER LANGUAGE B-63983EN/01
(3) Instruction
For the types of functional instructions, see Subsection 2.1.6.
To input the instruction with relay symbols, use the soft keys of
the programmer.
(4) Parameters
Unlike the basic instructions, the functional instructions deal
with numeric values. Therefore, reference data values and
addresses storing data may be entered in their parameters. The
number of parameters and the meanings of those parameters
differ for each functional instruction.
(5) W1
W1 is the destination to which the functional instruction outputs
its operation result when that result can be represented by a one-
bit value, 0 or 1. The designer can freely decide the address of
W1. The meaning of W1 differs for each functional instruction.
Some functional instructions do not have the W1 output.
(6) Data to be processed
The data processed by the functional instructions is in two
formats - binary coded decimal (BCD) format and binary format.
Formerly, the PMC system handled numeric data mainly in the
BCD format. However, dealing with all numeric data in the
binary format is now recommended for the following reasons.
(a) The numeric data exchanged between NC and PMC (M, S,
T, and B codes) is in the binary format.
(b) The CPU carries out all numeric data operations in the
binary format. Therefore, if data is provided in the binary
format, the conversion between the BCD and binary formats
becomes unnecessary, thus speeding up the PMC processing.
(c) The use of binary format data allows you to handle a wider
range of numeric data while at the same time making it
easier to deal with negative numeric data. This leads to an
enhanced operation capability. In principle, binary numeric
data is handled in units of one byte (−128 to +127), two
bytes (−32,768 to +32,767), or four bytes (−2,147,483,648
to +2,147,483,647).
(d) When you enter numeric data using the CNC screen keys or
display numeric data on the CNC screen, you will
experience no inconvenience because binary numeric data
values are all set and displayed in the decimal format. It is
just that the data stored in the internal memory is written in
the binary format. You only need to exercise care when the
sequence program references memory. See item (7) for
examples of numeric data. For the reasons mentioned
above, all the functional instructions described in this
manual are designed to deal with binary data and handle
mainly binary data.
- 196 -
B-63983EN/01 4.LADDER LANGUAGE
R250 0 0 1 1 0 1 0 0
3 4
7 6 5 4 3 2 1 0
R251 0 0 0 1 0 0 1 0
1 2
In the functional instruction, specify the address having the smaller number, R250.
Note) The low-order digits are stored in the smaller number address.
- 197 -
4.LADDER LANGUAGE B-63983EN/01
7 6 5 4 3 2 1 0
6 5 4 3 2 1
R200 ± 2 2 2 2 2 2 20 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 1 (+1)
0: Positive
Sign
1: Negative
0 1 1 1 1 1 1 1 (+127)
R201 ± 214 213 212 211 210 29 28
- 198 -
B-63983EN/01 4.LADDER LANGUAGE
* When the numeric data consists of two or four bytes, specify an even-numbered or multiple-of-four address
for each of those addresses marked with *. Doing so causes the functional instruction to execute faster.
Error output
- 199 -
4.LADDER LANGUAGE B-63983EN/01
7 6 5 4 3 2 1 0
R9000
R9001
R9002
R9003
R9004
R9005
- 200 -
B-63983EN/01 4.LADDER LANGUAGE
4.3 TIMER
- 201 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.3.1 (a) shows the ladder format and Table 4.3.1 shows the
mnemonic format.
Timer relay
ACT W1
SUB 3
TMR
¡¡¡ Timer number
ACT
W1
T
T indicates the time set in this timer
command.
Fig. 4.3.1 (b) Operation of the timer
Control condition
ACT = 0: Turns off W1.
ACT = 1: Starts the timer.
- 202 -
B-63983EN/01 4.LADDER LANGUAGE
Parameter
Set the timer number.
WARNING
If the timer number is duplicated, or falls outside the
valid range, the operation will be unpredictable.
Setting timers
The initial value of the timer setting time can be set in steps of 48 ms
for timer numbers 1 to 8 and in steps of 8 ms for timer numbers 9 and
later. (For information about the number of timers of each PMC, see
the table below.) The setting time value is rounded down to a multiple
of the unit time.
For example, if 38 ms is set, the remainder 6 (38 = 8 × 4 + 6) is
discarded, and only 32 ms is actually set.
30i-A
Initial number of the timer
1st PMC 2nd PMC 3rd PMC Dual check
setting time
(option) (option) safety PMC
48-ms timer number 1 to 8 1 to 8 1 to 8 1 to 8
8-ms timer number 9 to 250 9 to 40 9 to 40 9 to 40
Timer accuracy
The timer screen allows you to set the accuracy of each timer
individually. The setting time range and error are as shown below.
For detailed information about how to set the timer accuracy, see
Subsection 7.3.1.
- 203 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.3.2 (a) shows the ladder format and Table 4.3.2 shows the
mnemonic format.
Timer relay
ACT W1
SUB 24
TMRB
¡¡¡ Timer number
¡¡¡¡ Setting time
ACT
W1
T
T indicates the time set in this timer
command.
Fig. 4.3.2 (b) Timer operation
Control condition
ACT = 0: Turns off W1.
ACT = 1: Starts the timer.
- 204 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
Specify the timer number of a fixed timer. The timer numbers and the
setting time range are as shown below.
30i-A
1st PMC 2nd PMC 3rd PMC Dual check
(option) (option) safety PMC(option)
Timer number 1 to 500 1 to 100 1 to 100 1 to 100
Setting time 1 to 32,760,000 1 to 32,760,000 1 to 32,760,000 1 to 32,760,000
(msec) (msec) (msec) (msec)
WARNING
If the same timer number is used more than once or if
a timer number out of the valid range is used,
operation is unpredictable.
- 205 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.3.3 (a) shows the ladder format and Table 4.3.3 shows the
mnemonic format.
Timer relay
ACT W1
SUB 54
TMRC
¡ Timer accuracy number
¡¡¡¡ Timer set time address
¡¡¡¡ Timer register address
ACT
W1
T
T indicates the time set in this timer
command.
Fig. 4.3.3 (b) Timer operation
Control condition
ACT = 0: Turns off W1.
ACT = 1: Starts the timer.
- 206 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Timer accuracy
The timer accuracy values, setting time range, and error are as
shown below.
NOTE
The value range of the setting time is between 0 and
32,767 for all timer accuracies. For example, when
the timer accuracy is 8 ms, the value 0 means 8 ms
and the value 32,767 means 262,136 ms.
- 207 -
4.LADDER LANGUAGE B-63983EN/01
Timer register + 0
Timer register + 1
Timer register
Timer register + 2
Timer register + 3
- 208 -
B-63983EN/01 4.LADDER LANGUAGE
4.4 COUNTER
- 209 -
4.LADDER LANGUAGE B-63983EN/01
CTR is used as a counter. Counters are used for various purposes for
NC machine tools.
Numerical data such as preset values and count values can be used
with either BCD format or binary format by a system parameter of
PMC.
WARNING
When a incollect BCD data was set to a BCD type
counter, the movement of CTR cannot be sured.
If changing the counter type, be sure to reconfigure
the preset value and count value.
8 1
7 2
6 3
5 4
Presetting : 8
Initial value : 1
- 210 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.4.1 (a) shows the ladder format and Table 4.4.1 shows the
mnemonic format.
Countup output
W1
CN0
¡¡¡¡.¡
ACT
¡¡¡¡.¡
Control condition
Fig. 4.4.1 (a) Format of CTR instruction
Control conditions
(a) Specify the initial value. (CN0)
CN0 = 0: Begins the value of the counter with 0.
0, 1, 2, 3, ….., n.
CN0 = 1: Begins the value of the counter with 1 (0 is not used).
1, 2, 3, ….., n.
(b) Specify up or down counter. (UPDOWM)
UPDOWN = 0:
Up counter. The counter begins with 0 when CN0 = 0;
1 when 1.
UPDOWN = 1:
Down counter. The counter begins with the preset value.
- 211 -
4.LADDER LANGUAGE B-63983EN/01
CAUTION
Set RST to 1, only when reset is required.
"1"
"0"
Count Count
Parameter
(a) Counter number
The numbers that can be used are shown below.
30i-A
Model 1st PMC 2nd PMC 3rd PMC Dual check
(option) (option) safety PMC(option)
Counter number 1 to 100 1 to 20 1 to 20 1 to 20
The preset value and cumulative value that can be set are as
follows:
Binary counter: 0 to 32,767
BCD counter: 0 to 9,999
WARNING
If the counter number is duplicated, or falls outside
the valid range, the operation will be unpredictable.
- 212 -
B-63983EN/01 4.LADDER LANGUAGE
[Example 1]
As a preset counter (See Fig. 4.4.1 (b).)
The number of workpieces to be machined is counted. When the
number reaches the preset count, a signal is output.
• L1 is a circuit to make logic 1.
• Since the count ranges from 0 to 9,999, contact B of L1 is used
for making CN0 = 0.
• Since it is to be up counter, contact B of L1 is used make
UPDOWN = 0.
• The reset signal of the counter uses input signal CRST.M from
the machine tool.
• The count signal is M30X, which was decoded from the NC
output M code. M30X contains contact B of CUP to prevent
counting past the preset value, as long as reset is not enabled
after countup.
L1
L1
R200.1
L1 R200.1
R200.1
L1
(CN0) CUP Countup output
R200.1 SUB 5
L1 Y6.1
R200.1
CRST.M
(RST)
X36.0
CUP M30X
(ACT)
Y6.1 R200.3
- 213 -
4.LADDER LANGUAGE B-63983EN/01
[Example 2]
Use of the counter to store the position of a rotor. (See Fig. 4.4.1 (c).)
L1
"1"
R200.1
R200.1
L1
R200.1
L1
(CN0)
R200.1 SUB 5 R200.0
REV
(UPDOWN) CTR 0002
R200.1
L1
(RST)
R200.1
POS
(ACT)
X36.0
3 4
5
2
6
1 7
12 8
11 9
10
Fig. 4.4.1 (c) shows a ladder diagram for a counter to store the
position of a rotor of Fig. 4.4.1 (d).
- 214 -
B-63983EN/01 4.LADDER LANGUAGE
- 215 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.4.2 shows the ladder format and Table 4.4.2 shows the
mnemonic format.
Countup
CN0 W1
SUB 56
RST
ACT
- 216 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specifying the initial value (CN0)
CN0 = 0: The counter value starts with "0". 0,1,2,3,.......,n
CN0 = 1: The counter value starts with "1". 1,2,3,.........,n
(b) Specifying up or down (UPDOWN)
UPDOWN = 0: Up counter
The initial value is "0" when CN0 = 0 or "1" when CN0 = 1.
UPDOWN = 1: Down counter
The initial value is the preset value.
(c) Reset (RST)
RST = 0: Cancels reset.
RST = 1: Resets. W1 is reset to 0. The accumulated value is
reset to the initial value.
(d) Count signal (ACT)
ACT = 0: The counter does not operated. W1 does not change.
ACT = 1: The counter operates at the rise of this signal.
Parameters
(a) Counter number
The numbers that can be used are shown below.
30i-A
Model 1st PMC 2nd PMC 3rd PMC Dual check
(option) (option) safety PMC(option)
Counter number 1 to 100 1 to 20 1 to 20 1 to 20
- 217 -
4.LADDER LANGUAGE B-63983EN/01
Accumulate value
The address C5000- are used for accumulate value of the CTRB.
One value requires 2 bytes.
Counter number 1 corresponds to C5000 and number 2 corresponds to
C5002.
- 218 -
B-63983EN/01 4.LADDER LANGUAGE
The numeral data of this counter are all binary. This counter has the
following functions and can be used according to the application:
(a) Preset counter
Preset the count value and if the count reaches this preset value,
outputs to show that.
(b) Ring counter
This is the ring counter which is reset to the initial value when
the count signal is input after the count reaches the preset value.
(c) Up/down counter
This is the reversible counter to be used as both the up counter
and down counter.
(d) Selection of the initial value
Either 0 or 1 can be selected as the initial value.
Format
Fig. 4.4.3 shows the ladder format and Table 4.4.3 shows the
mnemonic format.
Countup
CN0 W1
SUB 55
CTRC
¡¡¡¡ Counter register address
RST
ACT
- 219 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
(a) Specifying the initial value (CN0)
CN0 = 0: The count value starts with "0". 0, 1, 2, 3, . . . n
CN0 = 1: The count value starts with "1". 1, 2, 3, . . . n
(b) Specifying up or down count (UPDOWN)
UPDOWN = 0:
Up counter.
The initial value is "0" when CN0 = 0 or "1" when CN0 = 1.
UPDOWN = 1:
Down counter. The initial value is the preset value.
(c) Reset (RST)
RST = 0: Reset cancelled.
RST = 1: Reset. W1 is reset to "0". The accumulated value is
reset to the initial value.
(d) Count signal (ACT)
ACT = 0: The counter does not operate. W1 does not change.
ACT = 1: The counter operates at the rise of this signal.
Parameters
(a) Counter preset value address
The first address of the counter preset value field is set.
The continuous 2-byte memory space from the first address is
required for this field. Field D is normally used.
- 220 -
B-63983EN/01 4.LADDER LANGUAGE
Counter register +0
CTR Count value
Counter register +1
Counter register +2
WORK WORK: Unusable
Counter register +3
CAUTION
When field R is specified as the counter register
address, the counter starts with count value "0" after
powered on.
- 221 -
4.LADDER LANGUAGE B-63983EN/01
The following types of data transfer instruction are available. Use any
of these instructions as appropriate for your purpose.
- 222 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.5.1 shows the ladder format and Table 4.5.1 shows the
mnemonic format.
ACT
SUB 43
Control condition
Parameters
- 223 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.5.2 shows the ladder format and Table 4.5.2 shows the
mnemonic format.
ACT
SUB 44
Control condition
(a) Execution specification
ACT = 0: No data is transferred.
ACT = 1: Two-byte data is transferred.
Parameters
(a) Transfer source address
Specify the source address for the transfer.
NOTE
Take care not to specify the same address for the
source address and destination address. If the same
address is specified, the instruction is not guaranteed
to operate normally.
- 224 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.5.3 shows the ladder format and Table 4.5.3 shows the
mnemonic format.
ACT
SUB 47
Control condition
(a) Input signal
ACT = 0: No data is transferred.
ACT = 1: Four-byte data is transferred.
Parameters
(a) Transfer source address
Specify the source address for the transfer.
NOTE
Take care not to specify the same address for the
source address and destination address. If the same
address is specified, the instruction is not guaranteed
to operate normally.
- 225 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.5.4 shows the ladder format and Table 4.5.4 shows the
mnemonic format.
ACT
SUB 45
Control condition
(a) Execution specification
ACT = 0: No data is transferred.
ACT = 1: A specified number of bytes are transferred.
- 226 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Number of bytes to be transferred
Specify the number of bytes to be transferred. An odd number
can also be specified. A number from 1 to 9,999 can be specified.
CAUTION
Make sure that the source data area and destination
data area are within the PMC address range.
NOTE
Take care not to specify the same address for the
source address and destination address. If the same
address is specified, the instruction is not guaranteed
to operate normally.
- 227 -
4.LADDER LANGUAGE B-63983EN/01
ANDs logical multiplication data and input data, and outputs the
results to a specified address. Can also be used to remove unnecessary
bits from an eight-bit signal in a specific address, etc.
(Logical multiplication data) (Input data) to a specified address
The input data is one byte (eight bits).
7 6 5 4 3 2 1 0
Input data 0 0 0 0 0 0 0 0
Logical ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡
multiplication data
Format
Fig. 4.5.5 (a) shows the ladder format and Table 4.5.5 shows the
mnemonic format.
ACT
SUB 8
¡¡¡¡ High-order 4-bit logical multiplication data
MOVE ¡¡¡¡ Low-order 4-bit logical multiplication data
¡¡¡¡ Input data address
¡¡¡¡ Output address
- 228 -
B-63983EN/01 4.LADDER LANGUAGE
Execution command
If a code signal and another signal co-exist at address X35 for an input
signal from the machine tool, to compare the code signal and a code
signal at another address, the rest of signals in address X35 becomes
an obstacle. Thus, the MOVE instruction can be used to output only
the code signal at address X35 address R210.
7 6 5 4 3 2 1 0
Address X35
Code signal
Another signal
Address R210 0 0 0
Code signal
A SUB 8
0001 High-order 4-bit logical multiplication data
- 229 -
4.LADDER LANGUAGE B-63983EN/01
This instruction ORs the input data and the logical sum data and
transfers the result to the destination.
Output data
Format
Fig. 4.5.6 shows the ladder format and Table 4.5.6 shows the
mnemonic format.
ACT
SUB 28
- 230 -
B-63983EN/01 4.LADDER LANGUAGE
Control condition
Parameters
- 231 -
4.LADDER LANGUAGE B-63983EN/01
Reads or rewrites the contents of the data table. The value type in this
instruction ia binary.
There are two specifications - basic specification and extended
specification - for setting the format specification parameter in the
XMOVB instruction. The extended specification allows two or more
sets of data to be read or written with a single instruction. For the
details of the setting of a format specification parameter, see the
description of parameters.
- 232 -
B-63983EN/01 4.LADDER LANGUAGE
The number of data table elements: M (It specifies the storage address of number
of data table elements)
DT[0] D I 3 S B
DT[2]
DT[3] B
DT[4]
DT[5] C
−1]
DT[M−
Data table: DT
The operation of the instruction:
DT[I] → S
Fig. 4.5.7 (a) Read data from data table (basic specification)
The number of data table elements: M (It specifies the storage address of number
of data table elements)
The number of index array elements: N (It specifies the format specification)
DT[4]
−1]
I[N− −1]
S[N−
DT[5] C
Index Input/output
array: I data array: S
−1]
DT[M−
Data table: DT
Fig. 4.5.7 (b) Read data from data table (extended specification)
- 233 -
4.LADDER LANGUAGE B-63983EN/01
The number of data table elements: M (It specifies the storage address of number
of data table elements)
S B I 3 DT[0]
DT[2]
DT[3] B
DT[4]
DT[5]
−1]
DT[M−
Data table: DT
The operation of the instruction:
S → DT[I]
The number of data table elements: M (It specifies the storage address of number
of data table elements)
The number of index array elements: N (It specifies the format specification)
S A I[0] 1 DT[0] D
DT[4]
−1]
S[N− −1]
I[N−
DT[5] C
Input/output Index
data array: S array: I
−1]
DT[M−
Data table: DT
The operation of the instruction:
−1)
S[n] → DT[I[n]] (n = 0, 1, 2, ..., N−
- 234 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Figs. 4.5.7 (e) and (f) show the ladder format and Tables 4.5.7 (a) and
(b) show the mnemonic format.
W1
RW
SUB 35
- 235 -
4.LADDER LANGUAGE B-63983EN/01
W1
RW
SUB 35
Control conditions
- 236 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Format specification
Specifies data length. Specify byte length in the first digit of the
parameter.
0001: 1-byte long data
0002: 2-byte long data
0004: 4-byte long data
When setting format specification in the following extended
format, XMOVB can read/write multiple data in data table in 1
instruction.
Specifies data length (1, 2, or 4) to the 1st digit as above-
mentioned. Specifies the number of the index array elements to
the 2nd and 3rd digit. Specifies 0 to the 4th digit.
0nn1: In case of reading/writing multiple (nn) data in data
table by 1 byte length
0nn2: In case of reading/writing multiple (nn) data in data
table by 2 byte length
0nn4: In case of reading/writing multiple (nn) data in data
table by 4 byte length
The nn is the numerical value from 02 to 99. When setting 00 or
01, it works as the basic specification in which one data transfer
is performed by one instruction.
- 237 -
4.LADDER LANGUAGE B-63983EN/01
- 238 -
B-63983EN/01 4.LADDER LANGUAGE
W1 = 0: No error
W1 = 1: Error found. In the case where the index value set in "(e)
Index storage address" exceeds the value set in "(b) Storage
address of number of data table elements", it becomes W1 =
1. The reading or writing of the data table isn't executed.
When "(a) Format specification" is used for operation in the
extended format, if the values of one or more elements in the
index array specified in (e) are greater than the value set in
"(b) Storage address of number of data table elements", it
becomes W1 = 1. The reading or writing of a data table is
executed for the normal index values but not executed as for
the wrong index values.
- 239 -
4.LADDER LANGUAGE B-63983EN/01
RW = 0 W1
SUB 35
XMOVB 0041
RST = 0
R0
R100
ACT = 1 R200
D0
R100 D D0 2 R200 A
R101 D1 5 R201 B
R102 A D2 8 R202 C
R103 D3 0 R203 D
R106
R107
R108 C
Data table
- 240 -
B-63983EN/01 4.LADDER LANGUAGE
RW = 1 W1
SUB 35
XMOVB 0041
RST = 0
R0
R200
ACT = 1 R100
D0
R100 A D0 2 R200 D
R101 B D1 5 R201
R102 C D2 8 R202 A
R103 D D3 0 R203
R206
R207
R208 C
Data table
- 241 -
4.LADDER LANGUAGE B-63983EN/01
Reads or rewrites the contents of the data table. The value type in this
instruction ia binary.
CAUTION
The data table heading address specified here is
table internal number 0. The table internal number
specified here, however, is different from that
mentioned in Subsection 2.2.12.
1
2
Input or output data <1> 3
<2>
Format
Fig. 4.5.8 (b) shows the ladder format and Table 4.5.8 shows the
mnemonic format.
W1 Error output
BYT
¡¡¡¡.¡ SUB 18
RW ¡¡¡¡.¡
XMOV
¡¡¡¡.¡ ¡¡¡¡ Number of data of the data table (Table capacity)
RST
¡¡¡¡ Data table heading address
¡¡¡¡.¡
ACT ¡¡¡¡ Address storing input/output data
- 242 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specify the number of digits of data. (BYT)
BYT = 0: Data stored in the data table, BCD in two digits long.
BYT = 1: Data stored in the data table, BCD in four digits long.
(b) Specify read or write (RW)
RW = 0: Data is read from the data table.
RW = 1: Data is write in the data table.
(c) Reset (RST)
RST = 0: Release reset.
RST = 1: Enables reset, that is, sets W1 to 0.
(d) Execution command (ACT)
ACT = 0: The XMOV instruction is not executed. W1 does not
change.
ACT = 1: The XMOV instruction is executed.
Parameters
(a) Number of data of the data table
Specifies the size of the data table. If the beginning of the data
table is 0 and the end is n, n + 1 is set as the number of data of
the data table.
- 243 -
4.LADDER LANGUAGE B-63983EN/01
Error output
W1 = 0: There is no error.
W1 = 1: There is an error.
An error occurs if a table internal number exceeding the
previously programmed number of the data table is specified.
- 244 -
B-63983EN/01 4.LADDER LANGUAGE
4.6 COMPARISON
- 245 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.6.1 shows the ladder format and Table 4.6.1 shows the
mnemonic format.
ACT
SUB 32
Control condition
(a) Command (ACT)
ACT = 0: Do not execute COMPB.
ACT = 1: Execute COMPB.
- 246 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Format specification
Specify data length (1,2, or 4 bytes) and format for the input data
('constants data' or 'address data').
0 0
The data involved in the operation are set in this register. This register
is set with data on operation. If register bit 1 is on, they indicate the
following:
7 6 5 4 3 2 1 0
R9000
Overflow
The following table shows the relationship among the [input data],
[data compared], and operation output register.
- 247 -
4.LADDER LANGUAGE B-63983EN/01
R9000.1
- 248 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.6.2 shows the ladder format and Table 4.6.2 shows the
mnemonic format.
W1
BYT Comparison result output
SUB 15
¡¡¡¡.¡ COMP
¡¡¡¡.¡
ACT
¡ Specification of input data format (constant or address)
¡¡¡¡ Input data
¡¡¡¡.¡ ¡¡¡¡ Comparison data address
Control condition
- 249 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
(a) Specify the data size. (BYT)
BYT = 0: Process data (input value and comparison value) is
BCD two digits long.
BYT = 1: Process data (input value and comparison value) is
BCD four digits long.
(b) Execution command (ACT)
ACT = 0: The COMP instruction is not executed. W1 does not
alter.
ACT = 1: The COMP instruction is executed and the result is
output to W1.
Parameters
(a) Specification of input data format
0: Specifies input data with a constant.
1: Specifies input data with an address
Not specify input data directly, but specify an address storing
input data.
- 250 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.6.3 shows the ladder format and Table 4.6.3 shows the
mnemonic format.
W1 Comparison
BYT result output
SUB 16
¡¡¡¡.¡
COIN ¡¡¡¡.¡
ACT
Control conditions
- 251 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
(a) Specify the data size.
BYT = 0: Process data (input value, and comparison values).
Each BCD is two digits long.
BYT = 1: Each BCD four digits long.
Parameters
(a) Specification of input data format
0: Specifies input data as a constant.
1: Specifies input data as an address.
- 252 -
B-63983EN/01 4.LADDER LANGUAGE
The following types of data search instruction are available. Use any
of these instructions as appropriate for your purpose.
- 253 -
4.LADDER LANGUAGE B-63983EN/01
0
Search data 1
100 2 100
3
Search result output
2
Format
Fig. 4.7.1 (b) shows the ladder format and Table 4.7.1 shows the
mnemonic format.
Search result
RST W1
SUB 34
CAUTION
You can specify any R,E and D address for the data
table in this functional instruction.
- 254 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
- 255 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Format designation
Specifies data length. Specify byte length in the first digit of the
parameter.
1: 1-byte long data
2: 2-byte long data
4: 4-byte long data
(b) Storage address of number of data in data table
Specifies address in which number of data in the data table is set.
This address requires memory of number of byte according to the
format designation.
Number of data in the table is n + 1 (head number in the table is
0 and the last number is n).
(c) Data table head address
Sets head address of data table.
(d) Search data address
Address in which search data is set.
(e) Output address of search result
After searching, if search data is found, the table number where
the data is stored will be output. The searched table number is
output in this search result output address. This address requires
memory of number of byte according to the format designation.
- 256 -
B-63983EN/01 4.LADDER LANGUAGE
This function instruction instructs data search in the data table. DSCH
searches the data table for a specified data, outputs an address storing
it counting from the beginning of the data table. If the data cannot be
found, an output is made accordingly. The value type in this
instruction is BCD.
1
Search data
2
100 100
CAUTION
You can specify any R,E and D address for the data
table in this functional instruction.
Format
Fig. 4.7.2 (b) shows the ladder format and Table 4.7.2 shows the
mnemonic format.
BYT W1
SUB 17 Search result
¡¡¡¡.¡
RST
DSCH ¡¡¡¡.¡
¡¡¡¡.¡
ACT
¡¡¡¡ Number of data of the data table (Table capacity)
¡¡¡¡ Data table heading address
¡¡¡¡.¡ ¡¡¡¡ Search data address
¡¡¡¡ Search result output address
Control condition
- 257 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
- 258 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
- 259 -
4.LADDER LANGUAGE B-63983EN/01
The following types of bit operation instruction are available. Use any
of these instructions as appropriate for your purpose.
Instruction Sub
Processing
name number
1 DIFU 57 Rising edge detection
2 DIFD 58 Falling edge detection
3 EOR 59 Exclusive OR
4 AND 60 Logical AND
5 OR 61 Logical OR
6 NOT 62 Logical NOT
7 PARI 11 Parity check
8 SFT 33 Shift register
- 260 -
B-63983EN/01 4.LADDER LANGUAGE
The DIFU instruction sets the output signal to 1 for one scanning cycle
on a rising edge of the input signal.
Format
Fig. 4.8.1 shows the ladder format and Table 4.8.1 shows the
mnemonic format.
ACT OUT
SUB 57
DIFU
Rising edge
¡¡¡¡
number
Control conditions
(a) Input signal (ACT)
On a rising edge (0 → 1) of the input signal, the output signal is
set to 1.
Detection result
(a) Output signal (OUT)
The output signal level remains at 1 for one scanning cycle of the
ladder level where this functional instruction is operating.
- 261 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
30i-A
Dual check safety
1st PMC 2nd PMC (option) 3rd PMC (option)
PMC(option)
Rising edge 1 to 1000 1 to 256 1 to 256 1 to 256
number
WARNING
If the same number is used for another DIFU
instruction or a DIFD instruction (described later) in
one Ladder diagram, operation is not guaranteed.
Operation
1 2 3 4 Execution period
ACT
OUT
- 262 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.8.2 shows the ladder format and Table 4.8.2 shows the
mnemonic format.
ACT OUT
SUB 58
DIFD
¡¡¡¡ Falling edge
number
Control conditions
(a) Input signal (ACT)
On a falling edge (1→0) of the input signal, the output signal is set
to 1.
Detection result
(a) Output signal (OUT)
The output signal level remains at 1 for one scanning period of the
ladder level where this functional instruction is operating.
- 263 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
30i-A
Dual check safety
1st PMC 2nd PMC (option) 3rd PMC (option)
PMC(option)
Falling edge
1 to 1000 1 to 256 1 to 256 1 to 256
number
WARNING
If the same number is used for another DIFD
instruction or a DIFU instruction (described above) in
one ladder diagram, operation is not guaranteed.
Operation
1 2 3 4
Execution period
ACT
OUT
- 264 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.8.3 shows the ladder format and Table 4.8.3 shows the
mnemonic format.
ACT
SUB 59
o00o Format specification
EOR ¡¡¡¡ Address A
¡¡¡¡ Constant or address B
¡¡¡¡
Address C
Control conditions
(a) Input signal (ACT)
ACT=0: The EOR instruction is not executed.
ACT=1: The EOR instruction is executed.
- 265 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format
(constant or address specification).
o 0 0 o
(b) Address A
Input data to be exclusive-ORed. The data that is held starting at
this address and has the data length specified in format
specification is treated as input data.
(d) Address C
Address used to store the result of an exclusive OR operation.
The result of an exclusive OR operation is stored starting at this
address, and has the data length specified in format specification.
Operation
When address A and address B hold the following data:
Address A 1 1 1 0 0 0 1 1
Address B 0 1 0 1 0 1 0 1
Address C 1 0 1 1 0 1 1 0
- 266 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.8.4 shows the ladder format and Table 4.8.4 shows the
mnemonic format.
ACT
SUB 60
o00o Format specification
AND ¡¡¡¡ Address A
¡¡¡¡ Constant or address B
¡¡¡¡
Address C
Control conditions
(a) Input signal (ACT)
ACT=0: The AND instruction is not executed.
ACT=1 : The AND instruction is executed.
- 267 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format
(constant or address specification).
o 0 0 o
(b) Address A
Input data to be ANDed. The data that is held starting at this
address and has the data length specified in format specification
is treated as input data.
(d) Address C
Address used to store the result of an AND operation. The result
of an AND operation is stored starting at this address, and has the
data length specified in format specification.
Operation
When address A and address B hold the following data:
Address A 1 1 1 0 0 0 1 1
Address B 0 1 0 1 0 1 0 1
Address C 0 1 0 0 0 0 0 1
- 268 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.8.5 shows the ladder format and Table 4.8.5 shows the
mnemonic format.
ACT
SUB 61
o00o Format specification
OR ¡¡¡¡ Address A
¡¡¡¡ Constant or address B
¡¡¡¡
Address C
Control conditions
(a) Input signal (ACT)
ACT=0: The OR instruction is not executed.
ACT=1: The OR instruction is executed.
- 269 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format
(constant or address specification).
o 0 0 o
(b) Address A
Input data to be ORed. The data that is held starting at this
address and has the data length specified in format specification is
treated as input data.
(d) Address C
Address used to store the result of an OR operation. The result of
an OR operation is stored starting at this address, and has the data
length specified in format specification.
Operation
When address A and address B hold the following data:
Address A 1 1 1 0 0 0 1 1
Address B 0 1 0 1 0 1 0 1
Address C 1 1 1 1 0 1 1 1
- 270 -
B-63983EN/01 4.LADDER LANGUAGE
The NOT instruction inverts each bit of the contents of address A, and
stores the result at address B.
Format
Fig. 4.8.6 shows the ladder format and Table 4.8.6 shows the
mnemonic format.
ACT
SUB 62
000o Format specification
NOT ¡¡¡¡ Address A
¡¡¡¡ Address B
Control conditions
(a) Input signal (ACT)
ACT=0: The NOT instruction is not executed.
ACT=1: The NOT instruction is executed.
- 271 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes).
0 0 0 o
(b) Address A
Input data to be inverted bit by bit. The data that is held starting at
this address and has the data length specified in format
specification is treated as input data.
(c) Address B
Address used to output the result of a NOT operation. The result
of a NOT operation is stored starting at this address, and has the
data length specified in format specification.
Operation
When address A holds the following data:
Address A 1 1 1 0 0 0 1 1
Address B 0 0 0 1 1 1 0 0
- 272 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.8.7 (a) shows the ladder format and Table 4.8.7 shows the
mnemonic format.
O.E
¡¡¡¡. ¡
Control conditions
(a) Specify even or odd. (O.E)
O.E=0: Even-parity check
O.E=1: Odd-parity check
- 273 -
4.LADDER LANGUAGE B-63983EN/01
7 6 5 4 3 2 1 0
Address X036 0
A
A
R228.0
A R228.0
R228.0
A
SUB 11
R228.0
PARI X036
ERST.M
ERR
X32.7
TF
F7.3
NOTE
For bits 0 to 7, bits other than those for the parity
check must be 0.
- 274 -
B-63983EN/01 4.LADDER LANGUAGE
This instruction shifts 2-byte (16-bit) data by a bit to the left or right.
Note that W1=1 when data "1" is shifted from the left extremity (bit 15)
in left shift or from the right extremity (bit 0) in right shift.
Format
Fig. 4.8.8 shows the ladder format and Table 4.8.8 shows the
mnemonic format.
DIR
*
CONT SUB 33
¡¡¡¡
SFT W1
RST Address of
shift data
ACT
- 275 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
(a) Shift direction specification (DIR)]
DIR=0: Left shift
DIR=1: Right shift
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Left shift
CONT=1:
Shift is the same as above, but 1s are set to shifted bits.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Left shift
0 0 0 0 0 0 1 <1> 1 <1> 0 0 1 <1> 0 0
- 276 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Shift data addresses
Sets shift data addresses. These designated addresses require a
continuous 2-byte memory for shift data.
Bit numbers are represented by bit 0 to 15 as shown below. When
addresses are designated for programming, an address number is
attached every 8 bits, and the designable bit numbers are 0 to 7.
7 6 5 4 3 2 1 0
Designated address
15 14 13 12 11 10 9 8
Designated address +1
Shifted out
W1=0: "1" was not shifted out because of the shift operation.
W1=1: "1" was shifted out because of the shift operation.
- 277 -
4.LADDER LANGUAGE B-63983EN/01
Instruction Sub
Processing
name number
1 COD 7 Code conversion
2 CODB 27 Binary code conversion
3 DCNV 14 Data conversion
4 DCNVB 31 Extended data conversion
5 DEC 4 Decoding
6 DECB 25 Binary decoding
- 278 -
B-63983EN/01 4.LADDER LANGUAGE
4
Convert data
output address
¡¡¡¡
Data of the specified table internal address
is output to this address.
n
- 279 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.9.1 (b) shows the ladder format and Table 4.9.1 shows the
mnemonic format.
¡¡¡¡. ¡ SUB 7
RST ¡¡¡ Size of table data
COD ¡¡¡¡ Conversion input data address
¡¡¡¡. ¡ ¡¡¡¡ Converted data output address
ACT
¡¡¡¡. ¡
Control condition
0 ¡ ¡ ¡ ¡
1 ¡ ¡ ¡ ¡
2 ¡ ¡ ¡ ¡
3 ¡ ¡ ¡ ¡
- 280 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specify the data size. (BYT)
BYT=0: Specifies that the conversion table data is to be BCD
two digits.
BYT=1: Specifies that the conversion table data is to be BCD
four digits.
Parameters
(a) Size of table data
A conversion table data address from 00 to 99 can be specified.
Specify n+1 as the size of table when n is the last table internal
number.
- 281 -
4.LADDER LANGUAGE B-63983EN/01
- 282 -
B-63983EN/01 4.LADDER LANGUAGE
Conversion data 0
address 2
¡¡¡¡
Specify table address here. 1
(binary format1 byte)
2 (Note 1) This table data is binary
format 2-byte data.
Conversion data 3
(Note 2) Conversion table is
output address 1250 written in the ROM
¡¡¡¡ together together with
Data stored in the specified ∼ ∼ the program, because it
table address is output to ∼ ∼ is defined in the
this address sequence program.
n
(n: max. 255)
- 283 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.9.2 (b) shows the ladder format and Table 4.9.2 shows the
mnemonic format.
Error output
W1
RST
SUB 27
CODB
ACT ¡ Format designation
¡¡¡ Number of conversion table data
¡¡¡¡ Conversion input data address
¡¡¡¡ * Conversion data output address
Control conditions
(a) Reset (RST)
RST=0: Do not reset.
RST=1: Reset error output W1 (W1=0).
- 284 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Format designation
Designates binary numerical size in the conversion table.
1: Numerical data is binary 1-byte data.
2: Numerical data is binary 2-byte data.
4: Numerical data is binary 4-byte data.
- 285 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.9.3 shows the ladder format and Table 4.9.3 shows the
mnemonic format.
Error output
BYT W1
¡¡¡¡.¡ SUB 14
CNV ¡¡¡¡.¡
DCNV
ACT
¡¡¡¡.¡
Control condition
- 286 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specify data size. (BYT)
BYT=0: Process data in length of one byte (8 bits)
BYT=1: Process data in length of two byte (16 bits)
- 287 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.9.4 shows the ladder format and Table 4.9.4 shows the
mnemonic format.
SIN
W1
CNV
SUB 31
¡ Format specification
RST DCNVB ¡¡¡¡ * Input data address
¡¡¡¡ * Conversion result output address
ACT
- 288 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Sign of the data to be converted (SIN)
This parameter is significant only when you are converting BCD
data into binary coded data. It gives the sign of the BCD data.
Note that though it is insignificant when you are converting binary
into BCD data, you cannot omit it.
SIN=0: Data (BCD code) to be input is positive.
SIN=1: Data (BCD code) to be input is negative.
Parameters
(a) Format specification
Specify data length (1,2, or 4 bytes).
Use the first digit of the parameter to specify byte length.
1: one byte
2: two bytes
4: four bytes
- 289 -
4.LADDER LANGUAGE B-63983EN/01
This register is set with data on operation. If register bit 1 is on, they
signify the following.
For the positive/negative signs when binary data is converted into BCD
data, see R9000.
7 6 5 4 3 2 1 0
R9000
Negative
Overflow
(data exceeds the number of bytes specified)
- 290 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.9.5 (a) shows the ladder format and Table 4.9.5 (a) shows the
mnemonic format.
Control condition
ACT=0: Turns the decoding result output off (W1).
ACT=1: Performs decoding.
When the specified number is equal to the code signal, W1=1; when
not, W1=0.
- 291 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Code signal address
Specify the address containing two-digit BCD code signals.
Decode specification ¡¡ ¡¡
(i) Number:
Specify the decode number.
Must always be decoded in two digits.
(ii) Number of digits:
01: The high-order digit of two decimal digits is set to 0
and only the low-order digit is decoded.
10: The low-order digit is set to 0 and only the high-order
digit is decoded.
11: Two decimal digits are decoded.
W1
SUB 4 R200
DEC
R100.0 R103.1 3011
R228.1
- 292 -
B-63983EN/01 4.LADDER LANGUAGE
DECB decodes one, two, or four-byte binary code data. When one of
the specified eight consecutive numbers matches the code data, a
logical high value (value 1) is set in the output data bit which
corresponds to the specified number. When these numbers do not
match, a logical low value (value 0) is set.
Use this instruction for decoding data of the M or T function.
There are two specifications - basic specification and extended
specification - for setting the format specification parameter in the
DECB instruction. The extended specification allows 8n consecutive
values to be decoded at a time. For the details of the setting of a format
specification parameter, see the description of parameters.
Format
Decode designating
number +7
Decode designating numbers
Eight numbers, each of which is added by 0, 1, 2, . . . , and 7 to the specified
number are decoded.
When number 62 is specified, for example, eight numbers of 62 to 69 are
decoded.
If code data is 62, 0 bit of output data is turned on; if 69, 7th bit is turned on.
- 293 -
4.LADDER LANGUAGE B-63983EN/01
Decode designating
number +8
8n-1 8(n-1)
Decode designating
number +(8n-1)
Figs. 4.9.6 (c) and (d) show the ladder formats and Tables 4.9.6 (a) and
(b) show the mnemonic formats.
ACT
SUB 25
¡ Format specification
DECB ¡¡¡¡ * Code data address
¡¡¡¡ Decode designation
¡¡¡¡ Decode result output address
- 294 -
B-63983EN/01 4.LADDER LANGUAGE
ACT
SUB 25
0ooo Format specification
DECB ¡¡¡¡ * Code data address
¡¡¡¡ Decode designation
¡¡¡¡ Decode result output address
Control conditions
(a) Command (ACT)
ACT=0: Resets all the output data bits.
ACT=1: Decodes data.
Results of processing is set in the output data address.
- 295 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Format specification
Set the size of code data to the 1st digit of the parameter.
0001: Code data is in binary format of 1 byte length
0002: Code data is in binary format of 2 byte length
0004: Code data is in binary format of 4 byte length
When setting format specification in the following extended format,
DECB can decode multiple (8 × n) bytes by 1 instruction.
0nn1: In case of decoding multiple (8 × nn) bytes and code data
is binary format of 1 byte length
0nn2: In case of decoding multiple (8 × nn) bytes and code data
is binary format of 2 byte length
0nn4: In case of decoding multiple (8 × nn) bytes and code data
is binary format of 4 byte length
The nn is the numerical value from 02 to 99. When setting 00 or
01, it works for decoding 8 numbers.
- 296 -
B-63983EN/01 4.LADDER LANGUAGE
Instruction Sub
Processing
name number
1 ADDB 36 Binary addition
2 SUBB 37 Binary subtraction
3 MULB 38 Binary multiplication
4 DIVB 39 Binary division
5 ADD 19 BCD addition
6 SUB 20 BCD subtraction
7 MUL 21 BCD multiplication
8 DIV 22 BCD division
9 NUMEB 40 Definition of binary constants
10 NUME 23 Definition of BCD constants
- 297 -
4.LADDER LANGUAGE B-63983EN/01
This instruction performs binary addition between 1-, 2-, and 4-byte
data. In the operation result register (R9000), operating data is set
besides the numerical data representing the operation results. The
required number of bytes is necessary to store each augend, the added,
and the operation output data.
Format
Fig. 4.10.1 shows the ladder format and Table 4.10.1 shows the
mnemonic format.
Error output
RST W1
SUB 36
- 298 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Reset (RST)
RST=0: Release reset
RST=1: Resets error output W1. In other words, makes W1=0.
Parameters
(a) Format specification
Specifies data length (1, 2, and 4 bytes) and the format for the
addend (constant or address).
0 0
Format specification
0: Constant data
1: Address data
- 299 -
4.LADDER LANGUAGE B-63983EN/01
This register is set with data on operation. If register bit is on, they
signify the following operation data:
7 6 5 4 3 2 1 0
R9000
Zero
Negative
Overflow
- 300 -
B-63983EN/01 4.LADDER LANGUAGE
This instruction subtracts one data from another, both data being in the
binary format of 1, 2 or 4 bytes.
In the operation result register (R9000), operation data is set besides
the numerical data representing the operation. A required number of
bytes is necessary to store the subtrahend, minuend, and the result
(difference).
Format
Fig. 4.10.2 shows the ladder format and Table 4.10.2 shows the
mnemonic format.
Error output
RST W1
SUB 37
- 301 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
(a) Reset (RST)
RST=0: Release reset
RST=1: Resets error output W1. (Set W1 to 0.)
Parameters
(a) Format specification
Specifies data length (1, 2, and 4 bytes) and the format for the
subtrahend (constant or address).
0 0
- 302 -
B-63983EN/01 4.LADDER LANGUAGE
This register is set with data on operation. If register bit is on, they
signify the following operation data:
7 6 5 4 3 2 1 0
R9000
Zero
Negative
Overflow
- 303 -
4.LADDER LANGUAGE B-63983EN/01
This instruction multiplies 1-, 2-, and 4-byte binary data items. In the
operation result register (R9000), operation data is set besides the
numerical data representing the operation.
A required number of bytes is necessary to store multiplicand,
multiplier, and the result (product).
Format
Fig. 4.10.3 shows the ladder format and Table 4.10.3 shows the
mnemonic format.
Error output
RST W1
SUB 38
- 304 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Reset (RST)
RST=0: Release reset
RST=1: Resets error output W1. In other words, makes W1=0.
Parameters
(a) Format specification
Specifies data length (1, 2, and 4 bytes) and the format for the
multiplier (constant or address).
0 0
- 305 -
4.LADDER LANGUAGE B-63983EN/01
This register is set with data on operation. If register bit is on, they
signify the following operation data:
7 6 5 4 3 2 1 0
R9000
Zero
Negative
Overflow
- 306 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.10.4 shows the ladder format and Table 4.10.4 shows the
mnemonic format.
Error output
RST W1
SUB 39
- 307 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
(a) Reset (RST)
RST=0: Release reset
RST=1: Resets error output W1. In other words, makes W1=0.
Parameters
(a) Format specification
Specifies data length (1, 2, and 4 bytes) and the format for the
divisor (constant or address).
0 0
- 308 -
B-63983EN/01 4.LADDER LANGUAGE
This register is set with data on operation. If register bit is on, they
signify the following operation data:
7 6 5 4 3 2 1 0
R9000
Zero
Negative
Overflow
- 309 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.10.5 shows the ladder format and Table 4.10.5 shows the
mnemonic format.
BYT W1
Error output
¡¡¡¡.¡ SUB 19
RST
ADD ¡¡¡¡.¡
Control conditions
- 310 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specify the number of digits of data. (BYT)
BYT=0: Data is BCD two digits long.
BYT=1: Data is BCD four digits long.
Parameters
(a) Data format of addend
0: Specifies addend with a constant.
1: Specifies addend with an address.
Error output
W1=0: Normal operation
W1=1: Abnormal operation. W1 is set to 1 to indicate an error, e.g. if
the result of the addition exceeds the data size specified for
control condition (a) described above.
- 311 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.10.6 shows the ladder format and Table 4.10.6 shows the
mnemonic format.
BYT W1
Error output
¡¡¡¡.¡ SUB 20
RST
SUB ¡¡¡¡.¡
¡¡¡¡.¡ ¡ Data format of subtrahend
ACT ¡¡¡¡ Minuend address
¡¡¡¡ Subtrahend
¡¡¡¡.¡ ¡¡¡¡ Difference output address
Control condition
- 312 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specification of the number of digits of data. (BYT)
BYT=0: Data BCD two digits long
BYT=1: Data BCD four digits long
Parameters
(a) Data format of subtrahend
0: Specifies subtrahend with a constant.
1: Specifies subtrahend with an address.
Error output
W1=0: Normal operation
W1=1: Abnormal operation. W1 is set 1 to indicate an error if the
difference is negative.
- 313 -
4.LADDER LANGUAGE B-63983EN/01
Multiplies BCD two- or four-digit data. The product must also be BCD
two- or four-digit data.
Format
Fig. 4.10.7 shows the ladder format and Table 4.10.7 shows the
mnemonic format.
BYT W1
Error output
¡¡¡¡.¡ SUB 21
RST
MUL ¡¡¡¡.¡
Control conditions
- 314 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specify the number of digits of data. (BYT)
BYT=0: Data is BCD two digits long.
BYT=1: Data is BCD four digits long.
Parameters
(a) Data format of multiplier
0: Specifies multiplier with a constant.
1: Specifies multiplier with an address.
Error output
W1=0: Normal operation
W1=1: Abnormal operation. W1=1 is set to indicate an error if the
product exceeds the specified size.
- 315 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.10.8 shows the ladder format and Table 4.10.8 shows the
mnemonic format.
BYT W1
Error output
¡¡¡¡.¡ SUB 22
RST
DIV ¡¡¡¡.¡
Control conditions
- 316 -
B-63983EN/01 4.LADDER LANGUAGE
Control conditions
(a) Specify the number of digits of data. (BYT)
BYT=0: Data is BCD two digits long.
BYT=1: Data is BCD four digits long.
Parameters
(a) Divisor data format designation
0: Specifies divisor data by constant.
1: Specifies divisor data by address.
Error output
W1=0: Normal operation
W1=1: Abnormal operation. W1=1 is set to indicate an error if the
divider is 0.
- 317 -
4.LADDER LANGUAGE B-63983EN/01
Format
Figs. 4.10.9 (a) and (b) show the ladder formats and Tables 4.10.9 (a)
and (b) show the mnemonic formats.
ACT
SUB 40
NUMEB ¡ Format specification
¡¡¡¡ Constant
¡¡¡¡ Constant output address
- 318 -
B-63983EN/01 4.LADDER LANGUAGE
ACT
SUB 40
0ooo Format specification
NUMEB
¡¡¡¡ Constant
¡¡¡¡ Constant output address
Control conditions
(a) Command (ACT)
ACT= 0: Do not execute NUMEB.
ACT=1 : Execute NUMEB.
- 319 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Format specification
Specifies data length (1, 2, or 4 bytes).
Use the first parameter digit to specify byte length:
0001: Binary data of 1 byte length
0002: Binary data of 2 byte length
0004: Binary data of 4 byte length
(b) Constant
Defined constants in decimal format. Set a constant data within
the effective range for the byte length which is set in above (a).
- 320 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.10.10 shows the ladder format and Table 4.10.10 shows the
mnemonic format.
BYT
SUB 23
NUME ¡¡¡¡ Constant
¡¡¡¡.¡
ACT ¡¡¡¡ Constant output
address
¡¡¡¡.¡
Instruction
Control condition
Control conditions
(a) Specify the number of digits of a constant. (BYT)
BYT=0: Constant is BCD two digits long.
BYT=1: Constant is BCD four digits long.
- 321 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Constant
Sets the constant as the number of digits specified for control
condition (a).
- 322 -
B-63983EN/01 4.LADDER LANGUAGE
Instruction Sub
Processing
name number
1 DISPB 41 Message display
2 EXIN 42 External data input
3 WINDR 51 Reading of CNC window data
4 WINDW 52 Writing of CNC window data
5 AXCTL 53 PMC axis control
- 323 -
4.LADDER LANGUAGE B-63983EN/01
This instruction displays messages on the CNC screen. You can also
specify the message number to generate an alarm in the CNC.
You can program up to 2000 messages. You must use the special
message addresses in your program to simplify use of the messages.
The following are the features of this function.
NOTE
To use this instruction requires that the external data
input option or external message option be set on the
CNC side.
(a) In the program, specify 0 in the parameter and set ACT to 1. See
Fig. 4.11.1 (a).
If you set any bit of the message display request memory
(addresses A) to "1" when ACT = 1, the instruction displays the
message data defined in the message data table corresponding to
that bit. While the message is displayed, the bit of the message
display status memory corresponding to that message remains to
be "1".
Even if multiple messages are requested simultaneously, the
instruction does not necessarily display all the requested
messages. The number of messages that can be displayed
simultaneously is determined by the specifications of the CNC
screen. For example, if the CNC is designed to display up to four
messages on its screen at a time, a fifth message cannot be
displayed unless any of the four currently displayed messages is
cleared. This way, you can display the sixth and subsequent
messages as you clear the currently displayed messages one by
one.
- 324 -
B-63983EN/01 4.LADDER LANGUAGE
A9249 1 0 0 0 0 0 0 0 [ ][ ][ ][ ][ ]
Fig. 4.11.1 (a) Message display request memory, message display status memory, and message data table
NOTE
When ACT = 0, no message display processing is
performed at all. Make sure that ACT is always set to
"1" and code the program so that the message
display can be enabled or disabled by setting the
data in the message display request memory.
- 325 -
4.LADDER LANGUAGE B-63983EN/01
- 326 -
B-63983EN/01 4.LADDER LANGUAGE
Message
CNC screen Display contents
number
1000 to Alarm screen Alarm message
1999 (on path 1) • Path 1 is placed in the alarm state.
2000 to
Operator Operator message
2099(*Note)
message
2100 to
screen Operator message (with no message number)
2999(*Note)
Alarm message
• Path 2 is placed in the alarm state.
5000 to Alarm screen
• The displayed message number is a
5999 (on path 2)
specified number from which 4000 is
subtracted.
Alarm message
• Path 3 is placed in the alarm state.
7000 to Alarm screen
• The displayed message number is a
7999 (on path 3)
specified number from which 6000 is
subtracted.
NOTE
Normally, the number of the operator message with
the message number is 100 (2000 to 2099) and the
number of it without the message number is 900
(2100 to 2999). By setting into the CNC parameter
No. 6310 “The number of the operator message with
the message number”, you can change the number
of it with the message number.
(Example)
400 is set into the CNC parameter No.6310
- 2000 to 2399 displaying with the number
- 2400 to 2999 displaying without the number
- 327 -
4.LADDER LANGUAGE B-63983EN/01
• Extended specification
Set an eight-digit or nine-digit alphanumeric character string
at the start of each set of message data to indicate the type
and number of the message and the CNC screen on which the
message is to be displayed.
The format is as follows:
Alarm message
AL1+000=
Operator message
OP1+000=
Explanation:
AL 1 + 000 =
<1> <2> <3>
<1>: The first two characters indicate whether the
message is an alarm message or operator message.
<2>: Represents a path number. In the case of an alarm
message, specify a path number. In the case of an
operator message, specify the top path number in a
machine group number. (Note)
<3>: This value represents a message number. In the case
of an operator message, it indicates whether the
message has a message number or not.
NOTE
1 The path number specified with alarm message and
operator message is the interface path number in
PMC side.
2 For the path number for the operator message,
Specify the top path number. If you specify other
path number except the top, the operator message is
not displayed.
- 328 -
B-63983EN/01 4.LADDER LANGUAGE
The following table shows the message numbers and the corresponding
CNC screens.
Message
CNC screen Display contents
number
AL1+000= to Alarm screen Alarm message
AL1+999= (Path 1) • Path 1 is placed in the alarm state.
AL2+000= to Alarm screen Alarm message
AL2+999= (Path 2) • Path 2 is placed in the alarm state.
AL3+000= to Alarm screen Alarm message
AL3+999= (Path 3) • Path 3 is placed in the alarm state.
AL4+000= to Alarm screen Alarm message
AL4+999= (Path 4) • Path 4 is placed in the alarm state.
AL5+000= to Alarm screen Alarm message
AL5+999= (Path 5) • Path 5 is placed in the alarm state.
AL6+000= to Alarm screen Alarm message
AL6+999= (Path 6) • Path 6 is placed in the alarm state.
AL7+000= to Alarm screen Alarm message
AL7+999= (Path 7) • Path 7 is placed in the alarm state.
AL8+000= to Alarm screen Alarm message
AL8+999= (Path 8) • Path 8 is placed in the alarm state.
AL9+000= to Alarm screen Alarm message
AL9+999= (Path 9) • Path 9 is placed in the alarm state.
AL10+000= to Alarm screen Alarm message
AL10+999= (Path 10) • Path 10 is placed in the alarm state.
OP1+000= to
Operator message Operator message
OP1+099=
screen
OP1+100= to Operator message
(Machine group 1)
OP1+999= (with no message number)
OP2+000= to
Operator message Operator message
OP2+099=
screen
OP2+100= to Operator message
(Machine group 2)
OP2+999= (with no message number)
OP3+000= to
Operator message Operator message
OP3+099=
screen
OP3+100= to Operator message
(Machine group 3)
OP3+999= (with no message number)
NOTE
The message number differs between an operator
message with a message number and that with no
message number. Note this difference when
displaying operator messages.
(b) You need not use numerical codes for message data input. Instead,
when programming, directly key in the characters making up the
messages (from the CNC screen keyboard). For the characters
that CNC screen does not provide for, you must enter these
characters by numerical data with special symbols "@". For
details, see the column "Defining characters not found in the CNC
screen" described later.
- 329 -
4.LADDER LANGUAGE B-63983EN/01
(c) If you write the message data items in the ROM after
programming, you cannot change them any more (they will
become fixed data items). The only exception is numerical values
you want to use as variables. You can display these values,
existing in memory at the time when the message display starts, by
defining their memory addresses in the message data. Note,
however, that their values in memory cannot be displayed in real
time.
(d) A message is displayed on the NC alarm message/operator
message screen.
When using the DISPB instruction, you must satisfy the following
conditions:
To use DISPB, the optional External Data Input function or
External Message Display is necessary for NC.
Format
Fig. 4.11.1(b) shows the ladder format and Table 4.11.1(a) shows the
mnemonic format.
ACT
SUB 41
DISPB 0 (Not used)
Control conditions
ACT=0: Do not display messages on the CNC screen.
ACT=1: Display the messages on the CNC screen.
- 330 -
B-63983EN/01 4.LADDER LANGUAGE
Parameter
This parameter is not used.
Enter "0" as the input value. (NOTE)
NOTE
Thanks to the compatibility with the former models,
the instruction runs normally if the entered value is in
the range between 1 and 2000.
[Ibid, ¡¡¡¡]
(ii) Unsigned
[Ubid, ¡¡¡¡]
Address where the numerical data is stored
Set binary data in the specified address.
- 331 -
4.LADDER LANGUAGE B-63983EN/01
NOTE
1 Sum of integer part digits and fractional part digits
must be within 8.
2 Blank is displayed for digits exceeding 8 digits.
3 Do not use any space between the brackets, [ ].
(b) Example
The following message includes 3 digits tool number at the
spindle and the offset data (¡.¡¡) for this tool. And these data
are contained in memory address of 2bytes:
SPINDLE TOOL NO. = [I230, oooo]
OFFSET DATA = [I212, ∆∆∆∆]
- 332 -
B-63983EN/01 4.LADDER LANGUAGE
Message characters not covered by the CNC screen keys (kanji and
half-width kana characters) can be input as follows:
NOTE
Spaces are used between each numerical code in
example to understand easily, but do not use them
actually.
- 333 -
4.LADDER LANGUAGE B-63983EN/01
CAUTION
1 To define @, enter @40...@, where 40 is the code
corresponding to @40 . . . . . @
Code for @
2 To renew the message line displayed on the CNC
screen, input as:@ 0A @ at the end of the data.
3 When using numerical codes, @ code occupies 1
byte, and space code occupies 2 bytes. (Space code
= 20, 2 and 0 occupies 1 byte each).
4 The following control codes are used: 02: 2-byte
code (kanji and hiragana characters) 01: 1-byte code
(alphanumeric and half-width kana characters) Do
not specify 02 or 01 between @02 and 01@, as
follows. The characters may not be correctly
displayed. @02 ... 02 ... 01@ @02 ... 01 ... 01@
5 Spaces are used between each numerical code in
example to understand easily, but do not use them
actually.
*1) Minus, *2) Under bar, *3) Long bar *4) Dakuten *5) Han-dakuten
- 334 -
B-63983EN/01 4.LADDER LANGUAGE
(b) Examples
Example 1:
Message data in any of four languages is set starting at A0.0
in the order of Japanese, English, Italian, German, Japanese
and so on. The Italian message data is displayed.
Set the parameters as follows:
Message shift value : 2
Message shift start address : A0.0
(Message shift value = 0:Japanese/1:English/2:Italian/
3:German)
Manipulate A0.0, A0.4, A1.0, and A1.4 with the ladder.
Message table
A0.0 Japanese 1
When A0.0 is turned on, Italian 1 is displayed.
A0.1 English 1
(The message data is shifted by 2 bits).
A0.2 Italian 1
A0.3 German 1
A0.4 Japanese 2
A0.5 English 2 When A0.4 is turned on, Italian 2 is displayed.
A0.6 Italian 2 (The message data is shifted by 2 bits).
A0.7 German 2
: :
Am.n :
- 335 -
4.LADDER LANGUAGE B-63983EN/01
Example 2:.
As common alarm messages, English message data is
displayed with A0.0 through A9.7. Operator messages are
set starting at A10.0 in the order of Japanese, English, Italian,
German and so on, and German message data is displayed.
Set the parameters as follows:
Message shift value : 3
Message shift start address : A10.0
(Message shift value = 0:Japanese/1:English/
2:Italian/3:German)
Manipulate A10.0, A10.4, A11.0, A11.4, and so forth with
the ladder.
When any of A0.0 to A9.7 is turned on, the message
corresponding to the bit is displayed.
Message table
- 336 -
B-63983EN/01 4.LADDER LANGUAGE
Example 3:
As common alarm messages, English message data is
displayed with A0.0 through A9.7. Operator messages are
set starting at A10.0 in the order of Japanese, English, Italian,
German and so on, with 40 successive messages assigned to
each language. For these messages, German message data is
displayed.
Set the parameters as follows:
Message shift value : 120 (40 × 3)
Message shift start address : A10.0
(Message shift value = 0:Japanese/40:English/
80:Italian/120:German)
Manipulate A10.0 through A14.7 with the ladder.
When any of A0.0 to A9.7 is turned on, the message
corresponding to the bit is displayed.
Message table
- 337 -
4.LADDER LANGUAGE B-63983EN/01
(c) Notes
The same message number should be assigned to a message in
each language that has the same meaning.
Message table
- 338 -
B-63983EN/01 4.LADDER LANGUAGE
This instruction enables the use of the external data input functions
(options) of the CNC. It controls the "external data input signals" to be
exchanged between CNC and PMC and automatically executes the
CNC-PMC handshake sequence. The use of this instruction facilitates
the execution of the external data input functions.
NOTE
When using this instruction, do not directly write the
"external data input signals" to be exchanged
between CNC and PMC. Writing these signals
directly causes an adverse effect on the handshake
sequence, potentially disabling the external data
input functions or causing them to malfunction.
You can use the EXIN instruction only when optional external data
input function is provided with NC.
Four-byte control data as described below is required for external data
input function (option).
In addition to the basic specification, the extended specification is also
supported that needs six bytes of control data. With this setting, the
extended operation can use ED16 to ED31 signals (for program
number O8 digits etc.). To use the extended specification, it is
necessary to set to CNC parameter 6300#7 (EEXIN)=1.
CNC parameter
#7 #6 #5 #4 #3 #2 #1 #0
6300 EEXIN
[Data format] Bit type
EEXIN EXIN function of PMC
0: basic specification
1: extended specification
NOTE
1 To use program number O8 digits, the option with
program number O8 digits and NC parameter
6300#7 (EEXIN)=1 are necessary.
2 The change of NC parameter 6300#7 requires CNC
re-boot.
- 339 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.11.2 shows the ladder format and Table 4.11.2 shows the
mnemonic format.
ACT
W1
SUB 42
EXIN
¡¡¡¡ Control data
address
Control conditions
ACT=0: Do not process external data input/output.
ACT=1: Process external data input/output.
ACT is to be maintained '1' till the end of external data input/output.
After external data input, reset ACT (W1 = 1).
- 340 -
B-63983EN/01 4.LADDER LANGUAGE
Parameter
(a) Control data
The control data needs 4 continuous bytes from the specification
address. The path is specified to the 1st byte. The addresses G0
to G2 of the interface from PMC to NC are specified by after 3
bytes. For 2nd path, the addresses G1000 to G1002 are specified.
For 3rd path, the addresses G2000 to G2002 are specified. (Be
sure to set the strobe signal (ESTB) to ON.)
In case of the extended specification (program number O8 digits
etc.), a control data is extended. In this case, the control data
address needs 6 continuous bytes from the specified address. The
path is specified in the 1st byte. The addresses G0 to G2 and
G210 to G211 of the interface from PMC to NC are specified in
later 5 bytes. For 2nd path, the addresses G1000 to G1002 and
G1210 to G1211 are specified. For 3rd path, the addresses G2000
to G2002 and G2210 to G2211 are specified.
Extended specification
Basic specification
(program number O8 digits etc.)
CTL+0 CTL+0
HEAD.NO. HEAD.NO.
+1 +1
ED0 to ED7 ED0 to ED7
+2 +2
ED8 to ED15 ED8 to ED15
+3 +3
EA0 to EA6,ESTB ED16 to ED23
+4 +4
ED24 to ED31
+5
EA0 to EA6,ESTB
+6
- 341 -
4.LADDER LANGUAGE B-63983EN/01
- 342 -
B-63983EN/01 4.LADDER LANGUAGE
- 343 -
4.LADDER LANGUAGE B-63983EN/01
NOTE
Refer to the NC connecting manual for detailed data
to be specified concerning external data input.
- 344 -
B-63983EN/01 4.LADDER LANGUAGE
CAUTION
1 The EXIN command cannot input multiple external
data items at the same time. Be sure to issue the
next EXIN command (ACT = 1) after external data
transfer ends (W1 = 1).
2 Be sure to specify an interlock when the external
data input function is used by commands other than
the function command EXIN.
3 When an external program number search, one of
the external data input functions, is executed, the
end of data transfer (W1 = 1) means that the search
command has been accepted. Note that this does
not mean the completion of the program search. To
confirm the completion of the program search, check
the search completion signal (ESEND = 1) after the
data transfer ends (W1 = 1).
7 6 5 4 3 2 1 0
R9000
EXIN error
(Description of errors)
• When the EXIN command (ACT = 1) is started, the strobe
signal (ESTB) or EREND signal is already on. The external
data may be input by commands other than the function
command EXIN.
This function reads various data items via the window between the
PMC and the CNC.
The "WINDR" is classified into two types. One type completes reading
a data during one scan time. Another type completes reading a data
during a few scan time. The former is called the function of a high-
speed response and the latter is called the function of a low-speed
response.
Format
Fig. 4.11.3 shows the ladder format and Table 4.11.3 shows the
mnemonic format.
ACT W1
SUB 51
WINDR ¡¡¡¡ Control data
address
Control condition
ACT=0: The WINDR function is not executed.
ACT=1: The WINDR function is executed. Using the function of a
high-speed response, it is possible to read the data
continuously by always keeping ACT on. However, using the
function of a low-speed response, as soon as reading a data is
completed (W1=1), reset "ACT" once (ACT=0).
- 346 -
B-63983EN/01 4.LADDER LANGUAGE
Parameter
(a) Control data address
The PMC byte address is used to specify the area where control
data is stored.
Control data
CTL+0 Function code * Set the control data area by sequence
program before executing the
+2 Completion code "WINDR" or "WINDW".
+4 Data length
+6 Data number
+8 Data attribute
+n
See Chapter 5.
R9000
WINDR error
- 347 -
4.LADDER LANGUAGE B-63983EN/01
When you use the function of a low-speed response, there are a few
limitation. See Subsection 1.4.4.3. When you use the function of a
high-speed response, there is no limitation.
- 348 -
B-63983EN/01 4.LADDER LANGUAGE
This function writes various data items via the window between the
PMC and the CNC.
Format
Fig. 4.11.4 shows the ladder format and Table 4.11.4 shows the
mnemonic format.
ACT W1
SUB 52
¡¡¡¡ Control data
WINDW address
Control condition
ACT=0: The WINDW function is not executed.
ACT=1: The WINDW function is executed. As soon as writing a data
is completed (W1=1), reset "ACT" once (ACT=0).
Parameter
(a) Control data address
The PMC byte address is used to specify the area where control
data is stored.
- 349 -
4.LADDER LANGUAGE B-63983EN/01
Control data
CTL+0 Function code * Set the control data area by sequence
program before executing the
+2 Completion code "WINDR" or "WINDW".
+4 Data length
+6 Data number
+8 Data attribute
See Chapter 5.
7 6 5 4 3 2 1 0
R9000
WINDW error
When you use the function of a low-speed response, there are a few
limitation. See Subsection 1.4.4.3. When you use the function of a
high-speed response, there is no limitation.
- 350 -
B-63983EN/01 4.LADDER LANGUAGE
NOTE
To use this function requires that the PMC axis
control option be set on the CNC side.
Function
This function simplifies the handshake of DI/DO signal for the axis
control by PMC.
Format
Fig. 4.11.5 shows the ladder format and Table 4.11.5 shows the
mnemonic format.
RST W1
SUB 53
¡¡¡¡ Group No. of DI/DO signal
ACT AXCTL ¡¡¡¡ Axis control data address
- 351 -
4.LADDER LANGUAGE B-63983EN/01
Control condition
ACT=0: The AXCTL function is not executed.
If RST is 1, PMC axis control instruction reset processing is
performed.
ACT=1: The AXCTL function is executed.
ACT is to be maintained '1' till the end of AXCTL processing.
And reset ACT immediately after the processing is complete
(W1 = 1) or when the CNC enters the alarm state.
RST=0: Release reset.
RST=1: Set the reset signal (ECLRx) to 1 and W1 becomes 0. All the
buffered commands are invalidated and the command being
executed is stopped.
If the CNC enters the alarm state, reset the PMC axis control
instruction by setting ACT to 0.
CAUTION
1 Usually, set both ACT and RST to 0. Set ACT or
RST to 1 only when executing the instruction. Note
that, while ACT or RST is set to 1, you cannot update
the ladder program after editing it.
2 If you make any change to the ladder program while
RST is set to 1, you may be unable to continue to
execute the AXCTL instruction when re-executing
the ladder program. When changing the ladder
program, set both ACT and RST to 0.
3 When RST and ACT become 1 at the same time,
RST is prior to ACT.
- 352 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Group number of DI/DO signal
Specify the DI/DO signal group by the number.
Signal
Set value group DI address DO address
number
1 1 G142 to G149, G150.5 F130 to F132, F142
2 2 G154 to G161, G162.5 F133 to F135, F145
3 3 G166 to G173, G174.5 F136 to F138, F148
4 4 G178 to G185, G186.5 F139 to F141, F151
1001 5 G1142 to G1149, G1150.5 F1130 to F1132, F1142
1002 6 G1154 to G1161, G1162.5 F1133 to F1135, F1145
1003 7 G1166 to G1173, G1174.5 F1136 to F1138, F1148
1004 8 G1178 to G1185, G1186.5 F1139 to F1141, F1151
2001 9 G2142 to G2149, G2150.5 F2130 to F2132, F2142
2002 10 G2154 to G2161, G2162.5 F2133 to F2135, F2145
2003 11 G2166 to G2173, G2174.5 F2136 to F2138, F2148
2004 12 G2178 to G2185, G2186.5 F2139 to F2141, F2151
3001 13 G3142 to G3149, G3150.5 F3130 to F3132, F3142
3002 14 G3154 to G3161, G3162.5 F3133 to F3135, F3145
3003 15 G3166 to G3173, G3174.5 F3136 to F3138, F3148
3004 16 G3178 to G3185, G3186.5 F3139 to F3141, F3151
4001 17 G4142 to G4149, G4150.5 F4130 to F4132, F4142
4002 18 G4154 to G4161, G4162.5 F4133 to F4135, F4145
4003 19 G4166 to G4173, G4174.5 F4136 to F4138, F4148
4004 20 G4178 to G4185, G4186.5 F4139 to F4141, F4151
5001 21 G5142 to G5149, G5150.5 F5130 to F5132, F5142
5002 22 G5154 to G5161, G5162.5 F5133 to F5135, F5145
5003 23 G5166 to G5173, G5174.5 F5136 to F5138, F5148
5004 24 G5178 to G5185, G5186.5 F5139 to F5141, F5151
6001 25 G6142 to G6149, G6150.5 F6130 to F6132, F6142
6002 26 G6154 to G6161, G6162.5 F6133 to F6135, F6145
6003 27 G6166 to G6173, G6174.5 F6136 to F6138, F6148
6004 28 G6178 to G6185, G6186.5 F6139 to F6141, F6151
7001 29 G7142 to G7149, G7150.5 F7130 to F7132, F7142
7002 30 G7154 to G7161, G7162.5 F7133 to F7135, F7145
7003 31 G7166 to G7173, G7174.5 F7136 to F7138, F7148
7004 32 G7178 to G7185, G7186.5 F7139 to F7141, F7151
8001 33 G8142 to G8149, G8150.5 F8130 to F8132, F8142
8002 34 G8154 to G8161, G8162.5 F8133 to F8135, F8145
8003 35 G8166 to G8173, G8174.5 F8136 to F8138, F8148
8004 36 G8178 to G8185, G8186.5 F8139 to F8141, F8151
9001 37 G9142 to G9149, G9150.5 F9130 to F9132, F9142
9002 38 G9154 to G9161, G9162.5 F9133 to F9135, F9145
9003 39 G9166 to G9173, G9174.5 F9136 to F9138, F9148
9004 40 G9178 to G9185, G9186.5 F9139 to F9141, F9151
- 353 -
4.LADDER LANGUAGE B-63983EN/01
2
Command data 1 (EIF0x to EIF15x)
6
(x=A/B/C/D)
7
- 354 -
B-63983EN/01 4.LADDER LANGUAGE
- 355 -
4.LADDER LANGUAGE B-63983EN/01
CAUTION
1 The rapid traverse rate is effective when parameter
RPD (No. 8002#0) is set to 1.
2 When you specify 0 for feedrate, CNC does not
work. Please release this state by RST = 1.
3 When you end a continuous feed or external pulse
synchronization, set RST to 1. And, continuous feed
can't be used with buffering inhibits signal (EMBUFx)
= 1. You must set the signal to 0.
4 Specify the direction by most significant bit of
command data 2.
5 Command control axis must be specified to rotary
axis by setting parameter ROTx (No. 1006#0) to 0.
6 For details such as the range of command data,
please refer to the NC connecting manual.
CAUTION
The above table is not up-to-date. For the latest
information, refer to the descriptions about PMC axis
control in the "CNC Connection Manual (Functions)".
5 unit : 0.001mm
6
(x=A/B/C/D)
7
- 356 -
B-63983EN/01 4.LADDER LANGUAGE
2 0
or In case of CNC PRM8002#0 = 0 not used.
Feedrate = 1 Feedrate.
3
Position in machine
4
coordinate system
(Absolute)
5
CAUTION
It is necessary to set the CNC parameters relating to
the axis movement.
- 357 -
4.LADDER LANGUAGE B-63983EN/01
When error occurs by processing the axis control by PMC, the bit of the
operation output register will be set. At the same time, processing is
over (W1=1).
7 6 5 4 3 2 1 0
R9000
NOTE
1 W1 becomes 1 regardless of the state of ACT.
2 It is not related to the state of the alarm signal
(EIALx).
- 358 -
B-63983EN/01 4.LADDER LANGUAGE
Remarks
(1) The following signals cannot be operated from this function.
Please operate by LADDER.
• Axis control stop signal
ESTPx (G142.5, G154.5, G166.5, G178.5)
• Servo-off signal
ESOFx (G142.4, G154.4, G166.4, G178.4)
• Block stop signal
ESBKx (G142.3, G154.3, G166.3, G178.3)
• Block stop inhibit signal
EMSBKx (G143.7, G155.7, G167.7, G179.7)
• Controlled axis selection signal
EAX1 - EAX8 (G136.0 to 7)
• Override signal
*FV0E - *FV7E (G151.0 to 7)
• Override cancel signal
OVCE (G150.5)
• Rapid traverse override signal
ROV2E, ROV1E (G150.1,0)
• Dry run signal
DRNE (G150.7)
• Manual rapid traverse selection signal
RTE (G150.6)
• Skip signal
SKIP/ESKIP (X4.7,6)
• Buffering inhibit signal
EMBUFx (G142.2, G154.2, G166.2, G178.2)
(x=A/B/C/D)
WARNING
Movement cannot be sured when controlled axis
selection signal (EAXx) is changed in the state of
ACT=1.
- 359 -
4.LADDER LANGUAGE B-63983EN/01
Instruction Sub
Processing
name number
1 COM 9 Common line control
2 COME 29 Common line control end
3 JMP 10 Jump
4 JMPE 30 Jump end
5 JMPB 68 Label jump 1
6 JMPC 73 Label jump 2
7 LBL 69 Label
8 CALL 65 Conditional subprogram call
9 CALLU 66 Unconditional subprogram call
10 SP 71 Subprogram
11 SPE 72 End of a subprogram
12 END1 1 End of a first level program
13 END2 2 End of a second level program
14 END3 48 End of a third level program
15 END 64 End of a ladder program
16 NOP 70 No operation
- 360 -
B-63983EN/01 4.LADDER LANGUAGE
ACT
SUB 9 0
COM
Range in
which the
COM
instruction is
effective
SUB 29
COME
Format
Fig. 4.12.1 (b) shows the ladder format and Table 4.12.1 shows the
mnemonic format.
ACT
SUB 9 0
COM
- 361 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
ACT=0: The coils within the region specified are unconditionally
turned off (set to 0).
ACT=1: The program operates in the same way as when COM is not
used.
Parameter
(a) Specify 0. (Range specification only)
CAUTION
1 Operation of the COM instruction
Suppose a ladder diagram that includes the COM
instruction, as shown below.
ACT
SUB 9 0
COM
ON OUT1
OFF OUT2
¡
SUB 29
COME
- 362 -
B-63983EN/01 4.LADDER LANGUAGE
Caution
Do not create a program in which a combination of JMP and JMPE
instructions is used to cause a jump to and from a sequence between the
COM and COME instructions; the ladder sequence may not be able to
operate normally after the jump.
JMP instruction
COM instruction
×
Prohibited
JMP instruction
COM instruction
COME instruction
JMPE instruction ×
Prohibited
COME instruction
JMPE instruction
- 363 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.12.2 shows the ladder format and Table 4.12.2 shows the
mnemonic format.
SUB 29
COME
- 364 -
B-63983EN/01 4.LADDER LANGUAGE
ACT
SUB 10 0
JMP
Valid range
of the JMP
instruction
SUB 30
JMPE
- 365 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.12.3 (b) shows the ladder format and Table 4.12.3 shows the
mnemonic format.
ACT
SUB 10 0
JMP
Control conditions
ACT=1: The logical instructions (including functional instructions) in
the specified range are skipped; program execution proceeds
to the next step.
ACT=0: The same operation as when JMP is not used is performed.
Parameters
(a) Specify 0. (Range specification only)
NOTE
JMP instruction operation
When ACT = 1, processing jumps to a jump end
instruction (JMPE); the logical instructions (including
functional instructions) in the specified jump range
are not executed. This instruction can reduce the
Ladder execution period (scan time).
- 366 -
B-63983EN/01 4.LADDER LANGUAGE
Caution
Do not create a program in which a combination of JMP and JMPE
instructions is used to cause a jump to and from a sequence between the
COM and COME instructions; the ladder sequence may not be able to
operate normally after the jump.
JMP instruction
COM instruction
×
Prohibited
JMP instruction
COM instruction
COME instruction
JMPE instruction ×
Prohibited
COME instruction
JMPE instruction
- 367 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.12.4 shows the ladder format and Table 4.12.4 shows the
mnemonic format.
SUB 30
JMPE
- 368 -
B-63983EN/01 4.LADDER LANGUAGE
Ladder program
JMPB BB
JMPB AA
JMPB AA
JMPB AA LBL BB
Format
Fig. 4.12.5 shows the ladder format and Table 4.12.5 shows the
mnemonic format.
ACT
SUB 68
JMPB L¡¡¡¡ Specification
of the jump
destination
label
- 369 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
ACT=0: The next instruction after the JMPB instruction is executed.
ACT=1: Control is transferred to the Ladder immediately after the
specified label.
Parameters
(a) Label specification
Specifies the label of the jump destination. The label number
must be specified in the L address form. A value from L1 to
L9999 can be specified.
CAUTION
1 For the specifications of this instruction, see the
description of functional instruction JMP.
2 When this instruction is used to jump back to a
previous instruction, care must be taken not to cause
an infinite loop.
- 370 -
B-63983EN/01 4.LADDER LANGUAGE
Ladder program
Main program Main program
LBL AA
LBL AA
LBL BB
Subprogram Subprogram
JMPC AA JMPC AA
JMPC AA JMPC BB
Format
Fig. 4.12.6 shows the ladder format and Table 4.12.6 shows the
mnemonic format.
ACT
SUB 73
JMPC L¡¡¡¡ Specification
of the jump
destination
label
- 371 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
ACT=0: The instruction after the JMPC instruction is executed.
ACT=1: Control is transferred to the Ladder after the specified label.
Parameters
(a) Label specification
Specifies the label of the jump destination. The label number
must be specified in the L address form. A number from L1 to
L9999 can be specified.
CAUTION
1 For the specifications of this instruction, see the
description of functional instruction JMP.
2 When this instruction is used to jump back to a
previous instruction, care must be taken not to cause
an infinite loop.
- 372 -
B-63983EN/01 4.LADDER LANGUAGE
Ladder program
LBL AA
LBL AA
JMPB BB
JMPB AA
JMPC AA
JMPC AA LBL BB
Format
Fig. 4.12.7 shows the ladder format and Table 4.12.7 shows the
mnemonic format.
SUB 69
LBL Label
L¡¡¡¡
specification
- 373 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Label specification
Specifies the jump destination for the JMPB and JMPC functional
instructions. The label number must be specified in the L address
form. A label number from L1 to L9999 can be specified. A label
number can be used more than once as long as it is used in a
different program unit (main program, subprogram).
NOTE
For the use of this instruction, see the description of
functional instruction JMP.
- 374 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.12.8 shows the ladder format and Table 4.12.8 shows the
mnemonic format.
ACT
SUB 65
CALL P¡¡¡¡ Subprogram number
Control conditions
(a) Input signal
ACT=0: The CALL instruction is not executed.
ACT=1: The CALL instruction is executed.
- 375 -
4.LADDER LANGUAGE B-63983EN/01
Parameters
(a) Subprogram number
Specifies the subprogram number of a subprogram to be called.
The subprogram number must be specified in the P address form.
Example: To call subprogram 1
ACT
SUB 65 P1
CALL
CAUTION
Be careful when using the CALL instruction with the
COM, COME, JMP, or JMPE functional instruction.
For details, see Subsection 1.4.4.
- 376 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.12.9 shows the ladder format and Table 4.12.9 shows the
mnemonic format.
SUB 66
CALLU P¡¡¡¡ Subprogram number
Parameters
(a) Subprogram number
Specifies the subprogram number of a subprogram to be called.
The subprogram number must be specified in the P address form.
Example: To call subprogram 1
SUB 66 P1
CALLU
- 377 -
4.LADDER LANGUAGE B-63983EN/01
Format
Fig. 4.12.10 shows the ladder format and Table 4.12.10 shows the
mnemonic format.
SUB 71
SP P¡¡¡¡ Subprogram number
30i-A
Dual check safety
1st PMC 2nd PMC (option) 3rd PMC (option)
PMC(option)
P1 to P5000 P1 to P512 P1 to P512 P1 to P512
SUB 71 P1
SP
- 378 -
B-63983EN/01 4.LADDER LANGUAGE
SUB 72
SPE
- 379 -
4.LADDER LANGUAGE B-63983EN/01
SUB 1
END1
SUB2
END2
- 380 -
B-63983EN/01 4.LADDER LANGUAGE
SUB 48
END3
SUB 64
END
- 381 -
4.LADDER LANGUAGE B-63983EN/01
Instruction Sub
Processing
name number
1 ROT 6 Rotation control
2 ROTB 26 Binary rotation control
- 382 -
B-63983EN/01 4.LADDER LANGUAGE
Controls rotors, such as the tool post, ATC, rotary table, etc., and is
used for the following functions.
(a) Selection of the rotation direction via the shorter path
(b) Calculation of the number of steps between the current position
and the goal position
(c) Calculation of the position one position before the goal or of the
number of steps up to one position before the goal
Format
Fig. 4.13.1 (a) shows the ladder format and Table 4.13.1 shows the
mnemonic format.
RN0
¡¡¡¡. ¡
BYT
¡¡¡¡. ¡
DIR Rotating direction
W1 output
SUB 6
¡¡¡¡. ¡ ROT
POS ¡¡¡¡ Rotor indexing number
¡¡¡¡ Current position address ¡¡¡¡. ¡
¡¡¡¡ Goal position address
¡¡¡¡. ¡ ¡¡¡¡ Operation result output address
INC
¡¡¡¡. ¡
ACT
¡¡¡¡. ¡
Control condition
Instruction
- 383 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
(a) Specify the starting number of the rotor. (RN)
RN0=0: Begins the number of the position of the rotor with 0.
RN0=1: Begins the number of the position of the rotor with 1.
(b) Specify the number of digits of the process data (position data).
(BYT)
BYT=0: BCD two digits
BYT=1: BCD four digits
(c) Select the rotation direction via the shorter path or not. (DIR)
DIR=0: No direction is selected. The direction of rotation is
only forward.
DIR=1: Selected. See rotating direction output (W1) described
below for details on the rotation direction.
- 384 -
B-63983EN/01 4.LADDER LANGUAGE
Parameters
(a) Rotor indexing number
Specify the rotor indexing number.
- 385 -
4.LADDER LANGUAGE B-63983EN/01
The direction of rotation for control of rotation via the shorter path is
output to W1. When W1=0, the direction is forward (FOR) when 1,
reverse (REV). The definition of FOR and REV is shown in Fig. 4.13.1
(b). If the number given to the rotor is ascending, the rotation is FOR;
if descending, REV. The address of W1 can be determined arbitrarily.
When, however, the result of W1 is to be used, always check that
ACT=1.
1 1
12 2 2 12
11 3
3 11
FOR REV REV FOR
10 4 4 10
9 5 5 9
8 6 6 8
7 7
- 386 -
B-63983EN/01 4.LADDER LANGUAGE
Format
Fig. 4.13.2 (a) shows the ladder format and Table 4.13.2 shows the
mnemonic format.
RN0
DIR
W1
POS
SUB 26
ROTB ¡ Format specification
¡¡¡¡ * Rotating element indexed position address
INC
¡¡¡¡ * Current position address
¡¡¡¡ * Target position address
¡¡¡¡ * Arithmetic result output address
ACT
- 387 -
4.LADDER LANGUAGE B-63983EN/01
Control conditions
The control conditions do not differ basically from those for ROT
command. However, BYT has been eliminated from ROTB (it forms
part of the ROTB parameters).
For the reset, see ROT.
Parameters
(a) Format
Specifies data length (1, 2, or 4 bytes). Use the first digit of the
parameter to specify the number of bytes.
1: 1 byte
2: 2 bytes
4: 4 bytes
All numerical data (number of indexed positions for the rotating
elements, current address, etc.) are in the binary format.
Therefore, they require the memory space specified by data
length.
- 388 -
B-63983EN/01 4.LADDER LANGUAGE
- 389 -
4.LADDER LANGUAGE B-63983EN/01
A
A Logic 1
R0228.0 R0228.0
A
R0228.0
A
CR-
CCW Shorter path or
R0228.0 SUB 26 4 Reference data format not
A ROTB D0000 Rotor indexing number R0228.1
X0041 Current position address
F0026 Goal position address
R0228.0 R0230 Calculation result output address
A
R0228.0
A
R0228.0
TF CW-M CCW-M
TF
SUB 32
1004 Reference data format
COMPB
F0007.3 R0230 Reference data
X0041 Comparison data address
TF Deceleration
TDEC position
detection
R9000.0 F0007.3 R0228.2
TDEC TF Deceleration
DEC-M
command
R0228.2 F0007.3 Y0005.5
TCOMPB DEC-M
R0228.3 Y0005.5
TF
SUB 32
1004 Reference data format
COMPB
F0007.3 F0026 Reference data
X0041 Comparison data address
TF Goal position
TCO (stop position)
MPB
detection
R9000.0 F0007.3
R0228.3
TF CR-CCW TCOMPB Forward
CW-M rotation
F0007.3 R0228.1 R0228.3 command
Y0005.6
TF CR-CCW TCOMPB Reverse
CCW-M rotation
command
F0007.3 R0228.1 R0228.3 Y0005.7
Fig. 4.13.2 (b) Example of a ladder diagram for the ROTB instruction
- 390 -
B-63983EN/01 4.LADDER LANGUAGE
The instructions listed below are invalid for Series 30i-A PMC.
If a ladder program used for another model is run on FS30i-A PMC,
these instructions are not executed. They cause no error but are treated
as NOP instructions (which perform no operation when the ladder
program is executed).
Instruction Sub
Processing
name number
SPCNT 46 Main axis control
DISP 49 Message display
MMCWR 98 Reading of MMC window data
MMCWW 99 Writing of MMC window data
PSGNL 50 Position signal output
PSGN2 63 Position signal output 2
FNC90 90 Auxiliary functional instruction 1
FNC91 91 Auxiliary functional instruction 2
FNC92 92 Auxiliary functional instruction 3
FNC93 93 Auxiliary functional instruction 4
FNC94 94 Auxiliary functional instruction 5
FNC95 95 Auxiliary functional instruction 6
FNC96 96 Auxiliary functional instruction 7
FNC97 97 Auxiliary functional instruction 8
- 391 -
4.LADDER LANGUAGE B-63983EN/01
- 392 -
B-63983EN/01 4.LADDER LANGUAGE
4. Write the resulting logic to flash ROM using the I/O screen.
5. Run the ladder program.
If the ladder program does not stop or cannot be changed even after you
make the correction, there may be other functional instructions that
have the same condition settings. Check for other functional
instructions having the same condition settings, besides the one you
have corrected, and repeat the above procedure to correct them all.
- 393 -
5.WINDOW FUNCTIONS B-63983EN/01
5 WINDOW FUNCTIONS
This chapter describes the functions that can be executed with the
WINDR (SUB 51) and WINDW (SUB 52) functional instructions, as
well as the formats and other details of the control data to be set for
executing these functions.
- 394 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address +0
Function code
2
Completion code
6
Data number
8
Data attribute
10
Data area * Data length
Depends on the function.
≈ ≈
- 395 -
5.WINDOW FUNCTIONS B-63983EN/01
There are two types of window function - one executed at high speed
and the other executed at low speed.
CAUTION
The window instruction of a low-speed response is
controlled exclusively with the other window
instructions of low-speed response.
Therefore, when the data is read or written
continuously, it is necessary to clear ACT of the
functional instruction to 0 once when the completion
information (W1) become 1.
It does not work about ACT=1 of the other window
instructions of low-speed response such as W1=1
and ACT=1 of the window instruction of a low-speed
response.
The window instruction of a high-speed response is
not exclusively controlled like a low-speed response.
Therefore, when the data is read or written
continuously, yow need not make ACT=0.
- 396 -
B-63983EN/01 5.WINDOW FUNCTIONS
If the ladder program takes long to stop or does not stop for any of
these reasons, the following operations will be affected.
- 397 -
5.WINDOW FUNCTIONS B-63983EN/01
- 398 -
B-63983EN/01 5.WINDOW FUNCTIONS
*1 Function codes that have R in the R/W column are window read
functions specifiable with the WINDR function command.
Function codes that have W in the R/W column are window write
functions specifiable with the WINDW function command.
*2 Functions that show "High-speed" in their Response field allow
data to be read or written immediately upon request. By contrast,
functions that show "Low-speed" in their Response field need to
request the CNC to read or write data and to receive a response
before allowing the data to be read or written.
CAUTION
To read or write data for the second path during two-
path control, add 1000 to the function code value
when entering the function code.
To read or write data for the third path during three-
path control, add 2000 to the function code value
when entering the function code.
Similarly, to read or write data for the fourth to 10th
paths, add 3000 to 9000 to the function code values,
respectively, when entering the function codes.
- 399 -
5.WINDOW FUNCTIONS B-63983EN/01
- 400 -
B-63983EN/01 5.WINDOW FUNCTIONS
*1 Function codes that have R in the R/W column are window read
functions specifiable with the WINDR function command.
Function codes that have W in the R/W column are window write
functions specifiable with the WINDW function command.
*2 Functions that show "High-speed" in their Response field allow
data to be read or written immediately upon request. By contrast,
functions that show "Low-speed" in their Response field need to
request the CNC to read or write data and to receive a response
before allowing the data to be read or written.
CAUTION
To read or write data for the second path during two-
path control, add 1000 to the function code value
when entering the function code.
To read or write data for the third path during three-
path control, add 2000 to the function code value
when entering the function code.
Similarly, to read or write data for the fourth to 10th
paths, add 3000 to 9000 to the function code values,
respectively, when entering the function codes.
- 401 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The system information specific to the CNC can be read including the
CNC type (e.g., series name like 30), the distinction between the
machining center system (M) and the lathe system (T) for each CNC
path, the ROM series and edition of the CNC system software, and the
number of axes to be controlled for each CNC path.
Top address + 0
(Function code)
0
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
8
(Data attribute)
0
10
(Data area)
−
(Need not be set)
≈ ≈
42
[Completion codes]
0: CNC system information has been read normally.
- 402 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
0
2
(Completion code)
0
(Always terminates normally.)
4
(Data length)
14
6
(Data number)
−
8
(Data attribute)
−
Value
10 ASCII characters
CNC series name (2 bytes) (30)
12 ASCII characters
Machine type M/T (2 bytes)
(M, T)
NOTE
Data is stored from the upper digit in each lower byte.
- 403 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
A tool offset value recorded in the CNC can be read.
Wear offset data, geometry offset data, cutter compensation data, and
tool length offset data can be read as a tool offset.
Top address + 0
(Function code)
13
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
N
(N = offset number)
8
(Data attribute)
M
(M = offset type)
10
(Data area)
−
(Need not be set)
≈ ≈
42
- 404 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Completion codes]
0: The tool offset has been read normally.
3: The offset number specified for reading is invalid. (This
completion code is returned when the specified offset number data
is not from 1 to the maximum number of offsets.)
4: There are mistakes in the data attribute that specifies the type of the
offset to be read.
6: For the offset number specified for reading, an additional tool
offset number option is required, but it is missing.
Also, the tool function option is not added that is necessary for the
type of the option specified for reading.
Top address + 0
(Function code)
13
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L (Normally set to 4)
(L: Byte length of offset value)
6
(Data number)
N
(N = offset number)
8
(Data attribute)
M
(M = offset type) Value
- 405 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The tool offset value can be directly written into the CNC.
Wear offset data, geometry offset data, cutter compensation data, and
tool length offset data can be written as a tool offset.
Top address + 0
(Function code)
14
2
(Completion code)
−
(Need not to be set)
4
(Data length)
4
6
(Data number)
N
(N = offset number)
8
(Data attribute)
M
(M = offset type) Value
10 Signed binary (A negative value is
Tool offset value
represented in 2's complement.)
Upper 3 bytes are always "0" for
virtual tool tip.
Figure 1 3
- 406 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Completion codes]
0: The tool offset has been written normally.
2: The data byte length for the tool offset specified for writing is
invalid.
3: The offset number specified for writing is invalid. (This
completion code is returned when the specified offset number data
is not from 1 to the maximum number of offsets.)
4: There are mistakes in the data attribute that specifies the type of the
offset to be written.
6: For the offset number specified for writing, the additional tool
offset number option is required, but it is missing.
Also, the tool function option is not added that is necessary for the
type of the offset specified for writing.
- 407 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
14
2 (Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L
(L: Input data)
6
(Data number)
N
(N = Input data)
8
(Data attribute)
M
(Input data) Value
10
Signed binary (A negative value is
Tool offset value: Input data represented in 2's complement.)
- 408 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The workpiece origin offset recorded in the CNC can be read.
A workpiece origin offset is provided for each controlled axis (the
first axis to the 32nd axis) in the CNC. Either the workpiece origin
offset for a specific axis can be read, or the workpiece origin offsets
for all axes can be read at one time. If the additional axis option is not
provided, however, the workpiece origin offset for the additional axis
cannot be read.
Top address + 0
(Function code)
15
2
(Completion code)
−
(Need not be set)
4
(Data length) N = 0: External workpiece origin offset
− N = 1: G54
(Need not be set) · ·
· ·
N = 6: G59
6 With "addition of workpiece coordinate system pair"
(Data number)
N = 7: G54.1 P1
N · ·
(N = offset group number) · ·
N = 306: G54.1 P300
8
(Data attribute)
M M = 1 to n: Workpiece origin offset number of a specific
(M = axis number) axis. n is the axis number.
10 M = −1: Read for all axes
(Data area)
−
(Need not be set)
≈ ≈
42
- 409 -
5.WINDOW FUNCTIONS B-63983EN/01
[Completion codes]
0: The workpiece origin offset has been read normally.
3: The specified offset number is invalid.
4: The specified axis number is invalid.
6: There is no workpiece coordinate shift option added.
Top address + 0
(Function code)
15
2
(Completion code)
?
(See the explanation of
the completion codes.)
4 L = 4: The workpiece origin offset value for a
(Data length)
L specific axis is read.
(L: Byte length of the workpiece
origin offset value) L = 4*n: Workpiece origin offsets for all axes
are read.
6
(Data number)
N
(N = Input data)
8
(Data attribute)
M
(M = Input data) Value
10
Signed binary number (A negative value
Workpiece origin offset value is represented in 2's complement.)
- 410 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
Data can be written directly as a workpiece origin offset value in the
CNC.
A workpiece origin offset is provided for each controlled axis (the
first axis to the 32nd axis) in the CNC. Either the workpiece origin
offset value for a specific axis can be written, or the workpiece origin
offset values for all axes can be written at one time. If the additional
axis option is not provided, however, the workpiece origin offset value
for the additional axis cannot be written.
Top address + 0
(Function code) L = 4: Workpiece origin offset value for a specific
16 axis is written.
L = 4*n:
Workpiece origin offset values for all axes
2 are written.
(Completion code)
−
(Need not be set) N = 0: External workpiece origin offset
N = 1: G54
4 · ·
(Data length)
L · ·
(L: Byte length of the workpiece N = 6: G59
origin offset value) With the option of adding Workpiece coordinate systems
N = 7: G54.1P1
6 · ·
(Data number) · ·
N N = 306: G54.1P300
(N = Offset group number)
M = 1 to n: Workpiece origin offset number of a specific
8 axis. n is the axis number.
(Data attribute) M = −1: Write for all
M
(M = Axis number) Value
- 411 -
5.WINDOW FUNCTIONS B-63983EN/01
[Completion codes]
0: The workpiece origin offset has been written normally.
2: The specified data length is invalid.
3: The offset number is invalid.
4: The specified axis number is invalid.
6: There is no workpiece coordinate shift option added.
Top address + 0
(Function code)
16
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L
(L: Input data)
6
(Data number)
N
(N = Input data)
8
(Data attribute)
M
(M = Input data) Value
- 412 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The integer type parameter data of the CNC is read by directly
accessing the CNC.
There are four types of the integer parameters in the CNC: Bit
parameters having a definite meaning for each bit, byte parameters
holding 1-byte data, word parameters holding 2-byte data, and double
word parameters holding 4-byte data. Therefore, the length of the
read data varies according to the parameter number specified.
Note that bit parameters cannot be read in bit units. The eight bits
(one byte) for a parameter number must be read at a time.
For axis parameters, data for a specific axis can be read, or data for all
axes can be read at a time.
For details of parameter data, refer to the Operator's manual of the
CNC.
Top address + 0
(Function code)
17 or 154
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
N
(N = parameter number)
8 M = 0: No axis
(Data attribute)
M M = 1 to n: A specific axis
(M = Axis number)
M = −1: All axes
10
(Data area)
−
(Need not be set)
≈ ≈
42
- 413 -
5.WINDOW FUNCTIONS B-63983EN/01
[Completion codes]
0: Parameter data has been read normally.
3: The parameter number specified for reading is invalid.
4: The specified data attribute is invalid because it is neither 0, -1, nor
a value 1 to n (n is the number of axes).
6: The necessary option is not added.
Top address + 0
(Function code)
17 or 154
8
(Data attribute)
M
(M = Input data) Value
CAUTION
Macro executor parameters 9000 to 9011 cannot be
read.
- 414 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
Data can be written in an integer parameter in the CNC.
There are four types of the integer parameters in the CNC: Bit
parameters having a definite meaning for each bit, byte parameters
holding 1-byte data, word parameters holding 2-byte data, and double
word parameters holding 4-byte data. Therefore, the length of the
written data varies according to the parameter specified.
Note that bit parameters cannot be written in bit units. The eight bits
(one byte) for the parameter number must be written at a time. This
means that when a bit needs to be written, the whole data for the
corresponding parameter number shall be read first, modify the target
bit in the read data, then the data shall be rewritten.
For axis parameters, data for a specific axis can be read, or data for all
axes can be read at a time.
For details of parameter data, refer to the Operator's manual of the
CNC.
Some parameters cause a P/S alarm 000 when data is written. (The
power must be turned off before continuing operation.)
Top address + 0
(Function code)
18
4
(Data length)
L
(L = 1, 2, 4, 1*n, 2*n, 4*n) When all axes are specified
L = 1*n: Bit or byte parameter
6 L = 2*n: Word parameter
(Data number) L = 4*n: Double word parameter
N
(N = parameter number)
8 M = 0: No axis
(Data attribute) M = 1 to n: A specific axis
M M = −1: All axes
(M = Axis number)
Value
- 415 -
5.WINDOW FUNCTIONS B-63983EN/01
[Completion codes]
0: Parameter data has been written normally.
2: The data byte length of the parameter specified for writing is
invalid.
3: The parameter number specified for writing is invalid.
4: The specified data attribute is invalid because it is neither 0, -1, nor
a value from 1 to n (n is the number of axes).
6: The necessary option is not added.
Top address + 0
(Function code)
18
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L
(L = Input data)
6
(Data number)
N
(N = Input data)
8
(Data attribute)
M
(M = Input data) Value
CAUTION
Parameters may not become effective immediately
depending on the parameter numbers.
- 416 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The real type parameter data of the CNC is read by directly accessing
the CNC.
Top address + 0
(Function code)
321
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
8 N
(N = parameter number)
10
(Data attribute) M=0 : No axis
M
(M = axis number) M = 1 to n : Specify an axis.
12 M = -1 : All axes
(Decimal point position)
14
(Data area)
−
16 (Need not be set)
18
NOTE
The function of this function code cannot read integer
type or bit type parameters. To read an integer type
or bit type parameter, use the function having
function code 17 or 154.
[Completion codes]
0: Parameter data has been read normally.
3: The specified parameter number is invalid.
4: The specified data attribute is invalid; namely, a value other than
0,-1 or outside the range from 1 to n (where n is the number of
controlled axes) is specified.
6: The necessary option is not added.
- 417 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
321
2 (Completion code)
?
(See the above explanation of the
completion codes.)
4
(Data length)
6
6
(Data number)
N
8
(N = input data)
10
(Data attribute)
M
(M = input data)
12
(Decimal point position)
(Input data)
14 Parameter data
16 4 bytes
18
Decimal point
Parameter value CNC's value
position
1 0
12 1
123 1.234 2
1234 3
12340 4
- 418 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
Data can be written to a real type parameter data of the CNC.
Top address + 0
(Function code)
323
2
(Completion code)
−
(Need not be set)
4
(Data length)
6
6
(Data number)
8 N
(N = parameter number)
10
(Data attribute) M=0 : No axis
M
(M = axis number) M = 1 to n : Specify an axis.
12 M = -1 : All axes
(Decimal point position)
14
Parameter data
16
18
NOTE
The function of this function code cannot write integer
type or bit type parameters. To write an integer type
or bit type parameter, use the function having
function code 18.
[Completion codes]
0: Parameter data has been written normally.
2: The data length of the parameter specified for writing is invalid.
3: The parameter number specified for writing is invalid.
4: The specified data attribute is invalid; namely, a value other than
0, -1 or outside the range from 1 to n (where n is the number of
controlled axes) is specified.
6: The necessary option is not added.
- 419 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
323
2 (Completion code)
?
(See the above explanation of the
completion codes.)
4
(Data length)
6
6
(Data number)
N
8 (N = input data)
10
(Data attribute)
M
(M = input data)
12
Decimal point position
(Input data)
14 Parameter data
4 bytes
16 (Input data)
18
(Value to be set to the CNC) = (parameter variable)/10 (specified decimal point position)
CAUTION
Parameters may not become effective immediately
depending on the parameter numbers.
- 420 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The data set in the CNC is read by directly accessing the CNC.
There are four types of setting data in the CNC: Bit setting data
having a definite meaning for each bit, byte setting data stored in
bytes, word setting data stored in 2-byte units, and double-word
setting data stored in 4-byte units. Therefore, the length of the read
data varies according to the setting data specified.
Note that bit setting data cannot be read in bit units. The eight bits
(one byte) for the setting data number must be read at a time.
For axis parameters, data for a specific axis can be read, or data for all
axes can be read at a time.
For details of setting data, refer to the Operator's manual of the CNC.
Top address + 0
(Function code)
19 or 155
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
N
(N = Parameter number)
8 M = 0: No axis
(Data attribute)
M M = 1 to n: A specific axis
(M = Axis number)
M = −1: All axes
10
(Data area)
−
(Need not be set)
≈ ≈
42
- 421 -
5.WINDOW FUNCTIONS B-63983EN/01
[Completion codes]
0: Setting data has been read normally.
3: The setting number specified for reading is invalid.
4: The specified data attribute is invalid because it is neither 0, -1, nor
a value from 1 to n (n is the number of axes).
Top address + 0
(Function code)
19 or 155
8
(Data attribute)
M
(M = Input data) Value
10
Setting data Parameter-dependent form
- 422 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
Data can be written as setting data in the CNC.
For details of setting data, refer to the Operator's manual of the CNC.
Top address + 0
(Function code)
20
4
(Data length)
L
(L = 1, 2, 4, 1*n, 2*n, 4*n) When all axes are specified
L = 1*n: Bit or byte parameter
6 L = 2*n: Word parameter
(Data number) L = 4*n: Double word parameter
N
(N = Setting data number)
8 M = 0: No axis
(Data attribute)
M M = 1 to n: A specific axis
(M = Axis number)
M = −1: All axes
Value
[Completion codes]
0: Setting data has been written normally.
2: The byte length of the setting data specified for writing is invalid.
3: The setting data number specified for writing is invalid.
4: The specified data attribute is invalid because it is neither 0, -1, nor
a value from 1 to n (n is the number of axes).
5: Data exceeding the allowable range was specified as setting data to
be written. For example, when data outside the range from 0 to 3
is specified as the setting data to be written for I/O data, this
completion code is returned.
- 423 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
20
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L
(N = Input data)
6
(Data number)
N
(N = Input data)
8
(Data attribute)
M
(M = Input data) Value
- 424 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The program number of a machining program being executed or
selected on the CNC can be read.
When a subprogram is executed on the CNC, the program number of
the main program can also be read. Note that the program number that
can be read is the first program number (first loop main program).
This function accepts only 4-digit program numbers. When the
specification supports 8-digit program numbers, specify function code
90 to read 8-digit program numbers.
Top address + 0
(Function code)
24
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
(Data number)
0
(Data attribute)
0
10
(Data area)
−
(Need not be set)
42
[Completion codes]
0: The program number of the currently executing program was read
successfully.
5: The program number exceeds 4-digit. (Use function code 90.)
- 425 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
24
2
(Completion code)
?
(See the explanation above.)
4
(Data length)
4
6
(Data number)
−
8
(Data attribute)
−
Value
- 426 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The sequence number of a machining program being executed on the
CNC can be read. If sequence numbers are not assigned to all blocks
of the machining program, the sequence number of the most recently
executed block is read.
Top address + 0
(Function code)
25
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
8
(Data attribute)
0
10
(Data area)
−
(Need not be set)
≈ ≈
42
[Completion codes]
0: The current sequence number has been read normally.
- 427 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
25
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L Note that the data length must be set to 4 bytes
(L = 4) even though the current program number is 2
bytes long (the sequence number is indicated by 5
6 digits).
(Data number)
−
8
(Data attribute)
−
Value
10
Current sequence number Unsigned binary
- 428 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
Status information (status indication on the screen) can be read from
the CNC.
The types of status information that can be read are as follows.
(1) Indication of which mode is selected, automatic or manual
(2) Status of automatic operation
(3) Status of movement along the axis and dwelling
(4) Status of M, S, T, and B functions
(5) Statuses of emergency stop and the reset signal
(6) Alarm status
(7) Status of program edit
Top address + 0
(Function code)
76
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
8
(Data attribute)
0
10
(Data area)
≈ − ≈
(Need not be set)
42
[Completion codes]
0: CNC status information has been read normally.
- 429 -
5.WINDOW FUNCTIONS B-63983EN/01
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
14
6
(Data number)
−
(Input data)
8
(Data attribute)
−
(Input data)
Value
10
Indication of which mode is currently 0 : MDI
selected, automatic or manual (2 1 : MEMory
bytes) 2 : **** (Other states)
3 : EDIT
4 : HaNDle
5 : JOG
6 : Teach in JOG
7 : Teach in HND
8 : INC. feed
9 : REFerence
10 : ReMoTe
12
Status of automatic operation (2 0 : **** (Reset states)
bytes) 1 : STOP
2 : HOLD
3 : STaRT
- 430 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
This function reads CNC program numbers extended to 8 digits from
the usual 4 digits.
Basically, this function is the same as function code 24 excluding the
different data length of function code 90.
Top address + 0
(Function code)
90
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
(Data number)
0
(Data attribute)
0
10
(Data area)
−
(Need not be set)
18
[Completion codes]
0: The program number of the currently executing program has been
read normally.
- 431 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
90
2
(Completion code)
?
(See the explanation of the
completion codes, above.)
4
(Data length)
8
6
(Data number)
−
8
(Data attribute)
−
Value
10
Number of the program currently Unsigned binary format, 4-byte length
being executed
ON
14
Program number of the main
program
ON
18
- 432 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
On the program check screen of the CNC, data can be entered for the
spindle tool No. (HD.T) and the next tool No. (NX.T).
This function is effective only when bit 2 of parameter 3108 is 1.
Top address + 0
(Function code)
150
2
(Completion code)
−
(Need not be set)
(Data length)
4
(Data attribute)
0 Value
10
Data for the spindle tool No. Unsigned binary
(4 bytes)
or data for the next tool No.
(4 bytes)
[Completion codes]
0: Data has been entered on the program check screen normally.
2: The data length in bytes is invalid.
3: The data No. is invalid.
- 433 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
150
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
4
(Input data)
- 434 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The current date (year, month, day) and time (hours, minutes,
seconds) can be read from the clock built into the CNC.
Top address + 0
(Function code)
151
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
(Data attribute)
0
10
(Data area)
−
(Need not be set)
[Completion codes]
0: Data of the clock built into the CNC has been read normally.
3: A value other than 0, 1, and -1 was specified for the data No.
- 435 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
151
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
6/12
6
(Data number)
N
(Input data)
8
(Data attribute)
−
(Input data) Value
10
Current date (year) or time (hours) Unsigned binary
When both the current date and current time are specified to be read by entering [−1] for the data No.
−
(Input data)
Value
10
Current date (year) Unsigned binary
12
Current date (month)
14
Current date (day)
16
Current time (hours)
18
Current time (minutes)
20
Current time (seconds)
- 436 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The actual velocity of a movement on CNC-controlled axes can be
read. Note that the read speed is the composite velocity for the
controlled axes. When movement involves only the basic three axes,
the X, Y, and Z axes, the composite velocity equals the actual velocity.
When movement, however, involves the fourth axis, such as a rotation
axis or a parallel axis, as well as some of the basic three axes, the
composite velocity for all the relevant axes does not equal the actual
velocity.
Top address + 0
(Function code)
26
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
8
(Data attribute)
0
10
(Data area)
−
(Need not be set)
≈ ≈
42
[Completion codes]
0: The actual velocity for the controlled axes has been read normally.
- 437 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
26
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L
(L = 4)
6
(Data number)
−
8
(Data attribute)
−
Value
- 438 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The absolute coordinates of the CNC-controlled axes for movement
can be read. The absolute coordinates indicate those after cutter
compensation or tool length compensation.
Top address + 0
(Function code)
27
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
≈ ≈
42
[Completion codes]
0: The absolute coordinates of the controlled axes have been read
normally.
4: Data specified as the data attribute is invalid because it is neither -1
nor a value from 1 to n (n is the number of axes). Alternatively,
the specified axis number is greater than the number of controlled
axes.
- 439 -
5.WINDOW FUNCTIONS B-63983EN/01
Top address + 0
(Function code)
27
2 (Completion code)
?
(See the explanation of
the completion codes.)
4 (Data length)
L
(L = 4*n, n is the number of
axes specified.)
6
(Data number)
−
8
(Data attribute)
M
(M: Input data) Value
Value
- 440 -
B-63983EN/01 5.WINDOW FUNCTIONS
[Description]
The machine coordinates of CNC-controlled axes for movement can
be read. The read value equals the machine coordinate indicated on
the current position display screen displayed in the CNC. (This screen
can be displayed by pressing the function key POS.)
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
≈ ≈
42
CAUTION
When an inch machine is used in metric input, or
when a millimeter machine is used in inch input, the
machine position that is read with bit 0 of parameter
No. 3104 set to 1 differs from the value indicated by
the CNC. In this case, therefore, the value read
through the ladder must be calculated (converted).
- 441 -
5.WINDOW FUNCTIONS B-63983EN/01
[Completion codes]
0: The machine coordinates of the controlled axes have been read
normally.
4: Data specified as the data attribute is invalid because it is neither -1
nor a value from 1 to n (n is the number of axes). Alternatively,
the specified axis number is greater than the number of the
controlled axes.
Top address + 0
(Function code)
28
2 (Completion code)
?
(See the explanation of
the completion codes.)
4 (Data length)
L
(L = 4*n, n is the number of
axes specified.)
6
(Data number)
−
8
(Data attribute)
M
(M: Input data) Value
Value
- 442 -
B-63983EN/01 5.WINDOW FUNCTIONS
- 443 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
When a block of the skip operation (G31) is executed by the CNC and
the skip signal goes on to stop the machine, the absolute coordinates
of the stop position on the axes of movement can be read.
Top address + 0
(Function code)
29
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
≈ ≈
42
[Completion codes]
0: The coordinates of the skip stop position for the controlled axes
have been read normally.
4: Data specified for the data attribute is invalid because it is neither
-1 nor a value from 1 to n (n is the number of axes). Alternatively,
the specified axis number is greater than the number of controlled
axes.
- 444 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
29
2 (Completion code)
?
(See the explanation of
the completion codes.)
4 (Data length)
L
(L = 4*n, n is the number of
axes specified.)
6
(Data number)
−
8
(Data attribute)
M
(M: Input data) Value
Value
- 445 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The servo delay, which is the difference between the specified
coordinates of CNC-controlled axes and the actual servo position, can
be read.
Top address + 0
(Function code)
30
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
≈ ≈
42
[Completion codes]
0: The servo delay for the controlled axes have been read normally.
4: The data specified as the data attribute is invalid because it is
neither -1 nor a value from 1 to n (n is the number of axes).
Alternatively, the specified axis number is greater than the number
of controlled axes.
- 446 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
30
2 (Completion code)
?
(See the explanation of
the completion codes.)
4 (Data length)
L
(L = 4*n, n is the number of
axes specified.)
6
(Data number)
−
8
(Data attribute)
M
(M: Input data) Value
Value
- 447 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The acceleration/deceleration delay, which is the difference between
the coordinates of controlled axes programmed in the CNC and the
position after acceleration/deceleration is performed, can be read.
Top address + 0
(Function code)
31
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
≈ ≈
42
[Completion codes]
0: The acceleration/deceleration delay for the control axis has been
read normally.
4: The data specified as the data attribute is invalid because it is
neither -1 nor a value from 1 to n (n is the number of axes).
Alternatively, the specified axis number is greater than the number
of controlled axes.
- 448 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
31
2 (Completion code)
?
(See the explanation of
the completion codes.)
4 (Data length)
L
(L = 4*n, n is the number of
axes specified.)
6
(Data number)
−
8
(Data attribute)
M
(M: Input data) Value
Value
- 449 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The actual speed of the spindle can be read from the CNC.
Top address + 0
(Function code)
50
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
(Data number)
0
(Data attribute)
0
10
(Data area)
−
(Need not be set)
≈ ≈
42
[Completion codes]
0: The actual speed of the spindle has been read normally.
- 450 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
50
2 (Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
4
6
(Data number)
−
8
(Data attribute)
− Value
10
Actual spindle speed Unsigned binary
<Data unit>
min−1
- 451 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The relative coordinates of the machine moving along an axis
controlled by the CNC can be read.
Top address + 0
(Function code)
74
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
≈ ≈
42
[Completion codes]
0: The relative coordinates on the controlled axis have been read
normally.
4: The specified data attribute is invalid. That is, a value other than
−1 and 1 to n (number of axes) was specified, or the specified axis
No. was greater than the number of controlled axes.
- 452 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
74
2 (Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L
(L = 4*n. n is the number of
specified axes.)
6
(Data number)
−
8
(Data attribute)
M
(M: Input data)
Value
10
Relative coordinates on the Signed binary
specified controlled axis (4 bytes) (A negative value is represented in
2's complement.)
When the number of controlled axes is 4
Value
10
Relative coordinates on the first Signed binary
axis (4 bytes) (A negative value is represented in
14 2's complement.)
Relative coordinates on the second
axis (4 bytes)
18
Relative coordinates on the third
(4 bytes)
22
Relative coordinates on the fourth
axis (4 bytes)
- 453 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The remaining travel of the machine along an axis controlled by the
CNC can be read. The read value equals the remaining travel
indicated on the current position display screen on the CNC. (This
screen can be called by pressing the function button POS.)
Top address + 0
(Function code)
75
2
(Completion code)
−
(Need not be set)
4
(Data length)
−
(Need not be set)
6
(Data number)
0
≈ ≈
42
[Completion codes]
0: The remaining travel along the controlled axis has been read
normally.
4: The specified data attribute is invalid. That is, a value other than
−1 and 1 to n (number of axes) was specified, or the specified axis
No. was greater than the number of controlled axes.
- 454 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
75
2 (Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
L
(L = 4*n. n is the number of
specified axes.)
6
(Data number)
−
8
(Data attribute)
M
(M: Input data)
Value
10
Remaining travel along the Signed binary
specified controlled axis (4 bytes) (A negative value is represented in
2's complement.)
Value
10
Remaining travel along the first Signed binary
axis (4 bytes) (A negative value is represented in
2's complement.)
14
Remaining travel along the second
axis (4 bytes)
18
Remaining travel along the third
axis (4 bytes)
22
Remaining travel along the fourth
axis (4 bytes)
- 455 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
This function reads the actual speed of the No.1 to No.8 serial spindles.
Top address + 0
(Function code)
138
+2
(Completion code)
−
(Need not be set)
+4
(Data length)
−
(Need not be set)
+6
(Data number)
0
[Completion codes]
0: The actual spindle speed was read successfully.
4: The spindle speed in 'Data Attribute' has wrong values, that is , a
value outside of the range -1 to -(n - 1) or 1 to n (n: number of
spindles).
- 456 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
138
+2
(Completion code)
?
(See the explanation above.)
+4
(Data length)
L
(L = 4 × n)
+6
(Data number)
−
+8
(Data attribute)
M
(Entered data)
Value
+10
Actual speed of specified spindle Signed binary
<Data unit>
min−1
+14
Value
+10
Actual speed of No.1 spindle Signed binary
<Data unit>
min−1
+14
Actual speed of No.2 spindle
+18
Actual speed of No.3 spindle
+22
Actual speed of No.4 spindle
+26
- 457 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
This function reads the actual spindle speed (position coder-less actual
spindle speed) obtained by calculating the spindle motor speed of the
No.1 to No.4 serial spindles.
Top address + 0
(Function code)
138
+2
(Completion code)
−
(Need not be set)
+4
(Data length)
−
(Need not be set)
+6
(Data number)
0
+8
(Data attribute) M = 11 to (10 + n): Read spindles on each axis.
M (n is the spindle number.)
(M = Spindle number + 10) −11: Read spindles on No.1 and No.2 axes
−12: Read spindles on No.1 to No.3 axes
+10 −13: Read spindles on No.1 to No.4 axes
(Data area)
−14: Read spindles on No.1 to No.5 axes
−
(Need not be set) −15: Read spindles on No.1 to No.6 axes
−16: Read spindles on No.1 to No.7 axes
+12 −17: Read spindles on No.1 to No.8 axes
[Completion codes]
0: The actual spindle speed was read successfully.
4: The spindle speed in 'Data Attribute' has wrong values, that is , a
value outside of the range -11 to -(9 + 1) or 11 to (10 + n) (n:
number of spindles).
- 458 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
138
+2
(Completion code)
?
(See the explanation above.)
+4
(Data length)
L
(L = 4 × n)
+6
(Data number)
−
+8
(Data attribute)
M
(Entered data)
Value
+10
Position coder-less actual spindle Signed binary
speed <Data unit>
min−1
+14
Value
+10
Position coder-less actual No.1 Signed binary
spindle speed <Data unit>
min−1
+14
Position coder-less actual No.2
spindle speed
+18
Position coder-less actual No.3
spindle speed
+22
Position coder-less actual No.4
spindle speed
+26
- 459 -
5.WINDOW FUNCTIONS B-63983EN/01
5.5.11 Entering Torque Limit Data for the Digital Servo Motor (Low-
speed Response)
[Description]
Torque limit values for the digital servo motor can be entered.
Top address + 0
(Function code)
152
2
(Completion code)
−
(Need not be set)
(Data length)
2
6
(Data number)
0
8
(Data attribute)
M M = 1 to n: Axis No.
(M: 1 to n)
Value
10 Torque limit data Unsigned binary
(1 byte) <Unit: %>
The high-order byte is always set to Values from 0 to 255 correspond to
0. 0% to 100%.
CAUTION
Calculate the torque limit data assuming that the
short-time rated value is 100%.
Example: To specify a torque limit of 50%, enter 128.
[Completion codes]
0: Torque limit data has been entered normally.
4: The specified data attribute is invalid. That is, a value other than 1
to n (number of axes) was specified, or the specified axis No. was
greater than the number of controlled axes.
- 460 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
152
2
(Completion code)
?
(See the explanation of
the completion codes.)
4
(Data length)
2
(Input data)
6
(Data number)
−
(Input data)
8
(Data attribute)
M
(M: Input data) Value
10
Torque limit data (1 byte): Input data Unsigned binary
The high-order byte is always set to <Unit: %>
0. Values from 0 to 255 correspond to
0% to 100%.
- 461 -
5.WINDOW FUNCTIONS B-63983EN/01
[Description]
The preset data is set to the relative coordinate controlled by CNC. If
0 is set as preset data it becomes to origin.
But it is impossible to write the value of preset data to the transferring
axis. In the case of the preset of relative coordinate of all axes is
executed by using this function, if only one axis is transferring, the
preset of relative coordinate cannot be executed, neither.
Top address + 0
(Function code)
249
+2
(Completion code)
−
(Need not be set.)
+4
(Data length)
4
+6
(Data number)
0
Value
+8
M=1 to n: Write data on each (n
(Data attribute) is the axis number)
M
(M: Axis number)
+10
Value of relative coordinate for the Signed binary
controlled axis specified (4 bytes) (A negative value is represented in
2's complement)
+12
- 462 -
B-63983EN/01 5.WINDOW FUNCTIONS
Top address + 0
(Function code)
249
+2
(Completion code)
−
(Need not be set.)
+4
(Data length)
16
+6
(Data number)
0
Value
+8
−1 must be set
(Data attribute)
M
(M = −1)
+10
Signed binary
Value of relative coordinate for the (A negative value is represented in
first axis (4 bytes) 2's complement)
+14
Value of relative coordinate for the
second axis (4 bytes)
+18
Value of relative coordinate for
the third axis (4 bytes)
+22
Value of relative coordinate for the
fourth axis (4 bytes)
- 463 -
5.WINDOW FUNCTIONS B-63983EN/01
[Completion codes]
0: Success to set the value of relative coordinate.
4: Data specified for the data attribute is invalid because it is neither
−1 nor a value from 1 to n(n is the number of axes). Alternatively,
the specified axis number is greater than the number of controlled
axes.
5: Relative coordinate is out of range.
Top address + 0
(Function code)
249
+2
(Completion code)
?
(See the explanation above)
+4
(Data length)
L
(Same as input data)
+6
(Data number)
0
(Same as input data)
+8
(Data attribute)
M
(M: Input data)
+10
Value of relative coordinate
(4*n bytes)
- 464 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
NC program number
Screen title
Ladder PMC alarm
execution status
NC status indication
[+]
Soft key page
Key entry line turning key
Return key
- 465 -
6.OPERATING THE PMC SCREEN B-63983EN/01
- 466 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
SYSTEM
< I/O LINK I/O link connection status screen (See Section 7.5.)
SYSTEM PARAM
System parameter display/editing (See Section 9.8.)
screen
- 467 -
6.OPERATING THE PMC SCREEN B-63983EN/01
A transition diagram for the PMC main menu soft keys, PMC
submenu soft keys, and operation soft keys is shown below.
< (OPRT)
EXIT
The number of
operation soft key
Operation soft keys (2nd layer) layers differs for
each screen.
EXIT
- 468 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
- 469 -
6.OPERATING THE PMC SCREEN B-63983EN/01
CAUTION
This section contains important information for
developers of application system controlled by PMC.
Improperly implemented application system may
increase possibility of defects in its safety. Careful
examinations and considerations on using and
implementing with the functions explained especially
in this section are strongly required.
- 470 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
NOTE
The override function also requires the setting of
"OVERRIDE ENABLE" in the setting parameters.
CAUTION
Set this setting to "NO"(0) before shipment of the
machine. If this setting is left as "YES"(1), the
operator may stop execution of the ladder program
by mistake. If you want to protect this setting, please
make a sequence that always writes 0 in this bit by
your ladder. Or please control the machine to force
to translate into safety state by sequence program
using the way described in Section 4.15 when the
ladder stops.
- 471 -
6.OPERATING THE PMC SCREEN B-63983EN/01
NOTE
Even if this parameter is set to "YES", these functions
do not be hidden except for Ladder monitor/editing
screen if "PROGRAMMER ENABLE" is set to "YES".
- 472 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
NOTE
1 Even if this parameter is set to "YES", these functions
which have program display are invalid if "HIDE PMC
PROGRAM" is set to "YES".
2 These screens with stop of ladder program require
below setting "ALLOW PMC STOP".
CAUTION
Set this setting to "NO"(0) before shipment of the
machine if you want to prohibit operator form editing
the program. If you want to protect this setting,
please make a sequence that always writes 0 in this
bit by your ladder.
- 473 -
6.OPERATING THE PMC SCREEN B-63983EN/01
NOTE
1 Even if this parameter is set to "YES", these functions
which have program display are invalid if "HIDE PMC
PROGRAM" is set to "YES".
2 These editing screens require above setting "EDIT
ENABLE".
CAUTION
Set this setting to "NO"(0) before shipment of the
machine. If this setting is left as "YES"(1), the
operator may stop execution of the ladder program
by mistake. If you want to protect this setting, please
make a sequence that always writes 0 in this bit by
your ladder. Or please control the machine to force
to translate into safety state by sequence program
using the way described in Section 4.15 when the
ladder stops.
NOTE
The override function also requires the setting of
"OVERRIDE ENABLE" in the setting parameters.
- 474 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
CAUTION
To enter the PMC parameters from the data I/O
screen requires a special operation. For information
about how to enable the input of the PMC
parameters, see "Output from the data I/O screen" in
Subsection 6.2.2.
WARNING
If the sequence program is stopped while the
machine is operating, the machine may cause
unexpected operation. Before stopping the sequence
program, make sure that there is no one near the
machine and that the tool will not collide with the
workpiece or machine. Operating the machine in any
inappropriate fashion can result in the death of or
serious injury to the user. The tool, workpiece,
and/or machine can also be damaged.
- 475 -
6.OPERATING THE PMC SCREEN B-63983EN/01
CAUTION
1 To change the PMC parameters on an individual
screen requires a special operation. For information
about how to enable the input of the PMC
parameters, see "Input from the PMC parameter
screen" in Subsection 6.2.2.
2 To enter the PMC parameters from the data I/O
screen requires a special operation. For information
about how to enable the input of the PMC
parameters, see "Output from the data I/O screen" in
Subsection 6.2.2.
WARNING
If the sequence program is stopped while the
machine is operating, the machine may cause
unexpected operation. Before stopping the sequence
program, make sure that there is no one near the
machine and that the tool will not collide with the
workpiece or machine. Operating the machine in any
inappropriate fashion can result in the death of or
serious injury to the user. The tool, workpiece,
and/or machine can also be damaged.
- 476 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
NOTE
Please use the password function of sequence
program for particular operator. Please refer to
FANUC LADDER-III operator's manual B-66234EN
"10.3".
NOTE
Please use the password function of sequence
program for particular operator. Please refer to
FANUC LADDER-III operator's manual B-66234EN
"5.4".
- 477 -
6.OPERATING THE PMC SCREEN B-63983EN/01
NOTE
Please use the password function of sequence
program for particular operator. Please refer to
FANUC LADDER-III operator's manual B-66234EN
"10.3".
WARNING
If a sequence program is stopped while the machine
is operating, the machine may behave unexpectedly.
Before stopping the sequence program, make sure
that nobody is near the machine and that the tool
cannot interfere with the work-piece or machine.
Incorrect operation of the machine presents an
extreme risk of death or serious injury to the user.
Damage the tool, work-piece, and/or the machine is
also likely.
(5) The case that operator who familiar with the machine and the
ladder sequence operate all the PMC programmer functions;
• PROGRAMMER ENABLE (K900.1) "YES"
• HIDE PMC PROGRAM (K900.0) "NO"
WARNING
If a sequence program is stopped while the machine
is operating, the machine may behave unexpectedly.
Before stopping the sequence program, make sure
that nobody is near the machine and that the tool
cannot interfere with the work-piece or machine.
Incorrect operation of the machine presents an
extreme risk of death or serious injury to the user.
Damage the tool, work-piece, and/or the machine is
also likely.
- 478 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
(6) If you want to prohibit the editing and input/output of the ladder
and allow the input/output of the PMC parameters:
• PROGRAMMER ENABLE (K900.1) "NO"
• HIDE PMC PROGRAM (K900.0) "YES"
• EDIT ENABLE (K901.6) "NO"
• ALLOW PMC STOP (K902.2) "NO"
• HIDE PMC PARAM (K902.6) "NO"
• PROTECT PMC PARAM (K902.7) "NO"
NOTE
1 To input the PMC parameters, place the NC in the
emergency stop state and set the PWE parameter,
which is one of the NC parameters, to 1.
2 To output the PMC parameters, set the EDIT mode.
- 479 -
6.OPERATING THE PMC SCREEN B-63983EN/01
NOTE
These operations may be protected by the
programmer protection function. For details of the
programmer protection function, see "PROTECT
PMC PARAM" in Subsection 6.2.1.
- 480 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
NOTE
These operations may be protected by the
programmer protection function. For details of the
programmer protection function, see "PROTECT
PMC PARAM" in Subsection 6.2.1.
- 481 -
6.OPERATING THE PMC SCREEN B-63983EN/01
NOTE
These operations may be protected by the
programmer protection function. For details of the
programmer protection function, see "PROTECT
PMC PARAM" in Subsection 6.2.1.
- 482 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
NOTE
1 Once you cancel the password, you will not be asked
to enter the password until you either shut down the
system and turn on its power again or replace the
ladder program using the I/O or other function.
2 The sequence program that lets you turn on the
power by pressing "X" and "O" simultaneously can be
cleared, regardless of whether the password is set or
not.
- 483 -
6.OPERATING THE PMC SCREEN B-63983EN/01
Protected/
Program type
not protected
Level 1 Protected
Main programs Level 2 Protected
Level 3 Protected
P1 to P1499 Protected
Sub programs
P1500 to P5000 Not protected
NOTE
This function can be used only for the first PMC.
- 484 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
[ZOOM]
[EXIT] [EDIT]
When the message appears prompting you
to enter the password for displaying data,
Ladder editing enter the display permission password or
screen edit permission password (*1) (*2).
NOTE
1 When only the display permission password is set,
both the display and editing functions are protected.
When only the edit permission password is set, the
editing function is protected.
When both the display permission password and edit
permission password are set, both the display and
editing functions are protected. In that case, you can
cancel the protection of the display and editing
functions by using the edit permission password.
2 Enter the password when you want to display the
content of a program protected by the partial
protection function by using the [ZOOM] soft key.
- 485 -
6.OPERATING THE PMC SCREEN B-63983EN/01
- 486 -
B-63983EN/01 6.OPERATING THE PMC SCREEN
The screens listed below display the information regarding all the
PMCs on the same screen space, regardless of the switching of the
PMC.
For details, see the sections describing the operation of the individual
screens.
NOTE
Although the signal trace screen allows you to trace
the signals of the first, second, and third PMCs
simultaneously, it cannot trace the signal of the dual
check safety PMC.
- 487 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 488 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Table contents
• ADDRESS: Address referenced by a sequence program
• 0 to 7: Data at each bit position
• HEX: Display of each byte in hexadecimal
• DEC: Display of each byte in decimal
- 489 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
Operation procedure
(1) Press the [STATUS] soft key. The screen shown above appears.
(2) Key in an address whose data to be displayed, then press the
[SEARCH] soft key.
(3) The data starting at the input address is displayed as a bit pattern.
(4) To display the data at another address, press the cursor keys,
page keys, or [SEARCH] soft key.
(5) To modify the status of a signal, switch to the forced I/O screen
by pressing the [FORCE] soft key.
NOTE
The [FORCE] soft key is displayed and usable
when the forced I/O function is enabled. For
details, see Section 6.2.
- 490 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Address search Switching to the forced I/O screen PMC path switching
- 491 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
The forced I/O function enables a value to be input forcibly for the
signal at an arbitrary PMC address.
With this function, for example, a sequence program can be debugged
without using an I/O device by forced input to X, and the signal
routing on the I/O device can be checked efficiently without using a
sequence program by forced output to Y.
Two input modes are available: the forced I/O mode and the override
mode. Choose from the two modes for each application.
Machine
I/O address
Overwrite
X,Y
Overwrite
X0.0
MOVE 1111
1111
K0
R0
- 492 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
I/O Unit-MODEL A NC
X0 = FFh X0 = FFh
X0 = FFh X0 = FFh
- 493 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
I/O Unit-MODEL A NC
X0 = FFh
X0 = FFh
I/O Unit-MODEL A × NC
Transfer from the I/O Unit-MODEL
A is disabled.
X0 = FFh
X0 = FFh
I/O Unit-MODEL A × NC
X0 = FFh X0 = 00h
In this way, the forced I/O function for X in the override mode can
also be used to debug a sequence program when an I/O device is
connected. If the override state is set for an Y address, a value after
modification by forced I/O is output to the I/O device.
- 494 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
CAUTION
1 In the override mode, the I/O signal update period
matches the first level of the ladder. With the I/O
Link, which is usually updated at intervals of 2
msec, the timing of I/O signals delays. So, note
that a sequence that depends on the timing of I/O
signals can change operation.
2 Note that when the override mode is enabled, the
period of the second level can slightly increase.
3 Even if override is set for an Y address, the coil
on/off value on the LADDER DIAGRAM VIEWER
screen indicates the result of operation of a ladder
before modification by forced I/O. A value after
modification by the forced I/O function is output to
the I/O device. So, note that the on/off indication on
the LADDER DIAGRAM VIEWER screen does not
match a value output to the I/O device.
I/O Unit-MODEL A NC
(off) (off)
Y0.0 = off
Ladder diagram indication
I/O Unit-MODEL A NC
(off) (off)
Y0.0 = on
Ladder diagram indication
WARNING
When modifying a signal with the forced I/O
function, pay special attention. If the forced I/O
function is used inadequately, the machine can
move in an unexpected way. When there is a
person near the machine, do not use this function.
- 495 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
Input mode
Additional information
line
In the input mode display area to the right of the title, "OVERRIDE"
is displayed only when the forced I/O mode is set to the override
mode.
The signal status display area indicates the signal status of each
address. The status shown below is indicated for X and Y signal bits
for which override is set.
- 496 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(1) X signal
(Input signal from the I/O device) → (Input signal to the ladder)
The hexadecimal or decimal display field on the rightmost
position of the screen displays the value of the input signal to the
ladder on the right side.
(2) Y signal
(Output signal from the ladder)→(Output signal to the I/O
device)
The hexadecimal or decimal display field on the rightmost
position of the screen displays the value of the output signal from
the ladder on the left side.
The message display line at the bottom of the screen displays an error
message as required.
Forced I/O
Override
Switching to the signal status Override setting
display screen
- 497 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 498 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 499 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
Page display
In the alarm message display area, an alarm message output from the
PMC is displayed. When many alarm messages are output to two or
more pages, the page keys can be used to switch from one page to
another.
In the page display area to the right of the title, the number of the page
currently displaying messages is indicated.
- 500 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
PMC parameters (timer, counter, keep relay, and data table) can be set
and displayed on each screen. Moreover, data items can be input
successively. The cursor moves to the last data item successively
input.
Method of input
(1) As the data delimiter, ";" (EOB) is used.
Example: "100;200;300;" + Input key
(2) With ;=, the value of the immediately preceding data item is
input.
Example: "100;=;=;200;=" + Input key inputs 100,100,100,200,
200.
(3) With ;;, data items can be input, skipping an address.
Example: "100;;100" + Input key inputs no data for the second
item.
(4) With "R;input-value;count", the same value can be input as many
times as a specified count.
Example: "R;100;200" + Input key inputs two hundred 100s in a
column.
- 501 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
This screen is used to set and display timer values for functional
instruction variable timers (TMR:SUB 3). This screen can be used in
one of two modes: the simple display mode and the comment display
mode. To move to the TIMER screen, press the [TIMER] soft key.
Page display
Comment display
area
- 502 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Table contents
• NO.: Timer number specified for a functional instruction
timer.
• ADDRESS: Address referenced by a sequence program
• PRESET: Timer setting value
• ACC: Timer accuracy
• COMMENT: T address comment
In the PRESET column, timer setting values are displayed. When the
timer accuracy is 8, 48, 1, 10, or 100 ms, only a numeric value is
displayed. When the timer accuracy is the second or minute, a time
value is displayed using H, M, and S with the separator "_" used to
delimit one unit from another as follows:
aaH_bbM_ccS
In the ACC column, timer accuracy values are displayed. The table
below indicates the time setting values and notation of each accuracy
value.
- 504 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
This screen is used to set and display the maximum and minimum
counter values for functional instruction counters (SUB 5). This
screen can be used in one of two modes: the simple display mode and
the comment display mode. To move to the COUNTER screen, press
the [COUNTR] soft key.
Page display
Comment display
area
- 505 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
Table contents
• NO.: Counter number specified for a functional
instruction counter
• ADDRESS: Address referenced by a sequence program
• PRESET: Maximum counter value (a minimum counter value
is specified by a counter instruction)
• CURRENT: Current counter value
• COMMENT: Comment on the C address of a setting value
- 506 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
This screen is used for setting and displaying the Keep Relays. To
move to the KEEP RELAY screen, press the [KEEP RELAY] soft key.
Page display
- 507 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
For details of the area for the PMC management software, see
Subsection 2.2.11.
CAUTION
If the area for the PMC management software is
protected by the programmer protection function,
the area is not displayed on the KEEP RELAY
screen. For details, see Section 6.2.
Screen operations
- 508 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Cursor keys
With the cursor keys, select a signal to be modified.
If you press the cursor key for moving left when the cursor is placed at
bit 7 of an arbitrary address, the cursor changes to a byte cursor.
If you press the cursor key for moving right when the cursor is placed
on the hexadecimal display field of an arbitrary address, the cursor
changes to a byte cursor for the next one entire byte.
When the cursor is on the hexadecimal display field or the cursor is a
byte cursor, the one-byte signal data of the address can be modified.
CAUTION
1 Do not use the special use area, because the relays
in this area are reserved for PMC system software
use, and they affect behavior of the PMC software.
Set "0" to any relays that are not mentioned below,
to prevent unexpected behavior of PMC.
2 Be sure to set the reserved portion of the area for
the PMC management software to 0.
- 509 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
There are two data table types (data table control data table and data
table). To move to the data screen, press the [DATA] soft key.
Page display
Comment
display area
- 510 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Table contents
• GROUP TABLE COUNT: Number of data items in the data table
• NO.: Group number
• ADDRESS: Data table start address
• PARAMETER: Data table control parameter
• TYPE: Data length (0 = 1 byte, 1 = 2 bytes, 2 = 4 bytes, 3
= bit)
• DATA: Number of data items in each data table
• COMMENT: Comment on the start D address of each group
NOTE
The data table control parameters have the following meanings:
#7 #6 #5 #4 #3 #2 #1 #0
0: Binary format
1: BCD format (Bits 2 and 3 are invalid.)
0: Without input protection
1: With input protection
0: Binary or BCD format (Bit 0 is valid.)
1: Hexadecimal format (Bits 0 and 3 are invalid.)
0: Signed (valid only when bits 0 and 2 are set to 0)
1: Unsigned (valid only when bits 0 and 2 are set to 0)
NOTE
1 When data table control data is protected by the
programmer protection function, the data table
control data screen is not displayed. For details,
see Section 6.2.
2 When PMC parameters are output using the I/O
screen (see Section 7.4), only the data of an
address D area set in the data table control data is
output from the data table screen. The data of an
address D area not set in the data table control data
is not output.
- 511 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
Switching to the zoom screen Switching to the soft keys for parameter setting
Input of the number Symbol display Switching to the soft keys for data size
of groups switching setting
Fig. 7.3.4 (a) Soft keys on the DATA TABLE CONTROL screen
- 512 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 When data table control data is initialized, the entire
data area is set as a single table. The start address
is the start address of the D addresses. The control
parameters are set as follows: signed binary format,
without input protection, one-byte data size, and the
number of data items set to the total number of
bytes in the entire D address area.
2 The initial number of data items for the first PMC is
10000. For the second PMC, third PMC, and the
PMC for dual check safety, the initial number of
data items is 3000.
(8) [PARAM] Switching to the soft keys for parameter setting
Switches to the soft keys for setting the parameters of data
table control data.
(9) [TYPE] Switching to the soft keys for data setting
Switches to the soft keys for data size setting.
(10) [SWITCH PMC] PMC path switching
Switches PMC paths.
This soft key is effective to multi-PMC systems only.
(11) [SGNDEC] Setting for signed decimal
Sets signed decimal for the parameters of data table control
data.
(12) [USDEC] Setting for unsigned decimal
Sets unsigned decimal for the parameters of data table
control data.
(13) [BCD] Setting for BCD
Sets BCD for the parameters of data table control data.
(14) [HEX] Setting for hexadecimal
Sets hexadecimal for the parameters of data table control
data.
(15) [PROTECT] Protection state modification
Modifies the protection state of the parameters of data table
control data.
(16) [BYTE] Setting for byte
Sets the data size to one byte.
(17) [WORD] Setting for word
Sets the data size to two bytes.
- 513 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 514 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Page display
- 515 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
The group information line at the top of the screen displays a group
number, group start address, settings, and comment on the start
address.
- 516 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 517 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 518 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Cancellation
- 519 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
For the description of the error messages on the I/O
screen, see Section 10.1.
- 520 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
The table below indicates the memory cards supported by Series 30i-
A and their usable functions.
Each card must comply with TYPE1 or TYPE2 of PCMCIA (Personal
Computer Memory Card International Association) 2.0 or later, or
must comply with TYPE1 or TYPE2 of JEIDA (Japan Electronic
Industry Development Association) 4.0 or later. The format complies
with the FAT file system of MS-DOS.
¡: Supported
×: Not supported
Flash memory card
SRAM card Supported Unsupported ATA card
card card
Read of a file ¡ ¡ ¡ ¡
Format of a card ¡ ¡ × ¡
Write of a file ¡ ¡ × ¡
Delete of a file ¡ × × ¡
List of a file ¡ ¡ ¡ ¡
- 521 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
Before a write
File-A
File-B
File-C
Added
File-D
128K bytes
After a write
File-A
File-B
File-C
File-D
128K bytes
Fig. 7.4.1
NOTE
Recommendable devices that can handle a flash
memory card formatted and written to by the
FANUC system are unavailable from manufacturers
other than FANUC. Moreover, recommendable
devices that can format and write to a card to allow
read operation by the FANUC system are
unavailable from manufacturers other than FANUC.
This is because the demand for flash memory cards
in the card market is so low that compatible models
are disappearing.
When using flash memory cards, understand the
situations mentioned above and fully take
compatibility into consideration.
- 522 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
This screen allows the setting of the communication data required for
communication using the RS-232C. Communication data can be set
for each of the two types of devices independently of the other.
Selected device type is displayed to "DEVICE" menu on screen.
- 523 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
• WRITE CODE
"WRITE CODE" is displayed when "OTHERS" is selected for
"DEVICE".
ASCII: Sets the output code to "ASCII".
ISO: Sets the output code to "ISO".
NOTE
Parity is always "NONE".
- 524 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
Up to 128 files can be displayed on this screen.
When 129 or more files are saved, the 129th and
subsequent files are ignored.
- 525 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
To return the screen display to the I/O screen without selecting a file,
press the I/O soft key. Even if the memory card, Floppy Cassette, or
Handy File is exchanged while the file list screen is being displayed,
the display data is not automatically updated. In this case, press the
[REFRSH] soft key. The contents of the new memory card
are then displayed.
- 526 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
List updating
- 527 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
The PMC query may not be displayed, depending
on the setting of each query. For details, see the
description of each operation procedure.
- 528 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 529 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
When PMC parameters for the conventional model are read with the multi-PMC system
NOTE
1 When only the first PMC exists, only the step for
reading PMC parameters including PMC
information needs to be executed.
2 For a nonexistent PMC, no soft key is displayed.
- 530 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the
operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Output target PMC)
DEVICE MEMORY CARD
FUNCTION WRITE
KIND OF DATA SEQUENCE PROGRAM
(2) Move the query selection cursor to FILE NAME, then enter a
desired file name.
Enter a file name not longer than eight characters with a three-
character extension in the MS-DOS format. When no file name
is entered, the following file name is automatically set:
If a file with the same file name already exists, the extension
number is incremented for output.
Example: PMC1_LAD.001
(3) Press the [EXEC] soft key to output the sequence program.
Press the [CANCEL] soft key to stop the operation.
For the memory cards supported by Series 30i-A, see the pertinent
table in Subsection 7.4.1.
NOTE
For writing to the flash memory card, see "Writing to
the flash memory card" in Subsection 7.4.1.
- 531 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows sequence program input.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE MEMORY CARD
FUNCTION READ
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 532 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 When the format of a specified file cannot be
recognized, the read operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
2 Sequence programs for the conventional model
cannot be read. If a sequence program for the
conventional model is read, the read operation is
terminated abnormally with the following message:
"LADDER TYPE UNMATCH"
WARNING
1 If a ladder program is read while another ladder
program is being executed, the ladder program
being executed is automatically stopped. Take
special care when stopping a ladder program. If a
ladder program is stopped at an inadequate timing
or in an inadequate machine state, the machine can
make an unexpected movement. Moreover, when
a ladder program is stopped, the safety feature and
monitoring based on the ladder program do not
function. Before stopping a ladder program, make
sure that the machine state is normal and that there
is no person near the machine.
2 When an attempt is made to stop the ladder
program being executed, the stop processing may
continue endlessly, depending on the ladder
operation. In such a case, modify the ladder
program according to Section 4.15.
For the memory cards supported by Series 30i-A, see the pertinent
table in Subsection 7.4.1.
- 533 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
Compare operation can be performed only when
the operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE MEMORY CARD
FUNCTION COMPARE
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 534 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 When the format of a specified file cannot be
recognized, the compare operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
2 Sequence programs for the conventional model
cannot be compared. If a sequence program for
the conventional model is compared, the compare
operation is terminated abnormally with the
following message:
"LADDER TYPE UNMATCH"
For the memory cards supported by Series 30i-A, see the pertinent
table in Subsection 7.4.1.
- 535 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Output target PMC)
DEVICE FLASH ROM
FUNCTION WRITE
KIND OF DATA SEQUENCE PROGRAM
NOTE
When programs are written, flash ROM initialization
may consume some time. During initialization,
"INITIALIZING FLASH ROM." is displayed in the
STATUS display field.
- 536 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the
operation condition allows sequence program input.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Input target PMC)
DEVICE FLASH ROM
FUNCTION READ
WARNING
1 If a ladder program is read while another ladder
program is being executed, the ladder program
being executed is automatically stopped. Take
special care when stopping a ladder program. If a
ladder program is stopped at an inadequate timing
or in an inadequate machine state, the machine can
make an unexpected movement. Moreover, when
a ladder program is stopped, the safety feature and
monitoring based on the ladder program do not
function. Before stopping a ladder program, make
sure that the machine state is normal and that there
is no person near the machine.
2 When an attempt is made to stop the ladder
program being executed, the stop processing may
continue endlessly, depending on the ladder
operation. In such a case, modify the ladder
program according to Section 4.15.
- 537 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
Compare operation can be performed only when
the operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Compare target PMC)
DEVICE FLASH ROM
FUNCTION COMPARE
- 538 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the
operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Output target PMC)
DEVICE FLOPPY
FUNCTION WRITE
KIND OF DATA SEQUENCE PROGRAM
(2) Move the query selection cursor to FILE NAME, then enter a
desired file name.
For output to a FLOPPY in the DOS format, enter a file name not
longer than eight characters with an extension not longer than
three characters in the MS-DOS format. For output to a
FLOPPY in the FANUC format, enter a file name not longer than
seventeen characters. When no file name is entered, the
following file name is automatically set:
(3) Press the [EXEC] soft key to output the sequence program.
Press the [CANCEL] soft key to stop the operation.
- 539 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows sequence program input.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE FLOPPY
FUNCTION READ
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 540 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 When the format of a specified file cannot be
recognized, the read operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
2 Sequence programs for the conventional model
cannot be read. If a sequence program for the
conventional model is read, the read operation is
terminated abnormally with the following message:
"LADDER TYPE UNMATCH"
WARNING
1 If a ladder program is read while another ladder
program is being executed, the ladder program
being executed is automatically stopped. Take
special care when stopping a ladder program. If a
ladder program is stopped at an inadequate timing
or in an inadequate machine state, the machine can
make an unexpected movement. Moreover, when
a ladder program is stopped, the safety feature and
monitoring based on the ladder program do not
function. Before stopping a ladder program, make
sure that the machine state is normal and that there
is no person near the machine.
2 When an attempt is made to stop the ladder
program being executed, the stop processing may
continue endlessly, depending on the ladder
operation. In such a case, modify the ladder
program according to Section 4.15.
- 541 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
Compare operation can be performed only when
the operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE FLOPPY
FUNCTION COMPARE
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 542 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 When the format of a specified file cannot be
recognized, the compare operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
2 Sequence programs for the conventional model
cannot be compared. If a sequence program for
the conventional model is compared, the compare
operation is terminated abnormally with the
following message:
"LADDER TYPE UNMATCH"
- 543 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Output target PMC)
DEVICE OTHERS
FUNCTION WRITE
KIND OF DATA SEQUENCE PROGRAM
- 544 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the
operation condition allows sequence program input.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE OTHERS
FUNCTION READ
NOTE
1 When the format of a specified file cannot be
recognized, the read operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
2 Sequence programs for the conventional model
cannot be read. If a sequence program for the
conventional model is read, the read operation is
terminated abnormally with the following message:
"LADDER TYPE UNMATCH"
- 545 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
WARNING
1 If a ladder program is read while another ladder
program is being executed, the ladder program
being executed is automatically stopped. Take
special care when stopping a ladder program. If a
ladder program is stopped at an inadequate timing
or in an inadequate machine state, the machine can
make an unexpected movement. Moreover, when
a ladder program is stopped, the safety feature and
monitoring based on the ladder program do not
function. Before stopping a ladder program, make
sure that the machine state is normal and that there
is no person near the machine.
2 When an attempt is made to stop the ladder
program being executed, the stop processing may
continue endlessly, depending on the ladder
operation. In such a case, modify the ladder
program according to Section 4.15.
- 546 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
Compare operation can be performed only when
the operation condition allows sequence program
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE OTHERS
FUNCTION COMPARE
NOTE
1 When the format of a specified file cannot be
recognized, the compare operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
2 Sequence programs for the conventional model
cannot be compared. If a sequence program for
the conventional model is compared, the compare
operation is terminated abnormally with the
following message:
"LADDER TYPE UNMATCH"
- 547 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows PMC parameter output.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Output target PMC)
DEVICE MEMORY CARD
FUNCTION WRITE
KIND OF DATA PARAMETER
(2) Move the query selection cursor to FILE NAME, then enter a
desired file name.
Enter a file name not longer than eight characters with a three-
character extension in the MS-DOS format. When no file name
is entered, the following file name is automatically set:
If a file with the same file name already exists, the extension
number is incremented for output.
Example: PMC1_PRM.001
- 548 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
For the memory cards supported by Series 30i-A, see the pertinent
table in Subsection 7.4.1.
NOTE
For writing to the flash memory card, see "Writing to
the flash memory card" in Subsection 7.4.1.
- 549 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows PMC parameter input.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE MEMORY CARD
FUNCTION READ
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 550 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
When the format of a specified file cannot be
recognized, the read operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
WARNING
When PMC parameters are read, a modified
parameter can exercise an unexpected influence on
ladder operation. Before reading PMC parameters,
make sure that the parameters to be read do not
affect ladder operation.
For the memory cards supported by Series 30i-A, see the pertinent
table in Subsection 7.4.1.
- 551 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
Compare operation can be performed only when
the operation condition allows PMC parameter
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE MEMORY CARD
FUNCTION COMPARE
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 552 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
When the format of a specified file cannot be
recognized, the compare operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
- 553 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows PMC parameter output.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Output target PMC)
DEVICE FLOPPY
FUNCTION WRITE
KIND OF DATA PARAMETER
(2) Move the query selection cursor to FILE NAME, then enter a
desired file name.
For output to a FLOPPY in the DOS format, enter a file name not
longer than eight characters with an extension not longer than
three characters in the MS-DOS format. For output to a
FLOPPY in the FANUC format, enter a file name not longer than
seventeen characters. When no file name is entered, the
following file name is automatically set:
If a file with the same file name already exists, the extension
number is incremented for output.
Example: PMC1_PRM.001
(3) Press the [EXEC] soft key to output the PMC parameters.
Press the [CANCEL] soft key to stop the operation.
- 554 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the
operation condition allows PMC parameter input.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE FLOPPY
FUNCTION READ
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 555 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
When the format of a specified file cannot be
recognized, the read operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
WARNING
When PMC parameters are read, a modified
parameter can exercise an unexpected influence on
ladder operation. Before reading PMC parameters,
make sure that the parameters to be read do not
affect ladder operation.
- 556 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
Compare operation can be performed only when
the operation condition allows PMC parameter
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE FLOPPY
FUNCTION COMPARE
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 557 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
When the format of a specified file cannot be
recognized, the compare operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
- 558 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the
operation condition allows PMC parameter output.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
PMC (Output target PMC)
DEVICE OTHERS
FUNCTION WRITE
KIND OF DATA PARAMETER
- 559 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
This operation can be performed only when the
operation condition allows PMC parameter input.
For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE OTHERS
FUNCTION READ
NOTE
When the format of a specified file cannot be
recognized, the read operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
- 560 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
WARNING
When PMC parameters are read, a modified
parameter can exercise an unexpected influence on
ladder operation. Before reading PMC parameters,
make sure that the parameters to be read do not
affect ladder operation.
- 561 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
Compare operation can be performed only when
the operation condition allows PMC parameter
output. For details, see Section 6.2.
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE OTHERS
FUNCTION COMPARE
NOTE
When the format of a specified file cannot be
recognized, the compare operation is terminated
abnormally with the following message:
"UNKNOWN FILE FORMAT"
- 562 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Query Setting
DEVICE MEMORY CARD
FUNCTION DELETE
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
NOTE
No files can be deleted from a flash memory card.
- 563 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
Query Setting
DEVICE MEMORY CARD
FUNCTION FORMAT
(2) Press the [EXEC] soft key to format the memory card.
Press the [CANCEL] soft key to stop the operation.
NOTE
When the formatting of a memory card is executed
with FORMAT selected, all data of the memory card
is lost. Be careful when formatting a memory card.
For the memory cards supported by Series 30i-A, see the pertinent
table in Subsection 7.4.1.
NOTE
For writing to the flash memory card, see "Writing to
the flash memory card" in Subsection 7.4.1.
- 564 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE FLOPPY
FUNCTION DELETE
NOTE
If a value is set in the FILE NO. field, and a file
name not corresponding to the file number is
entered in the FILE NAME field when FILE NO. and
FILE NAME are displayed at the same time, the
value set in the FILE NO. field is erased, and the
setting in the FILE NAME field becomes valid.
- 565 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
(1) On the I/O screen, make the following settings with the query
selection cursor and option selection cursor:
Query Setting
DEVICE FLOPPY
FUNCTION DELETE ALL
NOTE
The following Floppy Cassette does not support the
operation of FORMAT:
FLOPPY CASSETTE ADAPTER A13B-0131-B001
- 566 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
I/O LINK MONITOR screen shows the types and the ID codes of I/O
Units that are connected to I/O Link in order of Group number.
To switch the screen display to the I/O LINK MONITOR screen,
press the [I/O LINK] soft key.
Channel number
I/O Unit type
CAUTION
1 IDs other than those for the I/O units listed in Table
7.5 represent undefined units.
2 I/O Units not for Series 30i -A are written in Table
7.5.
Soft keys
- 568 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
With the multi-PMC system, the signals of all PMCs can be traced
simultaneously.
- 569 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
For the setting to automatically start the trace
function after the power is turned on, see
Subsection 7.6.5.
- 570 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 571 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
1 For the PMC numbers, see Section 1.5.
2 If there is not “:” key in your keybord, use “;” or “/”.
- 572 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Trigger position
← 1 sec →← 9 sec →
NOTE
1 For the PMC numbers, see Section 1.5.
2 If there is not “:” key in your keybord, use “;” or “/”.
- 573 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 574 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
a) Setting addresses
In case of inputting discrete bit addresses, any bit address can be
inputted.
Moreover, when you input byte address, all bits of the address
(bits 0 to 7) are set automatically. Maximum 32 points of signal
address can be inputted.
With the multi-PMC system, an address can be set for a desired
PMC by specifying its PMC number.
Example: 2:R9200.1 + Input key
A setting can be made by entering "PMC number" + ":" +
"address" as indicated above.
When no PMC number is specified, the specification of the
currently selected PMC is assumed. In this case, "PMC number"
+ ":" is automatically prefixed to a specified address.
When only one PMC is used as in the standard PMC system, no
PMC number needs to be specified.
- 575 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
1 For the PMC numbers, see Section 1.5.
2 If there is not “:” key in your keybord, use “;” or “/”.
3 The signals of the PMC for dual check safety
cannot be traced.
4 Increasing the number of the signal address
changes the capacity of "SAMPLING/ TIME" or
"SAMPLING/ FRAME" in page 1. If the capacity is
changed, the following warning message is
displayed. (The "n" on the message means the
maximum value that is able to input.)
a) In case of "TIME CYCLE" mode
"SAMPLING TIME IS REDUCED TO n SEC."
b) In case of "SIGNAL TRANSITION" mode
"SAMPLING FRAME IS REDUCED TO n."
b) Soft keys
Soft keys on the setting screen of sampling address are as follows
• DELETE: Clears the value of the edit box on the
cursor.
• SYMBOL/ Changes the address display to the symbol
ADDRESS: display. However, display of the address
that is not defined the symbol does not
change. This soft key also changes to
"ADDRESS". The following soft keys are
displayed.
• MOVE UP: Exchanges the signal indicated the cursor
for the signal above one line.
• MOVE DOWN: Exchanges the signal indicated the cursor
for the signal below one line.
• DELETE ALL: Clears all of the value of the edit box.
c) Trigger setting
When "SIGNAL TRANSITION" is set on "TRACE MODE" and
"ANY CHANGE" is set on "SAMPLING CONDITION", it can
be set whether to use the setting address as the signals that should
trigger the sampling in the setting signals. As for the signal
address where the trigger was set, "ü" is displayed right. Soft
keys on the Trigger setting screen are as follows:
• TRGON: Sets the Trigger on.
• TRGOFF: Sets the Trigger off.
The default setting is trigger on for all signals.
- 576 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
After the trace parameters are set, a trace operation can be started by
pressing the [(OPRT)] soft key and the [RUN] soft key on the
SIGNAL TRACE screen. The following is the screen examples of the
trace execution by "TIME CYCLE" mode and "SIGNAL
TRANSITION" mode.
- 577 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 578 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 579 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 580 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 581 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
For details of the method of setting PMC setting
data, see Section 9.5.
- 582 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
If trace result data is present when a trace operation has been executed,
the data can be output to the memory card. Output trace result data
can be input to application software such as spreadsheet software run
on the personal computer. For the method of input, refer to the
relevant manual of application software.
(1) Operation
Press the [PUNCH] soft key. The soft key display changes to
[EXEC] and [CANCEL]. Press the [EXEC] soft key to start
output. Upon completion of output, the soft key display returns
to the initial status on the signal trace result screen.
(a) Header
At the start of data, an identifier representing the type of
data and edition information are output.
Identifier: ('PMC TRACE DATA')
Edition information: ('Edition', 1)
- 583 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
- 584 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 For a setting item that is invalidated in combination
with another setting, only a setting number and
setting item name are output, with a blank output in
the setting column and the setting character string
column. (However, commas are not omitted.)
2 For an item name that changes according to the
setting of another item, the item name displayed
according to the setting is displayed. (Example:
Sampling time/Sampling frame dependent on the
selection of a Sampling mode option)
3 For a sampling stop trigger address and sampling
trigger address, an address is output in the setting
column, and a symbol is output in the setting
character string column. When no symbol is set, an
address is output in the setting character string
column as well.
4 For a sampling stop trigger position, (successful
trigger position/sampling frame count) is output
after "%". (This is because a frame position is
internally held, so that an error can occur at the
time of conversion to a percentage value.)
- 585 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-63983EN/01
NOTE
1 Data is not output beyond set sampling addresses.
This means that no blank is output in the item of
'Address'.
2 For an address for which no symbol or no comment
is set, no data is output, but a blank is output in the
column. Commas are not omitted but are output for
up to set sampling addresses.
- 586 -
B-63983EN/01 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(4) Example of trace result output (For view comfort, tab settings are
made in several places. In actual data output, however, no tab
settings are made.)
‘Setting’, , ,
1,‘Sampling mode’, 2, ‘SIGNAL TRANSITION’
2,‘Sampling resolution’, 8, ‘MSEC’
3,‘Sampling time’, 2000,
4,‘Stop condition’, 3, ‘TRIGGER’
5,‘Stop trigger address’, ‘X10.0’, ‘SYMBOL1’
6,‘Stop trigger mode’, 1, ‘RISING EDGE’
NOTE 7,‘Stop trigger position’, 50(1250/2500), ‘%’
8,‘Sampling condition’, 1, ‘TRIGGER’
9,‘Sampling trigger address’,‘X10.1’, ‘SYMBOL2’
10,‘Sampling trigger mode’, 3, ‘BOTH EDGE’
NOTE
With the multi-PMC system, this data is output in
the format: "PMC number" + ":" + "address".
Example: '2:R0000.0'
- 587 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
SYSTEM
- 588 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
NOTE
You can protect these screens by using the
programmer protection function. For details, see
Section 6.2.
[ZOOM]
LADDER DIAGRAM PROGRAM LIST
MONITOR screen VIEWER screen
[LIST]
Display function
(monitor)
[SWITCH] [LIST] [ZOOM]
[EXIT] [EDIT]
[ZOOM]
LADDER DIAGRAM PROGRAM LIST
Edit function EDITOR screen EDITOR screen
[LIST]
- 589 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
NOTE
The [EDIT] soft key on the LADDER DIAGRAM
MONITOR screen is displayed so that it is available if
the programmer protection function is enabled. For
details, see Section 6.2. While the online monitor
function is enabled, you cannot move to the LADDER
DIAGRAM EDITOR screen. (To stop the online
monitor function, change the settings of "RS-232C"
and "HIGH SPEED" to "NOT USE".
- 590 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
SP area
Size area
- 591 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 592 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 593 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 594 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 595 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 596 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(3) Monitor
(a) Contacts and coils are displayed in different colors
according to the status of the signal. The status of power
flow is not displayed.
(b) Usually, the parameters of functional instructions are
monitored and displayed. You can suppress the monitor
and display by an appropriate setting. For details, see
Subsection 8.2.2.
- 597 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 598 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Main soft keys of LADDER Diagram Monitor screen Switch PMC paths
Search soft keys Search Write Coil Search previous Search next
- 599 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 600 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 601 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
↑
PAGE
Move screen
← →
Search backward
- 602 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
WARNING
1 You have to pay special attention to use Forced I/O
function to change status of signals. Inappropriate
use of Forced I/O function may cause unexpected
reaction of machine. You have to make it sure that
nobody is near the machine when you use this
function.
2 As you use Forcing mode of Forced I/O function to
change status of signal, however, the signal may
look proof against Forced I/O function, because
LADDER program or I/O device writes into the
signal repeatedly. In this case, even if the signal
looks unchanged, actual signal may be changed in
very short moment. You should be careful for the
reaction of machine to such signal changes.
NOTE
1 If the forced I/O function is protected by the
programmer protection function, pressing the INPUT
key has no effect. For details of protection
conditions, and the like, see Section 6.2.
2 Parameters of timer functional instructions, TMR,
TMRB, and TMRC, which have special monitor
formats, are not supported by Forced I/O function.
For details, see the description of functional
instructions of special monitor format in Subsection
8.2.3.
- 603 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
(4) Shortcuts
(a) When cursor is hidden, left/right cursor move keys without
string act just like [PREV]/[NEXT] soft keys.
(b) String followed by [SEARCH MENU] soft key in
"PMCLAD Main soft keys" starts searching directly.
(c) [SEARCH] soft key in the search soft keys without string
searches the address or the functional instruction under
cursor forward. If cursor is hidden, or cursor is placed
neither on a relay nor on a functional instruction, this
operation just repeats the last successful search forward, just
like [NEXT] soft key.
(d) [W-SRCH] soft key without string searches forward a write
coil of the same address with relay under cursor. If cursor
is hidden, or cursor is not placed on a relay, this operation
will search a write coil of the bit address that is searched at
last successful search. If the last search was not made with
bit address, the last entered string for searching is used to
determine what bit address is to be searched for a write coil.
(e) [FUNC SEARCH] soft key without string searches forward
the same functional instruction with one under cursor. If
cursor is hidden, or cursor is not placed on a functional
instruction, this operation will search a functional
instruction that is searched at last successful search. If the
last search was not made for functional instruction, the last
entered string for searching is used to determine what
functional instruction is to be searched.
(f) [LIST] soft key following string that indicates subprogram,
switches subprogram on LADDER DIAGRAM MONITOR
screen. Examples for strings to specify subprogram are
following:
"L1" Level 1
"P10", "10" Subprogram "P10"
"0"(zero), "G" Whole of LADDER program (Global)
- 604 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 605 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
• FUNCTION STYLE
Change the shape of functional instructions. There are three
options as below. You have to choose other than
"COMPACT" to show the current values of address
parameters of functional instructions.
COMPACT (default)
Occupies least space in diagram. Monitors of current values
of address parameters are omitted.
WIDE
Extends the box horizontally to reserve spaces for the
monitors of current values of address parameters. The box
becomes wider than COMPACT.
TALL
Extends the box vertically to reserve spaces for the monitors
of current values of address parameters. The box becomes
taller than COMPACT.
- 606 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
NONE
1 LINE
2 LINE
YES NO
- 607 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
• SHOW CURSOR
Determines whether to show cursor.
YES
Cursor is displayed. Cursor move keys will move the
cursor. When the cursor is placed on bit or byte addresses,
the information of the address is displayed at "Additional
Information Line". When you search something with the
cursor displayed, the cursor goes directly where it is found.
This option is recommended for search operation with
LADDER program that contains many large nets.
NO (default)
Cursor is not displayed. Up/down cursor move keys will
scroll the contents of screen directly. When you search
something with the cursor hidden, the net, which contains it,
will appear at the top of the screen.
• SUBPROGRAM NET NUMBER
Determines whether a net number is counted as "LOCAL"
starting from the top of current subprogram, or is counted as
"GLOBAL" starting from the top of whole program. This
setting also affects the expression of net number at searching
nets by number.
LOCAL
Net number starts from 1 at top of current subprogram. Net
number is defined only within current subprogram. The net
number information at upper right of the screen is displayed
in the format "displaying range/nets in subprogram NET".
GLOBAL (default)
Net number starts from 1 at top of Level 1 program. Net
number is defined identically at whole of program. The net
number information at upper right of the screen is displayed
in the format "displaying range/subprogram range NET".
Current Current
Subprogram Subprogram
- 608 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Not found
Not found
- 609 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 610 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
ADDRESS COLOR
Colors for the relay address are set. You can specify these
colors by entering color number. 16 colors (from No. 0 to No.
15) are available. Foreground color should be different from
background one.
DIAGRAM COLOR
General color and its background color for LADDER Diagram.
You can specify these colors by entering color number, or by
using right and left cursor move keys to change the color
number. You can use 16 numbers from 0 to 15; however,
some different number may correspond to the same color.
You can not specify the same number to the foreground and
the background colors.
ACTIVE RELAY COLOR
Color setting for the active relay. When a contact allows
power flow, and when a coil receives power, they are active
and are displayed with this color setting. When contacts and
coils are not active, they are displayed with "general color".
You can specify these colors in the same manner as color
setting of DIAGRAM COLOR, etc.
PARAMETER COLOR
Color setting for the monitor of functional instruction
parameters. They are displayed when functional instructions
are displayed in the shape other than "COMPACT". You can
specify these colors in the same manner as color setting of
DIAGRAM COLOR, etc.
COMMENT COLOR
Colors for the relay comment are set. You can specify these
colors by entering color number, or by moving right and left
cursor. 16 colors (from No. 0 to No. 15) are available.
Foreground color should be different from background one.
- 611 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
The following table shows all monitor formats for each parameter of
each functional instruction.
NOTE
1 "Variable" in "Monitor format" field means that this
parameter changes its size according to the other
parameter. See the descriptions for each functional
instruction for detail.
2 Functional instruction with "*" mark has Data table.
No. Name Parameter Monitor format No. Name Parameter Monitor format
1 END1 − − 18 XMOV 1 constant
2 END2 − − 2 4-digits BCD
3 TMR 1 special 3 4-digits BCD
4 DEC 1 2-digits BCD 4 4-digits BCD
2 constant 19 ADD 1 constant
5 CTR 1 special 2 4-digits BCD
6 ROT 1 constant 3 4-digits BCD
2 4-digits BCD 4 4-digits BCD
3 4-digits BCD 20 SUB 1 constant
4 4-digits BCD 2 4-digits BCD
7 COD * 1 constant 3 4-digits BCD
2 2-digits BCD 4 4-digits BCD
3 4-digits BCD 21 MUL 1 constant
8 MOVE 1 constant 2 4-digits BCD
2 constant 3 4-digits BCD
3 2-digits HEX 4 4-digits BCD
4 2-digits HEX 22 DIV 1 constant
9 COM 1 constant 2 4-digits BCD
10 JMP 1 constant 3 4-digits BCD
11 PARI 1 1-byte binary 4 4-digits BCD
14 DCNV 1 no monitor 23 NUME 1 constant
2 no monitor 2 4-digits BCD
15 COMP 1 constant 24 TMRB 1 special
2 4-digits BCD 2 constant
3 4-digits BCD 25 DECB 1 constant
16 COIN 1 constant 2 variable binary
2 4-digits BCD 3 constant
3 4-digits BCD 4 2-digits HEX
17 DSCH 1 constant 26 ROTB 1 constant
2 4-digits BCD 2 variable binary
3 4-digits BCD 3 variable binary
4 4-digits BCD 4 variable binary
5 variable binary
- 612 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
No. Name Parameter Monitor format No. Name Parameter Monitor format
27 CODB 1 constant 39 DIVB 1 constant
2 constant 2 variable binary
3 1-byte binary 3 constant or
4 variable binary variable binary
28 MOVOR 1 2-digits HEX 4 variable binary
2 2-digits HEX 40 NUMEB 1 constant
3 2-digits HEX 2 constant
29 COME − − 3 variable binary
30 JMPE − − 41 DISPB 1 constant
31 DCNVB 1 constant 42 EXIN 1 8-digits HEX
2 no monitor 43 MOVB 1 1-byte binary
3 no monitor 2 1-byte binary
32 COMPB 1 constant 44 MOVW 1 2-bytes binary
2 constant or 2 2-bytes binary
variable binary 45 MOVN 1 constant
3 variable binary 2 4-bytes binary
33 SFT 1 4-digits HEX 3 4-bytes binary
34 DSCHB 1 constant 47 MOVD 1 4-bytes binary
2 variable binary 2 4-bytes binary
3 variable binary 48 END3 − −
4 variable binary 51 WINDR 1 2-bytes binary
5 variable binary 52 WINDW 1 2-bytes binary
35 XMOVB 1 constant 53 AXCTL 1 constant
2 variable binary 2 8-digits HEX
3 variable binary 54 TMRC 1 constant
4 variable binary 2 special
5 variable binary 3 special
36 ADDB 1 constant 55 CTRC 1 2-bytes binary
2 variable binary 2 2-bytes binary
3 constant or 56 CTRB 1 constant
variable binary 2 special
4 variable binary 57 DIFU 1 constant
37 SUBB 1 constant 58 DIFD 1 constant
2 variable binary 59 EOR 1 constant
3 constant or 2 variable HEX
variable binary 3 constant or
4 variable binary variable HEX
38 MULB 1 constant 4 variable HEX
2 variable binary 60 AND 1 constant
3 constant or 2 variable HEX
variable binary 3 constant or
4 variable binary variable HEX
4 variable HEX
- 613 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
No. Name Parameter Monitor format No. Name Parameter Monitor format
61 OR 1 constant 65 CALL 1 no monitor
2 variable HEX 66 CALLU 1 no monitor
3 constant or 68 JMPB 1 no monitor
variable HEX
4 variable HEX 69 LBL 1 no monitor
62 NOT 1 constant 70 NOP 1 constant
2 variable HEX 71 SP 1 no monitor
3 variable HEX 72 SPE − −
64 END − − 73 JMPC 1 no monitor
- 614 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 615 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 616 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(2) Operations
Soft keys of Functional Instruction Data Table Viewer screen of functional instruction COD
Soft keys of Functional Instruction Data Table Viewer screen of functional instruction CODB
- 617 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 618 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 619 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
CAUTION
1 You can edit ladder programs regardless of whether
they are active or not. To execute a ladder program
with the results of editing being reflected, you must
update the ladder program. To do this, click the
[UPDATE] soft key, or update the program when
exiting from the LADDER DIAGRAM EDITOR
screen. For details of the method of protecting
editing, see Section 7.3.
2 After you have edited a sequence program, the
results of editing will be lost if the power is turned off
without first writing the edited sequence program to
flash ROM.
Write the sequence program to flash ROM on the
I/O screen. If you set "WRITE TO F-ROM(EDIT)" to
"YES" on the general functions' setting parameter
screen, a confirmation message will be displayed,
prompting you to ask whether to write a sequence
program to flash ROM after the end of editing. For
details of this setting, see Section 9.5.
- 620 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Program List
Select net Copy net
Change to Search soft keys
- 621 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 622 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
WARNING
You have to pay special attention to modify running
LADDER program. If you modify LADDER program
in wrong way, or update LADDER program with the
machine in improper status, it may cause unexpected
reaction of the machine. You have to make it sure
that modifications you make on LADDER program is
appropriate, machine is in proper status, and nobody
is near the machine, when you update LADDER
program.
WARNING
You have to pay special attention to run/stop
LADDER program. Running/stopping LADDER
program in a wrong timing, or with machine in
improper status, may cause unexpected reaction of
machine. You have to make it sure that machine is in
proper status, and nobody is near the machine when
you run/stop LADDER program.
- 623 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
WARNING
You have to pay special attention to modify running
LADDER program. If you modify LADDER program
in wrong way, or update LADDER program with the
machine in improper status, may cause unexpected
reaction of the machine.
You have to make it sure that modifications you make
on LADDER program is appropriate, machine is in
proper status, and nobody is near the machine, when
you update LADDER program.
- 624 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 625 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
NONE
1 LINE
2 LINE
YES NO
- 626 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Current Current
Subprogram Subprogram
- 627 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
Wrap search
YES NO
Not found
Not found
- 628 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
YES
NO
- 629 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
ADDRESS COLOR
Colors for the relay address are set. You can specify these
colors by entering color number. 16 colors (from No. 0 to No.
15) are available. Foreground color should be different from
background one.
DIAGRAM COLOR
General color and its background color for LADDER Diagram.
SELECTED NET COLOR
Color setting for a selected net. The net subject to the editing
operation will be displayed in this color.
PROTECTED NET COLOR
Color setting for a net protected from an editing operation.
The protected net will not be selected as an object of editing.
When a subprogram is displayed, those nets that contain the
following functional instructions are protected so that they
cannot be deleted or entered.
END1 END3 SP
END2 END SPE
COMMENT COLOR
Colors for the relay comment are set. You can specify these
colors by entering color number. 16 colors (from No. 0 to No.
15) are available. Foreground color should be different from
background one.
- 630 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
At NET EDITOR screen, you can create new net, and modify existing
net.
- 631 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 632 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Set coil Data table Edit next net Insert column Cancel edit
(a) [ ], [ ], [ ], [ ], [ S ], [ R ]
Place relays (contacts and coils), or change type of existing
relays.
When one of these relay soft keys is pressed at cursor on
blank place, new relay of the soft key is placed under the
cursor. When the soft key follows a string that means a bit
address, the bit address is assigned to the newly placed relay.
If no bit address is given, last entered bit address is
automatically used for the new relay. If no bit address has
been entered yet, the new relay will have no address
assigned to it. Contacts can be placed at other than
rightmost column, and coils can be placed at rightmost
column only.
Moving cursor onto an existing relay, pressing a relay soft
key of different type changes the type of relay under the
cursor. But, changing coil to contact, and changing contact
to coil are forbidden.
- 633 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 634 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 635 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
Net 1 Net 1
Net 2 Editing Net 2a Editing
Net 3 Net 2a Net 3 Net 3a
Net 4 Net 4
: :
: :
Net 1 Net 1
Net 2 Editing Net 2a Editing
Net 3 Net A Net A Net B
Net 4 Net 3
: Net 4
:
:
- 636 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 637 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 638 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 639 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
Convergence point
Output
Input section section
Convergence Output
Input section point section
- 640 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 641 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
(3) Shortcuts
(a) [SELECT] soft key and INPUT key following number or
name of a functional instruction will select the specified
functional instruction directly, instead of the one under
cursor.
(b) When [FUNC] soft key in NET EDITOR screen is pressed
following a string that means number or name of a
functional instruction, the specified functional instruction is
entered directly, without displaying FUNCTIONAL
INSTRUCTION LIST screen.
- 642 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 643 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
NOTE
In the functional instruction COD (SUB7), the data
type of the data table can dynamically be changed
either BCD2 or BCD4 by "BYT" which is one of input
condition. So the data type of the data table is
decided when the functional instruction COD is
executed. Decide the display data digit according to
the status of "BYT" by pressing either [BCD2] soft
key or [BCD4] soft key. After turning the power on,
the default displaying data type is BCD4 digits. But if
you change data type by pressing [BCD2] soft key or
[BCD4] soft key, the data type is kept until you
change again.
The data table of functional instruction COD is stored
in the memory as BCD4 digits type. If you change
the data type from BCD4 digits to BCD2 digits, the
data is displayed without higher 2-digits. But the data
of higher 2-digits is kept in the memory. So you
return the data type from BCD2 digits to BCD4 digits,
the former BCD4 digits is recovered. The input range
of the data obeys the current data type.
- 644 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
NOTE
On functional instruction CODB, the data type is
decided by the first parameter of it. So, if you change
data type, the first parameter is changed too.
When you added functional instruction CODB to
ladder program, the default data type is BYTE.
NOTE
In case of functional instruction COD, the number of
data is decided by the first parameter of it. In case of
functional instruction CODB, the number of data is
decided by the second parameter of it. If you change
the number of data, these parameters are changed
too.
- 645 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 646 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 647 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 648 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 649 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 650 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 651 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 652 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 653 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 654 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Fig. 8.4.2 (d) LADDER DIAGRAM MONITOR screen (search soft keys)
- 655 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
You can alter the address used in a ladder program with another
address.
To perform address change, click the [CHANGE ADRS] soft key to
switch to address change mode.
- 656 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 657 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
Switch the cursor position Check the address to use Exit from the address alteration function
Move a symbol Search in the forward direction Specify the area subject to search and alteration
- 658 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 659 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 660 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 661 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
Clicking the [ADDRESS MAP] soft key on the ladder editor screen
causes that screen to switch to the address map display screen.
- 662 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
NOTE
1 Parameters of functional instructions are handled as
addresses in use with a length of one byte,
regardless of the data length of the parameters.
2 The range of the addresses to be searched for is
determined by the specified address.
Example: When R100.0 is specified, R100.0 to
R7999.7 are searched for.
3 The following addresses are not subject to unused
address search:
X/Y1000 to X/Y1127, R9000 to R9499, T0 to T499,
T9000 to T9499, C0 to C399, C5000 to C5199,
K900 to K999, A9000 to A9249, P1 to P5000, and
L1 to L9999
(c) [JUMP]
Moves you to the net in which the bit address at the cursor
position is in use. At this time, the soft keys will be those of
a search menu, allowing lap search with a single round,
regardless of the ladder screen settings.
(d) [EXIT]
Switches the screen to the LADDER DIAGRAM EDITOR
screen. At this time, the LADDER DIAGRAM EDITOR
screen displays the ladder net that it displayed before the
switch to this screen.
- 663 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
NOTE
This operation is available to bit addresses only.
You cannot automatically input byte addresses.
- 664 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Operation
NOTE
Special specifications apply to SUB3 (TMR) and
SUB5 (CTR). For details, see "Automatic input of the
TMR parameter of a functional instruction" and
"Automatic input of the CTR parameter of a functional
instruction", described later.
- 665 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-63983EN/01
- 666 -
B-63983EN/01 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
This function automatically detects double coils when you edit WRT
coils with ladder editing operations.
Time to check
When you edit WRT coils, this function always detects double coils.
When the check makes a hit, the following message is displayed:
- 667 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
SYSTEM
- 668 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
On the TITLE DATA screen, you can check the title data items and
some ladder information items. To switch to the TITLE DATA screen,
press the [TITLE] soft key.
On the TITLE DATA screen, you can perform the following
operations:
• Moving to the TITLE DATA EDITOR screen [EDIT]
- 669 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operations
Soft keys on the PMC Title Data screen
CAUTION
When the programmer protection function is enabled,
the [EDIT] soft key appears and is available. When
the online monitor function is enabled, you cannot
move to the TITLE DATA EDITOR screen. For
details, see Section 6.2.
- 670 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
On the TITLE DATA EDITOR screen, you can edit title data items.
To switch to the TITLE DATA EDITOR screen, press the [EDIT] soft
key on the TITLE DATA screen.
On the TITLE DATA EDITOR screen, you can perform the following
operations:
• Changing the input mode [INPUT MODE]
• Deleting title data [DELETE]
• Moving to the TITLE DATA screen [EXIT]
Input mode
Screen operations
Soft keys on the PMC Title Data Editor screen
Change the input mode Move to the PMC Title Data screen
- 671 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
• Full-string input
The entire string at the cursor is selected and replaced
with an input string.
• Insert mode
Input characters are inserted at the cursor. Pressing the
INPUT key with inputting no characters inserts one space.
• Replace mode
Input characters replace characters at and after the cursor.
Pressing the INPUT key with inputting no characters
replaces the character at the cursor with a space.
- 672 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 673 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operations
Fig. 9.2.1 Soft keys on the SYMBOL & COMMENT DATA VIEWER screen
CAUTION
When the programmer protection function is enabled,
the [EDIT] soft key appears and is available. When
the online monitor function is enabled, you cannot
move to the SYMBOL & COMMENT DATA EDITOR
screen.
For details, see Section 6.2.
- 674 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 675 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operations
Soft keys on the SYMBOL & COMMENT DATA EDITOR screen
Fig. 9.2.2 Soft keys on the SYMBOL & COMMENT DATA EDITOR screen
- 676 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 677 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
- 678 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
Soft keys on the symbol & comment data entry editor screen
Fig. 9.2.3 Soft keys on the symbol & comment data entry editor screen
• Full-string input
The entire string at the cursor is selected and replaced
with an input string.
• Insert mode
Input characters are inserted at the cursor. Pressing the
INPUT key with inputting no characters inserts one space.
• Replace mode
Input characters replace characters at and after the cursor.
Pressing the INPUT key with inputting no characters
replaces the character at the cursor with a space.
(b) [ALTER] Replace an entry
Replaces the target entry with edit data. When the data in
the address field is updated and the address is a new one,
the original data corresponding to the old address is deleted
and the edit data is registered as a new entry. If an address
to be registered as a new one is already registered, a
confirmation message appears, which asks you if you are
sure to overwrite the old data.
- 679 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
- 680 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 681 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operations
Delete characters
Fig. 9.2.4 Soft keys on the symbol & comment data entry editor screen
• Full-string input
The entire string at the cursor is selected and replaced
with an input string.
• Insert mode
Input characters are inserted at the cursor. Pressing the
INPUT key with inputting no characters inserts one space.
• Replace mode
Input characters replace characters at and after the cursor.
Pressing the INPUT key with inputting no characters
replaces the character at the cursor with a space.
(b) [ADD LINE] Register new entry data
Registers input data as a new entry. If the address of the
new entry is already registered, a confirmation message
appears, which asks you if you are sure to overwrite the old
data.
(c) [DELETE] Delete entry data
Performs either of the following deletions:
• In the full-string input mode
Deletes the string at the cursor.
• In the insert or replace mode
Deletes one character at the cursor.
- 682 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 683 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
- 684 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen configuration
(1) On the screen, message addresses, message requesting monitors,
message numbers, and message data are displayed from left to
right. A message requesting monitor indicates the status of the
signal (A addresses) of the message address. In the simple
message data display area, the first line of data is displayed.
(2) In the detailed message data display at the bottom of the screen,
message data at the cursor is all displayed.
(3) On the message display line at the bottom of the screen, an error
message appears when issued.
Screen operations
Soft keys on the PMC Message Data Viewer screen
NOTE
When the programmer protection function is enabled,
the [EDIT] soft key appears and is available. When
the online monitor function is enabled, you cannot
move to the MESSAGE DATA EDITOR screen. For
details, see Section 6.2.
- 685 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
- 686 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
On the MESSAGE DATA EDITOR screen, you can edit message data
items.
To move to the MESSAGE DATA EDITOR screen, press the [EDIT]
soft key on the MESSAGE DATA VIEWER screen. On the
MESSAGE DATA EDITOR screen, you can perform the following
operations:
• Moving to the message data entry editor screen [ZOOM]
• Searching for message data [SEARCH]
• Displaying double-byte characters [DOUBLE CHAR]
• Moving to the MESSAGE DATA VIEWER screen [EXIT]
• Selecting multiple entries [SELECT]
• Deleting an entry [DELETE]
• Moving an entry [CUT] and [PASTE]
• Copying an entry [COPY] and [PASTE]
• Deleting all entries [DELETE ALL]
Screen configuration
(1) On the screen, message addresses, message numbers, and
message data are displayed from left to right. In the message
data edit area, the first line of data is displayed.
(2) In the detailed message data display at the bottom of the screen,
message data at the cursor is all displayed.
(3) On the message display line at the bottom of the screen, an error
message appears when issued.
- 687 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operations
Soft keys on the PMC Message Data Editor screen
Delete an entry
Paste an entry
Select multiple entries
- 688 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 689 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
- 690 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
On the message data entry editor screen, you can edit desired message
data. To move to the message data entry editor screen, press the
[ZOOM] soft key on the MESSAGE DATA EDITOR screen. On the
message data entry editor screen, you can perform the following
operations:
• Changing the input mode [INPUT MODE]
• Changing data to be edited [<=>]
• Inserting an at sign (@) [@]
• Displaying double-byte characters [DOUBLE CHAR]
• Moving to the MESSAGE DATA EDITOR screen [EXIT]
• Selecting a string [SELECT]
• Deleting a string [DELETE]
• Moving a string [CUT] and [PASTE]
• Copying a string [COPY] and [PASTE]
• Canceling edits [CANCEL EDIT]
Input mode
Message number edit area Area for editing a message data string
Screen configuration
(1) On the screen, message addresses, message numbers, and
message data are displayed from left to right. In the simple
message data display area, the first line of data is displayed.
(2) The message number edit area and area for editing a message
data string at the bottom of the screen are used to edit the
message number and data.
(3) On the message display line at the bottom of the screen, an error
message appears when issued.
- 691 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operations
Soft keys on the message data entry editor screen
Delete characters
Input an at sign (@)
Cancel edits
Fig. 9.3.3 Soft keys on the message data entry editor screen
• Full-string input
The entire string at the cursor is selected and replaced
with an input string.
• Insert mode
Input characters are inserted at the cursor. Pressing the
INPUT key with inputting no characters inserts one space.
• Replace mode
Input characters replace characters at and after the cursor.
Pressing the INPUT key with inputting no characters
replaces the character at the cursor with a space.
(b) [<=>] Change data to be edited
Use this soft key to move the cursor between the message
number edit area and area for editing a message string. You
can check the cursor position to know which data is
currently being edited.
- 692 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 693 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
1 For details of the input format for kanji and other
special character strings, see Subsection 4.11.1.
2 For details of the extended specification of message
number, see the description of Extended specification
in Subsection 4.11.1.(iv)
- 694 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 695 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operations
- 696 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
On the I/O MODULE EDITOR screen, you can edit data of allocation
of I/O modules to X and Y addresses.
To switch to the I/O MODULE EDITOR screen, press the [EDIT] soft
key on the I/O MODULE VIEWER screen.
Channel number
Screen operations
- 697 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
As to the allocation name of I/O Unit, see Tables 3.2
(a) to 3.2 (c) in Chapter 3.
- 698 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
1 To make the allocation effective, after storing the
Ladder program in the flash ROM, turn the power to
the CNC and all slave I/O devices off, then on again.
2 The Ladder program is not stopped automatically
when you open I/O MODULE VIEWER screen or
EDITOR screen.
- 699 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
You can also use the keep relay screen (for K900
and after) to set these setting parameters.
[PARAM] [KEEPRL]
[SETING]
Keep Relay
[<] (K0-K99)
PMC SETTING (GENERAL) screen
Page Down The screen protection
- 700 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Use the [↑] and [↓] keys to move the item cursor.
Use the [←] and [→] keys to move the setting cursor and set the
parameter.
Use the page keys to switch to another page.
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
- 701 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
- 702 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
NOTE
For details of the display condition for this screen,
see Section 6.2.
- 703 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
Data set for "MESSAGE SHIFT START ADDRESS"
is valid only when the value set for "MESSAGE
SHIFT VALUE" is other than 0.
(3) Setting screens for the selectable I/O link assignment function
- 704 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
For details of the display condition for this screen,
see Section 6.2.
WARNING
If you modify this setting parameter without care, the
I/O assignment data may not match I/O devices and
turning on the power may result in unexpected
malfunctions of machine. So, it is required that the
operator of this function should be an expert who fully
understands the sequence program and the
operation of PMC. It is also strongly recommended
to the developer of machine that this setting screen
should be protected from careless use by ordinary
operators after the machine is shipped into the field.
- 705 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Example)
When the number of I/O Link channels is 3, you cannot set
channel 4.
NOTE
For details of the display condition for this screen,
see Section 6.2.
- 706 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
The change to this parameter setting is made
effective at the next power-on. After changing the
setting of this parameter, be sure to turn the power
off, then on again.
- 707 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
On the PMC STATUS screen, you can display the status of each
existing PMC and change the target PMC for display and operation on
each screen. To switch to the PMC STATUS screen, press the [PMC
STATUS] soft key.
Title information
Ladder execution time
Alarm mark
This screen displays the status of up to three PMCs and dual check
safety.
The status display for each PMC shows title information (comment),
ladder execution performance monitor, current execution time of the
ladder program, sequence program number and edition corresponding
to the title data, and alarm mark.
- 708 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
CAUTION
When the programmer protection function is enabled,
the [RUN]/[STOP] soft key appears and is available.
For details, see Section 6.2.
- 709 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
On the title display screen, you can start or stop a sequence program.
WARNING
If the sequence program is stopped while the
machine is operating, the machine may behave in an
unexpected way. Before stopping the sequence
program, ensure that there are no people near the
machine and that the tool cannot collide with the
workpiece or machine.
Otherwise, there is an extreme risk of death or
serious injury, as well as the likelihood of the tool,
workpiece, and machine being damaged.
- 710 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
CAUTION
1 When one of the following screens is displayed at
PMC, the online communication can not be used.
Change to other screens from the following screens,
and use the online function.
[LADDER], [I/O], [TITLE], [SYSTEM PARAM],
[TRACE], [SYMBOL], [MESAGE], [MODULE]
Also, you can not use the above screens at PMC
during the online communication.
2 When the online function is used with RS-232C, the
selected channel is occupied by the PMC system. To
use other functions with RS-232C, specify other
channel setting than the one used by online function.
- 711 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
The online function can be connected using one of the following three
methods.
Before using the online function, put the online function into the
connection waiting state on the PMC.
To put the PMC into the connection waiting state, use the
PARAMETERS FOR ONLINE MONITOR screen or relevant CNC
parameter.
To use Ethernet for connecting the online function, set Ethernet
communication parameters. For details of the Ethernet
communication parameters, see Subsection 9.7.3.
NOTE
When the programmer protection function is enabled,
the online setting screen is available. For details, see
Section 6.2.
- 712 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
CAUTION
In case of configuration of CNC with which neither
Ethernet nor HSSB is available, the item of "HIGH
SPEED " is not displayed.
- 713 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
1 When both "RS-232C = USE" and "HIGH SPEED =
USE" are selected, the PMC system will
communicate with the application which is connected
at first. If PMC system is already connecting with an
application, it can not connect with other applications.
2 When you use the online function by Ethernet, the
setting of Ethernet parameters at CNC is necessary
in advance.
- 714 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 715 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
The display messages and the meanings are shown in the table of
below.
- 716 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 717 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
(b) Select the [Network Address] tab and push the <Add Host>
button. Input the "IP Address" and "Port No." inputted in
(1) of this subsection.
- 718 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(c) Select the [Setting] tab, and add the IP Address to "Use
device".
- 719 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
- 720 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 721 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
On the SYSTEM PARAMETER screen, you can display and set the
following data items:
- 722 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Display and set the type of counter data used by the functional
instruction counter.
Set BINARY or BCD.
Display screen
Screen operation
CAUTION
When the programmer protection function is enabled,
the [EDIT] soft key appears and is available. When
the online monitor function is enabled, you cannot
move to the system parameter edit screen. For
details, see Section 6.2.
- 723 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Setting screen
Screen operation
CAUTION
After changing the data type, set the counter value
again.
See Subsection 7.3.2.
- 724 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Display screen
Screen operation
- 725 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
CAUTION
When the programmer protection function is enabled,
the [EDIT] soft key appears and is available. When
the online monitor function is enabled, you cannot
move to the system parameter edit screen. For
details, see Section 6.2.
Setting screen
- 726 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operation
- 727 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
9.8.3 Displaying and Setting Parameters for the Selectable I/O Link
Assignment Function
Display and set parameters for using the selectable I/O Link
assignment function.
Display screen
• ENABLE SELECTION
Whether to enable or disable the selectable I/O Link assignment
function
• BASIC GROUP COUNT
Number of groups always enabled for any machine configuration
Screen operation
CAUTION
When the programmer protection function is enabled,
the [EDIT] soft key appears and is available. When
the online monitor function is enabled, the system
parameter edit screen cannot be displayed. For
details, see Section 6.2.
- 728 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Setting screen
• ENABLE SELECTION
Specify whether to enable or disable the selectable I/O Link
assignment function with YES or NO. The initial setting is NO
(disabled).
• BASIC GROUP COUNT
Set the number of groups always enabled for any machine
configuration.
CAUTION
When enabling this function, set the setting
parameters (K920 to K927 described below) properly
according to the actually connected I/O devices. If
this function is enabled, but the DI/DO area is not
assigned to a hardware channel, the function does
not operate.
NOTE
The parameters can be set only for available
channels according to the I/O Link configuration. For
a channel for which the parameters cannot be set,
the BASIC GROUP COUNT field is left blank.
- 729 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
Screen operation
- 730 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
CAUTION
1 For details of each NC parameter, see Subsection
2.4.3.
2 After setting these NC parameters, turn the power off,
then on again.
- 731 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
- 732 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Fig. 9.9.1 Soft key on the PMC CONFIGRATION PARAMETER (MENU) screen
NOTE
Each setting screen can be protected using the
programmer protection function. If a setting screen is
protected, the [SELECT] soft key is not displayed.
- 733 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
For details of the CNC-PMC interface, see the
description of the CNC-PMC interface in Subsection
2.4.3.
G/F addresses
PMC
Help message
CNC-PMC INTERFACE
Displays the number of each CNC-PMC interface block.
BLOCK 1: G0000 to G0768/F0000 to F0768 viewed from the CNC
BLOCK 2: G1000 to G1768/F1000 to F1768 viewed from the CNC
BLOCK 3: G2000 to G2768/F2000 to F2768 viewed from the CNC
BLOCK 4: G3000 to G3768/F3000 to F3768 viewed from the CNC
BLOCK 5: G4000 to G4768/F4000 to F4768 viewed from the CNC
BLOCK 6: G5000 to G5768/F5000 to F5768 viewed from the CNC
BLOCK 7: G6000 to G6768/F6000 to F6768 viewed from the CNC
BLOCK 8: G7000 to G7768/F7000 to F7768 viewed from the CNC
BLOCK 9: G8000 to G8768/F8000 to F8768 viewed from the CNC
BLOCK 10:G9000 to G9768/F9000 to F9768 viewed from the CNC
- 734 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
PMC
Assign a PMC to each CNC-PMC interface block.
PMC1: First PMC
PMC2: Second PMC
PMC3: Third PMC
G/F ADDRESS
Set the start G/F addresses.
NOTE
If an invalid value is set for an NC parameter,
"ILLEGAL" is displayed as shown below:
Help message
A help message for operation is displayed.
When values are set on the screen as shown in the figure above, the
following settings are input for the corresponding NC parameters:
Block NC parameter
Setting
number number
1 11920 100
2 11921 101
3 11922 102
4 11923 103
5 11924 104
6 11925 105
7 11926 200
8 11927 201
9 11928 300
10 11929 301
- 735 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
This screen can be protected from editing using the
programmer protection function.
Screen operation
Soft keys on the CNC I/F screen
Initialize settings
Previous choice Delete the setting
PREV NEXT
To select G/F addresses
G0000 to G0768/F0000 to F0768
G1000 to G1768/F1000 to F1768
G2000 to G2768/F2000 to F2768
G3000 to G3768/F3000 to F3768
G4000 to G4768/F4000 to F4768
G5000 to G5768/F5000 to F5768
G6000 to G6768/F6000 to F6768
G7000 to G7768/F7000 to F7768
G8000 to G8768/F8000 to F8768
G9000 to G9768/F9000 to F9768
- 736 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
CAUTION
When the NC parameters are all set to 0, the initial
status (for the initial status, see (d)) is set. Deleting
all items with this operation is equivalent to setting
the initial status. For this reason, if an attempt is
made to delete the last item, the following message
appears and the item cannot be deleted:
"LAST SETTING DATA CAN NOT BE DELETED."
- 737 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
INPUT key
You can also set an item by entering a numeric value or string
and pressing the INPUT key.
To set a PMC
• Enter PMC1, PMC2, or PMC3.
• Enter a numeric value 1, 2, or 3.
To set G/F addresses
• Enter a displayed string such as G0000/F0000.
• Enter a start address such as 0, 1000, or 2000.
CAUTION
1 You can set an item on this screen regardless of the
NC mode.
2 If data is duplicate, the data is displayed in red and
the following message appears:
"DUPLICATE G/F ADDRESS"
- 738 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
X/Y addresses
I/O Link channels
PMC
Help message
I/O LINK CH
Displays I/O Link channel numbers.
PMC
Displays each PMC.
PMC1: First PMC
PMC2: Second PMC
PMC3: Third PMC
PMCDCS: Dual check safety ladder
- 739 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
X/Y ADDRESS
Set the start X/Y addresses.
NOTE
If an invalid value is set for an NC parameter,
"ILLEGAL" is displayed as shown below:
Help message
A help message for operation is displayed.
CAUTION
This screen can be protected from editing using the
programmer protection function.
For a channel for which the I/O Link expansion option is not used,
"NO OPTION" appears as shown below.
- 740 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operation
- 741 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
CAUTION
When the NC parameters are all set to 0, the initial
status (for the initial status, see (e)) is set. Deleting
all items with this operation is equivalent to setting
the initial status. For this reason, if an attempt is
made to delete the last item, the following message
appears and the item cannot be deleted:
"LAST SETTING DATA CAN NOT BE DELETED."
INPUT key
You can also set an item by entering a numeric value or string
and pressing the INPUT key.
To set a PMC
• Enter PMC1, PMC2, PMC3, or PMCDCS.
• Enter a numeric value 1, 2, 3, or 9.
CAUTION
1 You can set an item on this screen regardless of the
NC mode.
2 If data is duplicate, the data is displayed in red and
the following message appears:
"DUPLICATE X/Y ADDRESS"
- 742 -
B-63983EN/01 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
CAUTION
1 For details of execution priorities of multiple PMCs,
see the description of execution priorities of multiple
PMCs in Subsection 2.4.3.
2 For details of execution ratios of multiple PMCs, see
the description of execution ratios of multiple PMCs
in Subsection 2.4.3.
3 For details of the level-1 execution cycle, see the
description of level-1 execution cycle in Subsection
2.4.3.
4 For details of the start/stop mode of multiple PMCs,
see the description of start/stop control of multiple
PMCs in Subsection 2.4.3.
PMC
Execution priority
Execution time
Execution cycle
Ladder start/stop
Help message
NOTE
If an invalid value is set for an NC parameter,
"ILLEGAL" is displayed as shown below:
- 743 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
EXEC CYCLE
Set the PMC execution cycle (4 or 8 ms).
NOTE
If an invalid value is set for an NC parameter, the
cursor is not displayed. Press the [INIT] soft key to
release the invalid state.
LADDER RUN/STOP
Specify whether to start/stop the ladder programs of multiple PMCs
synchronously or control the start/stop of the ladder program of each
PMC independently.
Help message
A help message for operation is displayed.
CAUTION
This screen can be protected from editing using the
programmer protection function.
Screen operation
Soft keys for setting execution priorities on the LADDER EXECUTION screen
Move the priority down Move to the PMC CONFIGRATION PARAMETER (MENU) screen
Soft keys for setting the execution cycle and synchronous start on the LADDER EXECUTION screen
- 745 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-63983EN/01
NOTE
If an invalid value is set for an NC parameter, press
the [INIT] soft key to release the invalid state.
INPUT key
Use this key to input the execution time ratio in units of 1%.
If the total of values set for the PMCs exceeds 100%, the
following error message appears:
"TOTAL OF EXEC RATIO IS OVER 100%."
CAUTION
1 You can set an item on this screen regardless of the
NC mode.
2 When the NC parameters are all set to 0, the initial
status (for the initial status, see (d) in (1)) is set.
Setting all execution time ratios to 0 with this
operation is equivalent to setting the initial status.
For this reason, if an attempt is made to set the last
item to 0, the following message appears and the
item cannot be set to 0:
"CANNOT SET 0% TO ALL EXECUTION TIME
RATIOS."
- 746 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 747 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
The following table lists the PMC alarm messages that may be
displayed on the PMC alarm screen.
- 748 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 749 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 750 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 751 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 752 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 753 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 754 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 755 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 756 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 757 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 758 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
Error messages that may be displayed on the PMC NET EDITOR screen
- 759 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
Error messages that may be displayed on the TITLE DATA EDITOR screen
Error messages that may be displayed on the SYMBOL & COMMENT DATA
EDITOR screen
- 760 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 761 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
Error messages that may be displayed on the I/O MODULE EDITOR screen
- 762 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 763 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
The error messages that may appear on the I/O screen and their
meanings and actions are listed below.
- 764 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 765 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 766 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 767 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 768 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 769 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 770 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 771 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
- 772 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
(3) Timing
If the error occurs when you turn on the power, first check
whether each cable connector is connected to the appropriate
device, as well as the assignment data. A system alarm occurs
when the power is turned on, if bases 1 to 3 are assigned while
bases 1 to 3 are actually not connected.
Also, when the master is restarted, the slave needs to be restarted
as well. Check that the power of the slave is off before turning
off the power of the master.
If the error repeats every time you carry out a certain operation,
the likely cause is that an inadequate voltage is applied to the
machine because of loose connector connection, noise,
insufficient power capacity, or DO connection to ground that is
caused by that particular operation.
(4) Operation
"Does the error occur every time you carry out the same
operation?"
If the error occurs every time you carry out the same operation,
you can locate the faulty part by removing the slaves sequentially
starting with the one having the largest group number. Note that
removing certain types of slaves (e.g., operator's panel) leaves
you unable to manipulate the machine. Take necessary
precautions for safety before removing such slaves.
If an error is unrepeatable and occurs with low frequency, its
cause is difficult to identify. In that case, there is no option but
to take every possible measure and see if the error will be
corrected. Such measures include replacing hardware
components (masters, slaves, cables, etc.), strengthening the
power supply (using an independent power source not shared
with other devices), enhancing the earth grounding system,
shielding the cables, and installing the PMC cables and other
cables in separate bundles.
- 773 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
(5) Phenomenon
Each time the same error occurs, check the system alarm
message (register values), the LEDs on the slave, and the system
alarm message displayed by the slave. As described earlier,
these indications may vary depending on certain conditions. If
the status denoted by these indications changes every time, the
information given by the register values and LEDs is not reliable.
If the same register values are displayed every time the system
alarm occurs, those register values may help you identify the
location or cause of the error. However, as described earlier,
these register values are not always valid.
- 774 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 775 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
NC
Optical I/O link Optical I/O link
adapter adapter
Optical cable
- 776 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
NC
- 777 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
A system alarm occurs if you execute "I/O Link startup" after storing the
ladder program using the online monitor.
NC
(Correct) (Wrong)
Group Base Slot Module name Group Base Slot Module name
0 0 N Module 1 0 0 n Module 1
1 0 N Module 2 0 1 n Module 2
2 0 N Module 3 0 2 n Module 3
- 778 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
A system alarm is prone to occur when the feeder starts to operate after the
machining process.
<Category> Noise
<Configuration>
NC
- 779 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
A system alarm occurs almost every time the automatic operation begins.
<Category> Noise
<Configuration>
NC
Group 0 Group 1
- 780 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
NC
A system alarm occurs once every five times the feeder is moved.
NC
I/O Unit-A
Group 0
- 781 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
NC
Group 0 Group 1
- 782 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
NC
- 783 -
10.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-63983EN/01
A system alarm occurs when data is written using the BOOT screen.
NC
- 784 -
B-63983EN/01 10.PMC ALARM MESSAGES AND ACTIONS TO TAKE
System alarms began to occur after the machine had been in operation for
about one year.
NC
- 785 -
B-63983EN/01 INDEX
INDEX
<A> <C>
About connection log of Ethernet................................. 720 CALL (Conditional Subprogram Call: SUB 65) ......... 375
About Ethernet Communication Parameters................. 717 CALLU (Unconditional Subprogram Call: SUB 66)... 377
ADD (BCD Addition: SUB 19)................................... 310 Causes of Communication Errors ................................. 769
ADDB (Binary Addition: SUB 36).............................. 298 Cautions for Reading from/Writing to Nonvolatile
ADDRESS ALTERATION FUNCTION ..................... 656 Memory .......................................................................... 96
Address Map Display Screen........................................ 662 Check Items .................................................................. 772
Addresses........................................................................ 52 CHECKING PMC ALARMS
Addresses for Signals Between the PMC and CNC ([PMC ALARM] SCREEN)......................................... 500
(F, G) .............................................................................. 61 Checking Sequence Program .......................................... 13
Addresses of Signals Between the PMC and Machine CNC INFORMATION ................................................. 402
(X, Y) ............................................................................. 62 CNC Parameters Related to the PMCs ......................... 108
ALARM MESSAGE LIST ........................................... 748 COD (Code Conversion: SUB 7)................................. 279
AND (Logical AND: SUB 60) .................................... 267 CODB (Binary Code Conversion: SUB 27) ................ 283
AND Instruction ........................................................... 181 CODE CONVERSION................................................. 278
AND.NOT Instruction .................................................. 182 COIN (Coincidence Check: SUB 16) ........................... 251
AND.STK Instruction................................................... 187 Collective Monitor Function......................................... 650
ASSIGNMENT METHOD........................................... 128 COLLECTIVE MONITOR Function ........................... 652
Assignment Method for a Handy Machine Operator's COM (Common Line Control: SUB 9)........................ 361
Panel ............................................................................. 150 COME (Common Line Control End: SUB 29)............ 364
Assignment Method for an AS-i Converter Unit .......... 152 Comment .......................................................................... 7
Assignment Method for Distribution I/O Connection Communication Status.................................................. 715
Panel I/O Modules and Distribution I/O Operator's COMP (Comparison: SUB 15) ..................................... 249
Panel I/O Modules........................................................ 140 Comparing PMC Parameters with Files of Other
Assignment Method for I/O Link Connection Units..... 148 Devices (via the RS-232C Port)................................... 562
Assignment Method for I/O Unit-MODEL A............... 133 Comparing PMC Parameters with FLOPPY Files........ 557
Assignment Method for I/O Unit-MODEL B............... 137 Comparing PMC Parameters with Memory Card Files 552
Assignment Method for the Power Mate ...................... 147 Comparing Sequence Programs with Files of Other
Automatic Start of Trace Setting .................................. 582 Devices (via the RS-232C Port).................................... 547
AUTOMATICALLY INPUTTING UNUSED Comparing Sequence Programs with Flash ROM Files 538
PARAMETER NUMBERS.......................................... 665 Comparing Sequence Programs with FLOPPY Files ... 542
AXCTL (Axis Control by PMC: SUB 53)................... 351 Comparing Sequence Programs with Memory Card
AXIS INFORMATION ................................................ 437 Files .............................................................................. 534
COMPARISON ............................................................ 245
<B>
COMPATIBILITY WITH CONVENTIONAL
Basic Configuration of PMC ............................................ 2
MODELS...................................................................... 118
Basic Instructions ........................................................... 54
Compatibility with the PMCs for the 15i-MODEL A/B120
BASIC INSTRUCTIONS............................................. 174
Compatibility with the PMCs for the 16i/18i/21i-B ..... 118
Basic Screen Operations ............................................... 468
COMPB (Comparison Between Binary Data: SUB 32) 246
Basic Specifications........................................................ 46
Configuration of an I/O Link ........................................ 125
BIT OPERATION ........................................................ 260
COUNTER ................................................................... 209
Counter Addresses (C).................................................... 77
i-1
INDEX B-63983EN/01
i-2
B-63983EN/01 INDEX
FUNCTIONAL INSTRUCTION LIST Screen............. 641 LADDER DIAGRAM MONITOR AND EDITOR
(Arranged in Sequence of Instruction Group)................. 55 LBL (Label: SUB 69) .................................................. 373
(Arranged in Sequence of SUB No.) .............................. 58 LIST OF WINDOW FUNCTIONS .............................. 398
LOW-SPEED RESPONSE AND HIGH-SPEED
<G> RESPONSE .................................................................. 396
Graphic Symbols of Relays and Coils .............................. 8
<M>
<I> Menu for Setting Configuration Parameters ................. 732
I/O Communication Error Messages............................. 764 Message Display Addresses (A) ..................................... 75
I/O LINK ...................................................................... 123 Messages That May Be Displayed on the PMC Alarm
I/O LINK COMMUNICATION ERRORS AND Screen ........................................................................... 748
ACTIONS TO TAKE ................................................... 768 MONITORING LADDER DIAGRAMS
I/O LINK CONNECTION CHECK FUNCTION ........ 172 ([LADDER] SCREEN)................................................. 596
I/O Signals of PMC .......................................................... 2 MONITORING PMC SIGNAL STATUS
Implementation ............................................................... 19 ([STATUS] SCREEN).................................................. 489
Inputting a Sequence Program from the FLOPPY........ 540 MOVB (Transfer of 1 Byte: SUB 43)........................... 223
Inputting a Sequence Program from the Memory Card 532 MOVD (Transfer of 4 Bytes: SUB 47) ......................... 225
Inputting PMC Parameters from Other Devices MOVE (Logical Product Transfer: SUB 8) .................. 228
(via the RS-232C Port) ................................................. 560 MOVN (Transfer of an Arbitrary Number of Bytes:
Inputting PMC Parameters from the FLOPPY ............. 555 SUB 45) ........................................................................ 226
Inputting PMC Parameters from the Memory Card...... 550 MOVOR (Data Transfer After Logical Sum: SUB 28). 230
Inputting Sequence Programs from Other Devices MOVW (Transfer of 2 Bytes: SUB 44) ........................ 224
(via the RS-232C Port) ................................................. 545 MUL (BCD Multiplication: SUB 21) .......................... 314
Inputting Sequence Programs from the Flash ROM ..... 537 MULB (Binary Multiplication: SUB 38)..................... 304
INSTRUCTIONS RELATED TO CNC FUNCTIONS 323 MULTI-PMC DISPLAY .............................................. 486
Interface Between CNC and PMC.................................. 43 MULTI-PMC FUNCTION............................................. 38
Interlock.......................................................................... 36
Internal Relay (System Area) Addresses (R) .................. 66 <N>
Internal Relay Addresses (R) .......................................... 65 NET EDITOR Screen ................................................... 631
Nonvolatile Memory Control Address (K) ..................... 80
i-3
INDEX B-63983EN/01
NOP (No Operation: SUB 70)..................................... 381 PARI (Parity Check: SUB 11) ..................................... 273
NOT (Logical NOT: SUB 62) ..................................... 271 Partially Changing Symbol and Comment Data ........... 678
NOTE ON PROGRAMMING...................................... 392 Password Function........................................................ 483
Note on the Programming of a Low-speed Response PMC ALARM MESSAGES AND ACTIONS TO
Window Instruction ...................................................... 397 TAKE............................................................................ 747
Notes............................................................................. 171 PMC CONFIGURATION DATA SETTING
Notes on I/O Signals Updated by Other Than PMC....... 37 SCREENS ([PMC CONFIG]) ...................................... 668
Notes on using subroutines............................................. 29 PMC DIAGNOSIS AND MAINTENANCE
Numbers of Input Points and of Output Points of SCREENS ([PMC MAINTE])...................................... 488
the I/O Link .................................................................. 127 PMC Parameter Format .................................................. 97
NUME (BCD Definition of Constant: SUB 23) .......... 321 PMC Parameter Input/Output Conditions..................... 480
NUMEB (Definition of Binary Constants: SUB 40) ... 318 PMC PARAMETERS .................................................... 95
PMC Signal Addresses ..................................................... 3
<O>
PMC SIGNAL ADDRESSES......................................... 61
Operating on the FUNCTIONAL INSTRUCTION
PMC SPECIFICATIONS ............................................... 45
DATA TABLE EDITOR Screen .................................. 644
PMC System Alarm Messages...................................... 751
Operating on the LADDER DIAGRAM EDITOR
PMC System Parameters............................................... 106
Screen ........................................................................... 621
Presetting the Relative Coordinate (Low-speed Response)462
Operating on the LADDER DIAGRAM MONITOR
Processing Priority (1st Level, 2nd Level, and 3rd Level)17
Screen ........................................................................... 599
Program Capacity ........................................................... 49
Operating on the Screen ............................................... 658
PROGRAM CONTROL............................................... 360
Operating on the Screen ............................................... 663
PROGRAM LIST EDITOR Screen .............................. 647
OPERATING THE PMC SCREEN ............................. 465
Programmer Protection Function.................................. 470
Operation after Execution of Trace............................... 579
Operation Errors ........................................................... 753 <R>
OPERATION INSTRUCTION .................................... 297 RD Instruction .............................................................. 177
OPERATION SCREENS OF THE PMC AND SOFT RD.NOT Instruction ..................................................... 178
KEY ORGANIZATION ............................................... 467 RD.NOT.STK Instruction............................................. 186
OR (Logical OR: SUB 61) .......................................... 269 RD.STK Instruction...................................................... 185
OR Instruction .............................................................. 183 Reading a Parameter (High-speed Response) ............... 413
OR.NOT Instruction ..................................................... 184 Reading a Real Type Parameter
OR.STK Instruction...................................................... 189 (High-speed Response) ................................................. 417
Outline .......................................................................... 163 Reading a Skip Position (Stop Coordinates of Skip
Outputting a Sequence Program to the FLOPPY ......... 539 Operation (G31)) of Controlled Axes
Outputting a Sequence Program to the Memory Card .. 531 (High-speed Response) ................................................. 444
Outputting PMC Parameters to Other Devices Reading a Tool Offset (High-speed Response)............. 404
(via the RS-232C Port) ................................................. 559 Reading a Workpiece Origin Offset Value
Outputting PMC Parameters to the FLOPPY ............... 554 (High-speed Response) ................................................. 409
Outputting PMC Parameters to the Memory Card........ 548 Reading Actual Spindle Speeds
Outputting Sequence Programs to Other Devices (High-speed Response) ................................................. 456
(via the RS-232C Port) ................................................. 544 Reading Clock Data (Date and Time)
OVERVIEW OF PMC ..................................................... 1 (High-speed Response) ................................................. 435
Reading CNC Status Information
<P>
(High-speed Response) ................................................. 429
PARAMETERS FOR THE PMC SYSTEM ................ 103
i-4
B-63983EN/01 INDEX
Reading CNC System Information Setting an I/O Target PMC ........................................... 528
(High-speed Response)................................................. 402 Setting and Displaying Counter Values ([COUNTR]
Reading Setting Data (High-speed Response) .............. 421 Screen).......................................................................... 505
Reading the Absolute Position (Absolute Coordinates) Setting and Displaying Data Tables ([DATA] Screen) . 510
of Controlled Axes (High-speed Response).................. 439 Setting and Displaying Keep Relays
Reading the Acceleration/Deceleration Delay on ([KEEP RELAY] Screen)............................................. 507
Controlled Axes (High-speed Response)...................... 448 SETTING AND DISPLAYING PMC PARAMETERS 501
Reading the Actual Spindle Speed Setting and Displaying Variable Timers
(High-speed Response)................................................. 450 ([TIMER] Screen)......................................................... 502
Reading the Actual Velocity of Controlled Axes Setting I/O Address for I/O Link .................................... 42
(High-speed Response)................................................. 437 Setting of Trace Parameter ([TRACE SETING] Screen)571
Reading the Current Program Number Setting Parameters ........................................................ 103
(8-digit Program Numbers) (High-speed Response)..... 431 Setting Parameters for the Online Function.................. 712
Reading the Current Program Number Setting the CNC-PMC Interface ................................... 734
(High-speed Response)................................................. 425 Setting the Communication Port
Reading the Current Sequence Number ([PORT SETING] Screen)............................................ 523
(High-speed Response)................................................. 427 Setting the Display Format of the LADDER
Reading the Machine Position (Machine Coordinates) DIAGRAM MONITOR Screen .................................... 605
of Controlled Axes (High-speed Response).................. 441 Setting the LADDER DIAGRAM EDITOR Screen ..... 625
Reading the Relative Position on a Controlled Axis Setting the Machine Signal Interface ............................ 739
(High-speed Response)................................................. 452 Setting the Parameters Related to Ladder Execution .... 743
Reading the Remaining Travel (High-speed Response) 454 Setting the PROGRAM LIST EDITOR Screen ............ 649
Reading the Servo Delay for Controlled Axes Setting the Program List Screen ................................... 595
(High-speed Response)................................................. 446 SFT (Shift Register: SUB 33) ...................................... 275
Registering New Symbol and Comment Data .............. 681 Signal Name (Symbol Name) ........................................... 7
Repetitive Operation....................................................... 16 Signal Trace Function ([TRACE] Screen).................... 570
ROT (Rotation Control: SUB 6).................................. 383 SP (Subprogram: SUB 71)........................................... 378
ROTATION CONTROL .............................................. 382 SPE (End of a Subprogram: SUB 72).......................... 379
ROTB (Binary Rotation Control: SUB 26) ................. 387 SPECIFICATIONS......................................................... 46
RST Instruction ............................................................ 192 Starting and Stopping Sequence Programs ................... 710
Storage and Management of Sequence Program............. 13
<S>
Structure of Valid Net................................................... 640
Sample Cases................................................................ 776
Structured Sequence Program......................................... 19
Saving Sequence Programs to the Flash ROM ............. 536
SUB (BCD Subtraction: SUB 20) ............................... 312
Screen Structures .......................................................... 657
SUBB (Binary Subtraction: SUB 37) .......................... 301
SELECTABLE I/O LINK ASSIGNMENT
Subprogram Number Addresses (P) ............................... 93
FUNCTION .................................................................. 163
Subprogramming and nesting ......................................... 25
SELECTING AND DISPLAYING THE
Synchronization Processing of I/O Signals..................... 31
NECESSARY LADDER NET
System Keep Relay Addresses (K) ................................. 81
([SWITCH] SCREEN])................................................ 650
SEQUENCE PROGRAM AND PMC PARAMETER <T>
I/O ([I/O] SCREEN)..................................................... 518 The convert method of source program using
SEQUENCE PROGRAM CREATION PROCEDURE . 10 FANUC LADDER-III .................................................. 122
Sequence Program Memory Capacity............................. 50 TIMER.......................................................................... 201
SET Instruction............................................................. 191 Timer Addresses (T) ....................................................... 76
i-5
INDEX B-63983EN/01
<W>
WHAT IS LADDER LANGUAGE? ................................ 6
WHAT IS PMC? .............................................................. 2
WHAT IS THE I/O LINK?........................................... 124
WINDOW FUNCTIONS.............................................. 394
WINDR (Reading CNC Window Data: SUB 51)........ 346
WINDW (Writing CNC Window Data: SUB 52)........ 349
Writing a Parameter (Low-speed Response)................. 415
Writing a Real Type Parameter (Low-speed Response) 419
Writing a Tool Offset (Low-speed Response) .............. 406
Writing a Workpiece Origin Offset Value
(Low-speed Response).................................................. 411
Writing Setting Data (Low-speed Response)................ 423
Writing to the Memory Card ........................................ 521
WRT Instruction ........................................................... 179
WRT.NOT Instruction .................................................. 180
<X>
XMOV (Indexed Data Transfer: SUB 18).................... 242
XMOVB (Binary Index Modifier Data Tranfer:
SUB 35)........................................................................ 232
i-6
Revision Record
FANUC Series 30i/300i/300is-MODEL A PMC PROGRAMMING MANUAL (B-63983EN)
01 May, 2003