Programming Manual PMC
Programming Manual PMC
B-64513EN/03
• No part of this manual may be reproduced in any form.
• All specifications and designs are subject to change without notice.
The products in this manual are controlled based on Japan’s “Foreign Exchange and
Foreign Trade Law”. The export from Japan may be subject to an export license by the
government of Japan.
Further, re-export to another country may be subject to the license of the government of
the country from where the product is re-exported. Furthermore, the product may also be
controlled by re-export regulations of the United States government.
Should you wish to export or re-export these products, please contact FANUC for advice.
The products in this manual are manufactured under strict quality control. However, when
using any of the products in a facility in which a serious accident or loss is predicted due to
a failure of the product, install a safety device.
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”.
B-64513EN/03 SAFETY PRECAUTIONS
SAFETY PRECAUTIONS
DEFINITION OF WARNING, CAUTION, AND NOTE
This manual includes safety precautions for protecting the user and preventing damage to the machine.
Precautions are classified into Warning and Caution according to their bearing on safety. Also,
supplementary information is described as a Note. Read the Warning, Caution, and Note thoroughly
before attempting to use the machine.
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
SAFETY PRECAUTIONS B-64513EN/03
Be careful enough for the following warnings when you develop two or more
applications or use networks.
If you neglect them, there is a danger of the user being injured or there is a danger
of both the user being injured and the equipment being damaged.
2 Be careful enough that you must prevent PMC signals in the same byte from
being written by the following two or more applications including network
functions. While an application reads and writes one byte of PMC signals, other
applications may write the same byte.
4 Generally, when multi-byte data are read or written at once among the following
two or more applications including network functions, the coherency of the read
multi-byte data (in other words, reading all latest data at once) is not guaranteed.
To ensure the coherency of the multi-byte data, prepare flags to notify the
completion of reading or writing process that is separated from the entity of the
data and make the handshaking process to access the data by using the flags.
s-2
B-64513EN/03 SAFETY PRECAUTIONS
5 CNC has functions that read or write PMC signals in other than the G/F address.
Be careful enough if the above mentioned applications and network read or write
PMC signals used by these functions. When reading or writing the same PMC
signal, applications or CNC functions may work in an unexpected manner. For
details of these CNC functions, refer to “APPENDIX C”.
s-3
SAFETY PRECAUTIONS B-64513EN/03
2 You have to pay special attention to modify running the ladder program. If you
modify the ladder program in wrong way, or update the ladder program with the
machine in improper status, it may cause unexpected working of the machine.
You have to make it sure that modifications you make on the ladder program is
appropriate, the machine is in proper status, and nobody is near the machine,
when you update the ladder program.
3 If macro variables, NC parameters, tool offsets, and etc. which can influence
working of machine, are written with the PMC window instructions, the machine
may behave in an unexpected working. You have to make it sure that the writing
of these data is safety and proper, when modifying these data with the
instructions.
The NC Data are listed in below. However, all may not be listed completely
because new features will be added in the future.
Category Data
Parameter, Tool compensation value and related data,
Work zero offset value and related data,
Workpiece coordinate system shift value and related data,
Macro variable, P-CODE variable, Program and related data,
General data for NC
Tool management function data, Tool life management data,
Error compensation related data,
Overtravel check (Interference check) related data,
Software operator’s panel related data
NOTE
Ladder programs, PMC parameters, Multi-language message data and I/O
configuration data (I/O Link i assignment data) are stored in non-volatile memory
in the CNC unit. Usually, they are retained even if the power is turned off. Such
data may be deleted by misoperation, however, or it may prove necessary to
delete all data from non-volatile memory as part of error recovery. To guard
against the occurrence of the above, and assure quick restoration of deleted
data, backup all vital data, and keep the backup copy in a safe place.
s-4
B-64513EN/03 TABLE OF CONTENTS
TABLE OF CONTENTS
SAFETY PRECAUTIONS ............................................................................ s-1
DEFINITION OF WARNING, CAUTION, AND NOTE ............................................. s-1
GENERAL WARNINGS FOR CNC APPLICATION DEVELOPMENT ..................... s-2
GENERAL WARNINGS OR NOTES FOR LADDER PROGRAM ........................... s-4
1 OVERVIEW OF PMC .............................................................................. 1
1.1 WHAT IS PMC? ............................................................................................. 1
1.1.1 Basic Configuration of PMC .................................................................................... 1
1.1.2 I/O Signals of PMC .................................................................................................. 1
1.1.3 PMC Signal Addresses ............................................................................................. 2
1.2 WHAT IS LADDER LANGUAGE? ................................................................. 5
1.2.1 Ladder Diagram Format ........................................................................................... 5
1.2.2 Signal Name (Symbol Name) ................................................................................... 5
1.2.3 Comment .................................................................................................................. 6
1.2.4 Graphic Symbols of Relays and Coils ...................................................................... 6
1.2.5 Line Number and Net Number ................................................................................. 6
1.2.6 Difference Between Relay Sequence Circuit and Ladder Sequence Program ......... 7
1.2.7 Specification of Extended Symbol and Comment .................................................... 8
1.3 SEQUENCE PROGRAM CREATION PROCEDURE .................................. 11
1.3.1 Determining Specification ...................................................................................... 11
1.3.2 Creating Ladder Diagram ....................................................................................... 11
1.3.3 Editing Sequence Program ..................................................................................... 11
1.3.4 Transferring and Writing Sequence Program to PMC ........................................... 12
1.3.5 Checking Sequence Program.................................................................................. 13
1.3.6 Storage and Management of Sequence Program .................................................... 13
1.4 EXECUTION OF SEQUENCE PROGRAM ................................................. 14
1.4.1 Execution Procedure of Sequence Program ........................................................... 15
1.4.2 Repetitive Operation............................................................................................... 16
1.4.3 Processing Priority (1st Level, 2nd Level, and 3rd Level) ..................................... 16
1.4.4 Structured Sequence Program ................................................................................ 19
1.4.4.1 Implementation .................................................................................................. 19
1.4.4.2 Sub programming and nesting ........................................................................... 24
1.4.4.3 Notes on using subroutines ................................................................................ 28
1.4.5 Synchronization Processing of I/O Signals ............................................................ 30
1.4.6 Interlock ................................................................................................................. 34
1.4.7 Notes on I/O Signals Updated by Other Than PMC .............................................. 34
1.5 LADDER DIVIDING MANAGEMENT FUNCTION ....................................... 36
1.5.1 Divided Ladder Program ........................................................................................ 37
1.5.2 Program Execution when Using Ladder Dividing Management............................ 38
1.5.3 PMC Memory when Using Ladder Dividing Management ................................... 41
1.5.4 Sub Program in Divided Ladder ............................................................................. 42
1.5.5 Message Display Function (DISPB instruction) when Using Ladder Dividing
Management Function ............................................................................................ 43
1.5.6 Making Method of Divided Ladder Program ......................................................... 44
1.5.7 Adding/Updating/Deleting Divided Ladder Program ............................................ 45
1.5.8 Input/Output of All Divided Ladder Programs ...................................................... 45
1.6 MULTI-PATH PMC FUNCTION ................................................................... 47
1.6.1 Execution Order and Execution Time Percentage .................................................. 49
1.6.2 Interface Between CNC and PMC ......................................................................... 51
1.6.3 Multi-Path PMC Interface ...................................................................................... 52
c-1
TABLE OF CONTENTS B-64513EN/03
c-2
B-64513EN/03 TABLE OF CONTENTS
2.6.2 Compatibility between 30i/31i/32i-A DCSPMC and 30i/31i/32i/35i-B, 0i-F
DCSPMC .............................................................................................................. 153
2.6.3 Compatibility with the PMCs for the 16i/18i/21i-B ............................................. 153
2.6.4 Compatibility with the PMCs for the 15i-A/B ..................................................... 155
2.6.5 Compatibility with series 0i-D PMC .................................................................... 156
2.6.6 Compatibility between 0i-D DCSPMC and 30i/31i/32i/35i-B DCSPMC ........... 156
2.6.7 Compatibility between 35i-B PMC and PMC-SB5/SB6 for Power Mate i-D ..... 157
2.6.8 Compatibility between Power Motion i-A PMC and PMC-SB5/SB6 for
Power Mate i-H .................................................................................................... 159
2.6.9 Compatibility between 0i-F PMC and 30i/31i/32i/35i-B PMC ........................... 161
2.6.10 Compatibility between 0i-F DCSPMC and 30i/31i/32i/35i-B DCSPMC ............ 161
2.6.11 The Convert Method of Source Program Using FANUC LADDER-III .............. 162
2.7 PMC MESSAGE MULTI-LANGUAGE DISPLAY FUNCTION .................... 164
2.7.1 Usage of PMC Message Multi-Language Display Function ................................ 164
2.7.2 Multi-Language Display....................................................................................... 166
2.7.3 Maximum Number of Message ............................................................................ 167
2.7.4 Display of European Characters ........................................................................... 168
2.7.5 Display of Simplified Chinese and Korean (Hangul Characters) ......................... 169
2.8 BATTERY BACKUP DATA ........................................................................ 171
2.9 File Name of Flash ROM related to PMC .................................................. 173
3 COMMUNICATION WITH I/O DEVICE ............................................... 174
3.1 I/O Link i and I/O Link ................................................................................ 174
3.2 WHAT IS THE I/O LINK? ........................................................................... 175
3.2.1 Configuration of an I/O Link................................................................................ 176
3.2.2 Numbers of Input Points and of Output Points of the I/O Link ........................... 177
3.2.3 Assignment Method ............................................................................................. 178
3.2.3.1 Assignment Method for I/O Unit-MODEL A ................................................. 183
3.2.3.2 Assignment Method for I/O Unit-MODEL B.................................................. 185
3.2.3.3 Assignment Method for Distribution I/O Connection Panel I/O Modules and
Distribution I/O Operator's Panel I/O Modules ............................................... 187
3.2.3.4 Assignment Method for the Power Mate ......................................................... 192
3.2.3.5 Assignment Method for I/O Link Connection Units ....................................... 193
3.2.3.6 Assignment Method for a Handy Machine Operator's Panel........................... 195
3.2.3.7 Assignment Method for an AS-i Converter Unit ............................................. 196
3.2.3.8 FS0 Operator's Panel ....................................................................................... 197
3.2.4 Setting I/O Address For I/O Link Channel........................................................... 205
3.2.4.1 Outline ............................................................................................................. 205
3.2.4.2 Assignment Method ......................................................................................... 206
3.2.4.3 Dual Assignment of I/O Link Channel ............................................................ 206
3.2.5 Selectable I/O Link Assignment Function ........................................................... 210
3.2.5.1 Outline ............................................................................................................. 210
3.2.5.2 Example ........................................................................................................... 212
3.2.5.3 Notes ................................................................................................................ 216
3.3 WHAT IS I/O Link i ? ................................................................................. 217
3.3.1 Configuration of I/O Link i .................................................................................. 218
3.3.2 Input / Output Points ............................................................................................ 219
3.3.3 Update Cycle of Signals ....................................................................................... 220
3.3.4 Safety I/O ............................................................................................................. 222
3.3.5 I/O Link i Selectable Assignment Data Function ................................................. 223
3.3.6 Assignment Method of I/O Link i ........................................................................ 225
3.3.7 Directions for Use of I/O Link i in Dual Check Safety Function ......................... 228
3.4 I/O Link / I/O Link i CONNECTION CHECK FUNCTION ........................... 230
3.5 ASSIGNMENT OF NETWORK DEVICES TO X/Y ADDRESS .................. 231
c-3
TABLE OF CONTENTS B-64513EN/03
c-4
B-64513EN/03 TABLE OF CONTENTS
4.5.11 XCHGB (Data Exchange (1 Byte Length) : SUB 228)
XCHGW (Data Exchange (2 Bytes Length) : SUB 229)
XCHGD (Data Exchange (4 Bytes Length) : SUB 230) ...................................... 319
4.5.12 SWAPW (Data Swap (2 Bytes Length) : SUB 231)
SWAPD (Data Swap (4 Bytes Length) : SUB 232) ............................................. 321
4.5.13 DSCHB (Binary Data Search: SUB 34) ............................................................... 324
4.5.14 DSCH (Data Search: SUB 17) ............................................................................. 327
4.6 TABLE DATA ............................................................................................. 329
4.6.1 TBLRB (Reading Data from Table (1 Byte Length) : SUB 233)
TBLRW (Reading Data from Table (2 Bytes Length) : SUB 234)
TBLRD (Reading Data from Table (4 Bytes Length) : SUB 235) ....................... 330
4.6.2 TBLRN (Reading Data from Table (Arbitrary Bytes Length) : SUB 236) .......... 333
4.6.3 TBLWB (Writing Data to Table (1 Byte Length) : SUB 237)
TBLWW (Writing Data to Table (2 Bytes Length) : SUB 238)
TBLWD (Writing Data to Table (4 Bytes Length) : SUB 239) ........................... 336
4.6.4 TBLWN (Writing Data to Table (Arbitrary Bytes Length) : SUB 240) .............. 339
4.6.5 DSEQB(Searching Data from Table(=)(1 Byte Length):SUB 241)
DSEQW(Searching Data from Table(=)(2 Bytes Length):SUB 242)
DSEQD(Searching Data from Table(=)(4 Bytes Length):SUB 243)
DSNEB(Searching Data from Table(≠)(1 Byte Length):SUB 244)
DSNEW(Searching Data from Table(≠)(2 Bytes Length):SUB 245)
DSNED(Searching Data from Table(≠)(4 Bytes Length):SUB 246)
DSGTB(Searching Data from Table(>)(1 Byte Length):SUB 247)
DSGTW(Searching Data from Table(>)(2 Bytes Length):SUB 248)
DSGTD(Searching Data from Table(>)(4 Bytes Length):SUB 249)
DSLTB(Searching Data from Table(<)(1 Byte Length):SUB 250)
DSLTW(Searching Data from Table(<)(2 Bytes Length):SUB 251)
DSLTD(Searching Data from Table(<)(4 Bytes Length):SUB 252)
DSGEB(Searching Data from Table(≥)(1 Byte Length):SUB 253)
DSGEW(Searching Data from Table(≥)(2 Bytes Length):SUB 254)
DSGED(Searching Data from Table(≥)(4 Bytes Length) :SUB 255)
DSLEB(Searching Data from Table(≤)(1 Byte Length) :SUB 256)
DSLEW(Searching Data from Table(≤)(2 Bytes Length) :SUB 257)
DSLED(Searching Data from Table(≤)(4 Bytes Length) :SUB 258) .................. 342
4.6.6 DMAXB (Maximum Data (1 Byte Length): SUB 259)
DMAXW (Maximum Data (2 Bytes Length) : SUB 260)
DMAXD (Maximum Data (4 Bytes Length) : SUB 261) .................................... 346
4.6.7 DMINB (Minimum Data (1 Byte Length): SUB 262)
DMINW (Minimum Data (2 Bytes Length): SUB 263)
DMIND (Minimum Data (4 Bytes Length): SUB 264) ....................................... 349
4.7 COMPARISON .......................................................................................... 352
4.7.1 Signed Binary Comparison (=)
EQB (1 Byte Length: SUB 200)
EQW (2 Bytes Length: SUB 201)
EQD (4 Bytes Length: SUB 202) ......................................................................... 353
4.7.2 Signed Binary Comparison (≠)
NEB (1 Byte Length: SUB 203)
NEW (2 Bytes Length: SUB 204)
NED (4 Bytes Length: SUB 205) ......................................................................... 355
4.7.3 Signed Binary Comparison (>)
GTB (1 Byte Length: SUB 206)
GTW (2 Bytes Length: SUB 207)
GTD (4 Bytes Length: SUB 208) ......................................................................... 357
c-5
TABLE OF CONTENTS B-64513EN/03
c-6
B-64513EN/03 TABLE OF CONTENTS
4.8.19 RORB (Bit Rotation Right (1 Byte Length) : SUB 289)
RORW (Bit Rotation Right (2 Bytes Length) : SUB 290)
RORD (Bit Rotation Right (4 Bytes Length) : SUB 291) .................................... 421
4.8.20 RORN (Bit Rotation Right (Arbitrary Bytes Length) : SUB 292) ....................... 424
4.8.21 BSETB (Bit Set (1 Byte Length) : SUB 293)
BSETW (Bit Set (2 Bytes Length) : SUB 294)
BSETD (Bit Set (4 Bytes Length) : SUB 295) ..................................................... 427
4.8.22 BSETN (Bit Set (Arbitrary Bytes Length) : SUB 296) ........................................ 429
4.8.23 BRSTB (Bit Reset (1 Byte Length) : SUB 297)
BRSTW (Bit Reset (2 Bytes Length) : SUB 298)
BRSTD (Bit Reset (4 Bytes Length) : SUB 299) ................................................. 431
4.8.24 BRSTN (Bit Reset (Arbitrary Bytes Length) : SUB 300) .................................... 433
4.8.25 BTSTB (Bit Test (1 Byte Length) : SUB 301)
BTSTW (Bit Test (2 Bytes Length) : SUB 302)
BTSTD (Bit Test (4 Bytes Length) : SUB 303) ................................................... 435
4.8.26 BTSTN (Bit Test (Arbitrary Bytes Length) : SUB 304) ...................................... 437
4.8.27 BPOSB (Bit Search (1 Byte Length) : SUB 305)
BPOSW (Bit Search (2 Bytes Length) : SUB 306)
BPOSD (Bit Search (4 Bytes Length) : SUB 307) ............................................... 439
4.8.28 BPOSN (Bit Search (Arbitrary Bytes Length) : SUB 308) .................................. 441
4.8.29 BCNTB (Bit Count (1 Byte Length) : SUB 309)
BCNTW (Bit Count (2 Bytes Length) : SUB 310)
BCNTD (Bit Count (4 Bytes Length) : SUB 311) ............................................... 443
4.8.30 BCNTN (Bit Count (Arbitrary Bytes Length) : SUB 312) .................................. 445
4.9 CODE CONVERSION ............................................................................... 447
4.9.1 COD (Code Conversion: SUB 7) ........................................................................ 448
4.9.2 CODB (Binary Code Conversion: SUB 27) ........................................................ 451
4.9.3 DCNV (Data Conversion: SUB 14) .................................................................... 454
4.9.4 DCNVB (Extended Data Conversion: SUB 31).................................................. 456
4.9.5 DEC (Decode: SUB 4) ........................................................................................ 458
4.9.6 DECB (Binary Decoding: SUB 25) .................................................................... 460
4.9.7 TBCDB (Binary to BCD Conversion (1 Byte Length) : SUB 313)
TBCDW (Binary to BCD Conversion (2 Bytes Length) : SUB 314)
TBCDD (Binary to BCD Conversion (4 Bytes Length) : SUB 315) ................... 463
4.9.8 FBCDB (BCD to Binary Conversion (1 Byte Length) : SUB 313)
FBCDW (BCD to Binary Conversion (2 Bytes Length) : SUB 314)
FBCDD (BCD to Binary Conversion (4 Bytes Length) : SUB 315).................... 465
4.10 OPERATION INSTRUCTION .................................................................... 467
4.10.1 ADDB (Binary Addition: SUB 36) ..................................................................... 468
4.10.2 SUBB (Binary Subtraction: SUB 37) .................................................................. 470
4.10.3 MULB (Binary Multiplication: SUB 38) ............................................................ 472
4.10.4 DIVB (Binary Division: SUB 39) ....................................................................... 474
4.10.5 ADD (BCD Addition: SUB 19) .......................................................................... 476
4.10.6 SUB (BCD Subtraction: SUB 20) ....................................................................... 478
4.10.7 MUL (BCD Multiplication: SUB 21).................................................................. 480
4.10.8 DIV (BCD Division: SUB 22) ............................................................................ 482
4.10.9 NUMEB (Definition of Binary Constants: SUB 40) ........................................... 484
4.10.10 NUME (BCD Definition of Constant: SUB 23).................................................. 486
4.10.11 ADDSB (Addition (1 Byte Length) : SUB 319)
ADDSW (Addition (2 Bytes Length) : SUB 320)
ADDSD (Addition (4 Bytes Length) : SUB 321) ................................................ 487
4.10.12 SUBSB (Subtraction (1 Byte Length) : SUB 322)
SUBSW (Subtraction (2 Bytes Length) : SUB 323)
SUBSD (Subtraction (4 Bytes Length) : SUB 324) ............................................. 489
c-7
TABLE OF CONTENTS B-64513EN/03
c-11
TABLE OF CONTENTS B-64513EN/03
c-16
B-64513EN/03 TABLE OF CONTENTS
9.9.4 Setting the Parameters Related to Ladder Execution ......................................... 1229
9.9.5 Setting the PMC Memory Type ......................................................................... 1232
9.10 DISPLAYING AND EDITING OF I/O Link i ASSIGNMENT
([I/O LINK I] SCREEN)............................................................................. 1234
9.10.1 Displaying of Group Information of I/O Link i Assignment Data ..................... 1235
9.10.2 Displaying of Slot Information of I/O Link i Assignment Data ......................... 1238
9.10.3 Displaying of Title Information of I/O Link i Assignment Data ........................ 1239
9.10.4 Setting of Effective Group of I/O Link i Assignment Data
(Selectable Assignment Function) ...................................................................... 1241
9.10.5 Editing of Group Information of I/O Link i Assignment Data ........................... 1243
9.10.6 Changing of Slot Information of I/O Link i Assignment Data ........................... 1248
9.10.7 Adding of Slot Information of I/O Link i Assignment Data .............................. 1250
9.11 PMC Program List Screen ....................................................................... 1252
9.11.1 Output of program list information file .............................................................. 1254
c-18
B-64513EN/03 TABLE OF CONTENTS
APPENDIX
A CHARACTER CODE TABLE ............................................................ 1409
A.1 Simplified chinese character code table (GB2312 code) ......................... 1409
A.2 Korean character code table .................................................................... 1424
A.3 Russian (Cyrillic) character code table .................................................... 1430
A.4 Turkish character code table ................................................................... 1431
B LANGUAGE ID TABLE ..................................................................... 1432
C LIST OF CNC FUNCTIONS USING PMC SIGNALS OTHER THAN G/F
ADDRESS ......................................................................................... 1433
c-19
B-64513EN/03 1.OVERVIEW OF PMC
1 OVERVIEW OF PMC
1.1 WHAT IS PMC?
The programmable machine controller (PMC) is a programmable controller (PC) built into a CNC to
perform sequence control for a machine tool (spindle rotation, tool change, machine operator's panel control,
and so on).
Sequence control is to perform control steps successively in a predetermined sequence or according to the
logic operation.
Programs for performing sequence control for machine tools are called sequence programs. Generally,
sequence programs coded in the Ladder language are used.
The sequence program reads input signals, performs operations, and outputs results in a predetermined
sequence.
-1-
1.OVERVIEW OF PMC B-64513EN/03
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)
The first letter of an address number represents the type of the signal.
In sequence programs, an address of a byte may be specified. In the above example, specify X127 to
specify a byte address. In this case, the period "." and bit number are unnecessary.
-2-
B-64513EN/03 1.OVERVIEW OF PMC
Table 1.1.3 lists the address symbols and corresponding signals.
-3-
1.OVERVIEW OF PMC B-64513EN/03
-4-
B-64513EN/03 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.
-5-
1.OVERVIEW OF PMC B-64513EN/03
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.
Relays (contacts)
Instruction representation Function
-| |- Normally open contact (contact A)
-|/ |- Normally closed contact (contact B)
Coils
Instruction representation Function
-{ - Coil
- {{ - Negated coil
-(S)- Set coil
-(R)- Reset coil
These instructions perform a 1-bit operation and are called basic instructions.
In addition, there are functional instructions that enable easy programming of complicated operations for
processing byte, word, and double-word data, which are difficult to program just using basic instructions.
The symbol formats of the functional instructions are slightly different from instruction to instruction. For
details, see the description of each functional instruction in Chapter 4.
-6-
B-64513EN/03 1.OVERVIEW OF PMC
A
R1
B
R2
With the PMC, relay contacts are considered to be unlimited, so ladder diagrams are created as shown in Fig.
1.2.6 (b).
A
R1
A B
R2
In a relay sequence circuit having no contact between a branch point and a coil as shown in Fig. 1.2.6 (c), a
similar ladder diagram can be created even for the PMC.
A B
R1
R2
NOTE
The extended PMC ladder instruction function allows the sequence circuits like
Fig. 1.2.6(a). For details, see 8.3.4.
-7-
1.OVERVIEW OF PMC B-64513EN/03
P1 (Control_Path1) P2 (Control_Path2)
X*ESP X*ESP
Global Symbol :
X*ESP = X8.4
Using local symbols, symbol conflict does not occur. Therefore, it is easy to develop ladder in modular
programming technique. In addition, it is easy to reuse sequence programs. When you have to program
a similar program in some sub programs, copy the logic to another sub program, redefine the local
symbols, and compile on FANUC LADDER-III.
NOTE
1 Same local symbol names are not allowed in the same sub program.
2 Same symbol name of global symbol and local symbol are not allowed.
3 Local symbol cannot be defined to address P. Symbol definition to address P must
be global symbol.
4 You cannot create a sequence program using extended symbol and comment
only with CNC. To create it, you have to use FANUC LADDER-III.
5 When you use the function block function, it becomes extended symbol and
comment form automatically.
-8-
B-64513EN/03 1.OVERVIEW OF PMC
(3) Multi language support
One symbol entry has four comments set in maximum.
Displaying comment set can automatically selected by display language setting in CNC. By describing
each comment set in different languages, you can display comment in all PMC screens in multi
languages. This is very useful in maintenance.
NOTE
For the language attribute, refer to "APPENDIX B. LANGUAGE ID TABLE".
NOTE
When multiple symbol and comment are defined to the same signal, you can
search the names by each symbol. On the other hand the symbol on PMC screen
is displayed one of these symbol names. So if you search symbols, displayed
symbol name on searched position may be different from searched word.
NOTE
1 In ladder editing screen, for example, BYTE type symbol can be set to the WORD
type parameter of a function. But it is recommended that data type of the symbol
should be consistent with the data type of the parameter that it is assigned to.
2 When two or more symbols are defined with a signal and these symbols have
different data types the symbol name of largest data type is displayed on PMC
screens.
CAUTION
The assignment of address may change by modifying symbol / comment data.
NOTE
By setting 1 to K903.5 of system keep relay, the signal state of the symbols whose
addresses are assigned automatically can be initialized when updating sequence
program to the one of different symbol / comment data.
In this case, changing the symbol / comment data whose address is not assigned
automatically will also initialize all signal states of the address range for automatic
assignment to 0.
-9-
1.OVERVIEW OF PMC B-64513EN/03
NOTE
Although it is allowed to use special characters in symbol, using only alphabets,
digits and _(underscore) to comply with the variable name defined in IEC61131-3 is
recommended.
- 10 -
B-64513EN/03 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.
By using either of these editing methods, a sequence program can be entered in a ladder diagram form from
the EDITOR screen. FANUC LADDER-III can also output an entered sequence program to a printer in a
ladder diagram form.
Furthermore, FANUC LADDER-III provides a function for converting a program in a ladder diagram form
to mnemonic form or vice versa. By using this function, you can edit the program in mnemonic form with
a text editor.
Fig. 1.3.3 shows an example of a ladder diagram, and Table 1.3.3 shows an example of a mnemonic form.
- 11 -
1.OVERVIEW OF PMC B-64513EN/03
Auxiliary function
completion
signal
Fig. 1.3.3
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
During sequence program editing, signal names (symbols) and comments can be entered for I/O signals,
relays, and coils. Easy-to-understand signal names and comments should be entered to improve program
maintainability.
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-64513EN/03 1.OVERVIEW OF PMC
- 13 -
1.OVERVIEW OF PMC B-64513EN/03
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-64513EN/03 1.OVERVIEW OF PMC
In PMC sequence control, on the other hand, relays in the circuit operate sequentially. When relay A in Fig.
1.4.1 (a) operates, relay D operates, then relay E operates.
Therefore, in PMC sequence control, relays operate in the order coded in the ladder diagram (the order of
programming). The sequential operations in this sequence are performed at high speed, but some
instructions are affected by the execution order.
Accordingly, in the ladder diagrams shown in Fig. 1.4.1 (b), there is a distinctive difference in operation
between the PMC sequence and the sequence of the relay circuit.
- 15 -
1.OVERVIEW OF PMC B-64513EN/03
1.4.3 Processing Priority (1st Level, 2nd Level, and 3rd Level)
A sequence program consists of two operation parts: a high-speed sequence part called the 1st level, which
is executed every several msec, and a normal sequence part called the 2nd level. When the model used
allows use of the 3rd level, the 3rd level sequence part is added. (See Fig. 1.4.3 (a).)
Sequence program
Division 2
2nd level sequence part
Division n
The 1st level sequence part is a high-speed sequence part that is executed every ladder execution cycle. The
ladder execution cycle is 1, 2, 4 or 8 msec, which is set in a CNC parameter. If the execution of the 1st level
program requires a long time, the overall execution time including the 2nd level (sequence processing time)
is extended. So, the 1st level sequence part should be created so that it can be processed in a short time
where possible. The 2nd level sequence part is executed every (ladder execution cycle × n) msec (where n
is the number by which the 2nd level is divided). The 3rd level sequence part is executed when the PMC is
idle.
- 16 -
B-64513EN/03 1.OVERVIEW OF PMC
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 1st level and 2nd 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)
- 17 -
1.OVERVIEW OF PMC B-64513EN/03
NOTE
1 The ladder program is executed initially to set the input signals for the CNC (G
signals) like the following chart until the beginning of cyclic operation of the CNC
from the power on of the CNC. The initial execution is different from the cyclic
execution. Therefore the ladder program is not executed at the constant period
and is continuously and repeatedly executed. The execution of each level of the
ladder program is not divided. They are executed from the top of the program to
the end of the program in the order of the following chart. After finishing the initial
execution of the ladder, the CNC starts the cyclic operation.
2 In the initial execution of the ladder program, the operations of the following
functional instructions are different from the normal operations.
- TMR、TMRB、TMRC、TMRST、TMRSS
The timer is not executed and the time is always 0 in the initial execution.
- WINDR、WINDW、AXCTL、EXIN、DISPB、PSGNL、PSGN2
They are executed as the NOP instruction (No operation) in the initial
execution.
1st level
2nd level
3rd level
Power on
- 18 -
B-64513EN/03 1.OVERVIEW OF PMC
1.4.4.1 Implementation
Three major implementation techniques are supported.
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-64513EN/03
Application example
(1) Example
Suppose that there are four major jobs.
Machine workpiece.
Machine workpiece.
Move pallet.
- 20 -
B-64513EN/03 1.OVERVIEW OF PMC
Machine workpiece.
Pick up workpiece
from pallet. Ladder representation
Ladder representation
Machine workpiece.
Ladder representation
Return workpiece to pallet.
- 21 -
1.OVERVIEW OF PMC B-64513EN/03
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.
- 22 -
B-64513EN/03 1.OVERVIEW OF PMC
(4) Programming order when subprograms are used
Subprograms
End of sequence
End of entire sequence program is
program
indicated by END instruction.
Fig. 1.4.4.1
- 23 -
1.OVERVIEW OF PMC B-64513EN/03
- 24 -
B-64513EN/03 1.OVERVIEW OF PMC
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 post processing is
performed.
- 25 -
1.OVERVIEW OF PMC B-64513EN/03
Creating a program
After the 1st, 2nd, and 3rd level ladder programs, create subprograms in the similar manner.
Creation example
- 26 -
B-64513EN/03 1.OVERVIEW OF PMC
Inhibit items
(2) A subprogram is created within the 1st, 2nd, or 3rd level ladder program.
- 27 -
1.OVERVIEW OF PMC B-64513EN/03
For the above functional instructions, ACT = 1 must be held until transfer completion information (coil) is
set to 1.
When using these functional instructions in subprograms, note the following prohibition:
(1) When one of the above functional instructions is being used within a subprogram and is not yet
completed (processing is in progress), the subprogram call is canceled. (ACT for the CALL
instruction is set to 0.)
CAUTION
The subsequent operation of the above functional instruction is not guaranteed.
(2) When one of the above functional instructions is being used within a subprogram and is not yet
completed (processing is in progress), the subroutine is called from another subprogram.
CAUTION
Because the preceding function is being processed, the subsequent operation of
the above functional instruction is not guaranteed.
When a subprogram using the above functional instructions is called from more than one place, exclusive
control is required. An example of using the WINDR instruction (low-speed type) is given below.
- 28 -
B-64513EN/03 1.OVERVIEW OF PMC
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.
- 29 -
1.OVERVIEW OF PMC B-64513EN/03
CNC PMC
Sequence
Input memory of CNC program
1st level
Input signal from CNC (F)
sequence part
Transferred every
4ms or 8ms
2nd level synchronous input signal memory 2nd level
sequence part
Input signal from another PMC path (M) Output signal to another PMC path (N)
NOTE
The 2nd level synchronous input signal memories are F, X, and M address. Other
addresses are not synchronous input signals.
- 30 -
B-64513EN/03 1.OVERVIEW OF PMC
(2) Input signals from the machine (I/O Link or I/O Link i)
Signals input from the machine are transmitted to the input signal memory via the input circuit (I/O
Link or I/O Link i). The 1st and 3rd level sequence parts read the input signals from the input signal
memory and process them.
NOTE
In case of the I/O link i, there are two modes for the transmission cycle of input
signals. They are the normal mode (2msec) and the high speed mode (0.5msec).
In case of the I/O link channel 1 and 2, the transmission cycle of the input signals
is 2msec. In case of the I/O link channel 3, it depends on the execution cycle of 1st
level ladder (4msec or 8msec).
NOTE
The 2nd level synchronous input signal memories are F, X, and M address. Other
addresses are not synchronous input signals.
- 31 -
1.OVERVIEW OF PMC B-64513EN/03
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 In case of the I/O link i, there are two modes for the transmission cycle of I/O
signals exchanged with the machine. They are the normal mode (2msec) and the
high speed mode (0.5msec). In case of the I/O Link, the transmission cycle of I/O
signals exchanged with the machine is normally 2msec. However, it depends on
the setting of the channel of the I/O Link. For details, see Section 3.2.
- 32 -
B-64513EN/03 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.
1st level
2nd level
- 33 -
1.OVERVIEW OF PMC B-64513EN/03
1.4.6 Interlock
In sequence control, considering how to provide an interlock is a key design issue from the safety point of
view. Of course, an interlock must be provided by sequence programs. Furthermore, an interlock must also
be provided at the end of the electrical circuit in the power magnetic cabinet of the machine. Even when an
interlock is provided logically by a sequence program (software), the interlock by the sequence program
will not work if the hardware for executing the sequence program fails for a certain cause. Therefore, be
sure to provide an interlock within the power magnetic cabinet of the machine to ensure safety of the
operator and prevent machine damage.
WARNING
When you develop these applications, please take care of the following notes.
If the following notes are ignored, the machine may behave in an unexpected
manner and also tools, work pieces, and the machine may be damaged.
As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
1 As for kinds of networks and other applications, refer to “SAFETY
PRECAUTIONS”.
2 As for CNC functions using PMC signals other than G/F address, refer to
“APPENDIX C”.
- 34 -
B-64513EN/03 1.OVERVIEW OF PMC
(4) Distributed processing of signals
Be careful enough that you process a PMC signal set that is related to a NC function by using two or
more applications (ladder program and other applications). Because they are executed based on
individual cycle (asynchronous cycle), the PMC signal set may be passed to the NC in an unexpected
order.
- 35 -
1.OVERVIEW OF PMC B-64513EN/03
<An example of not using this function> <An example of using this function>
CNC CNC
PMC PMC
(Basic feature)
(The ladder of basic
f )
(The ladder of Memory card Divided ladder program 1 Memory card
Individual feature) (Individual feature)
You can edit/input/output/protect the whole You can divide the ladder program into a main program
sequence program. and some divided programs. Moreover, you can
edit/input/ output/protect the program individually.
You can also input/output all programs together by
using the all backup/restore function.
- 36 -
B-64513EN/03 1.OVERVIEW OF PMC
<An example of not using this function> <An example of using this function>
CNC CNC
PMC PMC
Symbols/Comments Symbols/Comments
Title data
Symbols/Comments
Ladder program
NOTE
The system parameters, which can be set in the divided ladder program, are
“Setting of comment display language”, “Assignment address of symbols” and
“Assignment address of function blocks”. These parameters can be set on FANUC
LADDER-III.
- 37 -
1.OVERVIEW OF PMC B-64513EN/03
At first, the main program is executed, and the divided ladder programs are executed in order of program
number. The program number of divided ladder program is specified when making the sequence program
on FANUC LADDER-III.
Divided ladder program No.1 (Level 1) Divided ladder program No.1 (Level 2)
Divided ladder program No.99 (Level 1) Divided ladder program No.99 (Level 2)
Level 2
Fig. 1.5.2 (a) Ladder execution of the ladder dividing management function
- 38 -
B-64513EN/03 1.OVERVIEW OF PMC
The program numbers do not need to be consecutive. For instance, three divided ladder program number
can be set to No.10, 20 and 30. In this case, non-exist divided program number is skipped and the program
of the next number is executed.
Level 2
Fig. 1.5.2 (b) Ladder execution when discontinuous number of divided ladder program
NOTE
When an error occurs in one ladder program, none of these ladder programs will
start the execution.
- 39 -
1.OVERVIEW OF PMC B-64513EN/03
Level 2
Power on
Fig.1.5.2 (c) Execution start order of ladder program when a power on.
(when using the ladder dividing management function)
Level 2
- 40 -
B-64513EN/03 1.OVERVIEW OF PMC
DI1 R0.0
DI2 R0.1
7 6 5 4 3 2 1 0
R0
DI3 R0.2
R1
R2
PMC memories
When using the ladder dividing management function
Main ladder program
DI1 R0.0
Fig. 1.5.3 PMC memory access when using the ladder dividing management function
The following data are also shared between some divided programs.
・ PMC parameters
・ Functional instructions using PMC parameters, such as TMR(SUB 3), CTR(SUB 5) and CTRB(SUB
56)
・ Programmer protection function (System Keep Relay)
CAUTION
1 You should not overwrite the same PMC memory from two or more ladder
programs.
2 You should not duplicate the timer number of TMR(SUB 3), the counter number of
CTR(SUB 5) and CTRB(SUB 56) over all of ladder programs. However, the timer
number of TMRB(SUB 24), TMRBF(SUB 77), and the rising edge number of
DIFU(SUB 57) and the falling edge number of DIFD(SUB 58) can be same number
between main and divided ladder programs.
- 41 -
1.OVERVIEW OF PMC B-64513EN/03
Level 1
Level 2
CALLU : P5000
CALLU : P2
CALLU : P1
P1
P2
P5000
Level 1
Level 2
CALLU : P5000
CALLU : P1
P1
P5000
Level 2
CALLU : P5000
CALLU : P2
P2
P5000
Fig. 1.5.4 Definition of sub programs using the ladder dividing management function
- 42 -
B-64513EN/03 1.OVERVIEW OF PMC
NOTE
You do not need to program DISPB instruction in every divided ladder program.
You can program DISPB instruction only in main ladder program. As for details of
DISPB instruction, refer to the section “4.11.1”.
Ladder program
ON
DISPB
1001 ALARM-2
Message data
A0.0 1000ALARM-1
A0.1 1001ALARM-2
A0.2 1002ALARM-3
Ladder program
DI2 A0.1
Case of A0.1=ON
Ladder program
DI3 A0.2
Fig. 1.5.5 Message display using the ladder dividing management function
- 43 -
1.OVERVIEW OF PMC B-64513EN/03
FANUC LADDER-III
Making main ladder is the same way as making ladder when not using this function.
When making new divided ladder program on FANUC LADDER-III, the following information are
required.
NOTE
1 You can make new divided ladder program on FANUC LADDER-III. On PMC
screen, You can edit the divided ladder program but cannot make new divided
ladder program.
2 Divided ladder program number can be changed in system parameter screen on
FANUC LADDER-III. To modify the PMC path or the PMC memory, use “PMC
Type changed and save” on FANUC LADDER-III.
3 The range of divided ladder program number is 1 to 99. When storing the flash
ROM, the file of same name is overwritten. Therefore, you should set different
number to each divided ladder program file. You can use any number within the
range.
4 When using multi-path PMC, the same number can be used in every PMC path.
- 44 -
B-64513EN/03 1.OVERVIEW OF PMC
NOTE
For details of the boot system and the IPL screen, refer to the maintenance
manual of each CNC series.
L103PMC1.000
PMC1-03.LAD
PC CNC
- 45 -
1.OVERVIEW OF PMC B-64513EN/03
FlOpen PMC1-01.LAD
Compile
Export /MemData E:\L101PMC1.000
FlClose
FlOpen PMC1-02.LAD
Compile
Export /MemData E:\L102PMC1.000
FlClose
FlOpen PMC1-03.LAD
Compile
Export /MemData E:\L103PMC1.000
FlClose
(3) At the command prompt, specify the command file of the item (2) and execute FANUC LADDER-III.
C:\> "C:\Program Files\FANUC PMC Programmer\FANUC LADDER-3\Fladder.exe" /cmdfile=export_all.txt
(4) Attach the memory card to CNC and turn the power on with pressing “.” and “-“ on the MDI keys
(5) The IPL screen appears. Select “12. BATCH DATA BACKUP/RESTORE”.
(6) The BATCH DATA BACKUP/RESTORE MENU appears and select “2. BATCH DATA
RESTORE(MEMORY CARD → CNC)”.
(7) “BATCH DATA RESTORE OK ? (NO=0,YES=1)” appears and select “1”.
(8) “POWER MUST BE OFF” appears and reboot the power of the CNC.
NOTE
1 In the all backup/restore function, all files, which are at root directory of memory
card or USB memory, are written to CNC. Therefore, you should use empty
memory card or USB card because the CNC do not execute correctly when there
are some unnecessary files in the memory card or the USB memory.
2 You can use arbitrary command file name of FANUC LADDER-III.
If changing to other name, change the name specified in the item (3), too.
3 The ladder file name specified in the export command (Ex: L101PMC1.000) is
used in PC, memory card or USB memory. You can use arbitrary file name
regardless of the dividing ladder program number for the registration of CNC.
To change the divided ladder number, change the setting of divided ladder
number in the system parameter screen on FANUC LADDER-III.
4 We recommend the ladder file name for outputting from CNC by the all
backup/restore function to the file name in the export command if there is no
special reason. In the all backup/restore function, the file having the name on flash
ROM of CNC with the extension “.000” is output. For the file name on flash ROM,
refer to “2.9”.
- 46 -
B-64513EN/03 1.OVERVIEW OF PMC
PMC memory for each sequence program is basically independent, and the same PMC address can be used
for different purposes of the individual PMCs. Extra relays (E addresses) can be shared among PMCs as
shared memory. All PMCs can read from and write to this area, so the area can be used for the interface
between the PMCs. M,N addresses can be also used for the interface between the PMCs.
1st PMC 2nd PMC 3rd PMC 4th PMC 5th PMC
X0~, Y0~, X0~, Y0~, X0~, Y0~, X0~, Y0~, X0~, Y0~,
F0~, G0~, F0~, G0~, F0~, G0~, F0~, G0~, F0~, G0~,
R0~, A0~, R0~, A0~, R0~, A0~, R0~, A0~, R0~, A0~,
T0~, C0~, T0~, C0~, T0~, C0~, T0~, C0~, T0~, C0~,
K0~, D0~, K0~, D0~, K0~, D0~, K0~, D0~, K0~, D0~,
P1~, L1~ P1~, L1~ P1~, L1~ P1~, L1~ P1~, L1~
Shared memory(E0~)
A program for each PMC is saved as an independent file and can be edited, updated, and backed up
separately.
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.
NOTE
The multi-path PMC function is the option function.
In Series 30i/31i/32i/35i-B, Power Motion i-A, the maximum path number is 5
paths. In Series 0i-F, the maximum path number is 3 paths.
- 47 -
1.OVERVIEW OF PMC B-64513EN/03
CNC PMC
Peripheral
2nd PMC
equipment,
etc.
Loader Operator's
3rd PMC
control group panel for
loader, etc.
If the series 30i/31i/32i/35i-B, the Power Motion i-A or the series 0i-F 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.
- 48 -
B-64513EN/03 1.OVERVIEW OF PMC
Execution order
If parameters related to the execution order are not set (0 is set), the following order sequence is assumed by
default:
1st path 2nd path 3rd path 4th path 5th path
PMC PMC PMC PMC PMC
- 49 -
1.OVERVIEW OF PMC B-64513EN/03
An example of changing the execution order and execution time percentages by setting CNC parameters is
explained below. In the following, sequence programs are executed in the order from the third PMC to the
first PMC to the second PMC with the execution time percentage of the third PMC set to 30%, the
percentage of the first PMC to 50%, and the percentage of the second PMC to 20%:
Level 1
Level 2
Level 3
Fig. 1.6.1 (c) Example of setting execution time percentages of multiple PMCs
- 50 -
B-64513EN/03 1.OVERVIEW OF PMC
In the following example, F/G0 to F/G767 and F/G1000 to F/G1767 of the CNC are assigned to F/G0 to
F/G767 and F/G1000 to F/G1767 of the first PMC, and F/G2000 to F/G2767 of the CNC are assigned to
F/G0 to F/G767 of the second PMC:
- 51 -
1.OVERVIEW OF PMC B-64513EN/03
Generally, each path of multi-path PMC system has individual PMC memory space except E address. And,
E address can be used to share data of multi-path PMC system. However, this method has a risk that the
memory is over written by other PMC path inappropriately.
NOTE
This interface cannot be used in 4th-path PMC and 5th-path PMC.
When using this function, the input and output signals of each path become definitely. Therefore, you can
send or receive the data on between two PMC paths safely.
When you output data to N address at one of PMC paths, it can be referenced by M address in other PMC
path.
Ex.) When using this function with 1st PMC and 2nd PMC :
M M
N N
Moreover, signals of M address are synchronized during 1 scan of 2nd level program. Therefore, you can
reference the same signal status on the first step and the last step of level2 program, like as X and F address.
For details of setting for two PMC paths, see Subsection 2.4.3.
WARNING
The E address can be used to share data of multi-path PMC system. However,
The E address is not synchronized during 1 scan of 2nd level program. Therefore,
the value of the address may be changed during execution of 2nd level program.
You must take care that the memory is not overwritten by other PMC path in
multi-path PMC system.
- 52 -
B-64513EN/03 1.OVERVIEW OF PMC
Sequence
4th PMC Program
L1 -,
P1 -
Sequence
5th PMC
Program
L1 -,
P1 -
See "9.9.5 Setting the PMC Memory Type" to enable the Common PMC Memory mode.
There are come differences in the following specifications in the Independent PMC Memory mode and the
Common PMC Memory mode.
Table 1.6.4 (a) Comparison of Independent PMC Memory mode and Common PMC Memory mode
Independent PMC Memory
Data and Functions Common PMC Memory mode
mode
Sequence Ladder each PMC path each PMC path
program (TMR, CTR, CTRB) each PMC path shared by all PMC paths
(DISPB) each PMC path program to 1st-path PMC
Title each PMC path each PMC path
Symbol & Comment each PMC path each PMC path
Message data each PMC path each PMC path
I/O Link assignment each PMC path each PMC path
System parameter each PMC path each PMC path
(Counter data type) each PMC path 1st-path PMC is effective
- Inputting/Outputting each PMC path each PMC path
- Password function each PMC path each PMC path
- Programmer protection each PMC path 1st-path PMC is effective
- Protection of data at 8 levels each PMC path each PMC path
- 53 -
1.OVERVIEW OF PMC B-64513EN/03
WARNING
1 Please separate the range of PMC Memory that will be written by each PMC path.
And, don't write to the same address from other PMC paths because it will often
cause a problem. If making such a program it will be difficult to fix a problem.
2 When using the Common PMC Memory mode, the memory of PMC Parameter is
shared by those PMC paths, too. Therefore, don't set any duplicated number of
functional instructions that is used for PMC Parameter in those PMC paths.
<Functional instructions using PMC Parameter>
- TMR (Timer : SUB 3)
- CTR (Counter : SUB 5)
- CTRB (Fixed Counter : SUB 56)
But, the instruction number of the following functional instructions can be used for
each PMC path, also in the Common PMC Memory mode.
<Functional instructions numbered each PMC path>
- TMRB (Fixed Timer : SUB 24)
- TMRBF (Off Delay Fixed Timer : SUB 77)
- DIFU (Rising Edge Detection : SUB 57)
- DIFD (Falling Edge Detection : SUB 58)
NOTE
1 To use the Common PMC Memory mode in the 2nd to 5th-path PMC, select the
same PMC type as 1st-path PMC on FANUC LADDER-III.
2 The Data Table Control data is also shared between PMC paths that are used in
the Common PMC Memory mode.
3 L address and P address, that is used for the labels of jump or sub-program call,
can be used for each PMC path independently in the Common PMC Memory
mode, too.
- 54 -
B-64513EN/03 1.OVERVIEW OF PMC
As for the transmission cycle of the signals from the I/O Link i, you can choose from the normal mode
(2msec) and the high-speed mode (0.5msec). You can specify the mode for each group of I/O devices.
The transmission cycle of the signals from the I/O Link is “2msec” for the channel 1 and 2. For the channel
3, it depends on the ladder execution period (4msec/8msec).
CNC
I/O Link i
Channel 1 Select by CNC parameter
I/O Link
I/O Link i
Channel 2 Select by CNC parameter
I/O Link
Fig. 1.7.1 (a) Setting of the communication method for each channels
The maximum I/O points of the I/O Link i are 2048 poins/2048 points for each channel. The maximum I/O
points of the I/O Link are 1024 points/1024 points for each channel.
The maximum I/O points for a system are 4096 points/4096 points (0i-F: 2048 points/2048 points) in total.
You can use one or more channels of the I/O Link i and the I/O Link, however the total points cannot exceed
the maximum points of the PMC system.
[The example of the selectable case of the I/O Link i and the I/O Link]
Channel 1 Channel 2 Channel 3 Total points (DI / DO)
I/O Link i I/O Link i - 4096 / 4096 (Note)
I/O Link i I/O Link I/O Link 4096 / 4096 (Note)
I/O Link i I/O Link - 3072 / 3072 (Note)
I/O Link I/O Link I/O Link 3072 / 3072 (Note)
I/O Link i - - 2048 / 2048
I/O Link I/O Link - 2048 / 2048
I/O Link - I/O Link 2048 / 2048
I/O Link - - 1024 / 1024
NOTE
For the series 0i-F, the total points (DI/DO) are 2048/2048 points.
- 55 -
1.OVERVIEW OF PMC B-64513EN/03
The following figure is the multi-path PMC system overview using the I/O Link i.
• 1st PMC: The sequence program using I/O devices connected to the channel 1(I/O Link i)
• 2nd PMC: The sequence program using I/O devices connected to the channel 1(I/O Link i)
• 3rd PMC: The sequence program using I/O devices connected to the channel 2(I/O Link)
NOTE
The multi-path PMC function is an optional function.
FANUC LADDER-Ⅲ
1st path sequence program I/O Link i assignment data (FIL file)
Transferred
channel group slot PMC X address Y address
period
Normal
1 0 1 PMC1 X0000 Y0000
2nd path sequence program (2msec)
2 PMC2 X0010 Y0010
High-speed
1 1 PMC1 X0020 Y0020
(0.5msec)
2 PMC2 X0030 Y0030
3rd path I/O module assignment
sequence program X/Y0 ~ 127
Loading
CNC
Group 0 Group 1
- 56 -
B-64513EN/03 1.OVERVIEW OF PMC
NOTE
This function cannot be used for the I/O Link i.
1st PMC
Channel 1
X/Y0 to X/Y127
Channel 2
X/Y200 to X/Y327
In the following example, channel 1 is assigned to X/Y0 to X/Y127 of the first PMC, channel 2 is assigned
to X/Y200 to X/Y327 of the first PMC, and channel 3 is assigned to X/Y0 to X/Y127 of the second PMC:
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
Fig. 1.7.3 (b) Example of I/O address assignment for I/O Link channels
- 57 -
1.OVERVIEW OF PMC B-64513EN/03
1st PMC
Channel 1
X/Y0 to 127
~
X/Y200 to 327 Group 0 Group 1 Group 2 Group n
Channel 2
~ ~
Group 0 Group n Group 0 Group n
2nd PMC
1st Block 2nd Block
X/Y0 to 127
- 58 -
B-64513EN/03 1.OVERVIEW OF PMC
NOTE
This function cannot be used for the Series 0i-F.
Example of 1st level execution cycle is 1ms The 2nd and 3rd levels are executed in a 4ms
cycle, even if the program is completed within 3ms.
1st level
(1ms cycle)
2nd level
(4ms cycle)
3rd level
(4ms cycle)
0 4ms 8ms
1st level
(2ms cycle)
2nd level
(4ms cycle)
3rd level
(4ms cycle)
0 4ms 8ms
- 59 -
1.OVERVIEW OF PMC B-64513EN/03
When the execution cycle of the 1st level is 2ms, the 2nd and 3rd levels can also be executed in a 2ms cycle
by setting of a CNC parameter. Please refer to "3.4 CNC Parameters Related to the PMCs" of this document
for details.
Example of 1st level execution cycle is 2ms, 2nd and 3rd levels execution cycles are also 2ms.
1st level
(2ms cycle)
2nd level
(2ms cycle)
3rd level
(2ms cycle)
0 4ms 8ms
- 60 -
B-64513EN/03 1.OVERVIEW OF PMC
1st level
2nd level
3rd level
Power on
[Structure of a ladder]
- PMC path : 1st PMC (PMC1)
- ladder of execution cycles 1ms : PMC1-1
- 61 -
1.OVERVIEW OF PMC B-64513EN/03
Note
1 When the 1st level of ladder whose execution cycle is 1ms or 2ms exceeds the
maximum execution time, execution is divided to the next cycle.
Example when the 1st level of ladder whose execution cycle is 1ms
exceeds the maximum execution time (0.5ms).
1st level
2nd level
3rd level
0 4ms 8ms
maximum execution time (0.5ms)
Example when the 1st level of ladder whose execution cycle is 2ms
exceeds the maximum execution time (1ms).
1st level
2nd level
3rd level
0 4ms 8ms
maximum execution time (1ms)
2 The execution time of the 1st level of ladder whose execution cycle is 1ms or 2ms can
be checked on the PMC status (1,2ms ladder) screen. Please refer to "9.6.2
Displaying the status of the 1st level execution cycle in 1ms/2ms ([PMC status (1,2ms
ladder)] screen)" of this document for details.
- 62 -
B-64513EN/03 1.OVERVIEW OF PMC
Generally, processing of functional instructions takes longer time than basic instructions. Therefore, please
make the 1st level of ladder whose execution cycle is 1ms and 2ms with fewer functional instructions.
Moreover, the performance will not be improved even if the following functional instructions execute in the
cycle faster than the execution cycle of CNCs because they operate by exchanging data between CNC and
PMC. Therefore, please do not use the following functional instructions in the 1st level of ladder whose
execution cycle is 1ms or 2ms. If these functional instructions are used on the 1st level of ladder whose
execution cycle is 1ms or 2ms, they are processed as NOP instructions. If you want to refer to the result of
following functional instructions in the 1st level of ladder, these functional instructions should be
programmed in 2nd level and refer to the result in 1st level.
NOTE
The execution time of the 1st level of ladder whose execution cycle is 1ms or 2ms
can be checked on the PMC status (1,2ms ladder) screen. Please refer to "9.6.2
Displaying the status of the 1st level execution cycles 1ms/2ms ([PMC status
(1,2ms ladder)] screen)" of this document for details.
- 63 -
1.OVERVIEW OF PMC B-64513EN/03
Example when using the Ladder Dividing Management Function (1st level execution cycle 1ms)
0 4ms 8ms
3rd level of PMC1
NOTE
The 1st level of ladder that is executed in 1ms or 2ms cycle is selected by CNC
parameter No.11945 and 11946. Please refer to "2.4.3 CNC Parameters Related
to the PMCs" for details.
- 64 -
B-64513EN/03 1.OVERVIEW OF PMC
[Structure of a ladder]
- Divided ladder : PMC1, PMC1-1, PMC1-99
- ladder of execution cycles 1ms : PMC1-1
- 65 -
1.OVERVIEW OF PMC B-64513EN/03
In this case, ladder programs of all PMC paths are executed continuously for each ladder execution level.
Therefore, the setting (CNC parameter No.11905-11909) of the execution time rate for each PMC path is
ineffective.
Example when using the Multi-path PMC Function (1st level execution cycle 1ms)
0 4ms 8ms
3rd level of PMC1
NOTE
1 The 1st level of ladder that is executed in 1ms or 2ms cycle is selected by CNC
parameter No.11945 and 11946. Please refer to "2.4.3 CNC Parameters Related
to the PMCs" for details.
2 When using both the multi-path PMC function and ladder dividing management
function, the 1st level execution cycle in 1ms, 2ms can be used. In this case, one
1st level of ladder is selected from all ladder programs by setting CNC parameter
No.11945 and No.11946.
- 66 -
B-64513EN/03 1.OVERVIEW OF PMC
[Structure of a ladder]
- Multi-path PMC : 3Paths(PMC1 to PMC3)
- ladder of execution cycles 1ms : PMC2
- 67 -
2.PMC SPECIFICATIONS B-64513EN/03
2 PMC SPECIFICATIONS
2.1 SPECIFICATIONS
- 68 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
1 This PMC is used for Dual Check Safety function (option) and handles the safety
related signals.
2 The Step Sequence is available in the main ladder of 1st PMC.
3 A program can be created on level 3 to maintain source-level compatibility with
programs for other models, but it is not executed.
- 69 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
1 This PMC is used for Dual Check Safety function (option).
2 The extra relay is common memory for the multi-PMC function. This means that
its size covers all of PMCs. Moreover, It is possible to use the extra relay as
nonvolatile memory by the option.
3 No extra relay is available for DCS PMC.
4 The message display relay is ineffective in DCS PMC because the message
display function is unavailable in it.
5 Under the configuration having two or more paths of PMC Memory-C or one path
of PMC Memory-D, specify the "Nonvolatile PMC data table area expansion
40KB" option. If this option is not added, the expanded data table area (D10000~)
is not kept after rebooting CNC. Refer to subsection 2.1.3 for details.
NOTE
The option “PMC Ladder Function 300,000 Steps” is not supported for the
Series 0i-F.
NOTE
Total size of main ladder program and some divided ladder programs are limited
by the maximum size of specified step option.
- 70 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
Total size of main ladder program and some divided ladder programs are limited
by the maximum size of specified step option.
Main ladder of 3rd path PMC 5,000 steps Divided ladder of 2nd path PMC (10,000 steps)
Total 90,000 steps Main ladder of 3rd path PMC (5,000 steps)
NOTE
1 Total size of main ladder program and some divided ladder programs are limited
by the maximum size of specified step option.
2 If the total steps of sequence programs exceed the step number of specified step
option, the PMC alarm “ER03 PROGRAM SIZE ERROR(OPTION)” occurs in the
path just when the excess of steps is detected. The sequence program of the
PMC path, in which the alarm occurs, will not be executed.
3 The total steps does not include the ladder steps of dual check safety PMC.
- 71 -
2.PMC SPECIFICATIONS B-64513EN/03
The following is the selectable PMC memory types in each PMC path.
Table 2.1.3 (a) Data table number of each PMC memory type
PMC memory type Data Table Basic nonvolatile area
PMC memory-A 3,000 bytes 3,000 bytes
PMC memory-B 10,000 bytes 10,000 bytes
PMC memory-C 20,000 bytes 20,000 bytes (In case of using one path of
PMC-memory C)
10,000 bytes (In case of using two or more
paths of PMC-memory C)
PMC memory-D 60,000 bytes 10,000 bytes
NOTE
To use two or more paths of PMC memory-C or one path of PMC memory-D,
specify the option “Nonvolatile PMC data table area expansion (40KB)”. If this
option is not specified, the data at D10000 and subsequent addresses is not
saved.
- 72 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
1 For the series 0i-F, up to 16 programs can be made.
2 These options are not supported for the Series 0i-F.
- 73 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
1 When the total size is exceed the specified memory capacity by options, the alarm
“ER02 PROGRAM SIZE OVER” or “WN64 MESSAGE FILE SIZE OVER“ occurs in
the PMC path in which detected the error.
2 When plural data are edited, inputted or outputted at the same time using CNC
screen or FANUC LADDER-III, the data may not be expanded even if the total size
is under the specified memory capacity. In this case, stop the simultaneous
operations and retry the modification one by one.
3 Above memory size does not include the memory for DCS PMC. The memory size
of DCS PMC is 128KB.
- 74 -
B-64513EN/03 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 Japanese 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.
5 One definition of extended symbol and comment takes 16-23 bytes plus the
memory according to the length of symbol and comment.
6 8 bytes are taken for a sub-program when local symbols are defined in the
sub-program.
7 In the PMC Memory-C, the system area is expanded by about 8KB from PMC
Memory-A or B. In the PMC Memory-D, the area is expanded by about 16KB
from PMC Memory-A or B. Therefore, available memory size for Symbol,
Comment and Message data is smaller than PMC Memory-A and B. If the
program overflowed by converting PMC Memory Type, decrease the Symbol,
Comment or Message data, or upgrade the Ladder step option to larger size.
- 75 -
2.PMC SPECIFICATIONS B-64513EN/03
- 76 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.1.6 (b)
PMC Address list (2)
1st to 5th path PMC DCSPMC
Signals Symbol
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D (Note 1)
Timer T
・Variable timer T0 ~ T79 T0 ~ T499 T0 ~ T999 T0 ~ T999 T0 ~ T79
・Variable timer T9000 ~ T9499 T9000 ~ T9499 T9000 ~ T9999 T9000 ~ T9999 T9000 ~ T9079
precision (Note 6)
Counter C
・Variable counter C0 ~ C79 C0 ~ C399 C0 ~ C799 C0~C1199 C0 ~ C79
・Fixed counter C5000 ~ C5199 C5000 ~ C5199 C5000 ~ C5399 C5000~C5599 C5000 ~ C5039
Keep relay K
・User area K0 ~ K19 K0 ~ K99 K0 ~ K199 K0 ~ K299 K0 ~ K19
・System area K900 ~ K999 K900 ~ K999 K900 ~ K999 K900 ~ K999 K900 ~ K999
Data table D D0 ~ D2999 D0 ~ D9999 D0 ~ D19999 D0 ~ D59999 D0 ~ D2999
(Note7) (Note7)
Label L L1 ~ L9999 L1 ~ L9999 L1 ~ L9999 L1 ~ L9999 L1 ~ L9999
Subprogram P P1 ~ P512 P1 ~ P5000 P1 ~ P5000 P1 ~ P5000 P1 ~ P512
Step number S (none) S1 ~ S2000 S1 ~ S2000 S1 ~ S2000 (none)
(Step sequence)
NOTE
1 This PMC is used for Dual Check Safety function (option).
2 This area is reserved for PMC management software. Do not use it in user
programs.
3 The M/N addresses cannot be used in 4th and 5th path PMC.
4 This area is common memory for the multi-path PMC function. Each program can
write and read the same value in the area.
5 No extra relay is available for the Dual Check Safety PMC.
6 This area is used to specify the precision of a variable timer.
- Don't modify the value of active timer and its precision except for writing same
value.
- Don't set the value other than the following range.
- If above rules are violated, the behavior of the timer is not guaranteed.
7 To save all area of the data table, the “Nonvolatile PMC data table area expansion
(40KB)” option may be necessary.
- 77 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
This PMC is used for Dual Check Safety function (option). See "Dual Check
Safety Connection Manual" of each CNC series for details.
- 78 -
B-64513EN/03 2.PMC SPECIFICATIONS
- 79 -
2.PMC SPECIFICATIONS B-64513EN/03
Table 2.1.8 (b) Functional instruction list (arranged in sequence of instruction group) (2)
Required DCS
Instruction Instruction SUB memory 1st to 5th PMC
Processing
group name No. size PMC (Note1)
(byte)
Table 11 DSEQD 243 Searching data from table (=) (4 byte length) 28 ● ●
Data
12 DSNEB 244 Searching data from table (≠) (1 byte length) 28 ● ●
13 DSNEW 245 Searching data from table (≠) (2 byte length) 28 ● ●
14 DSNED 246 Searching data from table (≠) (4 byte length) 28 ● ●
15 DSGTB 247 Searching data from table (>) (1 byte length) 28 ● ●
16 DSGTW 248 Searching data from table (>) (2 byte length) 28 ● ●
17 DSGTD 249 Searching data from table (>) (4 byte length) 28 ● ●
18 DSLTB 250 Searching data from table (<) (1 byte length) 28 ● ●
19 DSLTW 251 Searching data from table (<) (2 byte length) 28 ● ●
20 DSLTD 252 Searching data from table (<) (4 byte length) 28 ● ●
21 DSGEB 253 Searching data from table (≧) (1 byte length) 28 ● ●
22 DSGEW 254 Searching data from table (≧) (2 byte length) 28 ● ●
23 DSGED 255 Searching data from table (≧) (4 byte length) 28 ● ●
24 DSLEB 256 Searching data from table (≦) (1 byte length) 28 ● ●
25 DSLEW 257 Searching data from table (≦) (2 byte length) 28 ● ●
26 DSLED 258 Searching data from table (≦) (4 byte length) 28 ● ●
27 DMAXB 259 Maximum data (1 byte length) 28 ● ●
28 DMAXW 260 Maximum data (2 byte length) 28 ● ●
29 DMAXD 261 Maximum data (4 byte length) 28 ● ●
30 DMINB 262 Minimum data (1 byte length) 28 ● ●
31 DMINW 263 Minimum data (2 byte length) 28 ● ●
32 DMIND 264 Minimum data (4 byte length) 28 ● ●
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 80 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.1.8 (c) Functional instruction list (arranged in sequence of instruction group) (3)
Required DCS
Instruction Instruction SUB memory 1st to 5th PMC
Processing
group name No. size PMC (Note1)
(byte)
Comparison 1 EQB 200 Signed Binary Comparison (=) (1 byte length) 16 { {
2 EQW 201 Signed Binary Comparison (=) (2 byte length) 16 { {
3 EQD 202 Signed Binary Comparison (=) (4 byte length) 16 { {
4 NEB 203 Signed Binary Comparison (≠) (1 byte length) 16 { {
5 NEW 204 Signed Binary Comparison (≠) (2 byte length) 16 { {
6 NED 205 Signed Binary Comparison (≠) (4 byte length) 16 { {
7 GTB 206 Signed Binary Comparison (>) (1 byte length) 16 { {
8 GTW 207 Signed Binary Comparison (>) (2 byte length) 16 { {
9 GTD 208 Signed Binary Comparison (>) (4 byte length) 16 { {
10 LTB 209 Signed Binary Comparison (<) (1 byte length) 16 { {
11 LTW 210 Signed Binary Comparison (<) (2 byte length) 16 { {
12 LTD 211 Signed Binary Comparison (<) (4 byte length) 16 { {
13 GEB 212 Signed Binary Comparison (≧) (1 byte length) 16 { {
14 GEW 213 Signed Binary Comparison (≧) (2 byte length) 16 { {
15 GED 214 Signed Binary Comparison (≧) (4 byte length) 16 { {
16 LEB 215 Signed Binary Comparison (≦) (1 byte length) 16 { {
17 LEW 216 Signed Binary Comparison (≦) (2 byte length) 16 { {
18 LED 217 Signed Binary Comparison (≦) (4 byte length) 16 { {
19 RNGB 218 Signed Binary Comparison (range) (1 byte length) 20 { {
20 RNGW 219 Signed Binary Comparison (range) (2 byte length) 20 { {
21 RNGD 220 Signed Binary Comparison (range) (4 byte length) 20 { {
22 COMPB 32 Comparison between binary data 20 { {
23 COMP 15 Comparison 16 { {
24 COIN 16 Coincidence check 16 { {
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 81 -
2.PMC SPECIFICATIONS B-64513EN/03
Table 2.1.8 (d) Functional instruction list (arranged in sequence of instruction group) (4)
Required DCS
Instruction Instruction SUB memory 1st to 5th PMC
Processing
group name No. size PMC (Note1)
(byte)
Bit 1 DIFU 57 Rising-edge detection 8 { {
operation 2 DIFD 58 Falling-edge detection 8 { {
3 EOR 59 Exclusive OR 20 { {
4 AND 60 Logical AND 20 { {
5 OR 61 Logical OR 20 { {
6 NOT 62 Logical NOT 16 { {
7 PARI 11 Parity check 8 { {
8 SFT 33 Shift register 8 { {
9 EORB 265 Exclusive OR (1 byte length) 20 ● ●
10 EORW 266 Exclusive OR (2 byte length) 20 ● ●
11 EORD 267 Exclusive OR (4 byte length) 20 ● ●
12 ANDB 268 Logical AND (1 byte length) 20 ● ●
13 ANDW 269 Logical AND (2 byte length) 20 ● ●
14 ANDD 270 Logical AND (4 byte length) 20 ● ●
15 ORB 271 Logical OR (1 byte length) 20 ● ●
16 ORW 272 Logical OR (2 byte length) 20 ● ●
17 ORD 273 Logical OR (4 byte length) 20 ● ●
18 NOTB 274 Logical NOT (1 byte length) 16 ● ●
19 NOTW 275 Logical NOT (2 byte length) 16 ● ●
20 NOTD 276 Logical NOT (4 byte length) 16 ● ●
21 SHLB 277 Bit shift left (1 byte length) 20 ● ●
22 SHLW 278 Bit shift left (2 byte length) 20 ● ●
23 SHLD 279 Bit shift left (4 byte length) 20 ● ●
24 SHLN 280 Bit shift left (Arbitrary byte length) 24 ● ●
25 SHRB 281 Bit shift right (1 byte length) 20 ● ●
26 SHRW 282 Bit shift right (2 byte length) 20 ● ●
27 SHRD 283 Bit shift right (4 byte length) 20 ● ●
28 SHRN 284 Bit shift right (Arbitrary byte length) 24 ● ●
29 ROLB 285 Bit rotation left (1 byte length) 20 ● ●
30 ROLW 286 Bit rotation left (2 byte length) 20 ● ●
31 ROLD 287 Bit rotation left (4 byte length) 20 ● ●
32 ROLN 288 Bit rotation left (Arbitrary byte length) 24 ● ●
33 RORB 289 Bit rotation right (1 byte length) 20 ● ●
34 RORW 290 Bit rotation right (2 byte length) 20 ● ●
35 RORD 291 Bit rotation right (4 byte length) 20 ● ●
36 RORN 292 Bit rotation right (Arbitrary byte length) 24 ● ●
37 BSETB 293 Bit set (1 byte length) 16 ● ●
38 BSETW 294 Bit set (2 byte length) 16 ● ●
39 BSETD 295 Bit set (4 byte length) 16 ● ●
40 BSETN 296 Bit set (Arbitrary byte length) 20 ● ●
41 BRSTB 297 Bit reset (1 byte length) 16 ● ●
42 BRSTW 298 Bit reset (2 byte length) 16 ● ●
43 BRSTD 299 Bit reset (4 byte length) 16 ● ●
44 BRSTN 300 Bit reset (Arbitrary byte length) 20 ● ●
45 BTSTB 301 Bit test (1 byte length) 16 ● ●
46 BTSTW 302 Bit test (2 byte length) 16 ● ●
47 BTSTD 303 Bit test (4 byte length) 16 ● ●
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 82 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.1.8 (e) Functional instruction list (arranged in sequence of instruction group) (5)
Required DCS
Instruction Instruction SUB memory 1st to 5th PMC
Processing
group name No. size PMC (Note1)
(byte)
Bit 48 BTSTN 304 Bit test (Arbitrary byte length) 20 ● ●
operation 49 BPOSB 305 Bit search (1 byte length) 12 ● ●
50 BPOSW 306 Bit search (2 byte length) 12 ● ●
51 BPOSD 307 Bit search (4 byte length) 12 ● ●
52 BPOSN 308 Bit search (Arbitrary byte length) 16 ● ●
53 BCNTB 309 Bit count (1 byte length) 12 ● ●
54 BCNTW 310 Bit count (2 byte length) 12 ● ●
55 BCNTD 311 Bit count (4 byte length) 12 ● ●
56 BCNTN 312 Bit count (Arbitrary byte length) 16 ● ●
Code 1 COD 7 Code conversion 16+n { {
conversion (Note5)
2 CODB 27 Binary code conversion 20+n { {
(Note5)
3 DCNV 14 Data conversion 12 { {
4 DCNVB 31 Extended data conversion 16 { {
5 DEC 4 Decoding 12 { {
6 DECB 25 Binary decoding 20 { {
7 TBCDB 313 Binary to BCD conversion (1 byte length) 16 ● ●
8 TBCDW 314 Binary to BCD conversion (2 byte length) 16 ● ●
9 TBCDD 315 Binary to BCD conversion (4 byte length) 16 ● ●
10 FBCDB 316 BCD to Binary conversion (1 byte length) 16 ● ●
11 FBCDW 317 BCD to Binary conversion (2 byte length) 16 ● ●
12 FBCDD 318 BCD to Binary conversion (4 byte length) 16 ● ●
Operation 1 ADDB 36 Binary addition 20 { {
2 SUBB 37 Binary subtraction 20 { {
3 MULB 38 Binary multiplication 20 { {
4 DIVB 39 Binary division 20 { {
5 ADD 19 BCD addition 20 { {
6 SUB 20 BCD subtraction 20 { {
7 MUL 21 BCD multiplication 20 { {
8 DIV 22 BCD division 20 { {
9 NUMEB 40 Binary constant definition 16 { {
10 NUME 23 BCD-constant definition 12 { {
11 ADDSB 319 Addition (1 byte length) 20 ● ●
12 ADDSW 320 Addition (2 byte length) 20 ● ●
13 ADDSD 321 Addition (4 byte length) 20 ● ●
14 SUBSB 322 Subtraction (1 byte length) 20 ● ●
15 SUBSW 323 Subtraction (2 byte length) 20 ● ●
16 SUBSD 324 Subtraction (3 byte length) 20 ● ●
17 MULSB 325 Multiplication (1 byte length) 20 ● ●
18 MULSW 326 Multiplication (2 byte length) 20 ● ●
19 MULSD 327 Multiplication (4 byte length) 20 ● ●
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 83 -
2.PMC SPECIFICATIONS B-64513EN/03
Table 2.1.8 (f) Functional instruction list (arranged in sequence of instruction group) (6)
Required DCS
Instruction Instruction SUB memory 1st to 5th PMC
Processing
group name No. size PMC (Note1)
(byte)
Operation 20 DIVSB 328 Division (1 byte length) 20 ● ●
21 DIVSW 329 Division (2 byte length) 20 ● ●
22 DIVSD 330 Division (4 byte length) 20 ● ●
23 MODSB 331 Remainder (1 byte length) 20 ● ●
24 MODSW 332 Remainder (2 byte length) 20 ● ●
25 MODSD 333 Remainder (4 byte length) 20 ● ●
26 INCSB 334 Increment (1 byte length) 8 ● ●
27 INCSW 335 Increment (2 byte length) 8 ● ●
28 INCSD 336 Increment (4 byte length) 8 ● ●
29 DECSB 337 Decrement (1 byte length) 8 ● ●
30 DECSW 338 Decrement (2 byte length) 8 ● ●
31 DECSD 339 Decrement (4 byte length) 8 ● ●
32 ABSSB 340 Absolute value (1 byte length) 16 ● ●
33 ABSSW 341 Absolute value (2 byte length) 16 ● ●
34 ABSSD 342 Absolute value (4 byte length) 16 ● ●
35 NEGSB 343 Sign inversion (1 byte length) 16 ● ●
36 NEGSW 344 Sign inversion (2 byte length) 16 ● ●
37 NEGSD 345 Sign inversion (4 byte length) 16 ● ●
CNC 1 DISPB 41 Message display 8 { ∆
Function 2 EXIN 42 External data input 8 { ∆
3 WINDR 51 CNC window data read 8 { ∆
4 WINDW 52 CNC window data write 8 { ∆
5 AXCTL 53 PMC axis control 12 { ∆
6 PSGN2 63 Position signal 8 { ∆
7 PSGNL 50 Position signal 12 { ∆
Program 1 COM 9 Common line control 8 { {
control 2 COME 29 End of common line control 4 { {
3 JMP 10 Jump 12 { {
4 JMPE 30 End of jump 4 { {
5 JMPB 68 Label jump 1 16 { {
6 JMPC 73 Label jump 2 16 { {
7 LBL 69 Label 12 { {
8 CALL 65 Conditional subprogram call 12 { {
9 CALLU 66 Unconditional subprogram call 12 { {
10 SP 71 Subprogram 8 { {
11 SPE 72 End of subprogram 4 { {
12 END1 1 End of first-level program 4 { {
13 END2 2 End of second-level program 4 { {
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 84 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.1.8 (g) Functional instruction list (arranged in sequence of instruction group) (7)
Required DCS
Instruction Instruction SUB memory 1st to 5th PMC
Processing
group name No. size PMC (Note1)
(byte)
Program 14 END3 48 End of third-level program 4 { ∆
control (Note 3) (Note4)
15 END 64 End of ladder program 4 { {
16 NOP 70 No operation 8 { {
17 CS 74 Case call 8 { {
18 CM 75 Sub program call in case call 12 { {
19 CE 76 End of case call 4 { {
Rotation 1 ROT 6 Rotation control 20 { {
control 2 ROTB 26 Binary rotation control 24 { {
Invalid 1 SPCNT 46 Spindle control 16 ∆ ∆
instruction 2 DISP 49 Message display 16+n ∆ ∆
(Note5)
3 MMCWR 98 MMC window data read 12 ∆ ∆
4 MMCWW 99 MMC window data write 12 ∆ ∆
5 FNC90 90 Arbitrary-function instruction 1 8 ∆ ∆
6 FNC91 91 Arbitrary-function instruction 2 8 ∆ ∆
7 FNC92 92 Arbitrary-function instruction 3 8 ∆ ∆
8 FNC93 93 Arbitrary-function instruction 4 8 ∆ ∆
9 FNC94 94 Arbitrary-function instruction 5 8 ∆ ∆
10 FNC95 95 Arbitrary-function instruction 6 8 ∆ ∆
11 FNC96 96 Arbitrary-function instruction 7 8 ∆ ∆
12 FNC97 97 Arbitrary-function instruction 8 8 ∆ ∆
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
NOTE
1 This term stands for the Dual Check Safety PMC (option).
2 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).
3 The 3rd level sequence part is available for the compatibility with programs for
conventional models. However, the execution cycle period for processing the 3rd
level sequence part is not guaranteed. See Section 1.4.3 "Processing priority".
4 This instruction is intended to maintain source-level compatibility with programs for
other models. A program can be created on level 3, but it is not executed.
5 Memory size increases by the number of data tables to be used. In the COD
instruction, CODB instruction (1byte length), CODB instruction (2byte length), or
DISP instruction, 2 bytes are added for each data. And, when the number of data
is odd, 2 bytes are added moreover. In the CODB instruction, 4 bytes are added
for each data.
- 85 -
2.PMC SPECIFICATIONS B-64513EN/03
- 86 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.1.9 (b) Functional instruction list (arranged in sequence of SUB No.) (2)
Required
DCS
Instruction SUB memory 1st to 5th
Processing PMC
name No. size PMC
(Note1)
(byte)
SPCNT 46 Spindle control 16 ∆ ∆
MOVD 47 4-byte transfer 12 { {
END3 48 End of third-level program 4 { ∆
(Note3) (Note4)
DISP 49 Message display 16+n ∆ ∆
(Note5)
PSGNL 50 Position signal 12 { ∆
WINDR 51 CNC window data read 8 { ∆
WINDW 52 CNC window data write 8 { ∆
AXCTL 53 PMC axis control 12 { ∆
TMRC 54 Timer processing 16 { {
CTRC 55 Counter processing 12 { {
CTRB 56 Counter processing 12 { {
DIFU 57 Rising-edge detection 8 { {
DIFD 58 Falling-edge detection 8 { {
EOR 59 Exclusive OR 20 { {
AND 60 Logical AND 20 { {
OR 61 Logical OR 20 { {
NOT 62 Logical NOT 16 { {
PSGN2 63 Position signal 8 { ∆
END 64 End of ladder program 4 { {
CALL 65 Conditional subprogram call 12 { {
CALLU 66 Unconditional subprogram call 12 { {
JMPB 68 Label jump 1 16 { {
LBL 69 Label 12 { {
NOP 70 No operation 8 { {
SP 71 Subprogram 8 { {
SPE 72 End of subprogram 4 { {
JMPC 73 Label jump 2 16 { {
CS 74 Case call 8 { {
CM 75 Sub program call in case call 12 { {
CE 76 End of case call 4 { {
TMRBF 77 Fixed off-delay timer 12 { {
FNC90 90 Arbitrary-function instruction 1 8 ∆ ∆
FNC91 91 Arbitrary-function instruction 2 8 ∆ ∆
FNC92 92 Arbitrary-function instruction 3 8 ∆ ∆
FNC93 93 Arbitrary-function instruction 4 8 ∆ ∆
FNC94 94 Arbitrary-function instruction 5 8 ∆ ∆
FNC95 95 Arbitrary-function instruction 6 8 ∆ ∆
FNC96 96 Arbitrary-function instruction 7 8 ∆ ∆
FNC97 97 Arbitrary-function instruction 8 8 ∆ ∆
MMCWR 98 MMC window data read 12 ∆ ∆
MMCWW 99 MMC window data write 12 ∆ ∆
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 87 -
2.PMC SPECIFICATIONS B-64513EN/03
Table 2.1.9 (c) Functional instruction list (arranged in sequence of SUB No.) (3)
Required
Instruction SUB memory 1st to 5th DCSPMC
Processing
name No. size PMC (Note1)
(byte)
EQB 200 Signed Binary Comparison (=)(1 byte length) 16 { {
EQW 201 Signed Binary Comparison (=)(2 byte length) 16 { {
EQD 202 Signed Binary Comparison (=)(4 byte length) 16 { {
NEB 203 Signed Binary Comparison (≠)(1 byte length) 16 { {
NEW 204 Signed Binary Comparison (≠)(2 byte length) 16 { {
NED 205 Signed Binary Comparison (≠)(4 byte length) 16 { {
GTB 206 Signed Binary Comparison (>)(1 byte length) 16 { {
GTW 207 Signed Binary Comparison (>)(2 byte length) 16 { {
GTD 208 Signed Binary Comparison (>)(4 byte length) 16 { {
LTB 209 Signed Binary Comparison (<)(1 byte length) 16 { {
LTW 210 Signed Binary Comparison (<)(2 byte length) 16 { {
LTD 211 Signed Binary Comparison (<)(4 byte length) 16 { {
GEB 212 Signed Binary Comparison (≧)(1 byte length) 16 { {
GEW 213 Signed Binary Comparison (≧)(2 byte length) 16 { {
GED 214 Signed Binary Comparison (≧)(4 byte length) 16 { {
LEB 215 Signed Binary Comparison (≦)(1 byte length) 16 { {
LEW 216 Signed Binary Comparison (≦)(2 byte length) 16 { {
LED 217 Signed Binary Comparison (≦)(4 byte length) 16 { {
RNGB 218 Signed Binary Comparison (range)(1 byte length) 20 { {
RNGW 219 Signed Binary Comparison (range)(2 byte length) 20 { {
RNGB 220 Signed Binary Comparison (range)(4 byte length) 20 { {
TMRST 221 Stop watch timer (1 ms accuracy) 20 ● ●
TMRSS 222 Stop watch timer (1 sec accuracy) 20 ● ●
CTRD 223 Counter processing (4 byte length) 12 ● ●
MOVBT 224 Bit transfer 24 ● ●
SETNB 225 Data setting (1 byte length) 20 ● ●
SETNW 226 Data setting (2 byte length) 20 ● ●
SETND 227 Data setting (4 byte length) 20 ● ●
XCHGB 228 Data exchange (1 byte length) 12 ● ●
XCHGW 229 Data exchange (2 byte length) 12 ● ●
XCHGD 230 Data exchange (4 byte length) 12 ● ●
SWAPW 231 Data swap (2 byte length) 16 ● ●
SWAPD 232 Data swap (4 byte length) 16 ● ●
TBLRB 233 Reading data from table (1 byte length) 24 ● ●
TBLRW 234 Reading data from table (2 byte length) 24 ● ●
TBLRD 235 Reading data from table (4 byte length) 24 ● ●
TBLRN 236 Reading data from table (Arbitrary byte length) 28 ● ●
TBLWB 237 Writing data to table (1 byte length) 24 ● ●
TBLWW 238 Writing data to table (2 byte length) 24 ● ●
TBLWD 239 Writing data to table (4 byte length) 24 ● ●
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 88 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.1.9 (d) Functional instruction list (arranged in sequence of SUB No.) (4)
Required
Instruction SUB memory 1st to 5th DCSPMC
Processing
name No. size PMC (Note1)
(byte)
TBLWN 240 Writing data to table (Arbitrary byte length) 28 ● ●
DSEQB 241 Searching data from table (=)(1 byte length) 28 ● ●
DSEQW 242 Searching data from table (=)(2 byte length) 28 ● ●
DSEQD 243 Searching data from table (=)(4 byte length) 28 ● ●
DSNEB 244 Searching data from table (≠)(1 byte length) 28 ● ●
DSNEW 245 Searching data from table (≠)(2 byte length) 28 ● ●
DSNED 246 Searching data from table (≠)(4 byte length) 28 ● ●
DSGTB 247 Searching data from table (>)(1 byte length) 28 ● ●
DSGTW 248 Searching data from table (>)(2 byte length) 28 ● ●
DSGTD 249 Searching data from table (>)(4 byte length) 28 ● ●
DSLTB 250 Searching data from table (<)(1 byte length) 28 ● ●
DSLTW 251 Searching data from table (<)(2 byte length) 28 ● ●
DSLTD 252 Searching data from table (<)(4 byte length) 28 ● ●
DSGEB 253 Searching data from table (≧)(1 byte length) 28 ● ●
DSGEW 254 Searching data from table (≧)(2 byte length) 28 ● ●
DSGED 255 Searching data from table (≧)(4 byte length) 28 ● ●
DSLEB 256 Searching data from table (≦)(1 byte length) 28 ● ●
DSLEW 257 Searching data from table (≦)(2 byte length) 28 ● ●
DSLED 258 Searching data from table (≦)(4 byte length) 28 ● ●
DMAXB 259 Maximum data (1 byte length) 28 ● ●
DMAXW 260 Maximum data (2 byte length) 28 ● ●
DMAXD 261 Maximum data (4 byte length) 28 ● ●
DMINB 262 Minimum data (1 byte length) 28 ● ●
DMINW 263 Minimum data (2 byte length) 28 ● ●
DMIND 264 Minimum data (4 byte length) 28 ● ●
EORB 265 Exclusive OR (1 byte length) 20 ● ●
EORW 266 Exclusive OR (2 byte length) 20 ● ●
EORD 267 Exclusive OR (4 byte length) 20 ● ●
ANDB 268 Logical AND (1 byte length) 20 ● ●
ANDW 269 Logical AND (2 byte length) 20 ● ●
ANDD 270 Logical AND (4 byte length) 20 ● ●
ORB 271 Logical OR (1 byte length) 20 ● ●
ORW 272 Logical OR (2 byte length) 20 ● ●
ORD 273 Logical OR (4 byte length) 20 ● ●
NOTB 274 Logical NOT (1 byte length) 16 ● ●
NOTW 275 Logical NOT (2 byte length) 16 ● ●
NOTD 276 Logical NOT (4 byte length) 16 ● ●
SHLB 277 Bit shift left (1 byte length) 20 ● ●
SHLW 278 Bit shift left (2 byte length) 20 ● ●
SHLD 279 Bit shift left (4 byte length) 20 ● ●
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 89 -
2.PMC SPECIFICATIONS B-64513EN/03
Table 2.1.9 (e) Functional instruction list (arranged in sequence of SUB No.) (5)
Required
Instruction SUB memory 1st to 5th DCSPMC
Processing
name No. size PMC (Note1)
(byte)
SHLN 280 Bit shift left (Arbitrary byte length) 24 ● ●
SHRB 281 Bit shift right (1 byte length) 20 ● ●
SHRW 282 Bit shift right (2 byte length) 20 ● ●
SHRD 283 Bit shift right (4 byte length) 20 ● ●
SHRN 284 Bit shift right (Arbitrary byte length) 24 ● ●
ROLB 285 Bit rotation left (1 byte length) 20 ● ●
ROLW 286 Bit rotation left (2 byte length) 20 ● ●
ROLD 287 Bit rotation left (4 byte length) 20 ● ●
ROLN 288 Bit rotation left (Arbitrary byte length) 24 ● ●
RORB 289 Bit rotation right (1 byte length) 20 ● ●
RORW 290 Bit rotation right (2 byte length) 20 ● ●
RORD 291 Bit rotation right (4 byte length) 20 ● ●
RORN 292 Bit rotation right (Arbitrary byte length) 24 ● ●
BSETB 293 Bit set (1 byte length) 16 ● ●
BSETW 294 Bit set (2 byte length) 16 ● ●
BSETD 295 Bit set (4 byte length) 16 ● ●
BSETN 296 Bit set (Arbitrary byte length) 20 ● ●
BRSTB 297 Bit reset (1 byte length) 16 ● ●
BRSTW 298 Bit reset (2 byte length) 16 ● ●
BRSTD 299 Bit reset (4 byte length) 16 ● ●
BRSTN 300 Bit reset (Arbitrary byte length) 20 ● ●
BTSTB 301 Bit test (1 byte length) 16 ● ●
BTSTW 302 Bit test (2 byte length) 16 ● ●
BTSTD 303 Bit test (4 byte length) 16 ● ●
BTSTN 304 Bit test (Arbitrary byte length) 20 ● ●
BPOSB 305 Bit search (1 byte length) 12 ● ●
BPOSW 306 Bit search (2 byte length) 12 ● ●
BPOSD 307 Bit search (4 byte length) 12 ● ●
BPOSN 308 Bit search (Arbitrary byte length) 16 ● ●
BCNTB 309 Bit count (1 byte length) 12 ● ●
BCNTW 310 Bit count (2 byte length) 12 ● ●
BCNTD 311 Bit count (4 byte length) 12 ● ●
BCNTN 312 Bit count (Arbitrary byte length) 16 ● ●
TBCDB 313 Binary to BCD conversion (1 byte length) 16 ● ●
TBCDW 314 Binary to BCD conversion (2 byte length) 16 ● ●
TBCDD 315 Binary to BCD conversion (4 byte length) 16 ● ●
FBCDB 316 BCD to Binary conversion (1 byte length) 16 ● ●
FBCDW 317 BCD to Binary conversion (2 byte length) 16 ● ●
FBCDD 318 BCD to Binary conversion (4 byte length) 16 ● ●
ADDSB 319 Addition (1 byte length) 20 ● ●
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
- 90 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.1.9 (f) Functional instruction list (arranged in sequence of SUB No.) (6)
Required
Instruction SUB memory 1st to 5th DCSPMC
Processing
name No. size PMC (Note1)
(byte)
ADDSW 320 Addition (2 byte length) 20 ● ●
ADDSD 321 Addition (4 byte length) 20 ● ●
SUBSB 322 Subtraction (1 byte length) 20 ● ●
SUBSW 323 Subtraction (2 byte length) 20 ● ●
SUBSD 324 Subtraction (3 byte length) 20 ● ●
MULSB 325 Multiplication (1 byte length) 20 ● ●
MULSW 326 Multiplication (2 byte length) 20 ● ●
MULSD 327 Multiplication (4 byte length) 20 ● ●
DIVSB 328 Division (1 byte length) 20 ● ●
DIVSW 329 Division (2 byte length) 20 ● ●
DIVSD 330 Division (4 byte length) 20 ● ●
MODSB 331 Remainder (1 byte length) 20 ● ●
MODSW 332 Remainder (2 byte length) 20 ● ●
MODSD 333 Remainder (4 byte length) 20 ● ●
INCSB 334 Increment (1 byte length) 8 ● ●
INCSW 335 Increment (2 byte length) 8 ● ●
INCSD 336 Increment (4 byte length) 8 ● ●
DECSB 337 Decrement (1 byte length) 8 ● ●
DECSW 338 Decrement (2 byte length) 8 ● ●
DECSD 339 Decrement (4 byte length) 8 ● ●
ABSSB 340 Absolute value (1 byte length) 16 ● ●
ABSSW 341 Absolute value (2 byte length) 16 ● ●
ABSSD 342 Absolute value (4 byte length) 16 ● ●
NEGSB 343 Sign inversion (1 byte length) 16 ● ●
NEGSW 344 Sign inversion (2 byte length) 16 ● ●
NEGSD 345 Sign inversion (4 byte length) 16 ● ●
({: Usable. ●: The Extended PMC Ladder Instruction Function. ∆: Executed as NOP instruction (Note 2). ×: Unusable.)
NOTE
1 This term stands for the Dual Check Safety PMC (option).
2 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).
3 The 3rd level sequence part is available for the compatibility with programs for
conventional models. However, the execution cycle period for processing the 3rd
level sequence part is not guaranteed. See Section 1.4.3 "Processing priority".
4 This instruction is intended to maintain source-level compatibility with programs for
other models. A program can be created on level 3, but it is not executed.
5 Memory size increases by the number of data tables to be used. In the COD
instruction, CODB instruction (1byte length), CODB instruction (2byte length), or
DISP instruction, 2 bytes are added for each data. And, when the number of data is
odd, 2 bytes are added moreover. In the CODB instruction, 4 bytes are added for
each data.
- 91 -
2.PMC SPECIFICATIONS B-64513EN/03
2.2.1 Addresses for Signals Between the PMC and CNC (F, G)
These addresses are interface areas between PMC and CNC. Refer to the applicable CNC connection
manual for details.
NOTE
The PMC paths corresponding to each CNC path to be controlled can be set. As
for details, refer to “CNC Parameters Related to the PMCs” in subsection “2.4.3”.
- 92 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
X/Y addresses can be also used for network devices. As for details, refer to “The
input/output address used by network device” in subsection “2.4.3”.
- 93 -
2.PMC SPECIFICATIONS B-64513EN/03
Address
Signal name Symbol
NC Path 1 NC Path 2 NC Path 3
Deceleration signal for 5th-axis reference
*DEC5 X9.4 X7.4 X10.4
position return
Deceleration signal for 6th-axis reference
*DEC6 X9.5 X7.5 X10.5
position return
Deceleration signal for 7th-axis reference
*DEC7 X9.6 X7.6 X10.6
position return
Deceleration signal for 8th-axis reference
*DEC8 X9.7 X7.7 X10.7
position return
NOTE
1 If the Series 30i/31i/32i/35i-B, the Power Motion i-A or the Series 0i-F system is
used to control more than one NC path, some NC paths can be grouped to share
data within the 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 a 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 individual address with each NC path. For example,
in the following configuration, X11.7 does not mean “the skip signal” in first
PMCs. In second PMCs, it means “the skip signal”.
CNC PMC
Path 3
- 94 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
This address is not synchronized in the 2nd level ladder. A value of a signal in
this address may change during the execution of 2nd level ladder same as 1st
and 3rd level ladder when it is written by other program (Ex. Network function, C
language executor).
Table 2.2.4
Address of System Relay
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
System relays R9000 to R9499 R9000 to R9499 Z0 to Z499 Z0 to Z499 R9000 to R9499
NOTE
1 The address conversion of the System Relays is necessary when a Sequence
Program is changed between PMC Memory-A/B and PMC Memory-C/D.
(1) R9000, Z0 (operation output register for the ADDB, SUBB, MULB, DIVB, and COMPB functional
instructions)
7 6 5 4 3 2 1 0
R9000
Z0
The result is 0.
The result is negative.
The result has overflowed.
- 95 -
2.PMC SPECIFICATIONS B-64513EN/03
(2) R9000, Z0 (error output for the EXIN, WINDR, and WINDW functional instructions)
7 6 5 4 3 2 1 0
R9000
Z0
The result is erroneous.
(3) R9002 to R9005, Z2 to Z5 (operation output registers for the DIVB functional instruction)
The remainder of a division performed with the DIVB functional instruction is output to these
addresses.
System timers
Four signals can be used as system timers.
Their specifications are as follows.
(1) The case that the 1st level execution cycle is 1, 2 or 4ms.
7 6 5 4 3 2 1 0
R9091
Z91
R9091.5
Z91.5
100 ms 100 ms
200 ms
R9091.6
Z91.6
500 ms 500 ms
1 sec
- 96 -
B-64513EN/03 2.PMC SPECIFICATIONS
(2) The case that the 1st level execution cycle is 8ms.
7 6 5 4 3 2 1 0
R9091
Z91
Constantly ON signal
200 ms cyclic signal
(104 ms ON and 96 ms OFF)
1 sec cyclic signal
(504 ms ON and 496 ms OFF)
R9091.5
Z91.5
96 ms 104 ms
200 ms
R9091.6
Z91.6
496 ms 504 ms
1 sec
CAUTION
1 Each signal is initially OFF.
2 The signals R9091.0, R9091.1, Z91.0 and Z91.1 are set at the beginning of the
1st level of ladder on every cycle.
3 Each pulse signal (ON-OFF signal) may have an error of ±1, 2, 4 or 8 ms (ladder
execution cycle).
- 97 -
2.PMC SPECIFICATIONS B-64513EN/03
7 6 5 4 3 2 1 0
R9015
Z15
Ladder execution start signal
(can be referenced only from the Ladder
program)
Ladder stop signal
(can be referenced only from the Ladder
program)
7 6 5 4 3 2 1 0
R9091
Z91
1st Ladder execution status signal
0 : Ladder at a stop
1 : Ladder being executed
2nd Ladder execution status signal
0 : Ladder at a stop
1 : Ladder being executed
3rd Ladder execution status signal
0 : Ladder at a stop
1 : Ladder being executed
7 6 5 4 3 2 1 0
R9093
Z93
4th Ladder execution status signal
0 : Ladder at a stop
1 : Ladder being executed
5th Ladder execution status signal
0 : Ladder at a stop
1 : Ladder being executed
RUN
Execution status of Ladder
STOP
- 98 -
B-64513EN/03 2.PMC SPECIFICATIONS
(1) Ladder execution start signal (R9015.0, Z15.0)
When directed to start ladder program execution, the system software starts executing the ladder
program, turns on this signal, and keeps it on for the first one scan cycle. Like R9000 and Z0, this
signal indicates the status of ladder execution corresponding to each ladder execution level. For
this reason, this signal is securely turned on for the first one scan cycle after the start of execution no
matter on what execution level the signal is referenced. This signal is turned on when:
(a) Ladder execution begins at power turn-on.
(b) The [RUN] soft key on the PMC screen is pressed.
(c) FANUC LADDER-III or a ladder editing package directs the ladder to start.
Referring this signal in a ladder program can detect when ladder execution has begun, making it
possible to program preprocessing related to ladder execution.
CAUTION
This signal can be referred only from the ladder program. Do not refer to it from
an external system or program, such as the network board, the C Language
executor program or the PMC signal trace function, as it indicates the status of
ladder execution separately for each ladder execution level.
CAUTION
1 This signal can be referred only from the ladder program. Do not refer to it from
an external system or program, such as the network board, the C Language
executor program or the PMC signal trace function, 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.
NOTE
This signal is not turned off in above-mentioned (c) and (d) on the setting that a
ladder program can be updated without stopping the ladder program (CNC
parameter No.11933#5 = 1). For details of the parameter, refer to “2.4.3”.
- 99 -
2.PMC SPECIFICATIONS B-64513EN/03
R9015.1
(Z15.1)
SUB65 Pxxxx
CALL
(b) Example of forcibly turning off an output signal programmed on the first ladder level just
before the ladder stops
R9015.1
Input (Z15.1) Output
CNC Unit
Y0.0
R9015.1
Y0.0 I/O Link slave
(Z15.1)
I/O Link
- 100 -
B-64513EN/03 2.PMC SPECIFICATIONS
Execution of
ladder program
before updating
Execution of
ladder program
after updating
Time
One ladder Updating
scan cycle
Ladder update 1
notification signal
(R9015.2、Z15.2)
0
When the updating of a ladder program is directed, the system software turns on the ladder update
notification signal and keeps it on until the updating of the ladder program is completed. The signal is
turned on in the following case.
(a) A ladder program is edited on the PMC ladder editing function.
(b) A ladder program is edited on the online editing function of FANUC LADDER-III or Ladder
Editing Package.
When CNC parameter No.11933#5 = 1, the setting that a ladder program can be updated without stopping
the ladder program, this signal is also turned on in the following case.
(c) On the PMC DATA I/O screen, the ladder program is loaded to the PMC.
(d) FANUC LADDER-III or Ladder Editing Package stores a ladder program to the PMC.
To refer to the signal in a ladder program, the update timing of the ladder program can be detected.
Therefore, you can program some procedures which are necessary to update the ladder program. For
example, you can program a procedure which makes the machine a status of the emergency stop.
CAUTION
The signal can be referred only from the ladder program. Do not refer to it from an
external system or program, such as the network board, the C Language
executor program or the PMC signal trace function, as it indicates the status of
ladder execution separately for each ladder execution level.
- 101 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
1 The period that the signal has being turned on, is not fixed. It depends on the size
of the ladder program, etc.
2 When using the ladder dividing management function, the signal is valid in all the
ladder programs.
3 When using the multi-path PMC function, the signal is valid in only the program of
the PMC path, and invalid in other PMC paths.
(2) DCSPMC
7 6 5 4 3 2 1 0
R9080
Z80
Alarm / warning occurrence state of the DCSPMC
0 : No alarm / warning
1 : Alarm / warning occurs
- 102 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
1 The status alarm is not cleared until you turn off the power.
2 The information output to the system relay area is only one group per a channel.
The group is that the status alarm is most detected first.
3 The address of status alarm is the common address regardless of the PMC path. it
is the same address in all of the PMC paths including the DCSPMC.
- 103 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
1 These addresses are not synchronized in the 2nd level ladder. A value of a signal
in these addresses may change during the execution of 2nd level ladder same as
1st and 3rd level ladder when it is written in other program (Ex. Network function,
C language executor).
2 The extra relay addresses (E) can be optionally configured as nonvolatile.
When they are nonvolatile, turning off the power does not erase the memory
contents.
Table 2.2.5
Address of Extra Relay
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
Extra relays E0 to E9999 E0 to E9999 E0 to E9999 E0 to E9999 -
- 104 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
1 Although an address of odd number can be set to the start address of an extra
relay table, it is not recommended because the functional instructions such as
DSCHB work faster at even addresses than at odd addresses.
2 Extra relays (E) can be included only in PMC parameter output from 1st PMC. If
you set 1 to the system keep relay K906.3, no information of extra relays is
included in PMC parameter output.
3 You have an option on the format of the extra relays when you include the extra
relays in the PMC parameter output. See “2.3.2 PMC Parameter Format” for the
detail of the format of the extra relays.
4 Even if the extra relays are not configured as non-volatile memory, their control
data are non-volatile.
#7 #6 #5 #4 #3 #2 #1 #0
SIGN HEX MASK COD
COD
0: Data in this table are displayed in binary format.
1: Data in this table are displayed in BCD format.
MASK
0: The contents of this table are not protected.
1: The contents of this table are protected.
HEX
0: Data in this table are displayed in binary or BCD format. (COD is effective)
1: Data in this table are displayed in hexadecimal format.
SIGN
0: Data in this table are displayed as signed numbers.
1: Data in this table are displayed as unsigned numbers.
NOTE
1 The setting of COD (bit 0) is effective when HEX (bit 2) = 0.
2 The setting of SIGN (bit 3) is effective when COD (bit 0) = 0 and HEX (bit 2) = 0.
- 105 -
2.PMC SPECIFICATIONS B-64513EN/03
Table 2.2.6
Address of Message display
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
Message display request A0 to A249 A0 to A249 A0 to A499 A0 to A749 -
(points) (2,000 points) (2,000 points) (4,000 points) (6,000 points)
Message display status A9000 to A9249 A9000 to A9249 A9000 to A9499 A9000 to A9749 -
Table 2.2.7
Address of variable timer
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
Variable timer T0 to T79 T0 to 499 T0 to T999 T0 to T999 T0 to T79
(Number of timers) (40 pieces) (250 pieces) (500 pieces) (500 pieces) (40 pieces)
precision T9000 to T9079 T9000 to 9499 T0 to T9999 T0 to T9999 T9000 to T9079
- 106 -
B-64513EN/03 2.PMC SPECIFICATIONS
Table 2.2.8
Address of counters
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
Variable counter C0 to C79 C0 to C399 C0 to C799 C0 to C1199 C0 to C79
(Number of counters) (20 pieces) (100 pieces) (200 pieces) (300 pieces) (20 pieces)
Fixed counter C5000 to C5039 C5000 to C5199 C5000 to C5399 C5000 to C5599 C5000 to C5039
(Number of counters) (20 pieces) (100 pieces) (200 pieces) (300 pieces) (20 pieces)
Table 2.2.9
Address of keep relays
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
Keep relays K0 to K19 K0 to K99 K0 to K199 K0 to K299 K0 to K19
#7 #6 #5 #4 #3 #2 #1 #0
K909 MWRTF2 MWRTF
On the KEEP RELAY screen, it is possible to set and display the address of the nonvolatile memory. It
is also possible for a sequence program to read or write the address.
If the power is accidentally turned off when the turret is rotating, the turret stops at an unexpected
position and a mismatch occurs between the current position stored in the memory and the actual turret
position. When the power is resumed and a normal operation begins, the mismatch results in an
incorrect sequence operation.
To prevent such a malfunction, make a check by using nonvolatile memory control in a sequence program
as follows:
(1) Write "1" to MWRTF for the nonvolatile memory control before the turret starts moving.
(2) Start the turret.
(3) After the turret has stopped, reset MWRTF to "0".
(4) If the power is turned off after the turret has started, therefore, MWRTF stays at "1".
(5) When the CNC power is turned on, MWRTF2 is set to "1" automatically if MWRTF is "1", thus
informing the sequence program of the failure.
To sum up, the sequence program performs steps (1) to (4) and checks for an abnormal condition,
using MWRTF2. If an abnormal condition (NWRTF2 = 1) is detected, an alarm is raised to the
operator, using a user-created alarm output program.
- 107 -
2.PMC SPECIFICATIONS B-64513EN/03
(6) Recognizing the alarm, the operator resets MWRTF and MWRTF2 to "0" on the KEEP RELAY
screen.
(7) After making the memory content match the actual turret position, restart operation.
Table 2.2.11
Address of System keep relay
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
System keep relays K900 to K999 K900 to K999 K900 to K999 K900 to K999 K900 to K999
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).
#7 #6 #5 #4 #3 #2 #1 #0
K901 EDTENBL
- 108 -
B-64513EN/03 2.PMC SPECIFICATIONS
#7 #6 #5 #4 #3 #2 #1 #0
K902 PROTPRM HIDEPRM ALLWSTOP FROM-WRT
#7 #6 #5 #4 #3 #2 #1 #0
SYMEX
K903 CLRATVAR CLRFBVAR ASKPASS
DISP
NOTE
To make the setting of K903.1 effective, turn off and on power of the CNC.
NOTE
Refer to “11.1.4 Assignment of FB variable” about address assignment of FB
variable.
- 109 -
2.PMC SPECIFICATIONS B-64513EN/03
CLRATVAR Initialization of the memory area for automatic address assignment at updating sequence
program
0: Not clear the area to which addresses are assigned automatically.
1: Clear the area to which addresses are assigned automatically when changing symbol
data other than FB variable.
NOTE
Refer to “(6) Automatic address assignment at compiling on FANUC LADDER-III”
of “1.2.7 Extension of a symbol and comment” about automatic address
assignment.
#7 #6 #5 #4 #3 #2 #1 #0
EXRELAY
K906 KEEPSYS TRCST EOUTPUT IOLNKCHK IOGRPSEL OVRRID
CTLOUT
NOTE
Using the override function requires setting "Memory write permit" (K900.4).
#7 #6 #5 #4 #3 #2 #1 #0
K907 IOCNFEDT
- 110 -
B-64513EN/03 2.PMC SPECIFICATIONS
#7 #6 #5 #4 #3 #2 #1 #0
EXRELAY LADSET
K909 MWRTF2 MWRTF
SCRENBL INDPNT
EXRELAYSCRENBL
0: Data table screen does not show extra relays.
1: Data table screen shows extra relays also.
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
- 111 -
2.PMC SPECIFICATIONS B-64513EN/03
#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 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
#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
#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
- 112 -
B-64513EN/03 2.PMC SPECIFICATIONS
#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
#7 #6 #5 #4 #3 #2 #1 #0
K928 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
#7 #6 #5 #4 #3 #2 #1 #0
K929 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
#7 #6 #5 #4 #3 #2 #1 #0
K930 Group 23 Group 22 Group 21 Group 20 Group 19 Group 18 Group 17 Group 16
#7 #6 #5 #4 #3 #2 #1 #0
K932 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
#7 #6 #5 #4 #3 #2 #1 #0
K933 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
- 113 -
2.PMC SPECIFICATIONS B-64513EN/03
#7 #6 #5 #4 #3 #2 #1 #0
K934 Group 23 Group 22 Group 21 Group 20 Group 19 Group 18 Group 17 Group 16
#7 #6 #5 #4 #3 #2 #1 #0
K935 REGIODEV SELPMC
Note
1 This soft key is displayed when using ladder dividing management function or
multi-path PMC function.
2 At 8-level protection setting screen, this soft key switches PMC path whether
K935.0=0 or 1.
When inputting PMC path number / divided number and pressing the [SWITCH PMC] soft key, it
becomes the following actions whether K935.0=0 or 1.
Operation Action
Inputting “PMC path number” and pressing It selects specified main ladder of PMC path.
[SWITCH PMC]
Inputting “PMC path number” - “divided It selects specified divided ladder.
number” and pressing [SWITCH PMC]
REGIODEV Register of I/O device configuration. (*) (Available only on 1st PMC)
0: Forbids register of I/O device configuration.
1: Allows register/deletion of I/O device configuration.
- 114 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
These addresses are not synchronized in the 2nd level ladder. A value of a signal
in these addresses may change during the execution of 2nd level ladder same as
1st and 3rd level ladder when it is written in other program (Ex. Network function,
C language executor).
Table 2.2.12
Address of Data table
1st to 5th path PMC
Data kind DCSPMC
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D
Data table D0 to D2999 D0 to D9999 D0 to D19999 D0 to D59999 D0 to D2999
NOTE
The basic nonvolatile area is 10,000bytes. To make a nonvolatile area of D10000
or more, you should specify the option “Nonvolatile PMC Data Table Area
Expansion (40KB)”. Refer to subsection “2.1.3” for details.
- 115 -
2.PMC SPECIFICATIONS B-64513EN/03
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.
#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.
- 116 -
B-64513EN/03 2.PMC SPECIFICATIONS
(iii) Data type
This item specifies the length of data in the data table.
0 : 1 byte long
1 : 2 bytes long
2 : 4 bytes long
3 : 8 bits
(iv) Number of data items
This item specifies the number of data items in the data table.
Intra-table number
Table group 1
(1-byte data)
Table group 2
(2-byte data)
Data in each data table can be 1-, 2, or 4-byte data depending on the data type of the corresponding
table control data.
If the table data is 1-byte data, one intra-table number in the corresponding data table is assigned to
one byte of data. If the table data is 2-byte data, one intra-table number is assigned to two bytes of
data.
NOTE
The sequence program can also read and write the data table.
- 117 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
These interfaces cannot be used in 4th and 5th path PMC.
- 118 -
B-64513EN/03 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.
(Example) If the counter addresses of the PMC are C0 and C1, and the preset value is 1578
To change the lower digit of the preset value to a certain value, using a 1-byte processing instruction
in the sequence program, write the new data by specifying C0 with an output address in the
parameter of a functional instruction.
- 119 -
2.PMC SPECIFICATIONS B-64513EN/03
The data set up or displayed from the KEEP RELAY screen is 8-bit binary data. On the KEEP
RELAY screen, therefore, each of the eighth digits is set or displayed as 0 or 1.
- 120 -
B-64513EN/03 2.PMC SPECIFICATIONS
[Data Contents]
N60xxxx or N600xxxx : parameter number
Specify the sum of the timer address (T) offset and 600000 or 6000000. The number in the
following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC DCSPMC
Memory-A Memory-B Memory-C Memory-D
Timer setting N600000 N600000 N600000 N6000000 N600000
value to to to to to
N600078 N600498 N600998 N6000998 N600078
Timer N609000 N609000 N609000 N6009000 N609000
accuracy to to to to to
N609078 N609498 N609998 N6009998 N609078
- 121 -
2.PMC SPECIFICATIONS B-64513EN/03
The numbers from N609000 mean the timer accuracy. Each value is the following timer
accuracy.
(Example)
N600000 P1; (Timer number 1 T0)
N600002 P20; (Timer number 2 T2)
.
N600498 P32767; (Timer number 250 T498)
[Data Contents]
N61xxxx or N610xxxx; parameter number
Specify the sum of the counter address (C) offset and 610000 or 6100000. The number in
the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC DCSPMC
Memory-A Memory-B Memory-C Memory-D
Variable counter N610000 N610000 N610000 N6100000 N610000
(CTR) to to to to to
N610078 N610398 N610798 N6101198 N610078
Fixed counter N615000 N615000 N615000 N6105000 N615000
(CTRB) to to to to to
N615038 N615198 N615398 N6105598 N615038
(Example)
N610000 P7; (Counter number 1 C0)
N610002 P7; ( C2)
.
- 122 -
B-64513EN/03 2.PMC SPECIFICATIONS
N610396 P9999; (Counter number 100 C396)
N610398 P0; ( C398)
[Data Contents]
N62xxxx or N620xxxx Parameter number
Specify the sum of the keep relay address (K) offset and 620000 or 6200000. The number
in the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC DCSPMC
Memory-A Memory-B Memory-C Memory-D
User area N620000 N620000 N620000 N6200000 N620000
to to to to to
N620019 N620099 N620199 N6200299 N620019
System area N620900 N620900 N620900 N6200900 N620900
to to to to to
N620999 N620999 N620999 N6200999 N620999
(Example)
N620000 P00000000; (K0)
N620001 P11111111; (K1)
.
N620099 P10101010; (K99)
- 123 -
2.PMC SPECIFICATIONS B-64513EN/03
[Data Contents]
N630xxx or N6300xxx Parameter Number
Parameter number
PMC Memory-A,B,C, Contents
PMC Memory-D
DCSPMC
N630000 N6300000 The group number
N630002 N6300002 Parameter of group1
N630003 N6300003 Data type of group 1
N630004 N6300004 Data size of group 1 (byte)
N630006 N6300006 Start address of group 1
N630010 N6300010 Parameter of group2
N630011 N6300011 Data type of group 2
N630012 N6300012 Data size of group 2 (byte)
N630014 N6300014 Start address of group 2
… … …
N630002 + ((n-1)×8) N6300002 + ((n-1)×8) Parameter of group n
N630003 + ((n-1)×8) N6300003 + ((n-1)×8) Data type of group n
N630004 + ((n-1)×8) N6300004 + ((n-1)×8) Data size of group n (byte)
N630006 + ((n-1)×8) N6300006 + ((n-1)×8) Start address of group n
… … …
N630794 N6300794 Parameter of group 100
N630795 N6300795 Data type of group 100
N630796 N6300796 Data size of group 100 (byte)
N630798 N6300798 Start address of group 100
(Example)
N630000 P2;
N630002 P00000000;
N630003 P0;
- 124 -
B-64513EN/03 2.PMC SPECIFICATIONS
N630004 P10;
N630006 P0;
N630010 P00000001;
N630011 P0;
N630012 P10;
N630014 P10;
[Data Contents]
N64xxxx to N65xxxx or N64xxxxx Parameter number
Specify the sum of the data table address (D) offset and 640000 or 6400000. The number
in the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC DCSPMC
Memory-A Memory-B Memory-C Memory-D
Data table N640000 N640000 N640000 N6400000 N640000
to to to to to
N642999 N649999 N659999 N6459999 N642999
(Example)
N640000 P-128;
N640001 P100;
N640002 P0;
.
N640010 P1000;
N640012 P-1;
.
N649992 P50000000;
N649996 P50000000;
In “Byte format”, all extra relays are stored as byte data, and no information of extra relay control
data is included.
- 125 -
2.PMC SPECIFICATIONS B-64513EN/03
In “Table format”, extra relays are stored in the same manner as the data table; they are stored in the
format according to the extra relay control data, and the information of the control data is also
included.
If you choose “No output”, no information about extra relays are included in PMC parameter file.
NOTE
Extra relays (E) can be included only in PMC parameter output from 1st PMC.
[Data Contents]
N69xxxx or N690xxxx Parameter number
Specify the sum of the offset number of the extra relay and 690000 or 6900000. The
number in the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC DCSPMC
Memory-A Memory-B Memory-C Memory-D
Extra relay N690000 N690000 N690000 N6900000 N690000
to to to to to
N699999 N699999 N699999 N6909999 N699999
(Example)
N690000 P-128;
N690001 P100;
・
N699998 P127;
N699999 P0;
%
[Data Contents]
N635xxx or N6305xxx Parameter Number
Parameter number
PMC Memory-A,B,C, Contents
PMC Memory-D
DCSPMC
N635000 N6305000 The group number
N635002 N6305002 Parameter of group1
N635003 N6305003 Data type of group 1
N635004 N6305004 Data size of group 1 (byte)
N635006 N6305006 Start address of group 1
- 126 -
B-64513EN/03 2.PMC SPECIFICATIONS
Parameter number
PMC Memory-A,B,C, Contents
PMC Memory-D
DCSPMC
N635010 N6305010 Parameter of group2
N635011 N6305011 Data type of group 2
N635012 N6305012 Data size of group 2 (byte)
N635014 N6305014 Start address of group 2
… … …
N635002 + ((n-1)×8) N6305002 + ((n-1)×8) Parameter of group n
N635003 + ((n-1)×8) N6305003 + ((n-1)×8) Data type of group n
N635004 + ((n-1)×8) N6305004 + ((n-1)×8) Data size of group n (byte)
N635006 + ((n-1)×8) N6305006 + ((n-1)×8) Start address of group n
… … …
N635794 N6305794 Parameter of group 100
N635795 N6305795 Data type of group 100
N635796 N6305796 Data size of group 100 (byte)
N635798 N6305798 Start address of group 100
(Example)
N635000 P2;
N635002 P00000000;
N635003 P0;
N635004 P10;
N635006 P0;
N635010 P00000001;
N635011 P0;
N635012 P10;
N635014 P10;
- 127 -
2.PMC SPECIFICATIONS B-64513EN/03
[Data Contents]
N69xxxx or N690xxxx Parameter Number
Specify the sum of the offset number of the extra relay and 690000 or 6900000. The
number in the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC DCSPMC
Memory-A Memory-B Memory-C Memory-D
Data table N690000 N690000 N690000 N6900000 N690000
to to to to to
N699999 N699999 N699999 N6909999 N699999
(Example)
N690000 P-128;
N690001 P100;
N690002 P0;
・
N690010 P1000;
N690012 P-1;
・
N699992 P50000000;
N699996 P50000000;
- 128 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
Using the override function requires setting "Override enable" (K906.0).
- 129 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
Using the override function requires setting "Memory write permit" (K900.4).
(18) Selectable I/O Link assignment function: Selecting a valid group: (K920-K927 0:No. 1:Yes.)
This item specifies a group to be enabled or disabled for the selectable I/O Link assignment function
for individual addresses. The default setting is 0 (disable) for all groups.
See subsection 3.2.5 for the selectable I/O Link assignment function.
- 130 -
B-64513EN/03 2.PMC SPECIFICATIONS
See subsection 3.2.5 for explanations about the selectable I/O Link assignment function.
- 131 -
2.PMC SPECIFICATIONS B-64513EN/03
The following table summaries the CNC parameters related to the PMCs.
Table 2.4.3 (a) Summary of the CNC parameters related to the PMCs
No. Use Remarks
24 Setting up communication with ladder development tools PMC online connection function
11900 to 11904 Execution sequence for multiple PMCs 1st to 5th path PMC
11905 to 11909 Percent execution time for multiple PMCs 1st to 5th path PMC
11910 to 11912 I/O Link input/output address Channels 1 to 3
11914 (Note) 2nd, 3rd level execution cycle of ladder Common to 1st to 5th path PMC
11915 to 11917 Input/output address of dual assignment of I/O Link Second Block of Channels 1 to 3
channel
11920 to 11929 CNC interface control address CNC10 system
11930 Ladder 1st level execution period 1st to 5th path PMC
11931#0 Run/stop of Ladder 1st to 5th path PMC
11931#1 The display number of external alarms/operator External data input, External
messages message
11931#5 Ladder dividing management function Common to 1st to 5th path PMC
11931#7 Clearing of PMC nonvolatile memory
11932 Multi path PMC interface
11933#0,#1 I/O Link communication method Channel 1, 2
11933#5 Running/stopping of ladder program when updating
11936 The number of PMC paths
11937 to 11939 The input / output address used by network devices 1st to 5 th path PMC,
X/Y0 to 727
11940 to 11944 PMC Memory Type 1st to 5th path PMC
11945 (Note) The PMC path that the 1st level execution cycle in 1ms or 1st to 5th path PMC
2ms is applied when using multi-path PMC function.
11946 (Note) The divided ladder that the 1st level execution cycle in Divided ladder program 1 to 99
1ms or 2ms is applied when using ladder dividing
management function.
NOTE
These parameters are unavailable for the series 0i-F.
- 132 -
B-64513EN/03 2.PMC SPECIFICATIONS
Communication parameters
Setting up communication with ladder development tools
00024
(FANUC LADDER-III and ladder editing package)
This item specifies whether to enable/disable the PMC online connection function.
Entering this parameter makes it possible to enable/disable the PMC online setup function
without displaying the PMC online setup screen.
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.
- 133 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
This item specifies the execution sequence for each PMC if the multi-path PMC function
is used.
Setting PMC
0 Standard setting (see below)
1 1st PMC
2 2nd PMC
3 3rd PMC
4 4th PMC
5 5th PMC
When all these parameters are 0, the standard execution sequence setting shown below is
used.
1st PMC 2nd PMC 3rd PMC 4th PMC 5th 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.
- 134 -
B-64513EN/03 2.PMC SPECIFICATIONS
11905 Percent execution time for the PMC having the first priority in execution sequence
11906 Percent execution time for the PMC having the second priority in execution sequence
11907 Percent execution time for the PMC having the third priority in execution sequence
11908 Percent execution time for the PMC having the fourth priority in execution sequence
11909 Percent execution time for the PMC having the fifth priority in execution 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-path 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
The number PMC path PMC path PMC path PMC path PMC path
of PMC path of the 1st order of the 2nd order of the 3rd order of the 4th order of the 5th order
of execution of execution of execution of execution of execution
1 path 100%
2 paths 85% 15%
3 paths 75% 15% 10%
4 paths 70% 10% 10% 10%
5 paths 60% 10% 10% 10% 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 third PMC,
the scan time of both programs may not correspond because of
changing of the waiting time by execution timing.
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.
4 When using the Common PMC Memory mode, the execution time
of those PMCs are merged, and programs are sequentially
executed within the merged time.
- 135 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
- 136 -
B-64513EN/03 2.PMC SPECIFICATIONS
If all these parameters are 0, all channels are assigned to the 1st 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
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 I/O Link 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.
NOTE
1 Once this parameter is set, it is necessary to turn off and on the
power.
2 This parameter is unavailable for the series 0i-F.
When using the 1st level of ladder execution cycle in 2ms, the execution cycle of the
following ladder programs is specified.
- 2nd level ladder of all
- 3rd level ladder of all
- The 1st level of ladder when using the Ladder Dividing Management Function or
Multi-path PMC Function and not using the 1st level of ladder execution cycle in 2ms.
Setting Meaning
2 Executed at a 2ms cycle.
4 Executed at a 4ms cycle.
0 Executed at a standard (4ms) cycle.
CAUTION
1 Setting this parameter to a value other than 0, 2, or 4 results in the
PMC alarm "ER55 LADDER EXECUTION CYCLE SETTING
ERROR", and all PMCs are not executed.
- 137 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
If these parameters are 0, the dual assignment of I/O link channel is invalid.
CAUTION
1 If any of these parameters and parameter no. 11910 to 11913 is
nonzero, a duplicate number results in the PMC alarm "ER52 I/O
Link CHANNEL ASSIGNMENT ERROR", thus disabling all the
PMCs from starting.
2 If the second block of channel 3 is used in the 1st to 5th path PMC
when the first block of channel 3 is used in DCS PMC, do not assign
to the safe-related I/O signals of DCS function.
- 138 -
B-64513EN/03 2.PMC SPECIFICATIONS
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
- 139 -
2.PMC SPECIFICATIONS B-64513EN/03
If all these parameters are 0, the standard setting is used, that is, "CNC F/G address = 1st
PMC F/G address" is satisfied.
- 140 -
B-64513EN/03 2.PMC SPECIFICATIONS
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.
NOTE
Once this parameter is re-set, it is necessary to turn the power off
and on again.
Setting Meaning
1 (Note2,3) Executed at a 1ms cycle.
2 (Note2,3) Executed at a 2ms cycle.
4 Executed at a 4-msec interval.
0, 8 Executed at an 8-msec interval.
- 141 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
1 The level 1 execution period cannot be set for each PMC path
independently.
2 Refer to "1.8” when this parameter is set to a value “1” or “2”.
3 The value “1” and “2” are unavailable for the series 0i-F.
CAUTION
1 Setting this parameter to a value other than 0,1,2,4, or 8 results in
the PMC alarm "ER55 LEVEL1 EXECUTION CYCLE ERROR", and
all PMCs are not executed.
NOTE
1 Once this parameters is re-set, it is necessary to turn the power off
and on again.
2 When using the Common PMC Memory mode, those programs are
started or stopped together regardless of this parameter.
#1 M16 For the external data input function or the external message function, the maximum
number of the external alarm messages and the external operator’s messages which can be
displayed is as follows:
0: 4
1: 16
NOTE
If this parameter changed, it is necessary to turn the power off and
on again. When setting to “0” in this parameter, the divided ladder
programs in the flash ROM are ignored and only main ladder
program is executed and displayed.
#7 NMC When the PMC alarm "ER09 PMC LABEL CHECK ERROR" occurs, the nonvolatile
memory of PMC is cleared by:
0: Turning on power of CNC with pressing "O" and "Z" MDI keys
1: Turning on power of CNC without any operation
- 142 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
Set NMC = 0 generally.
If you change some PMC setting, such as number of PMC paths,
PMC memory type, etc., the PMC alarm "ER09 PMC LABEL
CHECK ERROR" occurs and nonvolatile memory of PMC have to
be cleared. To clear the nonvolatile memory of PMC, you have to
turn on power of CNC with pressing "O" and "Z" MDI keys generally.
If NMC = 1, the nonvolatile memory of PMC is cleared automatically
at the turning on power of CNC when the PMC alarm "ER09"
occurs. Note that the setting NMC = 1 may cause undesirable clear
of nonvolatile memory of PMC by unintended change of PMC
setting.
NOTE
Once this parameters is re-set, it is necessary to turn the power off
and on again.
Setting Meaning
0 Not use the Multi-path PMC interface
1 Use the Multi-path PMC interface between 1ST and 2ND PMC.
2 Use the Multi-path PMC interface between 1ST and 3RD PMC.
3 Use the Multi-path PMC interface between 2ND and 3RD PMC.
CAUTION
When you set an inappropriate value to this parameter, the PMC
alarm "ER57 MULTI-PATH PMC I/F ASSIGNMENT ERROR"
occurs and all PMC paths are stopped.
If the PMC path specified by this parameter is not available, the
PMC alarm "ER57 MULTI-PATH PMC I/F ASSIGNMENT ERROR"
also occurs and all PMC paths are stopped.
NOTE
When using the Common PMC Memory mode, this function is
unavailable between those PMCs.
- 143 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
Once these parameters are re-set, it is necessary to turn the power
off and on again.
NOTE
1 When you set the channel to “use I/O Link”, set the parameter
no.11910 to 11912, also.
2 For the series 0i-F, the default value of these parameters is “1”.
#5 SRL When reading a ladder program in the I/O screen or by other operations:
0 : The execution of the ladder program is stopped automatically.
1 : The execution of the ladder program is not stopped. The ladder program is exchanged
and running continuously after the completion of reading of the ladder program.
NOTE
1 When you set the channel to “use I/O Link”, set the parameter
no.11910 to 11912, also.
2 For the series 0i-F, the default value of these parameters is “1”.
NOTE
Once this parameter is re-set, it is necessary to turn the power off
and on again.
This item specifies the number of PMC paths within the option of multi-path PMC
function. When the value is 0 or out of valid data range, all of PMC paths which is
specified by a multi-path PMC option is effective.
- 144 -
B-64513EN/03 2.PMC SPECIFICATIONS
#7 #6 #5 #4 #3 #2 #1 #0
11938 P44 P43 P42 P41 P34 P33 P32 P31
- 145 -
2.PMC SPECIFICATIONS B-64513EN/03
#7 #6 #5 #4 #3 #2 #1 #0
11939 P54 P53 P52 P51
- 146 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
1 Once these parameters are set, it is necessary to turn off and on the power.
2 This parameter should be set only for the X /Y address area to which the network
device is assigned, because this parameter may affect the ladder execution
performance.
3 Network devices cannot be assigned to the X/Y address area to which any I/O
Link and I/O Link i are assigned.
4 In case of using I/O Link i, assign network devices to the X/Y address area to
which any I/O Link i devices are not assigned, then set this parameter for
corresponding area.
5 In case of using I/O Link and the parameter No.11910-11912 are set to 0 (default
setting), I/O Link devices are assigned to X0-X127/Y0-Y127,
X200-X327/Y200-Y327 and X400-X527/Y400-Y527 area of 1st PMC path. In this
case for 1st PMC path, network devices can only be assigned to
X600-X727/Y600-Y727 area.
If all parameters are not set to 0, network devices can be assigned to the X/Y
address area to which any I/O Link channels are not assigned, and set this
parameter for corresponding area accordingly.
Example) When I/O Link channel 1 is assigned to X0-X127/Y0-Y127 of 1st PMC
path, and network device can be assigned to X200-327/Y200-327,
set the parameter No.11910=100, No.11911=0, No.11912=0, No.11937#1=1.
NOTE
Once this parameters is re-set, it is necessary to turn the power off
and on again.
Select a PMC Memory Type of each PMC path. Refer to "Table 2.1.1 Basic specification
of each PMC Memory Type" for details of each PMC Memory Type.
Setting Meaning
0 Use standard setting of PMC Memory Type.
1 Use PMC Memory-A.
2 Use PMC Memory-B.
3 Use PMC Memory-C.
4 Use PMC Memory-D.
- 147 -
2.PMC SPECIFICATIONS B-64513EN/03
Setting Meaning
-1 The 2nd to 5th paths PMC share the PMC Memory with 1st path PMC.
The following is the selectable PMC memory types in each PMC path.
CAUTION
1 Setting an invalid value to this parameter results in the PMC alarm
"ER58 PMC MEMORY TYPE SETTING ERROR" and all sequence
programs for each PMC will not be started.
2 PMC nonvolatile memory must be initialized after changing PMC
Memory Type. Therefore, make a backup of PMC parameter before
changing PMC Memory Type. Refer to the "2.7 DATA BACKED UP
BY THE BATTERY" of PMC Programming Manual about the
operation of initializing PMC nonvolatile memory.
NOTE
1 To use all data table area as nonvolatile memory with PMC
Memory-C/D, specify the option "Nonvolatile PMC data table area
expansion (40KB)". If this option does not be specified, the
expanded data table area (D10000 or more) does not keep the
memory after rebooting CNC.
The PMC path that the 1st level execution cycle in 1ms or 2ms is applied when
using multi-path PMC function
11945 The PMC path that the 1st level execution cycle in 1ms or 2ms is applied
when using multi-path PMC function
NOTE
1 Once this parameter is set, it is necessary to turn off and on the
power.
2 This parameter is unavailable for the series 0i-F.
When using the 1st level execution cycle in 1ms, 2ms and the Multi-path PMC Function,
the PMC path that 1st level of ladder executed in 1ms or 2ms cycle is specified.
If 0 is set for this parameter, the 1st path PMC is selected.
- 148 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
1 Refer to "3 The 1st level execution cycles of ladder in 1ms/2ms" of
this document about operation of the Ladder 1st level execution
cycle in 1ms or 2ms.
2 When you use the ladder dividing management function, set CNC
parameter No.11946.
CAUTION
Setting this parameter to an invalid value results in the PMC alarm
"ER55 LADDER EXECUTION CYCLE SETTING ERROR", and all
PMCs are not executed.
The divided ladder that the 1st level execution cycle in 1ms or 2ms is applied when
using ladder dividing management function
11946 The divided ladder that the 1st level execution cycle in 1ms or 2ms is applied
when using ladder dividing management function
NOTE
1 Once this parameter is set, it is necessary to turn off and on the
power.
2 This parameter is unavailable for the series 0i-F.
When using the 1st level execution cycle in 1ms, 2ms and the ladder dividing
management function, the divided ladder (or main ladder program) that 1st level of ladder
executed in 1ms or 2ms cycle is specified.
If 0 is set for this parameter, the main ladder program is selected.
NOTE
1 Refer to "1.8” for operation of the Ladder 1st level execution cycle in
1ms or 2ms.
2 When you use the multi-path PMC function, set CNC parameter
No.11945.
CAUTION
Setting this parameter to an invalid value results in the PMC alarm
"ER55 LADDER EXECUTION CYCLE SETTING ERROR", and all
PMCs are not executed.
- 149 -
2.PMC SPECIFICATIONS B-64513EN/03
WARNING
A little difference of execution timing may exist between PMC Memory Types.
Therefore, you should check again whether the program works correctly after
changing the PMC Memory Types even if the program worked fine before
changing the PMC Memory Type.
WARNING
A little difference of execution timing may exist between PMC Memory Types.
Therefore, you should check again whether the program works correctly after
changing the PMC Memory Types even if the program worked fine before
changing the PMC Memory Type.
CAUTION
1 In the PMC Memory-C or PMC Memory-D, the System Relay is changed to
Z0-Z499 from R9000-R9499 because the size of Internal Relay (R Address) is
expanded.
2 In the PMC Memory-C or PMC Memory-D, the system used area increases 8KB
from PMC Memory-B. Therefore, available memory size for Symbol, Comment
and Message data is smaller than the PMC Memory-B. If the program overflowed
by converting PMC Memory Type, decrease the size of Symbol, Comment or
Message data, or upgrade the Ladder step option to larger size.
- 150 -
B-64513EN/03 2.PMC SPECIFICATIONS
WARNING
A little difference of execution timing may exist between PMC Memory Types.
Therefore, you should check again whether the program works correctly after
changing the PMC Memory Types even if the program worked fine before
changing the PMC Memory Types.
- 151 -
2.PMC SPECIFICATIONS B-64513EN/03
- 152 -
B-64513EN/03 2.PMC SPECIFICATIONS
(1) In case of PMC-SB7 and PMC-SA1, the first level execution period is fixed at 8 msec. In case of the
series 30i/31i/32i/35i-B PMC, it can be switched between 4 and 8 msec, using a CNC parameter.
(2) In case of PMC-SB7, the basic instruction execution speed is 33 ns/step. In case of PMC-SA1, the
basic instruction execution speed is 5.0μs/step. In case of the series 30i/31i/32i/35i-B PMC, it is
9.1ns/step. The execution speed of functional instructions becomes fast.
(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, some functional instructions and symbol/comment are changed. Generally,
the program size of the series 30i/31i/32i/35i-B PMC becomes bigger than one for PMC-SB7 even if
- 153 -
2.PMC SPECIFICATIONS B-64513EN/03
the same source program is converted. If the program size exceeds the capacity of the flash ROM,
change the ladder step option or reduce the symbol and comment.
(5) For the PMC-SB7 and PMC-SA1, the timer precision defined with the TMR functional instruction is
fixed at a certain value. For the series 30i/31i/32i/35i-B PMC, the timer precision can be set up for
each timer number separately. See Subsection 4.3.1 for details.
(6) The nonvolatile memory control keep relay (MWRTF and MWRTF2) has been changed from K16
to K909.
(7) In the PMC-SA1 and loader control PMCs, the keep relay system area has been changed from "K17
to K20" to "K900 to K999".
(8) Window function "Reading diagnosis data" is a Low-speed response type.
(9) When using Window function "No.30 Reading the servo delay for controlled axes" with the data
number N=0, the data is read with input unit. When using the function with the data number N=1,
the data is read with detection unit. On the series 16i/18i/21i-B, the data is always read with
detection unit.
(10) When using Window function "No.31 Reading the acceleration / deceleration delay on controlled
axes" with the data number N=0, the data is read with input unit. When using the function with the
data number N=1, the data is read with detection unit. On the series 16i/18i/21i-B, the data is always
read with machine unit.
(11) A part of window function for PMC-MODEL SB7 and SA1 is not supported. See “5 Window
function” for available window function.
(12) The contents of the completion codes for some window functions are changed. See “5 Window
function” for the completion codes.
(13) The MMCWR, MMCWW, and FNC90 to FNC97 functional instructions are treated as a NOP.
(14) Programs can be created on the third level because of program compatibility. The operations on
the third level are not guaranteed with respect to timing, however. Use only the first and second
levels in programming.
(15) When setting an illegal value, that is not written in the programming manual, into parameters of
functional instructions, the result may be different from PMC-SB7 and PMC-SA1.
Parameters prepared for conventional PMC models can be loaded to the series 30i/31i/32i/35i-B PMC.
The series 30i/31i/32i/35i-B PMC has a smaller address range than the PMC-SB7 indicated as "Partly
compatible" in Table 2.6.3. Therefore, the parameters prepared for these models can be loaded partly
into the series 30i/31i/32i/35i-B PMC. Any data that does not fit the address range is discarded.
In case of the PMC memory-A of the 2nd to 5th PMC, the address range is a smaller than one of the
PMC-SB7. Therefore, the parameters prepared for these models can be loaded partly into the series
30i/31i/32i/35i-B PMC. Any data that does not fit the address range is discarded.
See Subsection 2.3.2. for the parameter format.
- 154 -
B-64513EN/03 2.PMC SPECIFICATIONS
- 155 -
2.PMC SPECIFICATIONS B-64513EN/03
- 156 -
B-64513EN/03 2.PMC SPECIFICATIONS
(1) In case of PMC-SB5/SB6, the first level execution period is fixed at 8 msec. In case of the series
35i-B PMC, it can be switched between 4 and 8 msec, using a CNC parameter.
(2) In case of PMC-SB5/SB6, the basic instruction execution speed is 85 ns/step. In case of the series
35i-B PMC, it is 9.1ns/step. The execution speed of functional instructions becomes fast.
(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 or F,G signals
The working test of the machine is necessary.
(4) The used size of system, some functional instructions and symbol/comment are changed. Generally,
the program size of the series 35i-B PMC becomes bigger than one for PMC-SB5/SB6 even if the
same source program is converted. If the program size exceeds the capacity of the flash ROM,
change the ladder step option or reduce the symbol and comment.
(5) The functional instruction “DISP” in the PMC-SB5/SB6 is not supported on the series 35i-B PMC.
Convert into the instruction “DISPB”.
(6) The meaning of the following system keep relays is changed for the improvement of some functions.
- Improvement of the signal trace function
Keep relays PMC-SB5/SB6 35i-B PMC
K900.5/K17.5 Signal trace function starts automatically. -
K900.6/K17.6 Signal Analysis function starts automatically. -
K906.5 - Signal trace function for embedded
screen starts automatically.
- Improvement of the programmer protection function
Keep relays PMC-SB5/SB6 35i-B PMC
K900/K17.0 Hide ladder program. The sequence program is inhibited from
being viewed
- Improvement of the I/O Link selectable assignment function
Keep relays PMC-SB5/SB6 35i-B PMC
K904 to K905 Effective group selection -
K920 to K927 - Enable or disable assignment for the
selectable I/O Link assignment function
- 157 -
2.PMC SPECIFICATIONS B-64513EN/03
(8) The built-in I/O card is not supported on the series 35i-B PMC. Use external I/O devices of I/O Link
or I/O Link i.
(9) For the PMC-SB5/SB6, the timer precision defined with the TMR functional instruction is fixed at a
certain value. For the series 35i-B PMC, the timer precision can be set up for each timer number
separately. See Subsection 4.3.1 for details.
(10) The nonvolatile memory control keep relay (MWRTF and MWRTF2) has been changed from K16
to K909.
(11) Window function "Reading diagnosis data" is a Low-speed response type.
(12) When using Window function "No.30 Reading the servo delay for controlled axes" with the data
number N=0, the data is read with input unit. When using the function with the data number N=1,
the data is read with detection unit. On PMC-SB5/SB6, the data is always read with detection unit.
(13) When using Window function "No.31 Reading the acceleration / deceleration delay on controlled
axes" with the data number N=0, the data is read with input unit. When using the function with the
data number N=1, the data is read with detection unit. On PMC-SB5/SB6, the data is always read
with machine unit.
(14) A part of window function for PMC-SB5/SB6 is not supported. See “5 Window function” for
available window function.
(15) The contents of the completion codes for some window functions are changed. See “5 Window
function” for the completion codes.
(16) The MMCWR, MMCWW, and FNC90 to FNC97 functional instructions are treated as a NOP.
(17) When setting an illegal value, that is not written in the programming manual, into parameters of
functional instructions, the result may be different from PMC-SB5/SB6.
- 158 -
B-64513EN/03 2.PMC SPECIFICATIONS
(1) In case of PMC-SB5/SB6, the first level execution period is fixed at 8 msec. In case of the series
35i-B PMC, it can be switched between 4 and 8 msec, using a CNC parameter.
(2) The interrupt-type PMC function is not supported.
(3) In case of PMC-SB5/SB6, the basic instruction execution speed is 85 ns/step. In case of the series
35i-B PMC, it is 9.1ns/step. The execution speed of functional instructions becomes fast.
(4) 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 or F,G signals
The working test of the machine is necessary.
(5) The used size of system, some functional instructions and symbol/comment are changed. Generally,
the program size of the series 35i-B PMC becomes bigger than one for PMC-SB5/SB6 even if the
same source program is converted. If the program size exceeds the capacity of the flash ROM,
change the ladder step option or reduce the symbol and comment.
(6) The functional instruction “DISP” in the PMC-SB5/SB6 is not supported on the series 35i-B PMC.
Convert into the instruction “DISPB”.
(7) The meaning of the following system keep relays is changed for the improvement of some functions.
- Improvement of the signal trace function
Keep relays PMC-SB5/SB6 35i-B PMC
K900.5/K17.5 Signal trace function starts automatically. -
K900.6/K17.6 Signal Analysis function starts automatically. -
K906.5 - Signal trace function for embedded
screen starts automatically.
- Improvement of the programmer protection function
Keep relays PMC-SB5/SB6 35i-B PMC
K900/K17.0 Hide ladder program. The sequence program is inhibited from
being viewed
- Improvement of the I/O Link selectable assignment function
Keep relays PMC-SB5/SB6 35i-B PMC
K904 to K905 Effective group selection -
K920 to K927 - Enable or disable assignment for the
selectable I/O Link assignment function
- 159 -
2.PMC SPECIFICATIONS B-64513EN/03
(9) The built-in I/O card is not supported on the series 35i-B PMC. Use external I/O devices of I/O Link
or I/O Link i.
(10) The slave function of I/O Link is not supported. For communication with CNC, use I/O Link
connection unit or Fl-net.
(11) For the PMC-SB5/SB6, the timer precision defined with the TMR functional instruction is fixed at a
certain value. For the series 35i-B PMC, the timer precision can be set up for each timer number
separately. See Subsection 4.3.1 for details.
(12) The functional instruction PSGNL and PSGN2 do not support the actual position load function of
absolute position detector.
(13) The nonvolatile memory control keep relay (MWRTF and MWRTF2) has been changed from K16
to K909.
(14) Window function "Reading diagnosis data" is a Low-speed response type.
(15) When using Window function "No.30 Reading the servo delay for controlled axes" with the data
number N=0, the data is read with input unit. When using the function with the data number N=1,
the data is read with detection unit. On PMC-SB5/SB6, the data is always read with detection unit.
(16) When using Window function "No.31 Reading the acceleration / deceleration delay on controlled
axes" with the data number N=0, the data is read with input unit. When using the function with the
data number N=1, the data is read with detection unit. On PMC-SB5/SB6, the data is always read
with machine unit.
(17) A part of window function for PMC-SB5/SB6 is not supported. See “3.4 Window function” for
available window function.
(18) The contents of the completion codes for some window functions are changed. See “3.4 Window
function” for the completion codes.
(19) The MMCWR, MMCWW, and FNC90 to FNC97 functional instructions are treated as a NOP.
- 160 -
B-64513EN/03 2.PMC SPECIFICATIONS
- 161 -
2.PMC SPECIFICATIONS B-64513EN/03
FANUC LADDER-III is used to convert a sequence program of other PMC models to the one of the
series 30i/31i/32i/35i-B, 0i-F PMC.
Changing PMC model is possible easily with using the "PMC Type changed and save" function of
FANUC LADDER-III.
i) Activate FANUC LADDER-III, and open the original ladder program for PMC-SB7.
ii) Select [File] - [PMC Type changed and save].
iii) Input the destination ladder program name, and select PMC Type, PMC Path and PMC Memory,
and press the [Ok] button.
NOTE
For detailed operation, see the section "3.18 PMC TYPE CHANGED AND SAVE"
of "FANUC LADDER-III OPERATOR'S MANUAL(B-66234EN)".
ii) Change the system parameters in the mnemonic file for PMC-SB7 by text editor. (“4 PMC-SB7” ->
“4 30i-B PMC”)
If the mnemonic file has insufficient parameters for the first PMC of the series 30i-B from
PMC-SB7, the initial values are set with conversion for the source program.
The mnemonic file format of the system parameter for the first PMC of the series 30i-B is as
follows.
- 162 -
B-64513EN/03 2.PMC SPECIFICATIONS
%@0
2 BINARY 2: Counter type (BINARY or BCD)
3 NO 3: Operator panel (YES or NO)
4 30i-B PMC 4: PMC type (30i-B 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 the first PMC of the series 30i-B by FANUC LADDER-III.
iv) Convert the mnemonic file to the source program.([Tool] -> [Mnemonic Convert])
NOTE
For detailed operation, see the section "11.19 HOW TO CONVERT FROM
CONVENTIONAL MODEL" of "FANUC LADDER-III OPERATOR'S MANUAL
(B-66234EN)".
- 163 -
2.PMC SPECIFICATIONS B-64513EN/03
Step 1) At first, prepare a ladder program. The message data in the ladder program must have alarm
numbers associated.
Step 2) Prepare a mnemonic file of multi-language message data. The mnemonic file is a text file,
and can be created and edited by some text editor application on PC. The alarm numbers in
the mnemonic file must correspond with the alarm numbers in the message data of the ladder
program.
Step 3) Make the memory card format file of the ladder program by compile process on FANUC
LADDER-III as usual.
Step 4) Make the memory card format file of the multi-language message data using “Multi-language
PMC Message Creation Tool” included in FANUC LADDER-III which supports this function.
Step 5) Store these memory card format files created in step 3 and 4. You can use Boot Menu to store
them directly into Flash ROM, or you can use PMC I/O screen to read them into the memory,
and then write them into Flash ROM.
You can store two or more language sets of messages into a multi-language message data file. And you
can prepare two or more multi-language message data files to enable switching the available language of
the messages by altering the message file in CNC afterwards.
- 164 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
1 Message data for multi-language display cannot be created, browsed, or edited
on the CNC screen. To create or edit the message data, FANUC LADDER-III is
required.
2 If the ladder program uses the extended symbol and comment feature, you can
use symbols in multi-language message data instead of “A” address notation.
Otherwise, you have to use “A” address notation only. On the ladder dividing
management function, the symbols defined in main ladder program can be used
for the message data for multi-language display.
3 For instructions of FANUC LADDER-III and file format of multi-language message
data mnemonic file, refer to the following manual:
Manual title Drawing No.
FANUC LADDER-III Operator's Manual B-66234EN
Outline of the process flow from data creation to display them with PMC message multi-language display
function
Message (Standard)
Message Japanese ALM1001 “1001 ”
ALM1001 “1001 E.STOP” display/editor
screen German ALM1001 “1001 E.STöP”
Step 1
Message
screen
- 165 -
2.PMC SPECIFICATIONS B-64513EN/03
NOTE
1 For the language ID, refer to "APPENDIX B. LANGUAGE ID TABLE".
2 The message data, in which unsupported language ID is specified, is not
displayed.
To display messages of multi-language message data, alarm numbers at least have to be defined at the
corresponding entries in ordinary message data in ladder program. And each alarm number of “A”
address has to have identical alarm number in multi-language message data and in ordinary message data.
If they differ with each other, alarm number of ordinary message data will be used.
Selection of language
If messages of required language are not found in multi-language message data, English messages will be
used instead. If English messages are not found either, messages in ordinary message data in ladder
program will be used.
NOTE
1 A message defined in multi-language message data will not be displayed unless
the corresponding message data in ladder program has valid alarm number.
2 If messages of current language has no corresponding message entry to the bit
of “A” address that has turned on, alarm message without any message will be
issued, with the alarm number that is defined at corresponding entry in ordinary
message data. If ordinary message data has no valid alarm number at the
entry, no alarm is issued.
3 It may take a while to change the language of alarm and operator messages after
changing display language of CNC. The more messages per a language are
defined especially using symbol, the longer time it tends to take to switch them.
- 166 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
To increase the number of displayable messages on the CNC screen, the
relevant NC parameter needs to be set. If the number of displayable messages
is increased by setting the NC parameter, the number of displayable messages
also increases with DISPB instruction, even without using multi-language display
function.
- 167 -
2.PMC SPECIFICATIONS B-64513EN/03
A0
B0
C0
D0
* The character code in the table is for the code format notation. which is enclosed by "@0D" and "01@"
A0
B0
* The character code in the table is for the code format notation which is enclosed by "@0E" and "01@"
60
70
80
90
A0
B0
C0
- 168 -
B-64513EN/03 2.PMC SPECIFICATIONS
Character +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
Code
D0
E0
F0
* The character code in the table is for the code format notation which is enclosed by "@05" and "01@"
NOTE
1 The characters that can be displayed on CNC screen are as same as ones that
can be displayed by conventional DISPB function. If code of a character that
can not be displayed is contained in message data, the character will not be
displayed.
2 For instructions for editing message data on personal computer, refer to the
following manual:
Manual title Drawing No.
FANUC LADDER-III Operator's Manual B-66234EN
NOTE
For instructions for editing message data of Simplified Chinese and Korean
(Hangul characters) on personal computer, refer to the following manual:
Manual title Drawing No.
FANUC LADDER-III Operator's Manual B-66234EN
- 169 -
2.PMC SPECIFICATIONS B-64513EN/03
- 170 -
B-64513EN/03 2.PMC SPECIFICATIONS
NOTE
For the method of battery replacement, refer to "Maintenance Manual" of each
CNC series.
NOTE
1 A delay occurs in PMC parameter backup operation. For details, see
Subsection 2.3.1, "Cautions for Reading from/Writing to Nonvolatile Memory ".
2 The data is preserved when using the nonvolatile PMC extra relay function
(option).
By the following functions, battery backup data can be saved to an external device.
- 171 -
2.PMC SPECIFICATIONS B-64513EN/03
WARNING
Take special care when clearing PMC parameters. When PMC parameters are
cleared, the machine may malfunction. After clearing PMC parameters, be sure
to set the correct values again.
NOTE
PMC battery backup data is also cleared when the entire memory of the CNC is
cleared. For operation to clear the entire memory of the CNC, refer to
"Maintenance Manual (30i/31i/32i-B:B-64485EN, 35i-B:B-64525EN)".
- 172 -
B-64513EN/03 2.PMC SPECIFICATIONS
- 173 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
CNC
I/O Link i
Channel 1 Switched by CNC parameter
11933#0
I/O Link
I/O Link i
Channel 2 Switched by CNC parameter
11933#1
I/O Link
The maximum I/O points of the I/O Link i are 2048 poins/2048 points for each channel. The maximum
I/O points of the I/O Link are 1024 points/1024 points for each channel. The maximum I/O points for a
PMC system are 4096 points/4096 points (0i-F: 2048 points/2048 points). You can use one or more
channels of the I/O Link i and the I/O Link however the total points cannot exceed the maximum points
of the PMC system.
[Example of the selectable case of the I/O Link i and the I/O Link]
Channel 1 Channel 2 Channel 3 Total points (DI / DO)
I/O Link i I/O Link i - 4096 / 4096 (Note)
I/O Link i I/O Link I/O Link 4096 / 4096 (Note)
I/O Link i I/O Link - 3072 / 3072 (Note)
I/O Link I/O Link I/O Link 3072 / 3072 (Note)
I/O Link i - - 2048 / 2048
I/O Link I/O Link - 2048 / 2048
I/O Link - I/O Link 2048 / 2048
I/O Link - - 1024 / 1024
NOTE
For the series 0i-F, the total points (DI/DO) are 2048/2048 points.
For the multi-path PMC, the DI/DO of one channel can be assigned to plural PMC paths efficiently using
the I/O Link i. The connect position of I/O devices can be defined as group/slot number.
As for the transmission cycle of the signals from the I/O Link i, there are two modes of the normal mode
(2msec) and the high-speed mode (0.5msec). You can specify the mode for each group of I/O devices.
For details, refer to subsection “3.3.3”.
- 174 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
CAUTION
1 For an I/O Link i channel, You should use I/O devices applied to the I/O Link i.
Or for an I/O Link channel, you should use I/O devices applied to the I/O Link. If
you use an inadaptable I/O device, all of I/O devices after the device cannot be
connected.
2 In case of using the dual check safety function, you can build the system by
using only devices of the I/O Link i or only devices of the I/O Link. You cannot
build the system by using both the I/O Link i and the I/O Link. If you use I/O Link,
I/O devices for DCSPMC must be connected to channel 3.
The FANUC I/O Link is one of the serial interfaces and transmits input/output signals between the PMC
and each I/O device at a high speed.
Available channels are three channels and for each channel, up to 1024 DI points and up to 1024 DO
points can be connected and controlled from the PMC.
The update cycle of the signals from I/O Link depends on the combination with each PMC and each I/O
Link channel. The following table shows the update cycle of the signals from I/O Link when each PMC
uses each I/O Link channel.
Table 3.2 (a) Update cycle of the signals from I/O Link
1st to 5th path PMC DCSPMC
Channel 1
2msec (cannot use)
Channel 2
Ladder 1st level execution cycle is 1, 2 or 4ms : 4ms
Channel 3 2msec
Ladder 1st level execution cycle is 8ms : 8ms
NOTE
1 When the 1st to 5th path PMC uses I/O Link channel 3, the update cycle of the
signals from I/O Link channel 3 becomes 4 msec or 8 msec. In this case, note
that the response of the CNC for the changing of the direct reference signals,
such as skip signals, reference position return deceleration signals and
emergency stop signals, becomes slower than the using of channel 1 or 2.
2 When using the I/O Link, the last 1byte of the X address for which no I/O device
is assigned (normally X127, X327, X527 or X727) is used by the system.
Therefore, some bits at these X addresses may be changed.
Do not use X addresses for which no I/O device is assigned.
- 175 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
Slaves
I/O Unit I/O 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-B)
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.
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.
- 176 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
3.2.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.
Obtain the number of occupied I/O points as follows.
[Number of output points]
Total number of points required for output modules used in one group Number of occupied I/O points
0 to 32 32
40 to 64 64
72 to 128 128
136 to 256 256
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.
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.3.
- 177 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
(1) Type of I/O device whose connection location is specified with its group, base, and slot numbers
I/O Unit-MODEL A is of this type. Specify the connection location with its group, base, and slot
numbers.
The range of valid settings of each item is as follows:
Group = 0 to 15
Base = 0 and 1
Slot = 1 to 10 (number of a slot on a I/O Unit-MODEL A base board)
(2) Type of I/O device whose connection location is specified with its group and slot numbers
I/O Unit-MODEL B and handy machine operator's panels are of this type. Always set the base
number to 0.
The range of valid settings of each item is as follows:
Group = 0 to 15
Base = 0 (Always set 0.)
Slot = 0 to 30 (NOTE)
NOTE
For detailed information on settings, see Subsections 3.2.3.2 and 3.2.3.6.
(3) Type of I/O device whose connection location is specified with its group number
Machine operator's panel interface unit, I/O Link connection unit, Power Mate, and other devices are
of this type. One unit of this type occupies one group. When using this type, always set the base
number to 0 and the slot number to 1.
The range of valid settings of each item is as follows:
Group = 0 to 15
Base = 0 (Always set 0.)
Slot =1 (Always set 1.)
- 178 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
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.
- 179 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
- 180 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
Table 3.2.3 (b) Module names (2)
Module name
Name Occupied address Specifications
(actual module name)
FANUC CNC SYSTEM 4 bytes for input FANUC Series 0-C
FS04A
FANUC Power Mate 4 bytes for output (compatible with the FANUC I/O Link)
8 bytes for input FANUC Power Mate-MODEL
FS08A
8 bytes for output A/B/C/D/E/F/H
OC02I 16 bytes for input
OC02O 16 bytes for output
FANUC Power Mate i-MODEL D/H
OC03I 32 bytes for input
OC03O 32 bytes for output
12 bytes for input
12 bytes for output
16 bytes for input
16 bytes for output
20 bytes for input
Specify a value of 12, 16, 20, 24, 28 or 32
20 bytes for output
/ for indicating the number of bytes for
24 bytes for input
input/output.
24 bytes for output
28 bytes for input
28 bytes for output
32 bytes for input
32 bytes for output
I/O Link β amplifier OC02I 16 bytes for input FANUC SERVO MOTOR β series
OC02O 16 bytes for output I/O Link option
Connection unit 1 CN01I 12 bytes for input
A20B-1005-0310
CN01O 8 bytes for output
Connection unit 2 CN02I 24 bytes for input
A20B-1003-0200
CN02O 16 bytes for output
Operator's panel /8 8 bytes for input A16B-2200-0661 (sink type)
connection unit A /4 4 bytes for output A16B-2201-0731 (source type)
Operator's panel CN01I 12 bytes for input A16B-2200-0660 (sink type)
connection unit B CN01O 8 bytes for output A16B-2201-0730 (source type)
Machine operator's OC02I 16 bytes for input
panel interface unit OC02O 16 bytes for output
A16B-2201-0110
OC03I 32 bytes for input
OC03O 32 bytes for output
Modules for I/O Unit- bytes for input Specify a value of 1 to 8 indicating the
MODEL B #
bytes for output number of bytes for input/output for .
Specify an area for reading the power on-off
## 4 bytes for input
state of each unit of I/O Unit-MODEL B.
I/O Link connection unit 1 to 8 bytes for input
1 to 8 bytes for
output
12 bytes for input
12 bytes for output
16 bytes for input
16 bytes for output Specify a value of 1 to 8, 12, 16, 20, 24, 28
/ 20 bytes for input or 32 for indicating the number of bytes for
20 bytes for output input/output.
24 bytes for input
24 bytes for output
28 bytes for input
28 bytes for output
32 bytes for input
32 bytes for output
OC02I 16 bytes for input
- 181 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
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.3.1 to
3.2.3.8.
3 As assignment data for a handy machine operator's panel, assign multiple
module names successively. For details, see Subsection 3.2.3.6.
- 182 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
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
Assignment method
(1) Group number
For I/O Unit-MODEL A, up to two I/O units can be connected when interface module AIF01A is
used as the basic unit and expansion interface module AIF01B is also used. This is called the base
expansion function. This set of up to two I/O units comprises one group (see Fig. 3.2.3.1 (a)).
When required I/O modules cannot be contained only in one group or when multiple I/O units are to
be distributed at distant locations on the machine side, the second AIF01A can be connected to the
first AIF01A using a cable to add a group. (See Fig. 3.2.3.1 (b).)
- 183 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
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
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.
- 184 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
[BASE]=0, [SLOT]=1
Operator’s Panel
Interface Unit [GROUP]=1
[BASE]=0, [SLOT]=1
[GROUP]=2
I/O Unit- MODEL A I/O Unit- MODEL A
[BASE]=0 [BASE]=1
- 185 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
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.3 (b).)
Example of setting
To connect an I/O Unit-MODEL B DI/DO unit with unit number 10 whose occupied address is 3 bytes in
GROUP=1:
Enter 1.0.10.#3.
NOTE
When channel 2 and 3 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 3 is
8.
- 186 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
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
For the AIF02C, the base expansion function of the AIF02A is removed and the functions of the I/O Unit-
MODEL B interface unit are added.
You cannot use only the I/O Unit-MODEL B without using the I/O Unit-MODEL A. The base expansion
function cannot also be used.
The AIF02C occupies two groups. Assignment is required for each of I/O Unit-MODEL A and I/O Unit-
MODEL B.
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.
- 187 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
Example of assignment
Example)
CNC
JD1A
Operator's panel
I/O module
A20B-2002-0470
JD1B
JD1A
Connection
panel I/O
basic module
JD1B
JD1A
- 188 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
CAUTION
Always connect expansion modules 1, 2, and 3 in this order closely. Any
intermediate expansion module cannot be skipped.
You may want to make the above configuration so that expansion module 1 is not
yet mounted and assign only expansion module 2, but such configuration does
not work.
Basic
module
JD1B
JD1A
Basic Expansion
module module 1
JD1B
JD1A
- 189 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
- 190 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
(1) Operator's panel I/O module (compatible with matrix input, A20B-2002-0470)
Operator's panel
I/O module
JD1B
JD1A
48 input points
32 output points
Operator's panel
I/O module
JD1B
JD1A
- 191 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
Operator's panel
I/O module
JD1B
JD1A
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.
- 192 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
Number of input/output points Input device assignment name Output device assignment name
(input/output) (module name) (module name)
32/32 FS04A FS04A
64/64 FS08A FS08A
96/96 /12 /12
128/128 OC02I or /16 OC02O or /16
160/160 /20 /20
192/192 /24 /24
224/224 /28 /28
256/256 OC03I or /32 OC03O or /32
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 i-D with 256/256 points in group 1:
Enter 1.0.1.OC03I for input and 1.0.1.OC03O for output.
(a)
I/O Unit ↔ I/O Unit
Model A Model A
An I/O Link connection unit replaces the connected devices to eliminate cable connection and enable the
power to each master or slave to be turned on and off independently.
- 193 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
Therefore, when an I/O Link connection unit is used, the connection is as follows.
I/O Link
connection unit
Assignment method
Assignment data is determined according to the types of I/O devices replaced with an I/O Link
connection unit.
Occupied address Input device assignment name Output device assignment name
1 to 8 / ( :Numeric character 1 to 8) / ( :Numeric character 1 to 8)
12 /12 /12
16 OC02I or /16 OC02O or /16
20 /20 /20
24 /24 /24
28 /28 /28
32 OC03I or /32 OC03O or /32
Example of setting
To connect a connection unit whose occupied address is 16 bytes in GROUP=1 as an input device:
Enter 1.0.1.OC02I.
To connect a connection unit whose occupied address is 28 bytes in GROUP=1 as an input device:
Enter 1.0.1. /28.
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.
- 194 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
Operator's panel
Group 1
connection unit
Assignment method
Assign 16 bytes to X addresses and 32 bytes to Y addresses contiguously starting from any address for
each group. Set the group number used in the configuration for the group number and always set 0 for the
base number. Set the slot number and assignment name as shown in the table below. The number of
occupied input points for each group is 32 bytes, which is the same as that of output points, because of
limitations of the I/O Link.
- 195 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
For each version, an example of connection is shown and the assignment method is described below.
AS-i power
supply Group 0
I/O Link I/O Link-AS-i
master converter unit for
AS-i slave AS-i slave
Ver 2.0
Group 1
Operator's panel
connection unit
- 196 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
AS-i power
supply Groups 0 and 1
I/O Link I/O Link-AS-i
Group 2
Operator's panel
connection unit
Group number Input device assignment name Output device assignment name
n OC03I OC03O
n+1 OC03I OC03O
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.
- 197 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
CNC
An operator's panel consists of the following keys, LEDs, and other components:
• Key-operated switches (sheet keys)
42 keys (0-TC)
46 keys (0-MC)
• LEDs (red) on all key-operated switches
• Override rotary switch (4 bits)
• Emergency stop button (1 bit)
• Program protect key (1 bit)
- 198 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
- 199 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
Fig. 3.2.3.8 (d) Machine operator's panel for the 0-TC full-keyboard 9-inch CRT/MDI unit
- 200 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
Fig. 3.2.3.8 (e) Machine operator's panel for the 0-MC full-keyboard 9-inch CRT/MDI unit
- 201 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
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.
- Override signals (*OV1 to *OV8) and program protect key signal (KEY)
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.
- 202 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
The address of a key-operated switch signal (Xn to Xn+2: Table 3.2.3.8(a)) and the address of its bit
image (Rk to Rk+7: Tables 3.2.3.8(b) and (c)) can be defined as the fixed address or an unused address
without restrictions.
The address of an LED signal (Ym: Table 3.2.3.8(a)) and the address of its bit image (Rl to Rl+7: Tables
3.2.3.8(b) and (c)) can be defined as the fixed address or an unused address without restrictions.
Xn+1
Table 3.2.3.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
- 203 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
Table 3.2.3.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.3.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
The addresses shown in Tables 3.2.3.8(a), (b), and (c) are set to the following PMC addresses:
Xn → X0000
Xn+1 → X0001
Xn+2 → X0002
Ym → Y0000
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
- 204 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
2nd PMC
Input / Output Address
X0 to X127 / Y0 to Y127
Input / Output Address
X200 to X327 / Y200 to Y327
Input / Output Address
X400 to X527 / Y400 to Y527
Input / Output Address
X600 to X727 / Y600 to Y727
3rd PMC
Input / Output Address
X0 to X127 / Y0 to Y127
Input / Output Address
X200 to X327 / Y200 to Y327
Input / Output Address
X400 to X527 / Y400 to Y527
Input / Output Address
X600 to X727 / Y600 to Y727
To use I/O Link, it is necessary to set the I/O addresses in each channel. They can be set in the
Configuration parameter screen. The setting information of each channel is PMC path and I/O addresses
of 128 bytes. The information is reflected to CNC parameter. The setting is made effective at the next
power-on.
- 205 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
1st PMC
Channel 1
X/Y0 to 127
~
X/Y200 to 327 Group 0 Group 1 Group 2 Group n
Channel 2
~
Group 0 Group n
2nd PMC
Channel 3
X/Y0 to 127
~
Group 0 Group n
1st PMC
Channel 1
X/Y0 to 127
~
X/Y200 to 327 Group 0 Group 1 Group 2 Group n
Channel 2
~ ~
Group 0 Group n Group 0 Group n
2nd PMC
1st Block 2nd Block
X/Y0 to 127
Fig. 3.2.4.3 (a) Example of using 2 PMCs and 2 I/O Link Channels
- 206 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
NOTE
1 Up to 2 blocks are available in one channel.
2 Up to 16 groups of slaves can be connected to total of first and second block.
The total number of I/O points occupied by all slaves connected to total of first
and second block is up to 1024 points for each of input and output. (For details
of I/O points, refer to "FANUC I/O Unit-MODEL A Connection and Maintenance
Manual" (B-61813E)).
3 When second block is used and any alarm occurs, group no of the alarm
message is displayed according to the I/O device wiring group no.
4 When second block is used, the selectable I/O Link assignment function is
available in each block independently.
5 The OVERRIDE function of the forced input/output function is available even if
second block is used.
6 When second block is used, it is recommended to enable the I/O Link
connection check function to prevent a malfunction about the mistake of the
setting.
1st PMC
Channel 1
X/Y0 to 127
X0 X20 X30 X50
X/Y200 to 327 Group 0 Group 1 Group 2 Group 3
Channel 2
- 207 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
1st PMC
・Assignment of X/Y0 to 127
X0000 0 0 1 /2
: : : : :
X0020 1 0 1 FS08A
: : : : :
X0030 2 0 1 CM16I
: : : : :
X0050 3 0 1 /8
: : : : :
X0200 0 0 1 /2
: : : : :
X0210 1 0 1 CM16I
: : : : :
2nd PMC
・Assignment of X/Y0 to 127
X0000 0 0 1 /2
: : : : :
X0030 1 0 1 CM16I
: : : : :
- 208 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
- 209 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
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.
- 210 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
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.
Optional part
Basic part
- 211 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
This function requires setting the following parameters. These parameters can be set for each channel.
For details of each parameter, see Sections 2.4 and 9.5.
3.2.5.2 Example
There are three machines which have different configurations of I/O devices, each other.
• 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
• Configuration C
A machine which has the configuration A on channel 1 and two beta amplifiers on channel 2.
Channel 1
- 212 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
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.
: : : : : :
- 213 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
- 214 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
(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
• 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.
: : : : : :
- 215 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
3.2.5.3 Notes
(1) If PMC-parameters are cleared, cycling the power of CNC links only the basic part.
(2) After selecting the assignment data, the I/O devices are linked with shifted group number of
effective I/O link assignment data.
You can check the actual result of connection using the I/O Link connection display screen.
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.
- 216 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
As for the transmission cycle of the signals from I/O Link i, there are two modes of the normal mode
(2msec) and the high-speed mode (0.5msec). You can specify the mode for each group of I/O devices.
DI: X0~X127
X200~X327
X400~X527
X600~X727
DO: Y0~Y127
Y200~Y327
Y400~Y527
Y600~Y727
NOTE
1 You can select a communication method from either the I/O Link i or the I/O Link for
each channel by setting the CNC parameter “Communication method of I/O
Device”. The default setting is the I/O Link mode (0i-F: I/O Link i mode). For details
of the parameter, refer to subsection “2.4.3”. For example, you can use the channel
1 as the I/O Link i, and the channel 2 as the I/O Link. In this case, the total I/O
points are 3072 points / 3072 points (0i-F: 2048 points / 2048 points).
2 You can select an update cycle mode from either the normal mode or the high-
speed mode for each group. You can make use of two modes in one channel. For
details, refer to subsection “3.3.3”.
3 The Inside of “( )” is the specification of dual check safety.
4 If you build the dual check safety system using the I/O Link i, you can make use of
up to 4 groups for DCSPMC. If you use two channels of the I/O Link i, the maximum
number of available groups is 4 groups. For details of the directions for the dual
check safety of I/O Link i, refer to subsection “3.3.7”.
- 217 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
Channel 1
Slot 1
Slot 2
Slot 3
Slot 10
CNC
(1ch) Group0
…
Slot 1
Interface unit
Group1
Slot 2
…
I/O Unit- MODEL B
Channel2
(2ch) Group0
- 218 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
(1) One master and several slaves constitute an I/O Link i network.
Master: CNC (such as Series30i-B).
Slave: I/O Unit-MODEL A, Machine operator’s panel interface unit, etc.
(2) The slave of up to 24 groups can be connected to one channel for the I/O Link i.
The group number is assigned to 0 to 23 in order near the master.
The number of slave, which can be connected in one group, is not fixed.
(3) It is not necessary to care the order of connected slaves. However, slaves of a different kind cannot
be connected in one group.
NOTE
1 The power of slaves should be turned on simultaneously with or before the
power supply of a master.
2 When the power of a master is turned off, the power of all of slaves should be
turned off.
3 For the maximum number of slaves which can be connected in one group, refer
to connection manual of each I/O devices.
NOTE
1 When you use the high-speed mode, the maximum group number and I/O points
show in the following table. If you use both of the normal mode and the high-
speed mode, the maximum group number and I/O points are changed. For
details, refer to subsection “3.3.3”.
The group number of high- Maximum group Maximum I/O points (all of
speed mode number groups)
Non 24 group 2048 / 2048
1 group 17 group
2 group 14 group 512 to 2048 / 512 to 2048
3 group 11 group
4 group 8 group
5 group 5 group 512 / 512
2 The “safety I/O” used in the dual check safety function are assigned at a group
unit. The maximum I/O points of the “safety I/O” group are 224 points/224 points.
The “safety I/O” can be specified up to 4 groups for PMC1 to PMC5, and 4
groups for the DCSPMC. For details, refer to subsection “3.3.4”.
- 219 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
2ms 2ms
Group
0
1
2
Input 2048 points/ 3
Output 2048 points 4
: : :
23
2ms
group 0.5ms 0.5ms 0.5ms 0.5ms
0
1
Input 512 points/ 2
Output 512 points 3
4
- 220 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
High-speed mode 0
1
Normal mode 2
(= 512 ‐ total points of high-speed mode) 3
4
Normal mode 5
6
7
Normal mode 8
9
Normal mode 10
: high-speed : Normal
When the groups of the normal mode and the high-speed mode are mixed, the number is converted in the
normal mode, and a maximum of 20 groups can be connected, and a maximum of I/O points are 2048
points/2048 points. The number of groups and I/O points of the normal mode is four times of number of
the high-speed mode. For example, 2 groups and 64/64 of I/O points in the high-speed mode equivalent to
8 groups and 256/256 of I/O points in the normal mode.
NOTE
1 The signals are transmitted in the group number order. If the sum total of input or
output points are exceeds 512 points, the group will be assigned to next cycle
time. For this reason, even if the total number of groups and I/O points is not
over maximum number, the PMC alarm “ER35”,”ER36”, “ER38” or “ER39” may
occur.
2 In the group of “safety I/O” for the dual check safety function, the redundant data
are added at the time of transmission. The data length of the redundant data is 4
bytes or 5 bytes in order to be even bytes. To calculate the total I/O points, add
the redundant data. For “safety I/O”, refer to subsection “3.3.4”.
The followings are the example of calculation of I/O points for “safety I/O”.
- In case of 64 points (8 bytes of real data):
Total 96 points (4 bytes of redundant data)
- In case of 88 points (11 bytes of real data):
Total 128 points (5 bytes of redundant data)
- 221 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
NOTE
Redundant data is added to the group which is specified as “safety I/O”. The
length of added redundant data is 4 bytes or 5 bytes. It means that the length of
actual data becomes even-numbered bytes. The followings are example of
actual I/O points of the group specified as “safety I/O”.
・The case that the points of safety I/O are 64 points (8 bytes):
Actual I/O points are 96 points and redundant data is 4 bytes.
・The case that the points of safety I/O are 88 points (11 bytes):
Actual I/O points are 128 points and redundant data is 5 bytes.
・The case that the points of safety I/O are 224 points (28 bytes):
Actual I/O points are 256 points and redundant data is 4 bytes.
Address Contents
R9232.0 Group 0 of Channel 1 is the “safety I/O”.
R9232.1 Group 1 of Channel 1 is the “safety I/O”.
R9232.2 Group 2 of Channel 1 is the “safety I/O”.
R9232.3 Group 3 of Channel 1 is the “safety I/O”.
R9232.4 Group 4 of Channel 1 is the “safety I/O”.
R9232.5 Group 5 of Channel 1 is the “safety I/O”.
R9232.6 Group 6 of Channel 1 is the “safety I/O”.
R9232.7 Group 7 of Channel 1 is the “safety I/O”.
R9233.0 Group 8 of Channel 1 is the “safety I/O”.
R9233.1 Group 9 of Channel 1 is the “safety I/O”.
R9233.2 Group 10 of Channel 1 is the “safety I/O”.
R9233.3 Group 11 of Channel 1 is the “safety I/O”.
R9233.4 Group 12 of Channel 1 is the “safety I/O”.
R9233.5 Group 13 of Channel 1 is the “safety I/O”.
R9233.6 Group 14 of Channel 1 is the “safety I/O”.
R9233.7 Group 15 of Channel 1 is the “safety I/O”.
R9234.0 Group 16 of Channel 1 is the “safety I/O”.
R9234.1 Group 17 of Channel 1 is the “safety I/O”.
R9234.2 Group 18 of Channel 1 is the “safety I/O”.
R9234.3 Group 19 of Channel 1 is the “safety I/O”.
R9234.4 Group 20 of Channel 1 is the “safety I/O”.
R9234.5 Group 21 of Channel 1 is the “safety I/O”.
R9234.6 Group 22 of Channel 1 is the “safety I/O”.
R9234.7 Group 23 of Channel 1 is the “safety I/O”.
R9235.0 Group 0 of Channel 2 is the “safety I/O”.
R9235.1 Group 1 of Channel 2 is the “safety I/O”.
R9235.2 Group 2 of Channel 2 is the “safety I/O”.
R9235.3 Group 3 of Channel 2 is the “safety I/O”.
R9235.4 Group 4 of Channel 2 is the “safety I/O”.
- 222 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
Address Contents
R9235.5 Group 5 of Channel 2 is the “safety I/O”.
R9235.6 Group 6 of Channel 2 is the “safety I/O”.
R9235.7 Group 7 of Channel 2 is the “safety I/O”.
R9236.0 Group 8 of Channel 2 is the “safety I/O”.
R9236.1 Group 9 of Channel 2 is the “safety I/O”.
R9236.2 Group 10 of Channel 2 is the “safety I/O”.
R9236.3 Group 11 of Channel 2 is the “safety I/O”.
R9236.4 Group 12 of Channel 2 is the “safety I/O”.
R9236.5 Group 13 of Channel 2 is the “safety I/O”.
R9236.6 Group 14 of Channel 2 is the “safety I/O”.
R9236.7 Group 15 of Channel 2 is the “safety I/O”.
R9237.0 Group 16 of Channel 2 is the “safety I/O”.
R9237.1 Group 17 of Channel 2 is the “safety I/O”.
R9237.2 Group 18 of Channel 2 is the “safety I/O”.
R9237.3 Group 19 of Channel 2 is the “safety I/O”.
R9237.4 Group 20 of Channel 2 is the “safety I/O”.
R9237.5 Group 21 of Channel 2 is the “safety I/O”.
R9237.6 Group 22 of Channel 2 is the “safety I/O”.
R9237.7 Group 23 of Channel 2 is the “safety I/O”.
#7 #6 #5 #4 #3 #2 #1 #0
K928 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
- 223 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
#7 #6 #5 #4 #3 #2 #1 #0
K929 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
#7 #6 #5 #4 #3 #2 #1 #0
K930 Group 23 Group 22 Group 21 Group 20 Group 19 Group 18 Group 17 Group 16
#7 #6 #5 #4 #3 #2 #1 #0
K932 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 Group 0
#7 #6 #5 #4 #3 #2 #1 #0
K933 Group 15 Group 14 Group 13 Group 12 Group 11 Group 10 Group 9 Group 8
#7 #6 #5 #4 #3 #2 #1 #0
K934 Group 23 Group 22 Group 21 Group 20 Group 19 Group 18 Group 17 Group 16
- 224 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
Title
Password
CHANNEL 1
Channel setting
Group High-speed Safety I/O MPG Slot PMC X address Length Y address Length Comment
Mode Mode 1 PMC1 X0 13 Y0 8 Distribution
MPG PMC1 X14 3 0 MPG
0 * *
1
1 PMC2 X0 16 Y0 16 2201-0110
2
3 PMC
1 PMC3 X0 6 Y0 2 Distribution
4
5 DCSPMC
1 PMC1 X200 2 0 0807-J103
6 2 PMC2 X200 2 0 0807-J103
7 3 PMC1 0 Y200 2 0807-J103
8 4 PMC2 0 Y200 2 0807-J103
:
: 1 PMC1 X300 8 Y300 8 PowerMate
23
1 DCSPMC X0 2 0 DCSMAIN
2 DCSPMC X8 2 0 DCSMAIN
Set the group information and slot 3 DCSPMC 0 Y0 2 DCSMAIN
information separately. The “zoom” can 4 DCSPMC 0 Y8 2 DCSMAIN
move to the “Slot information screen”
from the “Group information screen”
CHANNEL 2
Channel setting
Slot setting
Group setting
Group High-speed Safety I/O MPG Slot PMC X address Length Y address Length Comment
Mode Mode
0
:
23
The assignment data for I/O Link i are set in each channel data, group data, and slot data separately.
- 225 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
For the groups which is set to “ “ or “PMC”, you assign X/Y address of 1st PMC to 5th PMC. The
X/Y address of plural PMC path can be assigned in these groups.
For the group which is set to “DCSPMC”, the X/Y address of only DCSPMC can be assigned. The
maximum I/O points of the groups, which are set to “DCSPMC” or “PMC”, are 224 points/224
points.
The “use of the manual pulse module” is set, “MPG” is displayed in the column “Slot” in the slot
data. The assignment data for the manual pulse module is set in the slot.
- 226 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
Note
In group setting, “MPG” is displayed in the slot when the “use of manual pulse
module” is set.
Note
1 The X/Y address, which is set for the interface of I/O Link in PMC configuration
parameter, cannot be used. When some address is duplicated between I/O Link i
and I/O Link, the PMC alarm occurs at the power on.
Others
The title and password can be set in FANUC LADDER-III.
(1) Title
Up 255 characters of title information can be set for title information of the assignment data.
Available characters are as follows.
A~Z, a~z, 0~9, space, Kana, Chinese character (a part), _!”#&$’()”+,-< = >?@[/]^{|}~
The contents of the title information can be confirmed in the I/O Link i assignment screen.
- 227 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
3.3.7 Directions for Use of I/O Link i in Dual Check Safety Function
Summary
You can build the system for the dual check safety using either the I/O Link or the I/O Link i.
When you use the I/O Link for dual check safety, the I/O devices used in PMC1 to PMC5 are connected
to channel 1or 2, and the I/O devices used in DCSPMC are connected to channel 3. Therefore, two or
more channels are necessary for the dual check safety.
CNC PMC
Cross
PMC1
Check
DCSPMC to
PMC5
Safety I/O
Fig. 3.3.7 (a) Dual check safety using 2 channel in I/O Link
When you use the I/O Link i for dual check safety, the I/O devices used in PMC1 to PMC5 are connected
to same channel used I/O devices for the DCSPMC. Therefore, only one channel is necessary for the dual
check safety.
CNC PMC
Cross
PMC1
Check
DCSPMC to
PMC5
① ②
I/O Link i
① ②
① ②
Safety I/O
Fig. 3.3.7 (a) Dual check safety using 1 channel in I/O Link i
- 228 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
DCSPMC: DCSPMC
PMC: PMC1 to PMC5
The maximum I/O points of the groups, which is set to the “DCSPMC” or the “PMC”, are 224 points
/224 points.
- 229 -
3.COMMUNICATION WITH I/O DEVICE B-64513EN/03
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.
The execution of this function can be controlled using keep relay K906.2.
K906.2
0: Enables the I/O Link / I/O Link i connection check function. (Initial value)
1: Disables the I/O Link / I/O Link i 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).
- 230 -
B-64513EN/03 3.COMMUNICATION WITH I/O DEVICE
NOTE
1 Once these parameters are set, it is necessary to turn off and on the power.
2 This parameter should be set only for the X /Y address area to which the
network device is assigned, because this parameter may affect the ladder
execution performance.
3 Network devices cannot be assigned to the X/Y address area to which any I/O
Link and I/O Link i are assigned.
4 In case of using I/O Link i, assign network devices to the X/Y address area to
which any I/O Link i devices are not assigned, then set this parameter for
corresponding area.
5 In case of using I/O Link and the parameter No.11910-11912 are set to 0
(default setting), I/O Link devices are assigned to X0-X127/Y0-Y127, X200-
X327/Y200-Y327 and X400-X527/Y400-Y527 area of 1st PMC path. In this case
for 1st PMC path, network devices can only be assigned to X600-X727/Y600-
Y727 area.
If all parameters are not set to 0, network devices can be assigned to the X/Y
address area to which any I/O Link channels are not assigned, and set this
parameter for corresponding area accordingly.
Example) When I/O Link channel 1 is assigned to X0-X127/Y0-Y127 of 1st PMC
path, and network device can be assigned to X200-327/Y200-327, set the
parameter No.11910=100, No.11911=0, No.11912=0, No.11937#1=1.
- 231 -
4.LADDER LANGUAGE B-64513EN/03
4 LADDER LANGUAGE
4.1 BASIC INSTRUCTIONS
Designing a sequence program entails drawing a ladder diagram. Draw a ladder diagram by using relay
contact symbols as well as symbols representing the functional instructions described later. The logic laid
out in the ladder diagram is input to the programmer as a sequence program.
You can input a sequence program to the programmer in two ways - the relay symbol input method
whereby relay contact symbols and functional instruction symbols drawn in the ladder diagram are used
as they are (−⏐⏐−, −⏐/⏐−, −{−, etc.) and the mnemonic format input method that uses the mnemonic
language (PMC instructions such as RD, AND, and OR).
The relay symbol input method allows the ladder diagram format to be used as it is, thus letting you input
a sequence program in an intuitive, easy-to-understand manner. You will virtually have no trouble
creating a program even if you have little or no knowledge of the PMC instructions (basic instructions
such as RD, AND, and OR).
In fact, however, the content of a sequence program that is input using the relay symbol input method is
internally converted to instructions that are equivalent to the corresponding PMC instructions. Also, you
need to fully understand the functionalities of the functional instructions that are described later. It is
therefore necessary for you to carefully read the descriptions of the basic and functional instructions that
are given later in this manual.
For information about how to input PMC instructions to the programmer using relay and other symbols,
see Chapter 8.
When reading the descriptions of the PMC instructions, keep the following in mind.
RO
A B
X8.1 R12.6
C R9.0
Address number
- 232 -
B-64513EN/03 4.LADDER LANGUAGE
(3) Storage of logical operation results
There is a register that stores the interim results of logical operations during the execution of a
sequence program.
This register consists of a total of nine bits, which is divided into a one-bit segment and an eight-bit
segment as shown in Fig. 4.1 (b).
Fig. 4.1 (b) Structure of the register storing the results of logical operations
When an instruction (such as RD.STK) that temporarily stores the interim result of a logical
operation is executed, the current content of the register is shifted to the left and the interim logical
operation result is stacked in the register, as shown in the above figure. Conversely, when an
instruction (such as AND.STK) that retrieves a stacked signal is executed, the register content is
shifted to the right and the signal is retrieved. The last stacked signal is retrieved first. For
information about the actual uses and operations of these instructions, see the relevant descriptions
in this manual.
- 233 -
4.LADDER LANGUAGE B-64513EN/03
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
No. Mnemonic Processing
format
format
(abbreviated)
1 RD R Reads the status of the specified signal and sets it in the ST0 bit.
Reads and reverses the logical status of the specified signal and sets it in
2 RD.NOT RN
the ST0 bit.
Outputs the logical operation result (the status of the ST0 bit) to the
3 WRT W
specified address.
Reverses and outputs the logical operation result (the status of the ST0
4 WRT.NOT WN
bit) to the specified address.
5 AND A Produces a logical product.
Reverses the logical status of the specified signal and produces a logical
6 AND.NOT AN
product.
7 OR O Produces a logical sum.
Reverses the logical status of the specified signal and produces a logical
8 OR.NOT ON
sum.
Shifts the register content one bit to the left and sets the status of the
9 RD.STK RS
signal at the specified address in the ST0 bit.
Shifts the register content one bit to the left, reads and reverses the
RD.STK.NOT RSN
10 logical status of the signal at the specified address, and sets it in the ST0
(RD.NOT.STK) (RNS)
bit.
Sets the logical product of the ST0 and ST1 bits in the ST1 bit and shifts
11 AND.STK AS
the register content one bit to the right.
Sets the logical sum of the ST0 and ST1 bits in the ST1 bit and shifts the
12 OR.STK OS
register content one bit to the right.
Finds the logical sum of the ST0 bit and the status of the signal at the
13 SET SET
specified address and outputs it to the specified address.
Finds the logical product of the reversed status of the ST0 bit and the
14 RST RST status of the signal at the specified address and outputs it to the specified
address.
Positive transition contact instruction. When rising transition (0→1) of the
15 RDPT RPT specified signal is detected, "1" is set to the ST0 bit. Otherwise "0" is set
to the ST0 bit.
Positive transition contact instruction. When rising transition (0→1) of the
16 ANDPT APT specified signal is detected, ST0 bit is not changed. Otherwise "0" is set
to the ST0 bit.
- 234 -
B-64513EN/03 4.LADDER LANGUAGE
Instruction
Mnemonic
No. Mnemonic Processing
format
format
(abbreviated)
Positive transition contact instruction. When rising transition (0→1) of the
17 ORPT OPT specified signal is detected, "1" is set to the ST0 bit. Otherwise ST0 bit is
not changed.
Positive transition contact instruction. Shifts the stack register content
18 RDPT.STK RPTS one bit to the left and when rising transition (0→1) of the specified signal
is detected, "1" is set to the ST0 bit. Otherwise "0" is set to the ST0 bit.
Negative transition contact instruction. When falling transition (1→0) of
19 RDNT RNT the specified signal is detected, "1" is set to the ST0 bit. Otherwise "0" is
set to the ST0 bit.
Negative transition contact instruction. When falling transition (1→0) of
20 ANDNT ANT the specified signal is detected ST0 bit is not changed. Otherwise "0" is
set to the ST0 bit.
Negative transition contact instruction. When falling transition (1→0) of
21 ORNT ONT the specified signal is detected, "1" is set to the ST0 bit. Otherwise ST0
bit is not changed.
Negative transition contact instruction. Shifts the stack register content
22 RDNT.STK RNTS one bit to the left and when falling transition (1→0) of the specified signal
is detected, "1" is set to the ST0 bit. Otherwise "0" is set to the ST0 bit.
Instruction to make a branch of circuit. Shifts the stack register one bit to
23 PUSH PS
the left. The contents of ST0 bit are not changed.
Instruction to make a branch of circuit. Shifts the stack register content
24 POP PP
one bit to the right. (ST1→ST0)
- 235 -
4.LADDER LANGUAGE B-64513EN/03
4.1.2 RD Instruction
Format
W1
A B C
RD W2
D G
instruction
X5.1 R5.4
R200.1
E
Y5.2
F
Y5.3
Fig. 4.1.2
(Address)
RD .
Bit number
Address number
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
Operation
(1) 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.
(2) The instruction reads the status (0 or 1) of the signal at the specified address and sets it in the ST0
bit.
- 236 -
B-64513EN/03 4.LADDER LANGUAGE
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
Table 4.1.3
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
Operation
(1) 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.
(2) The instruction reads and reverses the logical status of the signal at the specified address and sets it
in the ST0 bit.
- 237 -
4.LADDER LANGUAGE B-64513EN/03
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
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
Operation
(1) The WRT instruction outputs the result of the logical operation, namely the status of the ST0 bit (0
or 1), to the specified address.
(2) 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.
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
troubles of the execution timing in the sequence program. Don't use "double coil".
- 238 -
B-64513EN/03 4.LADDER LANGUAGE
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
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
Operation
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.
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
troubles of the execution timing in the sequence program. Don't use "double coil".
- 239 -
4.LADDER LANGUAGE B-64513EN/03
A B C W1
D G W2
X5.1 R5.4
R200.1
E
Y5.2
F
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
Operation
(1) This instruction produces a logical product.
(2) For examples of how the AND instruction is used, see Fig. 4.1.6 and Table 4.1.6.
- 240 -
B-64513EN/03 4.LADDER LANGUAGE
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
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
Operation
(1) This instruction reverses the status of the signal at the specified address and produces a logical
product.
(2) For examples of how the AND.NOT instruction is used, see Fig. 4.1.7 and Table 4.1.7.
- 241 -
4.LADDER LANGUAGE B-64513EN/03
4.1.8 OR Instruction
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
Operation
(1) This instruction produces a logical sum.
(2) For examples of how the OR instruction is used, see Fig. 4.1.8 and Table 4.1.8.
- 242 -
B-64513EN/03 4.LADDER LANGUAGE
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
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
Operation
(1) This instruction reverses the status of the signal at the specified address and produces a logical sum.
(2) For examples of how the OR.NOT instruction is used, see Fig. 4.1.9 and Table 4.1.9.
- 243 -
4.LADDER LANGUAGE B-64513EN/03
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
Operation
(1) The RD.STK instruction stacks the interim result of a logical operation. Use this instruction when
the signal you specify is contact A (−⏐⏐−). After shifting the register content one bit to the left, the
instruction sets the status of the signal at the specified address in the ST0 bit.
(2) For examples of how the RD.STK instruction is used, see Fig. 4.1.10 and Table 4.1.10.
- 244 -
B-64513EN/03 4.LADDER LANGUAGE
A B E F W1
RD.STK.NOT instruction
Fig. 4.1.11
(Address)
RD.STK.NOT .
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.STK.NOT 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 X1 .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)
Operation
(1) The RD.NOT.STK instruction stacks the interim result of a logical operation. Use this instruction
when the signal you specify is contact B (−⏐/⏐−). After shifting the register content one bit to the
left, the instruction reverses the status of the signal at the specified address and sets it in the ST0 bit.
(2) For examples of how the RD.NOT.STK instruction is used, see Fig. 4.1.11 and Table 4.1.11.
NOTE
This instruction is effective even if describing as “RD.NOT.STK”.
- 245 -
4.LADDER LANGUAGE B-64513EN/03
AND.STK instruction
R1.4 R1.5 X1.6 Y1.7
AND.STK
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 X1 .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)
Operation
(1) The AND.STK instruction finds the logical product 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 product into the ST0 bit. Fig. 4.1.12 (b) shows a
detailed image of what is shown in Fig. 4.1.12 (a).
ST1 ST0
A B E F
W1
C D G H
AND.STK instruction
(2) For examples of how the AND.STK instruction is used, see Fig. 4.1.12 (a) and Table 4.1.12.
- 246 -
B-64513EN/03 4.LADDER LANGUAGE
A C W1
X1.3 Y1.4
E F
R2.1 R3.5
OR.STK instruction
RD.STK??
OR.STK
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
- 247 -
4.LADDER LANGUAGE B-64513EN/03
Operation
(1) 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??
(2) For examples of how the OR.STK instruction is used, see Fig. 4.1.13 (a) and Table 4.1.13.
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.
- 248 -
B-64513EN/03 4.LADDER LANGUAGE
A C
(S)
R0.0 Y0.0
X0.0
SET instruction
Fig. 4.1.14
(Address)
SET .
Bit number
Address number
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
Operation
(1) 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.
(2) For examples of how the SET instruction is used, see Fig. 4.1.14 and Table 4.1.14.
(3) 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.
- 249 -
4.LADDER LANGUAGE B-64513EN/03
A C
(R)
R0.0 Y0.0
X0.0
RST instruction
Fig. 4.1.15
(Address)
RST .
Bit number
Address number
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
Operation
(1) 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.
(2) For examples of how the RST instruction is used, see Fig. 4.1.15 and Table 4.1.15.
(3) 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.
- 250 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.1.16(a) shows the ladder format and Table 4.1.16(a) shows the mnemonic format.
A W1
P
X10.0 Y20.0
RDPT instruction
Operation
Timing chart in the above example is as follows.
W1
1 scan
- 251 -
4.LADDER LANGUAGE B-64513EN/03
CAUTION
1 The bit, already turned on when a program is started after program reading by the
Input/Output function or Power ON, turns on the output with the scan at the
beginning just after starting.
2 An output may not be turned on when a bit changes with OFF→ON→OFF during
1 scan. Moreover, when validating the result of ladder edit, a scanning time
temporarily becomes larger.
3 In ladder edit, when the bit of the edited contact turns on, an output is turned on
with the scan of the beginning after edit.
4 When this instruction is skipped by Jump instruction or subroutine call instruction,
this instruction is not executed and the output of instruction does not change.
5 This instruction uses a work memory internally in order to detect bit transition.
The PMC Software or the FANUC LADDER-III searches the work memory
automatically in the domain which can be used, and is assigned. Therefore, the
program edited in a different procedure becomes mismatching at the comparing,
even when the appearance of ladder diagram is the same.
- 252 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.1.17(a) shows the ladder format and Table 4.1.17(a) shows the mnemonic format.
A B W1
P
X10.0 R20.0 Y30.0
ANDPT instruction
Operation
Timing chart in the above example is as follows.
A
B
W1
1 scan
NOTE
Refer to "4.1.16 RDPT Instruction" notes about this instruction.
- 253 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.1.18(a) shows the ladder format and Table 4.1.18(a) shows the mnemonic format.
A W1
X10.0 Y30.0
B
P
R20.0
ORPT Instruction
Operation
Timing chart in the above example is as follows.
A
B
W1
1 scan
NOTE
Refer to "4.1.16 RDPT Instruction" notes about this instruction.
- 254 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.1.19(a) shows the ladder format and Table 4.1.19(a) shows the mnemonic format.
A B W1
P
X10.0 R20.0 Y40.0
C RDPT.STK instruction
R30.0
Operation
Timing chart in the above example is as follows.
A
B
C
W1
1 scan
NOTE
Refer to "4.1.16 RDPT Instruction" notes about this instruction.
- 255 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.1.20(a) shows the ladder format and Table 4.1.20(a) shows the mnemonic format.
A W1
N
X10.0 Y20.0
RDNT Instruction
Operation
Timing chart in the above example is as follows.
W1
1 scan
- 256 -
B-64513EN/03 4.LADDER LANGUAGE
CAUTION
1 The bit, already turned off when a program is started after program reading by the
Input/Output function or Power ON, turns on the output with the scan at the
beginning just after starting.
2 An output may not be turned on when a bit changes with ON→OFF→ON during 1
scan. Moreover, when validating the result of ladder edit, a scanning time
temporarily becomes larger.
3 In ladder edit, when the bit contained in the edited ladder net has already turned
off, only the edited contact does not turned on with the scan of the beginning after
edit.
4 When this instruction is skipped by Jump instruction or subroutine call instruction,
this instruction is not executed and the output of instruction does not change.
5 This instruction uses a work memory internally in order to detect bit transition.
The PMC Software or the FANUC LADDER-III searches the work memory
automatically in the domain which can be used, and is assigned. Therefore, the
program edited in a different procedure becomes mismatching at the comparing,
even when the appearance of ladder diagram is the same.
- 257 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.1.21(a) shows the ladder format and Table 4.1.21(a) shows the mnemonic format.
A B W1
N
X10.0 R20.0 Y30.0
ANDNT Instruction
Operation
Timing chart in the above example is as follows.
A
B
W1
1 scan
NOTE
Refer to "4.1.20 RDNT Instruction" notes about this instruction.
- 258 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.1.22(a) shows the ladder format and Table 4.1.22(a) shows the mnemonic format.
A W1
X10.0 Y30.0
B
N
R20.0
ORNT Instruction
Operation
Timing chart in the above example is as follows.
A
B
W1
1 scan
NOTE
Refer to "4.1.20 RDNT Instruction" notes about this instruction.
- 259 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.1.23(a) shows the ladder format and Table 4.1.23(a) shows the mnemonic format.
A B W1
N
X10.0 R20.0 Y40.0
C RDNT.STK Instruction
R30.0
Operation
Timing chart in the above example is as follows.
A
B
C
W1
1 scan
NOTE
Refer to "4.1.20 RDNT Instruction" notes about this instruction.
- 260 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.1.24(a) shows the ladder format and Table 4.1.24(a) shows the mnemonic format.
A B W1
C W2
R30.0 Y60.0
POP Instruction
D W3
R40.0 Y70.0
Operation
(1) In the above example, the value of A stored in ST0 is shift to ST1 by PUSH instruction before
performing the logical product of A and B. The value of ST0 is not changed.
(2) After outputting the operation result of the logical product of A and B to W1, the value of A stored
in ST1 is shifted to ST0 by POP instruction.
(3) Before performing the logical product of A and C, the value of A stored in ST0 is shifted to ST1 by
PUSH instruction. The value of ST0 is not changed.
(4) After outputting the operation result of the logical product of A and C to W2, the value of A stored
in ST1 is shifted to ST0 by POP instruction.
(5) The logical product of A and D is performed and an operation result is outputted to W3.
- 261 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
Read this subsection surely because it contains important information such as the
rules regarding the use of the functional instructions.
7 6 5 4 3 2 1 0
R9000 or Z0
R9001 or Z1
R9002 or Z2
R9003 or Z3
R9004 or Z4
R9005 or Z5
- 262 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.2.1 (a) Coding format of the functional instructions
Mnemonic format Status of operation result
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD R1. 0 A A
2 AND R1. 1 B A⋅B
3 RD.STK R2. 4 C A⋅B C
4 AND.NOT R3. 1 D A⋅B C⋅D
5 RD.STK R5. 7 RST A⋅B C⋅D RST
6 RD.STK R7. 1 ACT A⋅B C⋅D RST ACT
7 SUB {{ Instruction A⋅B C⋅D RST ACT
8 (PRM) (Note 2) {{{{ Parameter 1 A⋅B C⋅D RST ACT
9 (PRM) {{{{ Parameter 2 A⋅B C⋅D RST ACT
10 (PRM) {{{{ Parameter 3 A⋅B C⋅D RST ACT
11 (PRM) {{{{ Parameter 4 A⋅B C⋅D RST ACT
12 WRT R10. 1 W1 output A⋅B C⋅D RST W1
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.
(3) Instruction
For the types of functional instructions, see Subsection 2.1.8 or 2.1.9.
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.
- 263 -
4.LADDER LANGUAGE B-64513EN/03
(Example) When BCD data 1234 is stored at addresses R250 and R251
7 6 5 4 3 2 1 0
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.
- 264 -
B-64513EN/03 4.LADDER LANGUAGE
7 6 5 4 3 2 1 0
6 5 4 3 2 1 0
R200 ± 2 2 2 2 2 2 2 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)
14 13 12 11 10 9 8
R201 ± 2 2 2 2 2 2 2
R201 215 2
14
2
13
2
12
2
11
2
10
2
9
2
8
- 265 -
4.LADDER LANGUAGE B-64513EN/03
* 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
RST
{{{{ Format
SUB36 W1
{{{{ Augend data address *
ADDB
ACT {{{{ Addend data (address) *
7 6 5 4 3 2 1 0
R9000, Z0
R9001, Z1
R9002, Z2
R9003, Z3
R9004, Z4
R9005, Z5
This register consists of six bytes, from R9000 to R9005 or Z0 to Z5. A single block of data can be read
from the register in bits or bytes at a time.
To read the data of the first bit of R9000, for example, specify RD R9000.1.
NOTE
In detailed explanation of each functional instruction, there are some functional
instructions which do not have description for “Operation Output Register (R9000
to R9005, Z0 to Z5)”. As for these functional instructions, result of the operation
output register just after execution of the functional instruction is uncertain.
- 266 -
B-64513EN/03 4.LADDER LANGUAGE
4.3 TIMER
The following types of timer instruction are available. Use any of these instructions as appropriate for
your purpose.
- 267 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format. In case of extended type format, another
functional instruction can be connected instead of a W1.
Normal format
ACT W1
SUB 3
TMR {{{ Timer number
Timer relay
In the above mnemonic format, instruction name "TMR" at step number 2 can be abbreviated as "T".
ACT
W1
T
T indicates the time set in this timer
command.
Fig. 4.3.1 (c) Operation of the timer
Control condition
ACT = 0: Turns off W1.
ACT = 1: Starts the timer.
Parameter
Set the timer number.
- 268 -
B-64513EN/03 4.LADDER LANGUAGE
WARNING
1 If the timer number is duplicated, or falls outside the valid range, the operation will
be unpredictable.
2 When using the ladder dividing management function, do not use the duplicated
timer number in different divided ladder programs on the same PMC path.
3 When using the Common PMC Memory mode, don't use the duplicated timer
number in multiple PMC paths.
Setting timers
The initial value of the timer setting time can be set in steps of 48 msec for timer numbers 1 to 8 and in
steps of 8 msec 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 msec is set, the remainder 6 (38 = 8 × 4 + 6) is discarded, and only 32 msec is actually
set.
Initial number of the timer 1st to 5th path PMC Dual check
setting time PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D safety PMC
48-msec timer number 1 to 8 1 to 8 1 to 8 1 to 8 1 to 8
8-msec timer number 9 to 40 9 to 250 9 to 500 9 to 500 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.
Error is caused only by operation time of the timer instruction. For example, when a timer instruction is
used in the 2nd level sequence part, the variation does not include the delay time (Max. 2nd level
sequence one cycle time) until the sequence actuates after the set time is reached.
- 269 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format. In case of extended type format, another
functional instruction can be connected instead of a W1.
Normal format
ACT W1
SUB 24
TMRB {{{ Timer number
{{{{ Setting time Timer relay
Table 4.3.2
Mnemonic of TMRB instruction (Normal format)
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 24 TMRB instruction
3 (PRM) {{{ Timer number
4 (PRM) {{{{ Setting time
5 WRT {{{{ .{ Timer relay output W1
ACT
W1
T
T indicates the time set in this timer command.
Control condition
ACT = 0: Turns off W1.
ACT = 1: Starts the timer.
- 270 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
Specify the timer number of a fixed timer. The timer numbers and the setting time range are as shown
below.
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.
- 271 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format. In case of extended type format, another
functional instruction can be connected instead of a W1.
Normal format
ACT W1
SUB 77
TMRBF {{{ Timer number
{{{{ Setting time Timer relay
Table 4.3.3
Mnemonic of TMRBF instruction (Normal format)
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 77 TMRBF instruction
3 (PRM) {{{ Timer number
4 (PRM) {{{{ Setting time
5 WRT {{{{ .{ Timer relay output W1
ACT
W1 T
T indicates the timer value.
Control condition
ACT=0: Starts the timer.
ACT=1: Reset the timer and turn on W1.
- 272 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
Specify the timer number of the fixed timer to the 1st parameter. You have to specify the unique timer
number for all the TMRB (SUB 24) and TMRBF (SUB 77) instructions.
Specify the timer value of the fixed timer to the 2nd parameter. The unit is millisecond.
The available timer number and timer value is shown below.
WARNING
If the timer number of TMRB or TMRBF is conflicted or if the timer number is out of
range, the operation is not guaranteed.
- 273 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format. In case of extended type format, another
functional instruction can be connected instead of a W1.
Normal format
ACT W1
SUB 54
TMRC { Timer accuracy number
{{{{ Timer set time address Timer relay
{{{{ Timer register address
Table 4.3.4
Mnemonic of TMRC instruction (Normal format)
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 54 TMRC instruction
3 (PRM) {{{ Timer accuracy number
4 (PRM) {{{{ Timer set time address
5 (PRM) {{{{ Timer register address
6 WRT {{{{ .{ Timer relay output W1
ACT
W1
T
T indicates the time set in this timer command.
Control condition
ACT = 0: Turns off W1.
ACT = 1: Starts the timer.
- 274 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Timer accuracy
The timer accuracy values, setting time range, and error are as shown below.
Timer Setting
The range of setting time (Note) Margin of error
accuracy number
8 msec 0 8 msec to about 262.1 sec 1st level execution cycle (1, 2, 4 or 8ms)
48 msec 1 48 msec to about 26.2 min 1st level execution cycle (1, 2, 4 or 8ms)
1 sec 2 1 sec to about 546 min 1st level execution cycle (1, 2, 4 or 8ms)
10 sec 3 10 sec to about 91 h 1st level execution cycle (1, 2, 4 or 8ms)
1 min 4 1 min to about 546 h 1 sec
1 msec 5 1 msec to about 32.7 sec 1st level execution cycle (1, 2, 4 or 8ms)
10 msec 6 10 msec to about 327.7 sec 1st level execution cycle (1, 2, 4 or 8ms)
100 msec 7 100 msec to about 54.6 min 1st level execution cycle (1, 2, 4 or 8ms)
This instruction has the above error. Moreover, the execution time until the timer instruction is
executed in a sequence program (the maximum is the time of one cycle of each ladder execution
level) is added to the error.
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 msec, the value 0
means 8 msec and the value 32,767 means 262,136 msec.
The timer setting time is converted to the binary format based on the timer accuracy (in units of 8
msec, 48 msec, etc.).
The timer setting time is shown as follows:
8 msec 8 to 262,136 msec
48 msec 48 to 1,572,816 msec
1 sec 1 to 32,767 sec
10 sec 10 to 327,670 sec
1 min 1 to 32,767 min
1 msec 1 to 32,767 msec
10 msec 10 to 327,670 msec
100 msec 100 to 3,276,700 msec
- 275 -
4.LADDER LANGUAGE B-64513EN/03
Timer register + 0
Timer register + 1
Timer register
Timer register + 2
Timer register + 3
- 276 -
B-64513EN/03 4.LADDER LANGUAGE
In "Setting time", a constant or a PMC memory address for storing data can be specified. An integration
time is output to a specified PMC address, so that the integration time can be output to the outside or used
for another operation.
When the integration time has reached "Setting time", timer relay W1=1 is set. If ACT=1 even when the
integration time has exceeded "Setting time", a measurement is continued until a maximum time is
reached. During this period as well, timer relay W1=1 is set.
To reset the integration time and timer relay to 0, set RST (Reset)=1.
As indicated below, two types of the stop watch timer instructions are available according to the timer
accuracy.
On
ACT
Off
On
RST
Off
Setting time
Integration time
On
Timer relay
Off
W1
- 277 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.3.5 (b) shows the ladder format and Table 4.3.5 (b) shows the mnemonic format.
RST W1
Control condition
(a) Reset (RST)
RST=0: Reset operation is canceled.
RST=1: Reset operation is executed.
The integration time is reset to 0.
Even when input signal ACT=1 is set, reset operation has priority, and the stop watch timer
is stopped. W1=0 is also set.
NOTE
Set RST to 1 only when reset operation is needed. Usually, set RST to 0.
- 278 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Setting time
Specify a time-out period for the timer. A value from 0 to 2147483647 may be specified. If a
value out of this range is specified, integration operation is performed but timer relay W1=0 is set at
all times.
In this parameter, a constant or a PMC memory address for storing data can be specified.
If an address is specified, specify "Setting time" as signed binary data by using the contiguous four
bytes of memory starting from the specified address.
Specified address +0
Specified address +1
Setting time
Specified address +2 (Signed binary data)
Specified address +3
NOTE
When a Setting time is rewritten during execution of instruction, the result is
reflected immediately.
(4)
(3)
Setting time Error
(2)
Integration time (1)
On
Timer relay W1 Off
Integration time accumulation starts in the execution cycle immediately after ACT=1 (On) is set, and
continues until an execution cycle where ACT=0 (Off) is set. Timer relay W1=1 (On) is set when
the integration time has reached "Setting time".
A maximum error per measurement section (pair of ACT On/Off) is "±ladder execution cycle time".
NOTE
Do not perform rewriting of integration time during execution of instruction.
NOTE
W1 must not be omitted.
- 280 -
B-64513EN/03 4.LADDER LANGUAGE
4.4 COUNTER
The following types of counter instruction are available. Use any of these instructions as appropriate for
your purpose.
- 281 -
4.LADDER LANGUAGE B-64513EN/03
WARNING
When an incorrect BCD data was set to a BCD type counter, the movement of
CTR cannot be sure.
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
Format
The followings are the ladder format and the mnemonic format.
CNO W1
SUB 5
UPD CTR {{{ Counter number
Count up output
RST
ACT
- 282 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.4.1 Mnemonic of CTR instruction
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ CNO CNO
2 RD.STK {{{{ .{ UPD CNO UPD
3 RD.STK {{{{ .{ RST CNO UPD RST
4 RD.STK {{{{ .{ ACT CNO UPD RST ACT
5 SUB 5 CTR instruction
6 (PRM) {{{ Counter number
7 WRT {{{{ .{ Counter output W1
Control conditions
(a) Specify the initial value. (CNO)
CNO = 0: Begins the value of the counter with 0.
0, 1, 2, 3, ....., n.
CNO = 1: Begins the value of the counter with 1 (0 is not used).
1, 2, 3, ....., n.
(b) Specify up or down counter. (UPDOWM)
UPD = 0: Up counter. The counter begins with 0 when CNO = 0; 1 when CNO =1.
UPD = 1: Down counter. The counter begins with the preset value.
CAUTION
Set RST to 1, only when reset is required.
"1"
"0"
Count Count
- 283 -
4.LADDER LANGUAGE B-64513EN/03
Parameter
(a) Counter number
The numbers that can be used are shown below.
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
1 If the counter number is duplicated, or falls outside the valid range, the operation
will be unpredictable.
2 When using the ladder dividing management function, do not use the duplicated
counter number in different divided ladder programs on the same PMC path.
3 When using the Common PMC Memory mode, don't use the duplicated timer
number in multiple PMC paths.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 284 -
B-64513EN/03 4.LADDER LANGUAGE
L1
R200.1
L1 R200.1
R200.1
L1
(CNO) CUP Countup output
R200.1 SUB 5
L1 Y6.1
R200.1
CRST.M
(RST)
X36.0
CUP M30X
(ACT)
Y6.1 R200.3
- 285 -
4.LADDER LANGUAGE B-64513EN/03
[Example 2]
Using of the counter to store the position of a rotor.
L1
"1"
R200.1
R200.1
L1
R200.1
L1
(CNO)
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).
- 286 -
B-64513EN/03 4.LADDER LANGUAGE
(2) Counter number and W1
In this example, the second counter is used. The result of W1 is not used, but its address must be
determined.
(3) Operation
(a) Setting the preset value
Since the rotor to be controlled is 12-angle as shown in Fig. 4.4.1 (d), 12 must be preset in the
counter. It is set from the counter screen.
(b) Setting the current value
When the power is turned on, the position of the rotor must be equated with the count on the
counter. The count is set via the counter screen. Once a current value is set, then correct
current positions will be loaded to the counter every time.
(c) The POS signal turns on and off each time the rotor rotates.
The number of times of the POS signal turns on and off is counted by the counter 2, as below.
1, 2, 3, . . . 11, 12, 1, 2, . . .
For forward rotation
1, 12, 11, . . . 3, 2, 1, 12 . . .
For reverse rotation
- 287 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format the mnemonic format.
CNO W1
SUB 56
UPD CTRB {{{ Counter number
{{{{ Preset value Count up
RST
ACT
Control conditions
(a) Specifying the initial value (CNO)
CNO = 0: The counter value starts with "0". 0,1,2,3,.......,n
CNO = 1: The counter value starts with "1". 1,2,3,.........,n
(b) Specifying up or down (UPD)
UPD = 0: Up counter
The initial value is "0" when CNO = 0 or "1" when CNO = 1.
UPD = 1: Down counter
The initial value is the preset value.
- 288 -
B-64513EN/03 4.LADDER LANGUAGE
(c) Reset (RST)
RST = 0: Cancels reset.
RST = 1: Resets. W1 is reset to 0. The accumulated value is reset to the initial value.
CAUTION
Set RST to 1, only when reset is required.
Parameters
(a) Counter number
The numbers that can be used are shown below.
WARNING
1 If the counter number is duplicated, or falls outside the valid range, the operation
will be unpredictable.
2 When using the ladder dividing management function, do not use the duplicated
counter number in different divided ladder programs on the same PMC path.
3 When using the Common PMC Memory mode, don't use the duplicated counter
number in multiple PMC paths.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
Accumulate value
The address C5000s are used for accumulate value of the CTRB. Each CTRB consumes 2 bytes.
CTRB of counter number 1 uses C5000-5001 and CTRB of number 2 uses C5002-5003 for their
accumulate values.
- 289 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
CNO W1
SUB 55
UPD CTRC {{{{ Counter preset value address
{{{{ Counter register address
RST Count up
ACT
Control conditions
(a) Specifying the initial value (CNO)
CNO = 0: The count value starts with "0". 0, 1, 2, 3, . . . n
CNO = 1: The count value starts with "1". 1, 2, 3, . . . n
(b) Specifying up or down count (UPD)
UPD = 0: Up counter. The initial value is "0" when CNO = 0 or "1" when CNO = 1.
UPD = 1: Down counter. The initial value is the preset value.
- 290 -
B-64513EN/03 4.LADDER LANGUAGE
(c) Reset (RST)
RST = 0: Reset cancelled.
RST = 1: Reset. W1 is reset to "0". The accumulated value is reset to the initial value.
CAUTION
Set RST to 1, only when reset is required.
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.
Counter register +0
CTR Count value
Counter register +1
Counter register +2
WORK WORK: Unusable
Counter register +3
CAUTION
When R address is specified as the counter register address, the counter starts
with count value "0" at power on.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 291 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.4.4 shows the ladder format and Table 4.4.4 shows the mnemonic format.
Countup
CNO W1
SUB 223
CTRD
{{{{ Counter register address
RST
ACT
Control conditions
(a) Specifying the initial value (CNO)
CNO = 0: The count value starts with "0". 0, 1, 2, 3, . . . n
CNO = 1: The count value starts with "1". 1, 2, 3, . . . n
- 292 -
B-64513EN/03 4.LADDER LANGUAGE
(b) Specifying up or down count (UPDOWN)
UPDOWN = 0: Up counter. The initial value is "0" when CNO = 0 or "1" when CNO = 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.
CAUTION
Set RST to 1, only when reset is required.
Parameters
(a) Counter preset value address
The first address of the counter preset value field is set.
The continuous 4-byte memory space from the first address is required for this field. Address D is
normally used.
Counter register +0
Counter register +1
Count value
Counter register +2 (0 to 2,147,483,647)
Counter register +3
Counter register +4
WORK: Unusable
Counter register +5
CAUTION
When R address is specified as the counter register address, the counter starts
with count value "0" at power on.
- 293 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
W1 is not omissible.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 294 -
B-64513EN/03 4.LADDER LANGUAGE
- 295 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
Normal format
ACT
SUB 43
MOVB {{{{ Transfer source address
{{{{ Transfer destination address
ACT
SUB 43
MOVB {{{{ Transfer source address Functional Instruction
{{{{ Transfer destination address
Table 4.5.1
Mnemonic of MOVB instruction (Normal format)
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 43 MOVB instruction
3 (PRM) {{{{ Transfer source address
4 (PRM) {{{{ Transfer destination address
Control condition
(a) Execution specification
ACT = 0: No data is transferred.
ACT = 1: One-byte data is transferred.
Parameters
(a) Transfer source address
Specify the source address for the transfer.
(b) Transfer destination address
Specify the destination address for the transfer.
Output (W1)
When the instruction is executed, W1=1 is set. W1 may be omitted.
- 296 -
B-64513EN/03 4.LADDER LANGUAGE
ACT
SUB 44
MOVW {{{{ Transfer source address Functional Instruction
{{{{ Transfer destination address
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.
(b) Transfer destination address
Specify the destination address for the transfer.
NOTE
Take care not to specify overlapped areas for source and destination. If the
source and destination areas are overlapped with each other, the result is not
guaranteed.
Output (W1)
When the instruction is executed, W1=1 is set. W1 may be omitted.
- 297 -
4.LADDER LANGUAGE B-64513EN/03
ACT
SUB 47
MOVD {{{{ Transfer source address Functional Instruction
{{{{ Transfer destination address
Control condition
(a) Execution specification
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.
(b) Transfer destination address
Specify the destination address for the transfer.
NOTE
Take care not to specify overlapped areas for source and destination. If the
source and destination areas are overlapped with each other, the result is not
guaranteed.
Output (W1)
When the instruction is executed, W1=1 is set. W1 may be omitted.
- 298 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.5.4 shows the ladder format and Table 4.5.4 shows the mnemonic format.
Normal format
ACT
SUB 45
MOVN { Number of bytes to be transferred
{{{{ Transfer source address
{{{{ Transfer destination address
ACT
SUB 45
MOVN { Number of bytes to be transferred Functional Instruction
{{{{ Transfer source address
{{{{ Transfer destination address
Table 4.5.4
Mnemonic of MOVN instruction (Normal format)
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 45 MOVN instruction
3 { Number of bytes to be transferred
4 (PRM) {{{{ Transfer source address
5 (PRM) {{{{ Transfer destination address
Control condition
(a) Execution specification
ACT = 0: No data is transferred.
ACT = 1: A specified number of bytes are transferred.
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.
- 299 -
4.LADDER LANGUAGE B-64513EN/03
CAUTION
Make sure that the source data area and destination data area are within the
PMC address range.
(b) Transfer source address
Specify the source address for the transfer.
(c) Transfer destination address
Specify the destination address for the transfer.
NOTE
Take care not to specify overlapped areas for source and destination. If the
source and destination areas are overlapped with each other, the result is not
guaranteed.
Output (W1)
When the instruction is executed, W1=1 is set. W1 may be omitted.
- 300 -
B-64513EN/03 4.LADDER LANGUAGE
7 6 5 4 3 2 1 0
Input data 0 0 0 0 0 0 0 0
L ogical p ro duct { { { { { { { {
d ata
Low-orde r 4 -b it d ata
Hig h-o rd er 4 -bit d ata
Format
Fig. 4.5.5 (a) shows the ladder format and Table 4.5.5 shows the mnemonic format.
ACT
SUB 8
MOVE {{{{ High-order 4-bit logical product data
{{{{ Low-order 4-bit logical product data
{{{{ Input data address
{{{{ Output address
Execution specification
ACT = 0: MOVE instruction not executed.
ACT = 1: Executed.
- 301 -
4.LADDER LANGUAGE B-64513EN/03
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-orde r 4-bit logical product data
- 302 -
B-64513EN/03 4.LADDER LANGUAGE
Output data
Format
Fig. 4.5.6 shows the ladder format and Table 4.5.6 shows the mnemonic format.
ACT
SUB 28
MOVOR {{{{ Input data address
{{{{ Logical sum data address
{{{{ Output address
Control condition
(a) Execution specification (ACT)
ACT = 0: Do not execute MOVOR.
ACT = 1: Execute MOVOR.
Parameters
(a) Input data address
Specify the address for the input data.
(b) Logical sum data address
Specifies the address of the logical sum data with which to OR the transferred data.
(c) Output address
This is the address to contain the logical sum obtained. It is also possible to obtain the logical sum
(OR) of the input and the logical sum data and output the result in the logical sum data address.
For this, you must set the logical sum data address for the output address.
- 303 -
4.LADDER LANGUAGE B-64513EN/03
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
DT[M−1]
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]
I[N−1] S[N−1]
DT[5] C
Index Input/output
array: I data array: S
DT[M−1]
Data table: DT
The operation of the instruction:
DT[I[n]] → S[n] (n = 0, 1, 2, ..., N−1)
Fig. 4.5.7 (b) Read data from data table (extended specification)
- 304 -
B-64513EN/03 4.LADDER LANGUAGE
(b) Write data to data table
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]
DT[M−1]
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]
S[N−1] I[N−1]
DT[5] C
Input/output Index
data array: S array: I
DT[M−1]
Data table: DT
The operation of the instruction:
S[n] → DT[I[n]] (n = 0, 1, 2, ...,
- 305 -
4.LADDER LANGUAGE B-64513EN/03
Format
Figs. 4.5.7 (e) and (f) show the ladder format and Tables 4.5.7 (a) and (b) show the mnemonic format.
RW W1
SUB 35
RST XMOVB { Format specification
{{{{ Storage address of number of data table elements
ACT {{{{ Data table head address DT[ ]
{{{{ I/O data storage address S
{{{{ Index storage address I
RW W1
SUB 35
RST XMOVB {{{{ Format specification
{{{{ Storage address of number of data table elements
ACT {{{{ Data table head address DT[ ]
{{{{ I/O data storage address S[ ]
{{{{ Index storage address I[ ]
- 306 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.5.7 (b) Mnemonic of MOVOR instruction (extended specification)
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ RW RW
2 RD.STK {{{{ .{ RST RW RST
3 RD.STK {{{{ .{ ACT RW RST ACT
4 SUB 35 XMOVB instruction
5 (PRM) {{{{ Format specification
6 (PRM) {{{{ Storage address of number of data
table elements
7 (PRM) {{{{ Data table head address
8 (PRM) {{{{ I/O data storage address
9 (PRM) {{{{ Index storage address
10 WRT {{{{ .{ Error output W1
Control conditions
(a) Read, write designation (RW)
RW = 0: Read data from data table.
RW = 1: Write data to data table.
(b) Reset (RST)
RST = 0: Reset release.
RST = 1: Reset. W1 = 0.
(c) Execution specification (ACT)
ACT = 0: Do not execute XMOVB instruction. There is no change in W1.
ACT = 1: Execute XMOVB instruction.
Parameters
(a) Format specification
Specify the data length in the first digit of the parameter.
0001:1-byte length data
0002:2-byte length data
0004:4-byte length data
When setting format specification in the following extended format, XMOVB can read/write
multiple data in data table in 1 instruction.
Specify the 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 bytes length
0nn4:In case of reading/writing multiple (nn) data in data table by 4 bytes 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.
- 307 -
4.LADDER LANGUAGE B-64513EN/03
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 308 -
B-64513EN/03 4.LADDER LANGUAGE
WARNING
1 You can not specify the table that includes different kind of address type or
discontinuous address area. In this case, operation is not guaranteed.
2 You have to set the "Storage address of number of data table elements" and the
"Data table head address" not to exceed the limit of its continuous address area.
If the table exceeds the limit of the continuous address area, operation is not
guaranteed. For example, when a range of address R is 0 to 7999 and the
"Format specification" is set to 1 and the "Data table head address" is set to
"R7990", you can set 10 or less to the "Storage address of number of data table
elements".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 309 -
4.LADDER LANGUAGE B-64513EN/03
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
- 310 -
B-64513EN/03 4.LADDER LANGUAGE
(b) Write data to data table (extended specification)
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
- 311 -
4.LADDER LANGUAGE B-64513EN/03
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
<1> 2
Input or output data
<2> 3
Format
Fig. 4.5.8 (b) shows the ladder format and Table 4.5.8 shows the mnemonic format.
BYT W1
SUB 18
RW XMOV {{{{ Number of data of the data table (Table capacity)
{{{{ Data table heading address
RST {{{{ Address storing input/output data
{{{{ Address storing table internal number
ACT
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 written in the data table.
(c) Reset (RST)
RST = 0: Release reset.
RST = 1: Enables reset, that is, sets W1 to 0.
(d) Execution specification (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. The value, which you can set, depends on the control
condition "BYT".
BYT=0: 1 to 99
BYT=1: 1 to 9999
(b) Data table heading address
The address that can be used in a data table is fixed. When preparing a data table, the addresses to be
used must be determined beforehand, and the head address placed in that data table.
(c) Address storing input/output data
The input/output data storage address is the address storing the specified data, and is external to the
data table. The contents of the data table is read or rewritten.
(d) Address storing table internal number
The table internal number storage address is the address storing the table internal number of the data
to be read or rewritten.
This address requires memory specified by the number-of-digits designation (BYT).
WARNING
1 You can not specify the table that includes different kind of address type or
discontinuous address area. In this case, operation is not guaranteed.
2 You have to set the "Number of data of the data table" and the "Data table
heading address" not to exceed the limit of its continuous address area. If the
table exceeds the limit of the continuous address area, operation is not
guaranteed. For example, when a range of address R is 0 to 7999 and the control
condition "BYT" is set to 0 and the "Data table heading address" is set to
"R7990", you can set 10 or less to the "Number of data of the data table".
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.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 313 -
4.LADDER LANGUAGE B-64513EN/03
Transfer source data is specified in "Transfer source address" and "Transfer source bit position". Transfer
destination data is specified in "Transfer destination address" and "Transfer destination bit position".
From "Transfer source bit position", data consisting of successive bits as many as "Number of bits to be
transferred" is transferred to "Transfer destination address".
R100
7 6 5 4 3 2 1 0
Transfer source
Transfer destination
7 6 5 4 3 2 1 0
R500
Positions other than R500.4-6 remain unchanged.
R101 R100
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Transfer source
Transfer destination
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
R501 R500
Positions other than R500.3-5 remain unchanged.
- 314 -
B-64513EN/03 4.LADDER LANGUAGE
R101 R100
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Transfer source
Transfer destination
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
R501 R500
Positions other than R500.7, R501.0, and R501.1 remain unchanged.
Format
Fig. 4.5.9(d) shows the ladder format and Table 4.5.9 shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 224 {{{{
MOVBT {{{{
{{{{
{{{{
{{{{
ACT
- 315 -
4.LADDER LANGUAGE B-64513EN/03
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Number of bits to be transferred
Specify the number of bits to be transferred. A number from 1 to 256 may be specified.
NOTE
Bits are transferred even when "Transfer source address" and "Transfer
destination address" overlap each other.
NOTE
Bits are transferred even when "Transfer source address" and "Transfer
destination address" overlap each other.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 316 -
B-64513EN/03 4.LADDER LANGUAGE
A A
A Number of
setting data
A
A
Format
Fig. 4.5.10(b) shows the ladder format and Table 4.5.10(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 225 {{{{
SETNB {{{{
{{{{
ACT
- 317 -
4.LADDER LANGUAGE B-64513EN/03
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Number of setting data
Specify the number of setting data items. A number from 1 to 256 may be specified.
NOTE
Specify a valid number to the "Number of setting data", so that the area from
"Setting destination address" may be arranged within valid address range.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 318 -
B-64513EN/03 4.LADDER LANGUAGE
Address1 Address2
Format
Fig. 4.5.11(b) shows the ladder format and Table 4.5.11(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional instruction
SUB 228 {{{{
XCHGB {{{{
ACT
- 319 -
4.LADDER LANGUAGE B-64513EN/03
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
NOTE
Data is exchanged in every cycle while ACT is kept on.
Parameters
(a) Address 1
Specify the 1st address which exchanges data.
(b) Address 2
Specify the 2nd address which exchanges data.
NOTE
If Address 1 and Address 2 areas are overlapped with each other, the result is not
guaranteed.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 320 -
B-64513EN/03 4.LADDER LANGUAGE
The number of data items to be swapped is specified using a constant. Swap source data and a result
output destination are specified using addresses.
As indicated below, two types of data swap instructions are available according to the type of data to be
swapped. The SWAPW instruction swaps the higher one byte and lower one byte of each data item with
each other. The SWAPD instruction swaps the higher two bytes and lower two bytes of each data item
with each other.
In each instruction, source data and output data are of the same data type.
Swap
15 87 0
- 321 -
4.LADDER LANGUAGE B-64513EN/03
31 24 23 16 15 87 0
Swap
31 24 23 16 15 87 0
Format
Fig. 4.5.12(c) shows the ladder format and Table 4.5.12(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional instruction
SUB 231 {{{{
SWAPW {{{{
{{{{
ACT
- 322 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.5.12 (b) Mnemonic of SWAPW, SWAPD instruction
Mnemonic format Memory status of control
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 231 SUB No. (SWAPW instruction)
3 (PRM) {{{{ Number of data (Constant)
4 (PRM) {{{{ Source data top address
5 (PRM) {{{{ Result output top address
6 WRT {{{{ .{ Normal end output W1
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Number of data
Specify the number of data items to be swapped. A number from 1 to 256 may be specified.
NOTE
Specify a valid number to the "Number of data", so that both of the area from
"Source data top address" and the area from "Result output top address" may be
arranged within valid address range.
NOTE
If "Source data top address" and "Result output top address" match each other
completely, the instruction is executed normally. If the source data area partially
overlaps the result output area, normal operation of the instruction is not
guaranteed.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 323 -
4.LADDER LANGUAGE B-64513EN/03
0
Search data 1
100 2 100
3
Search result output
CAUTION
You can specify any R,E and D address for the data table in this functional
instruction.
Format
Fig. 4.5.13 (b) shows the ladder format and Table 4.5.13 shows the mnemonic format.
RST W1
SUB 34
ACT DSCHB { Format designation
{{{{ Storage address of number of data in data table
{{{{ Data table head address
{{{{ Search data address
{{{{ Output address of search result
- 324 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.5.13 Mnemonic of DSCHB instruction
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ RST RST
2 RD.STK {{{{ .{ ACT RST ACT
3 SUB 34 DSCHB instruction
4 (PRM) { Format designation
5 (PRM) {{{{ Storage address of number of data in
data table
6 (PRM) {{{{ Data table head address
7 (PRM) {{{{ Search data address
8 (PRM) {{{{ Output address of search result
9 WRT {{{{ .{ Search result W1
Control conditions
(a) Reset (RST)
RST = 0: Release reset
RST = 1: Reset. W1 = "0".
Parameters
(a) Format specification
Specifies data length. Specify byte length in the first digit of the parameter.
1: 1 byte length
2: 2 bytes length
4: 4 bytes length
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
WARNING
1 You can not specify the table that includes different kind of address type or
discontinuous address area. In this case, operation is not guaranteed.
2 You have to set the "Storage address of number of data table elements" and the
"Data table head address" not to exceed the limit of its continuous address area.
If the table exceeds the limit of the continuous address area, operation is not
guaranteed. For example, when a range of address R is 0 to 7999 and the
"Format specification" is set to 1 and the "Data table head address" is set to
"R7990", you can set 10 or less to the "Storage address of number of data table
elements".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 326 -
B-64513EN/03 4.LADDER LANGUAGE
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.5.14 (b) shows the ladder format and Table 4.5.14 shows the mnemonic format.
BYT W1
SUB 17
RST DSCH {{{{ Number of data of the data table (Table capacity)
{{{{ Data table heading address
ACT {{{{ Search data address
{{{{ Search result output address
- 327 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Specify data size. (BYT)
BYT = 0: Data stored in the data table, BCD two digits long.
BYT = 1: Data stored in the data table, BCD four digits long.
(b) Reset (RST)
RST = 0: Release reset
RST = 1: Enables a reset, that is, sets W1 to 0.
(c) Execution specification (ACT)
ACT = 0: The DSCH instruction is not executed. W1 does not change.
ACT = 1: The DSCH is executed, and the table internal number storing the desired data is output.
If the data cannot be found, W1 = 1.
Parameters
(a) Number of data of the data table
Specify 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. The value which you can set depends on the control
condition "BYT".
BYT=0: 1 to 99
BYT=1: 1 to 9999
(b) Data table heading address
Addresses that can be used in a data table are fixed. When preparing a data table, the addresses to
be used must be determined beforehand, specify the head address of a data table here.
(c) Search data address
Specify the address of the data to be searched.
(d) Search result output address
If the data being searched for is found, the internal number of the table storing the data is output to
this field. This address field is called a search result output address field.
The search result output address field requires memory whose size is the number of bytes
conforming to the size of the data specified by BYT.
WARNING
1 You can not specify the table that includes different kind of address type or
discontinuous address area. In this case, operation is not guaranteed.
2 You have to set the "Number of data of the data table" and the "Data table
heading address" not to exceed the limit of its continuous address area. If the
table exceeds the limit of the continuous address area, operation is not
guaranteed. For example, when a range of address R is 0 to 7999 and the control
condition "BYT" is set to 0 and the "Data table heading address" is set to
"R7990", you can set 10 or less to the "Number of data of the data table".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 328 -
B-64513EN/03 4.LADDER LANGUAGE
- 329 -
4.LADDER LANGUAGE B-64513EN/03
4.6.1 TBLRB (Reading Data from Table (1 Byte Length) : SUB 233)
TBLRW (Reading Data from Table (2 Bytes Length) : SUB 234)
TBLRD (Reading Data from Table (4 Bytes Length) : SUB 235)
The Reading data from table instruction transfers data from a specified position in a table to another
address.
The top of a table is specified in "Table top address". In "Reading position", a data position is specified
relative to the top data position assumed to be 0.
In "Reading position", a constant or a PMC memory address for storing data can be specified.
As indicated below, three types of Reading data from table instructions are available according to the type
of data to be read from a table. In each instruction, the data in the table and data at "Transfer destination
address" are of the same data type. However, the data type of "Reading position" is two-byte signed
binary data at all times.
0 D100
Reading position
1 D102
D200 10 : : :
10 D120
11 D122
- 330 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.6.1(b) shows the ladder format and Table 4.6.1(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 233 {{{{
TBLRB {{{{
{{{{
{{{{
ACT
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 331 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Number of data
Specify the number of data items in a table. Ensure that the entire table is within the valid address
range.
Specified address +0
Reading position
Specified address +1 (Signed binary data)
Output (W1)
W1=1: A transfer operation is terminated normally
W1=0: No transfer operation is executed (ACT=0)
A value not within the valid range is specified in "Reading position"
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 332 -
B-64513EN/03 4.LADDER LANGUAGE
The top of a table is specified in "Table top address". In "Reading position", a data position is specified
relative to the top data position assumed to be 0. In "Reading position", a constant or a PMC memory
address for storing data can be specified.
The byte length of data to be read from the table is specified in "Data size". The data in the table and
data at "Transfer destination address" are of the same data length. However, the data type of "Reading
position" is two-byte signed binary data at all times.
D100
Reading position
0 :
D105
D200 10 D106
1 :
D111
: : :
D160
10 :
D165
D166
11 :
D171
D300
The data No. in a table
:
D305
- 333 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.6.2(b) shows the ladder format and Table 4.6.2(a) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 236 {{{{
TBLRN {{{{
{{{{
{{{{
{{{{
ACT
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 334 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Number of data
Specify the number of data items in a table. Ensure that the entire table is within the valid address
range.
Specified address +0
Reading position
Specified address +1 (Signed binary data)
NOTE
The operation of the instruction is not guaranteed if "Transfer destination address"
overlaps the table. Specify "Transfer destination address" that does not overlap
the table.
Output (W1)
W1=1: A transfer operation is terminated normally
W1=0: No transfer operation is executed (ACT=0)
A value not within the valid range is specified in "Reading position"
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 335 -
4.LADDER LANGUAGE B-64513EN/03
The top of a table is specified in "Table top address". In "Writing position", a data position is specified
relative to the top data position assumed to be 0. In "Writing position", a constant or a PMC memory
address for storing data can be specified.
As indicated below, three types of writing data to table instructions are available according to the type of
data to be written to a table. In each instruction, the data in the table and transfer data are of the same
data type. However, the data type of "Writing position" is two-byte signed binary data at all times.
0 D100
Writing position
1 D102
D200 10
: : :
10 D120
11 D122
D300 250
The data No. in a table
Transfer data
- 336 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.6.3(b) shows the ladder format and Table 4.6.3(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 237 {{{{
TBLWB {{{{
{{{{
{{{{
ACT
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 337 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Number of data
Specify the number of data items in a table. Ensure that the entire table is within the valid address
range.
Specified address +0
Writing position
Specified address +1 (Signed binary data)
Output (W1)
W1=1: A transfer operation is terminated normally
W1=0: No transfer operation is executed (ACT=0)
A value not within the valid range is specified in "Writing position"
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 338 -
B-64513EN/03 4.LADDER LANGUAGE
The top of a table is specified in "Table top address". In "Writing position", a data position is specified
relative to the top data position assumed to be 0. In "Writing position", a constant or a PMC memory
address for storing data can be specified.
The byte length of data to be written to the table is specified in "Data size". The data in the table and
data at "Transfer data top address" are of the same data length. However, the data type of "Writing
position" is two-byte signed binary data at all times.
D100
Writing position 0 :
D105
D200 10 D106
1 :
D111
: : :
D160
10 :
D165
D166
11 :
D171
The data No. in a table
D300
Transfer data top address
:
D305
Fig. 4.6.4 (a) Example of TBLWN instruction
- 339 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.6.4(b) shows the ladder format and Table 4.6.4 shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 240 {{{{
TBLWN {{{{
{{{{
{{{{
{{{{
ACT
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 340 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Number of data
Specify the number of data items in a table. Ensure that the entire table is within the valid address
range.
Specified address +0
Writing position
Specified address +1 (Signed binary data)
NOTE
The operation of the instruction is not guaranteed if "Transfer data top address"
overlaps the table. Specify "Transfer data top address" that does not overlap
the table.
Output (W1)
W1=1: A transfer operation is terminated normally
W1=0: No transfer operation is executed (ACT=0)
A value not within the valid range is specified in "Writing position"
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 341 -
4.LADDER LANGUAGE B-64513EN/03
- 342 -
B-64513EN/03 4.LADDER LANGUAGE
Table4.6.5 (b) Concurrence conditions of search data
Instruction Search condition Concurrence conditions
DSEQx = Table data = search data
DSNEx ≠ Table data ≠ search data
DSGTx > Table data > search data
DSLTx < Table data < search data
DSGEx ≧ Table data ≧ search data
DSLEx ≦ Table data ≦ search data
The top of a table is specified in "Table top address". In "Search starting position", a data position is
specified relative to the top data position assumed to be 0. A value output to "Find position output
address" is also indicated as a data position relative to the top data position assumed to be 0. In "Search
starting position", a constant or a PMC memory address for storing data can be specified.
If a value not within the valid range is specified in "Search starting position", -1 is output to "Find
position output address", and W1=0 is set.
Moreover, if data that satisfies a specified condition is not found in the area from "Search starting
position" to the end of the table as a result of search operation, -1 is output to "Find position output
address", and W1=0 is set.
0 D100 10
Search starting position Search data
1 D102 200
D200 3 D300 175
2 D104 4000
3 D106 175
4 D108 50
5 D110 90
6 D112 0
7 D114 180
: : :
19 D138 200
D400 7
- 343 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.6.5(b) shows the ladder format and Table 4.6.5(c) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 241 {{{{
DSEQB {{{{
{{{{
{{{{
{{{{
ACT
Fig. 4.6.5 (b) Format of DSEQx, DSNEx, DSGTx, DSLTx, DSGEx, DSLEx instruction
Table 4.6.5 (c) Mnemonic of DSEQx, DSNEx, DSGTx, DSLTx, DSGEx, DSLEx instruction
Mnemonic format Memory status of control
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 241 SUB No. (DSEQB instruction)
3 (PRM) {{{{ Number of data (Constant)
4 (PRM) {{{{ Table top address
5 (PRM) {{{{ Search starting position (Address or
Constant)
6 (PRM) {{{{ Search data (Address or Constant)
7 (PRM) {{{{ Find position output address
8 WRT {{{{ .{ Result output W1
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Number of data
Specify the number of data items in a table. Ensure that the entire table is within the valid address
range.
- 344 -
B-64513EN/03 4.LADDER LANGUAGE
Specified address +0
Search starting position
Specified address +1 (Signed binary data)
Specified address +0
Find position
Specified address +1 (Signed binary data)
Output (W1)
W1=1: Data that satisfies a specified condition is found
W1=0: No search operation is executed (ACT=0)
Data that satisfies a specified condition is not found in the area from "Search starting position" to
the end of the table
A value not within the valid range is set in "Search starting position"
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 345 -
4.LADDER LANGUAGE B-64513EN/03
D400 10
0 D100 100
(Search range)
1 D102 200
2 D104 30000
3 D106 -2000
4 D108 50
5 D110 720
6 D112 30000
7 D114 -2000
8 D116 10000
9 D118 2000
10 D120 0
11 D122 0
: : :
19 D138 0
- 346 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.6.6(b) shows the ladder format and Table 4.6.6(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 259 {{{{
DMAXB {{{{
{{{{
{{{{
{{{{
ACT
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 347 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Number of data
Specify the number of data items in a table. Ensure that the entire table is within the valid address
range.
This parameter indicates the total number of data items of a table. A data range to be searched is
specified using the "Number of search data" parameter.
Specified address +0
Number of search data
Specified address +1 (Signed binary data)
Specified address +0
Find position
Specified address +1 (Signed binary data)
Output (W1)
W1=1: A search operation is terminated normally
W1=0: No search operation is executed (ACT=0)
A value not within the valid range is set in "Number of search data"
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 348 -
B-64513EN/03 4.LADDER LANGUAGE
D400 10
0 D100 100
(Search range)
1 D102 200
2 D104 30000
3 D106 -2000
4 D108 50
5 D110 720
6 D112 30000
7 D114 -2000
8 D116 10000
9 D118 2000
10 D120 0
11 D122 0
: : :
19 D138 0
- 349 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.6.7(b) shows the ladder format and Table 4.6.7(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 262 {{{{
DMINB {{{{
{{{{
{{{{
{{{{
ACT
Control condition
(a) Execution specification
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 350 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Number of data
Specify the number of data items in a table. Ensure that the entire table is within the valid address
range.
This parameter indicates the total number of data items of a table. A data range to be searched is
specified using the "Number of search data" parameter.
Specified address +0
Number of search data
Specified address +1 (Signed binary data)
Specified address +0
Find position
Specified address +1 (Signed binary data)
Output (W1)
W1=1: A search operation is terminated normally
W1=0: No search operation is executed (ACT=0)
A value not within the valid range is set in "Number of search data"
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 351 -
4.LADDER LANGUAGE B-64513EN/03
4.7 COMPARISON
The following types of comparison instruction are available. Use any of these instructions as
appropriate for your purpose.
NOTE
1 You can set either constant or address to each parameter for the "(*1)" marked
instruction. When you input a number to its parameter on LADDER editing
screen, the input is recognized as a constant parameter. When you input a
symbol that is composed of digits and that may be considered as a number, the
input is recognized as a number and treated as a constant parameter too. If you
want to set such address that has a confusing symbol, you have to input the
address, not the symbol, to the parameter.
- 352 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.7.1 shows the ladder format and Table 4.7.1 shows the mnemonic format.
ACT
SUB 200
EQB {{{{ Data1 (Constant or Address) Functional Instruction
{{{{ Data2 (Constant or Address)
Control condition
(a) Execution specification (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
Parameters
(a) Data 1
(b) Data 2
You can specify the constant or any address. The valid data range is shown below.
EQB: -128 to 127
EQW: -32768 to 32767
EQD: -2147483648 to 2147483647
- 353 -
4.LADDER LANGUAGE B-64513EN/03
Output (W1)
The result is output to W1.
W1=1: - ACT=1 and "Data 1" = "Data 2"
W1=0: - ACT=0
- ACT=1 and "Data 1" ≠ "Data2"
- 354 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.7.2 shows the ladder format and Table 4.7.2 shows the mnemonic format.
ACT
SUB 203
NEB {{{{ Data1 (Constant or Address) Functional Instruction
{{{{ Data2 (Constant or Address)
Table 4.7.2
Mnemonic of NEB, NEW and NED instructions
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 203 NEB instruction
204 NEW instruction
205 NED instruction
3 (PRM) {{{{ Data1 (Constant or Address)
4 (PRM) {{{{ Data2 (Constant or Address)
5 WRT {{{{ .{ Result W1
Control condition
(a) Execution specification (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
Parameters
(a) Data 1
(b) Data 2
You can specify the constant or any address. The valid data range is shown below.
NEB: -128 to 127
NEW: -32768 to 32767
NED: -2147483648 to 2147483647
- 355 -
4.LADDER LANGUAGE B-64513EN/03
Output (W1)
The result is output to W1.
W1=1: - ACT=1 and "Data 1" ≠ "Data 2"
W1=0: - ACT=0
- ACT=1 and "Data 1" = "Data2"
- 356 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.7.3 shows the ladder format and Table 4.7.3 shows the mnemonic format.
ACT
SUB 206
GTB {{{{ Data1 (Constant or Address) Functional
Instruction
{{{{ Data2 (Constant or Address)
Table 4.7.3
Mnemonic of GTB, GTW and GTD instructions
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 206 GTB instruction
207 GTW instruction
208 GTD instruction
3 (PRM) {{{{ Data1 (Constant or Address)
4 (PRM) {{{{ Data2 (Constant or Address)
5 WRT {{{{ .{ Result W1
Control condition
(a) Execution specification (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
Parameters
(a) Data 1
(b) Data 2
You can specify the constant or any address. The valid data range is shown below.
GTB: -128 to 127
GTW: -32768 to 32767
GTD: -2147483648 to 2147483647
- 357 -
4.LADDER LANGUAGE B-64513EN/03
Output (W1)
The result is output to W1.
W1=1: - ACT=1 and "Data 1" > "Data 2"
W1=0: - ACT=0
- ACT=1 and "Data 1" ≦ "Data2"
- 358 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.7.4 shows the ladder format and Table 4.7.4 shows the mnemonic format.
ACT
SUB 209
LTB {{{{ Data1 (Constant or Address) Functional
Instruction
{{{{ Data2 (Constant or Address)
Table 4.7.4
Mnemonic of LTB, LTW and LTD instructions
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 209 LTB instruction
210 LTW instruction
211 LTD instruction
3 (PRM) {{{{ Data1 (Constant or Address)
4 (PRM) {{{{ Data2 (Constant or Address)
5 WRT {{{{ .{ Result W1
Control condition
(a) Execution specification (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
Parameters
(a) Data 1
(b) Data 2
You can specify the constant or any address. The valid data range is shown below.
LTB: -128 to 127
LTW: -32768 to 32767
LTD: -2147483648 to 2147483647
- 359 -
4.LADDER LANGUAGE B-64513EN/03
Output (W1)
The result is output to W1.
W1=1: - ACT=1 and "Data 1" < "Data 2"
W1=0: - ACT=0
- ACT=1 and "Data 1" ≧ "Data2"
- 360 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.7.5 shows the ladder format and Table 4.7.5 shows the mnemonic format.
ACT
SUB 212
GEB {{{{ Data1 (Constant or Address) Functional
Instruction
{{{{ Data2 (Constant or Address)
Table 4.7.5
Mnemonic of GEB, GEW and GED instructions
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 212 GEB instruction
213 GEW instruction
214 GED instruction
3 (PRM) {{{{ Data1 (Constant or Address)
4 (PRM) {{{{ Data2 (Constant or Address)
5 WRT {{{{ .{ Result W1
Control condition
(a) Execution specification (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
Parameters
(a) Data 1
(b) Data 2
You can specify the constant or any address. The valid data range is shown below.
GEB: -128 to 127
GEW: -32768 to 32767
GED: -2147483648 to 2147483647
- 361 -
4.LADDER LANGUAGE B-64513EN/03
Output (W1)
The result is output to W1.
W1=1: - ACT=1 and "Data 1" ≧ "Data 2"
W1=0: - ACT=0
- ACT=1 and "Data 1" < "Data2"
- 362 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.7.6 shows the ladder format and Table 4.7.6 shows the mnemonic format.
ACT
SUB 215
LEB {{{{ Data1 (Constant or Address) Functional
Instruction
{{{{ Data2 (Constant or Address)
Table 4.7.6
Mnemonic of LEB, LEW and LED instructions
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 215 LEB instruction
216 LEW instruction
217 LED instruction
3 (PRM) {{{{ Data1 (Constant or Address)
4 (PRM) {{{{ Data2 (Constant or Address)
5 WRT {{{{ .{ Result W1
Control condition
(a) Execution specification (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
Parameters
(a) Data 1
(b) Data 2
You can specify the constant or any address. The valid data range is shown below.
LEB: -128 to 127
LEW: -32768 to 32767
LED: -2147483648 to 2147483647
- 363 -
4.LADDER LANGUAGE B-64513EN/03
Output (W1)
The result is output to W1.
W1=1: - ACT=1 and "Data 1" ≦ "Data 2"
W1=0: - ACT=0
- ACT=1 and "Data 1" > "Data2"
- 364 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.7.7 shows the ladder format and Table 4.7.7 shows the mnemonic format.
ACT
SUB 218
RNGB {{{{ Data1 (Constant or Address) Functional Instruction
{{{{ Data2 (Constant or Address)
{{{{ Input data (Constant or Address)
Table 4.7.7
Mnemonic of RNGB, RNGW and RNGD instructions
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 215 LEB instruction
216 LEW instruction
217 LED instruction
3 (PRM) {{{{ Data1 (Constant or Address)
4 (PRM) {{{{ Data2 (Constant or Address)
5 (PRM) {{{{ Input data (Constant or Address)
6 WRT {{{{ .{ Result W1
Control condition
(a) Execution specification (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
- 365 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Data 1
(b) Data 2
(c) Input data
You can specify the constant or any address. The valid data range is shown below.
RNGB: -128 to 127
RNGW: -32768 to 32767
RNGD: -2147483648 to 2147483647
Output (W1)
The result is output to W1.
W1=1: - ACT=1 and "Data 1 ≦ Input data ≦ Data 2"
- ACT=1 and "Data 2 ≦ Input data ≦ Data 1"
W1=0: - ACT=0
- ACT=1 and except for above condition.
- 366 -
B-64513EN/03 4.LADDER LANGUAGE
Note
To get detail comparison result for this instruction, it is necessary to program
ladder diagram using operation output register. For getting comparison result
easily, use above-mentioned binary comparison instructions.
Format
Fig. 4.7.8 shows the ladder format and Table 4.7.8 shows the mnemonic format.
ACT
SUB 32
COMPB
00
Format specification
{{{{ Input data (address)
{{{{ Address or data to be compared
Control condition
(a) Execution specification (ACT)
ACT = 0: Do not execute COMPB.
ACT = 1: Execute COMPB.
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
- 367 -
4.LADDER LANGUAGE B-64513EN/03
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
7 6 5 4 3 2 1 0
R9000
Z0
Zero ([input data] = [data compared])
Negative ([input data] < [data compared])
Overflow
The following table shows the relationship among the [input data], [data compared], and operation output
register.
Note
Overflow would occur when difference between input data and data compared
exceeds specified data lengths.
- 368 -
B-64513EN/03 4.LADDER LANGUAGE
(3) When checking that [input data] > [data compared]
ACT R9000.5 R9000.1 R9000.0 Check result
R9000.1
- 369 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.7.9 shows the ladder format and Table 4.7.9 shows the mnemonic format.
BYT W1
SUB 15
ACT COMP { Format specification
{{{{ Input data
{{{{ Comparison data address
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 specification (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) Format specification
0: Specify input data with a constant.
1: Specify input data with an address
Not specify input data directly, but specify an address storing input data.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 370 -
B-64513EN/03 4.LADDER LANGUAGE
- 371 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.7.10 shows the ladder format and Table 4.7.10 shows the mnemonic format.
BYT W1
SUB 16
ACT COIN { Format specification
{{{{ Input data
{{{{ Comparison data address
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.
(b) Execution specification
ACT = 0: The COIN instruction is not executed. W1 does not change.
ACT = 1: The COIN instruction is executed and the result is output to W1.
Parameters
(a) Format specification
0: Specifies input data as a constant.
1: Specifies input data as an address.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 373 -
4.LADDER LANGUAGE B-64513EN/03
- 375 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
Normal format
ACT W1
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 (W1)
The output signal level remains at 1 for one scanning cycle of the ladder level where this functional
instruction is operating. Another functional instruction can be connected instead of W1.
Parameters
1st to 5th path PMC Dual check
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D safety PMC
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.
- 376 -
B-64513EN/03 4.LADDER LANGUAGE
Operation
1 2 3 4 Execution period
ACT
OUT
- 377 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
Normal format
ACT W1
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 (W1)
The output signal level remains at 1 for one scanning period of the ladder level where this functional
instruction is operating. Another functional instruction can be connected instead of W1.
Parameters
1st to 5th path PMC Dual check
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-D safety PMC
Falling edge number 1 to 256 1 to 1000 1 to 2000 1 to 3000 1 to 256
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.
- 378 -
B-64513EN/03 4.LADDER LANGUAGE
Operation
1 2 3 4
Execution period
ACT
OUT
- 379 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.8.3 shows the ladder format and Table 4.8.3 shows the mnemonic format.
ACT
SUB 59
EOR
00
Format specification
{{{{ 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.
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format (constant or address specification).
0 0
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 380 -
B-64513EN/03 4.LADDER LANGUAGE
(b) Address A
Address stored input data to be exclusive-ORed. The data length is specified in the format
specification.
(d) Address C
Address used to store the result of an exclusive OR operation. The result of the exclusive OR
operation is output with the length specified in the 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
- 381 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.8.4 shows the ladder format and Table 4.8.4 shows the mnemonic format.
ACT
SUB 60
AND
00
Format specification
{{{{ 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.
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format (constant or address specification).
0 0
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 382 -
B-64513EN/03 4.LADDER LANGUAGE
(b) Address A
Address stored input data to be ANDed. The data length is specified in the format specification.
(d) Address C
Address used to store the result of an AND operation. The result of the AND operation is output
with the length specified in the 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
- 383 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.8.5 shows the ladder format and Table 4.8.5 shows the mnemonic format.
ACT
SUB 61
OR
00
Format specification
{{{{ 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.
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes), and an input data format (constant or address specification).
0 0
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 384 -
B-64513EN/03 4.LADDER LANGUAGE
(b) Address A
Address stored input data to be ORed. The data length is specified in the format specification.
(d) Address C
Address used to store the result of an OR operation. The result is output with the length specified in
the 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
- 385 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.8.6 shows the ladder format and Table 4.8.6 shows the mnemonic format.
ACT
SUB 62
NOT 000
Format specification
{{{{ 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.
Parameters
(a) Format specification
Specify a data length (1, 2, or 4 bytes).
0 0 0
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
(b) Address A
Address stored input data to be inverted bit by bit. The data length is specified in the format
specification.
- 386 -
B-64513EN/03 4.LADDER LANGUAGE
(c) Address B
Address used to output the result of a NOT operation. The result length of the NOT operation is
output with the length specified in the 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
- 387 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.8.7 (a) shows the ladder format and Table 4.8.7 shows the mnemonic format.
O.E W1
SUB 11
RST PARI {{{{ Check data address
ACT
Control conditions
(a) Specify even or odd. (O.E)
O.E=0: Even-parity check
O.E=1: Odd-parity check
- 388 -
B-64513EN/03 4.LADDER LANGUAGE
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
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.
- 389 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.8.8 shows the ladder format and Table 4.8.8 shows the mnemonic format.
DIR W1
SUB 33
CONT SFT {{{{ Address of shift data
RST
ACT
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
- 390 -
B-64513EN/03 4.LADDER LANGUAGE
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
Parameters
(a) Shift data addresses
Sets shift data addresses. These designated addresses require a continuous 2 bytes 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
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 391 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 265 {{{{
EORB {{{{
{{{{
ACT
- 392 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.8.9(b) Mnemonic of EORB, EORW, EORD instruction
Mnemonic format Memory status of control
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 265 SUB No. (EORB instruction)
3 (PRM) {{{{ Data A (Address or Constant)
4 (PRM) {{{{ Data B (Address or Constant)
5 (PRM) {{{{ Address C
6 WRT {{{{ .{ Normal end output W1
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data A
Specify input data to be exclusive-ORed. In this parameter, a constant or a PMC memory address
for storing data can be specified. In case of constant, specify signed binary data. A value within the
following range may be specified:
(b) Data B
Specify input data to be exclusive-ORed. In this parameter, a constant or a PMC memory address for
storing data can be specified. In case of constant, specify signed binary data. A value within the
same range as for "Data A" may be specified.
(c) Address C
Specify the address to which the result of exclusive-OR operation is to be output.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 393 -
4.LADDER LANGUAGE B-64513EN/03
Operation
When "Data A" and "Data B" hold the following values, the value indicated below is output to "Address
C":
Binary data
Data A 1 1 1 0 0 0 1 1 (-29)
Data B 0 1 0 1 0 1 0 1 (85)
Address C 1 0 1 1 0 1 1 0 (-74)
Fig. 4.8.9 (b) Example of operation of the EORB, EORW, and EORD instructions
- 394 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 268 {{{{
ANDB {{{{
{{{{
ACT
- 395 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data A
Specify input data to be logical-ANDed. In this parameter, a constant or a PMC memory address
for storing data can be specified. In case of constant, specify signed binary data. A value within the
following range may be specified:
(b) Data B
Specify input data to be logical-ANDed. In this parameter, a constant or a PMC memory address for
storing data can be specified. In case of constant, specify signed binary data. A value within the
same range as for "Data A" may be specified.
(c) Address C
Specify the address to which the result of logical-AND operation is to be output.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 396 -
B-64513EN/03 4.LADDER LANGUAGE
Operation
When "Data A" and "Data B" hold the following values, the value indicated below is output to "Address
C":
Binary data
Data A 1 1 1 0 0 0 1 1 (-29)
Data B 0 1 0 1 0 1 0 1 (85)
Address C 0 1 0 0 0 0 0 1 (65)
Fig. 4.8.10 (b) Example of operation of the ANDB, ANDW, and ANDD instructions
- 397 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 271 {{{{
ORB {{{{
{{{{
ACT
- 398 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.8.11(b) Mnemonic of ORB, ORW, ORD instruction
Mnemonic format Memory status of control
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ ACT ACT
2 SUB 271 SUB No. (ORB instruction)
3 (PRM) {{{{ Data A (Address or Constant)
4 (PRM) {{{{ Data B (Address or Constant)
5 (PRM) {{{{ Address C
6 WRT {{{{ .{ Normal end output W1
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data A
Specify input data to be logical-ORed. In this parameter, a constant or a PMC memory address for
storing data can be specified. In case of constant, specify signed binary data. A value within the
following range may be specified:
(b) Data B
Specify input data to be logical-ORed. In this parameter, a constant or a PMC memory address for
storing data can be specified. In case of constant, specify signed binary data. A value within the
same range as for "Data A" may be specified.
(c) Address C
Specify the address to which the result of logical-OR operation is to be output.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 399 -
4.LADDER LANGUAGE B-64513EN/03
Operation
When "Data A" and "Data B" hold the following values, the value indicated below is output to "Address
C":
Binary data
Data A 1 1 1 0 0 0 1 1 (-29)
Data B 0 1 0 1 0 1 0 1 (85)
Address C 1 1 1 1 0 1 1 1 (-9)
Fig. 4.8.11 (b) Example of operation of the ORB, ORW, and ORD instructions
- 400 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 274 ○○○○
NOTB ○○○○
ACT
- 401 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data A
Specify input data on which a logical-NOT operation is to be performed. In this parameter, a
constant or a PMC memory address for storing data can be specified. In case of constant, specify
signed binary data. A value within the following range may be specified:
(b) Address B
Specify the address to which the result of logical-NOT operation is to be output.
Output (W1)
When the instruction is executed, W1=1 is set. That is, W1 always assumes the same state as ACT.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
Operation
When "Data A" holds the following value, the value indicated below is output to "Address B":
Binary data
Data A 1 1 1 0 0 0 1 1 (-29)
Address B 0 0 0 1 1 1 0 0 (28)
Fig. 4.8.12 (b) Example of operation of the NOTB, NOTW, and NOTD instructions
- 402 -
B-64513EN/03 4.LADDER LANGUAGE
The value of the last bit shifted out by a shift operation is output to W1. The value(s) of the preceding
left-side bit(s) are lost.
R101 R100
7 0 7 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Shift source
Bits 12 to 15 are
lost. Shifted left by a
specified number of
W1
bits
Bit 11 is output to W1. 0 is shifted in.
Shift result 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R103 R102
7 0 7 0
If 0 or a negative value is specified in "Number of shift bits", the data specified in "Shift source data" is
output to "Shift result output address" without modification, and W1=0 is set.
- 403 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 277 {{{{
SHLB {{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 404 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Shifting source data
Specify bit shift source data. In this parameter, a constant or a PMC memory address for storing data
can be specified. Specify signed binary data. A value within the following range may be specified:
Output (W1)
W1=1: The value of the last bit shifted out is 1.
W1=0: No shift operation is executed (ACT=0).
The value of the last bit shifted out is 0.
“0” or a negative value is specified in "Number of shift bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 405 -
4.LADDER LANGUAGE B-64513EN/03
4.8.14 SHLN (Bit Shift Left (Arbitrary Bytes Length) : SUB 280)
The Bit shift left instruction shifts bit data to the left by a specified number of bits. In the empty bit
position(s) after shift operation, 0 is shifted in. The result of shift operation is output to a specified
address.
The Bit shift left instruction performs a bit shift operation on a bit string of a specified data size.
Shifting source data and the result of shift operation are of the same data size.
The value of the last bit shifted out by shift operation is output to W1. The value(s) of the preceding
left-side bit(s) are lost.
Shift result 0 0 0 0 0
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R105 R104 R103
7 0 7 0 7 0
If 0 or a negative value is specified in "Number of shift bits", the shift source data is output to "Shift
result output address" without modification, and W1=0 is set.
- 406 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 280 {{{{
SHLN {{{{
{{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 407 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Data size
Specify the number of bytes of data on which a bit shift operation is to be performed. A value from 1
to 256 may be specified.
NOTE
Specify a valid number to the "Data size", so that both of the area from "Shifting
source data top address" and the area from "Shift result output address" may be
arranged within valid address range.
Specified address +0
Specified address +1
Number of shift bits
Specified address +2 (Signed binary data)
Specified address +3
Output (W1)
W1=1: The value of the last bit shifted out is 1.
W1=0: No shift operation is executed (ACT=0).
The value of the last bit shifted out is 0.
“0” or a negative value is specified in "Number of shift bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 408 -
B-64513EN/03 4.LADDER LANGUAGE
The value of the last bit shifted out by shift operation is output to W1. The value(s) of the following
right-side bit(s) are lost.
R101 R100
7 0 7 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Shift source
Bits 0 to 3 are
W1 lost.
Bit 4 is output to W1. Shifted right by a
specified number of bits
ト
Shift result 0 0 0 0 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 is shifted in. R103 R102
7 0 7 0
If 0 or a negative value is specified in "Number of shift bits", the shift source data is output to "Shift
result output address" without modification, and W1=0 is set.
- 409 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 281 {{{{
SHRB {{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 410 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Shifting source data
Specify bit shift source data. In this parameter, a constant or a PMC memory address for storing data
can be specified.
Specify signed binary data. A value within the following range may be specified:
Output (W1)
W1=1: The value of the last bit shifted out is 1.
W1=0: No shift operation is executed (ACT=0).
The value of the last bit shifted out is 0.
“0” or a negative value is specified in "Number of shift bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 411 -
4.LADDER LANGUAGE B-64513EN/03
4.8.16 SHRN (Bit Shift Right (Arbitrary Bytes Length) : SUB 284)
The Bit shift right instruction shifts bit data to the right by a specified number of bits. In the empty bit
position(s) after shift operation, 0 is shifted in. The result of shift operation is output to a specified
address.
The Bit shift right instruction performs a bit shift operation on a bit string of a specified data size.
Shifting source data and the result of shift operation are of the same data size.
The value of the last bit shifted out by shift operation is output to W1. The value(s) of the following
right-side bit(s) are lost.
Bits 0 to 3 are
W1
lost.
Bit 4 is output to W1.
Shifted right by a specified number of bits
Shift result 0 0 0 0 0
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 is shifted
R105 R104 R103
in.
7 0 7 0 7 0
If 0 or a negative value is specified in "Number of shift bits", the shift source data is output to "Shift
result output address" without modification, and W1=0 is set.
- 412 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 284 {{{{
SHRN {{{{
{{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 413 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Data size
Specify the number of bytes of data on which a bit shift operation is to be performed. A value from 1
to 256 may be specified.
NOTE
Specify a valid number to the "Data size", so that both of the area from "Shifting
source data top address" and the area from "Shift result output address" may be
arranged within valid address range.
Specified address +0
Specified address +1
Number of shift bits
Specified address +2 (Signed binary data)
Specified address +3
Output (W1)
W1=1: The value of the last bit shifted out is 1.
W1=0: No shift operation is executed (ACT=0).
The value of the last bit shifted out is 0.
“0” or a negative value is specified in "Number of shift bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 414 -
B-64513EN/03 4.LADDER LANGUAGE
R101 R100
7 0 7 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Rotation source
- 415 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 285 {{{{
ROLB {{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 416 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Rotation source data
Specify bit rotation source data. In this parameter, a constant or a PMC memory address for storing
data can be specified.
Specify signed binary data. A value within the following range may be specified:
Output (W1)
W1=1: The value of bit 0 after rotation is 1.
W1=0: No rotation operation is executed (ACT=0).
The value of bit 0 after rotation is 0.
“0” or a negative value is specified in "Number of rotation bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 417 -
4.LADDER LANGUAGE B-64513EN/03
4.8.18 ROLN (Bit Rotation Left (Arbitrary Bytes Length) : SUB 288)
The Bit rotation left instruction rotates bit data to the left by a specified number of bits. The result of
rotation operation is output to a specified address.
The Bit rotation left instruction performs a bit rotation operation on a bit string of a specified data size.
Rotation source data and the result of rotation operation are of the same data size.
- 418 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 288 {{{{
ROLN {{{{
{{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 419 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Data size
Specify the number of bytes of data on which a bit rotation operation is to be performed. A value
from 1 to 256 may be specified.
NOTE
Specify a valid number to the "Data size", so that both of the area from "Rotation
source data top address" and the area from "Rotation result output address" may
be arranged within valid address range.
Specified address +0
Specified address +1
Number of rotation bits
Specified address +2 (Signed binary data)
Specified address +3
Output (W1)
W1=1: The value of bit 0 after rotation is 1.
W1=0: No rotation operation is executed (ACT=0).
The value of bit 0 after rotation is 0.
“0” or a negative value is specified in "Number of rotation bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 420 -
B-64513EN/03 4.LADDER LANGUAGE
R101 R100
7 0 7 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Rotation source
Rotated right by
a specified number of bits
右方向に テ シ ン
Rotation result
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R103 R102
W1 7 0 7 0
The most significant bit after rotation is output to W1.
The value of the most significant bit (bit 15 in the example above) after rotation is output to W1.
If 0 is specified in "Number of rotation bits", the data specified in "Rotation source data" is output to
"Rotation result output address" without modification, and W1=0 is set.
- 421 -
4.LADDER LANGUAGE B-64513EN/03
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 289 {{{{
RORB {{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 422 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Rotation source data
Specify bit rotation source data. In this parameter, a constant or a PMC memory address for storing
data can be specified.
Specify signed binary data. A value within the following range may be specified:
Output (W1)
W1=1: The value of the most significant bit after rotation is 1.
W1=0: No rotation operation is executed (ACT=0).
The value of the most significant bit after rotation is 0.
“0” or a negative value is specified in "Number of rotation bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 423 -
4.LADDER LANGUAGE B-64513EN/03
4.8.20 RORN (Bit Rotation Right (Arbitrary Bytes Length) : SUB 292)
The Bit rotation right instruction rotates bit data to the right by a specified number of bits. The result of
rotation operation is output to a specified address.
The Bit rotation right instruction performs a bit rotation operation on a bit string of a specified data size.
Rotation source data and the result of rotation operation are of the same data size.
Rotation result
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R105 R104 R103
W1 7 0 7 0 7 0
The value of the most significant bit (bit 15 in the example above) at the last address after rotation is
output to W1.
If 0 is specified in "Number of rotation bits", the rotation source data is output to "Rotation result output
address" without modification, and W1=0 is set.
- 424 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 292 {{{{
RORN {{{{
{{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 425 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Data size
Specify the number of bytes of data on which a bit rotation operation is to be performed. A value
from 1 to 256 may be specified.
NOTE
Specify a valid number to the "Data size", so that both of the area from "Rotation
source data top address" and the area from "Rotation result output address" may
be arranged within valid address range.
Specified address +0
Specified address +1
Number of rotation bits
Specified address +2 (Signed binary data)
Specified address +3
Output (W1)
W1=1: The value of the most significant bit at the last address after rotation is 1.
W1=0: No rotation operation is executed (ACT=0).
The value of the most significant bit at the last address after rotation is 0.
“0” or a negative value is specified in "Number of rotation bits".
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 426 -
B-64513EN/03 4.LADDER LANGUAGE
A bit position is identified by sequentially counting bit positions, starting with 0, from the least
significant bit of a specified address.
For example, if R100 is specified in "Data address", and 20 is specified in "Bit position" with the BSETD
instruction, R102.4 is set to ON.
Bit position 31 20 0
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 293 {{{{
BSETB {{{{
ACT
- 427 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data address
Specify the address of data on which a bit operation is to be performed.
If a value not within the valid range is specified in this parameter, the data is not modified, and W1=0
is set.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed (ACT=0).
The "Bit position" is not within the valid range.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 428 -
B-64513EN/03 4.LADDER LANGUAGE
Bit position 47 36 0
Data size = 6
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 296 {{{{
BSETN {{{{
{{{{
ACT
- 429 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data size
Specify the number of bytes of data on which a bit operation is to be performed. A value from 1 to
256 may be specified.
NOTE
Specify a valid number to the "Data size", so that the area from "Data top
address" may be arranged within valid address range.
Specified address +0
Specified address +1
Bit position
Specified address +2 (Signed binary data)
Specified address +3
If a value not within the valid range is specified in this parameter, the data is not modified, and W1=0
is set.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed (ACT=0).
The "Bit position" is not within the valid range.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 430 -
B-64513EN/03 4.LADDER LANGUAGE
A bit position is identified by sequentially counting bit positions, starting with 0, from the least
significant bit of a specified address.
For example, if R100 is specified in "Data address", and 20 is specified in "Bit position" with the BRSTD
instruction, R102.4 is set to OFF.
Bit position 31 20 0
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 297 {{{{
BRSTB {{{{
ACT
- 431 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data address
Specify the address of data on which a bit operation is to be performed.
If a value not within the valid range is specified in this parameter, the data is not modified, and W1=0
is set.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed (ACT=0).
The "Bit position" is not within the valid range.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 432 -
B-64513EN/03 4.LADDER LANGUAGE
Bit position 47 36 0
Data size = 6
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 300 {{{{
BRSTN {{{{
{{{{
ACT
- 433 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data size
Specify the number of bytes of data on which a bit operation is to be performed. A value from 1 to
256 may be specified.
NOTE
Specify a valid number to the "Data size", so that the area from "Data top
address" may be arranged within valid address range.
Specified address +0
Specified address +1
Bit position
Specified address +2 (Signed binary data)
Specified address +3
If a value not within the valid range is specified in this parameter, the data is not modified, and W1=0
is set.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed (ACT=0).
The "Bit position" is not within the valid range.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 434 -
B-64513EN/03 4.LADDER LANGUAGE
A bit position is identified by sequentially counting bit positions, starting with 0, from the least
significant bit of a specified address.
For example, if R100 is specified in "Data address", and 20 is specified in "Bit position" with the BTSTD
instruction, the state of R102.4 is output.
Bit position 31 20 0
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 301 {{{{
BTSTB {{{{
ACT
- 435 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data address
Specify the address of data on which a bit operation is to be performed.
If a value not within the valid range is specified in this parameter, W1=0 is set.
Output (W1)
W1=1: Specified bit is 1.
W1=0: Specified bit is 0.
No operation is executed (ACT=0).
The "Bit position" is not within the valid range.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 436 -
B-64513EN/03 4.LADDER LANGUAGE
Bit position 47 36 0
Data size = 6
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 304 {{{{
BTSTN {{{{
{{{{
ACT
- 437 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data size
Specify the number of bytes of data on which a bit operation is to be performed. A value from 1 to
256 may be specified.
NOTE
Specify a valid number to the "Data size", so that the area from "Data top
address" may be arranged within valid address range.
Specified address +0
Specified address +1
Bit position
Specified address +2 (Signed binary data)
Specified address +3
If a value not within the valid range is specified in this parameter, W1=0 is set.
Output (W1)
W1=1: Specified bit is 1.
W1=0: Specified bit is 0.
No operation is executed (ACT=0).
The "Bit position" is not within the valid range.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 438 -
B-64513EN/03 4.LADDER LANGUAGE
Bits are searched in the order from bit 0 to bit 7 at the data top address then bits are searched in the order
from bit 0 to bit 7 at the next address. In this way, bit search operation is further performed for up to bit
7 of the last address.
The bit position of the bit that is first found to be ON is output.
A bit position is identified by sequentially counting bit positions, starting with 0, from the least
significant bit of the start address.
For example, if R100 is specified in "Data address" with the BPOSD instruction, and only R102.4 is set
to ON, 20 is output to "Bit position output address".
Bit position 31 20 0
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 305 {{{{
BPOSB {{{{
ACT
- 439 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data address
Specify the address of data on which a bit operation is to be performed.
Output (W1)
W1=1: The instruction is terminated normally.
W1=0: No operation is executed (ACT=0)
There is no bit set to ON.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 440 -
B-64513EN/03 4.LADDER LANGUAGE
Bit position 47 36 0
Data size = 6
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 308 {{{{
BPOSN {{{{
{{{{
ACT
- 441 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data size
Specify the number of bytes of data on which a bit operation is to be performed. A value from 1 to
256 may be specified.
NOTE
Specify a valid number to the "Data size", so that the area from "Data top
address" may be arranged within valid address range.
Specified address +0
Specified address +1
Bit position
Specified address +2 (Signed binary data)
Specified address +3
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed (ACT=0).
There is no bit set to ON.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 442 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 309 {{{{
BCNTB {{{{
ACT
- 443 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data address
Specify the address of data on which a bit operation is to be performed.
Output (W1)
W1=1: The operation is executed (ACT=1).
W1=0: No operation is executed (ACT=0).
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 444 -
B-64513EN/03 4.LADDER LANGUAGE
Format
The followings are the ladder format and the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 312 {{{{
BCNTN {{{{
{{{{
ACT
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
- 445 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Data size
Specify the number of bytes of data on which a bit operation is to be performed. A value from 1 to
256 may be specified.
NOTE
Specify a valid number to the "Data size", so that both of the area from "Data top
address" and the area from "Shift result output address" may be arranged within
valid address range.
Specified address +0
Specified address +1
ON-Bit count
Specified address +2 (Signed binary data)
Specified address +3
Output (W1)
W1=1: The operation is executed (ACT=1).
W1=0: No operation is executed (ACT=0).
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 446 -
B-64513EN/03 4.LADDER LANGUAGE
- 447 -
4.LADDER LANGUAGE B-64513EN/03
4
Convert data
output address
{{{{
Data of the specified table internal address
is output to this address.
n
- 448 -
B-64513EN/03 4.LADDER LANGUAGE
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 { { { {
- 449 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Specify the data size. (BYT)
BYT=0: The conversion table data is to be BCD 2 digits.
BYT=1: The conversion table data is to be BCD 4 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.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 450 -
B-64513EN/03 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)
Format
Fig. 4.9.2 (b) shows the ladder format and Table 4.9.2 shows the mnemonic format.
RST W1
SUB 27
ACT CODB { Format specification
{{{ Number of conversion table data
{{{{ Conversion input data address
{{{{ Conversion data output address
- 451 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Reset (RST)
RST=0: Do not reset error output W1.
RST=1: Reset error output W1 (W1=0).
Parameters
(a) Format specification
Specify the binary data size in the conversion table.
1: Numerical data is binary 1 byte data.
2: Numerical data is binary 2 bytes data.
4: Numerical data is binary 4 bytes data.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 452 -
B-64513EN/03 4.LADDER LANGUAGE
If the table number in the conversion input data address exceeds the number of the conversion table data
when executing the CODB instruction, W1=1.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 453 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.9.3 shows the ladder format and Table 4.9.3 shows the mnemonic format.
BYT W1
SUB 14
CNV DCNV {{{{ Input data address
{{{{ Conversion result output
RST
ACT
Control conditions
(a) Specify data size. (BYT)
BYT=0: Process data in length of 1 byte (8 bits)
BYT=1: Process data in length of 2 bytes (16 bits)
- 454 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Input data address
Specify the address of the input data
(b) Output address after conversion
Specify the address output data converted into BCD or binary type
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 455 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.9.4 shows the ladder format and Table 4.9.4 shows the mnemonic format.
SIN W1
SUB 31
CNV DCNVB { Format specification
{{{{ Input data address
RST {{{{ Conversion result output address
ACT
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.
- 456 -
B-64513EN/03 4.LADDER LANGUAGE
(d) Execution command (ACT)
ACT=0: Data is not converted. The value of W1 remains unchanged.
ACT=1: Data is converted.
Parameters
(a) Format specification
Specify data length (1,2, or 4 bytes).
Use the first digit of the parameter to specify byte length.
1: 1 byte
2: 2 bytes
4: 4 bytes
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
7 6 5 4 3 2 1 0
R9000
Z0
Negative
Overflow
(data exceeds the number of bytes specified)
- 457 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.9.5 (a) shows the ladder format and Table 4.9.5 (a) shows the mnemonic format.
Normal format
ACT W1
SUB 4
DEC {{{{ Address of decode signal
{{{{ Decode instruction
The mnemonic-format instruction name "DEC" for step number 2 above may be abbreviated as "D".
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.
- 458 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Code signal address
Specify the address containing two-digit BCD code signals.
Decode specification {{ {{
(i) Number:
Specify the decode number.
It 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.
Example
W1
SUB 4 R200
DEC
R100.0 R103.1 3011
R228.1
- 459 -
4.LADDER LANGUAGE B-64513EN/03
Format
SUB 25 Decode result output
{
Code {{{{ 7 6 5 4 3 2 1 0
DECB
data {{{{
{{{{ Decode designating
number +0
1, 2 or 4-byte
binary code data Decode designating
number +1
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.
Decode designating
number +8
8n-1 8(n-1)
Decode designating
number +(8n-1)
- 460 -
B-64513EN/03 4.LADDER LANGUAGE
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
DECB { Format specification
{{{{ Code data address
{{{{ Decode designation
{{{{ Decode result output address
ACT
SUB 25
DECB 0
Format specification
{{{{ 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. The results of processing are set in the output data address.
- 461 -
4.LADDER LANGUAGE B-64513EN/03
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 bytes length
0004: Code data is in binary format of 4 bytes 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 bytes
length
0nn4: In case of decoding multiple (8 × nn) bytes and code data is binary format of 4 bytes
length
The nn is the numerical value from 02 to 99. When setting 00 or 01, it works for decoding 8
numbers.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
- 462 -
B-64513EN/03 4.LADDER LANGUAGE
If conversion source binary data is not within the valid BCD format data range (if source binary data is a
negative value or is greater than the maximum allowable value), the result of conversion is not output,
and W1=0 is set.
Format
Fig. 4.9.7 shows the ladder format and Table 4.9.7(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 313 ○○○○
TBCDB ○○○○
ACT
- 463 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Source data
Specify conversion source binary data. In this parameter, a constant or a PMC memory address for
storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The conversion source data is not within the valid BCD format data range.
NOTE
1 W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
2 With the similar functional instruction DCNVB, W1=1 is set when an operation is
terminated abnormally. With TBCDB, TBCDW, and TBCDD, W1=1 is set when
an operation is terminated normally.
3 No data is output to the operation output registers (R9000, Z0).
- 464 -
B-64513EN/03 4.LADDER LANGUAGE
If conversion source data is invalid as BCD format data, the result of conversion is not output, and W1=0
is set.
Format
Fig. 4.9.8 shows the ladder format and Table 4.9.8(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 316 ○○○○
FBCDB ○○○○
ACT
- 465 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Source data
Specify conversion source BCD format data. In this parameter, a constant or a PMC memory
address for storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The conversion source data is invalid as BCD format data.
NOTE
1 W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
2 With the similar functional instruction DCNVB, W1=1 is set when an operation is
terminated abnormally. With FBCDB, FBCDW, and FBCDD, W1=1 is set when
an operation is terminated normally.
3 No sign is specified for binary data output as the result of conversion. Invert the
sign by using NEGSx after conversion if necessary.
4 No data is output to the operation output registers (R9000, Z0).
- 466 -
B-64513EN/03 4.LADDER LANGUAGE
- 467 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.1 shows the ladder format and Table 4.10.1 shows the mnemonic format.
RST W1
SUB 36
ACT ADDB
00
Format specification
{{{{ Augend address
{{{{ Addend data (address or constant)
{{{{ Result output address
Control conditions
(a) Reset (RST)
RST=0: Do not reset error output W1.
RST=1: Reset error output W1. That is, W1=0.
- 468 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Format specification
Specify 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
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
7 6 5 4 3 2 1 0
R9000
Z0
Zero
Negative
Overflow
- 469 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.2 shows the ladder format and Table 4.10.2 shows the mnemonic format.
RST W1
SUB 37
ACT SUBB
00
Format specification
{{{{ Minuend address
{{{{ Subtrahend data (address or constant)
{{{{ Result output address
Control conditions
(a) Reset (RST)
RST=0: Do not reset error output W1.
RST=1: Reset error output W1. That is, W1=0.
- 470 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Format specification
Specify data length (1, 2, and 4 bytes) and the format for the subtrahend (constant or address).
0 0
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
7 6 5 4 3 2 1 0
R9000
Z0
Zero
Negative
Overflow
- 471 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.3 shows the ladder format and Table 4.10.3 shows the mnemonic format.
RST W1
SUB 38
ACT MULB
00
Format specification
{{{{ Multiplicand address
{{{{ Multiplier data (address or constant)
{{{{ Result output address
Control conditions
(a) Reset (RST)
RST=0: Do not reset error output W1.
RST=1: Reset error output W1. That is, W1=0.
- 472 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Format specification
Specify data length (1, 2, and 4 bytes) and the format for the multiplier (constant or address).
0 0
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
7 6 5 4 3 2 1 0
R9000
Z0
Zero
Negative
Overflow
- 473 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.4 shows the ladder format and Table 4.10.4 shows the mnemonic format.
RST W1
SUB 39
ACT DIVB
00
Format specification
{{{{ Dividend address
{{{{ Divisor data (address or constant)
{{{{ Result output address
Control conditions
(a) Reset (RST)
RST=0: Do not reset error output W1.
RST=1: Reset error output W1. That is, W1=0.
- 474 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Format specification
Specify data length (1, 2, and 4 bytes) and the format for the divisor (constant or address).
0 0
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
7 6 5 4 3 2 1 0
R9000
Z0
Zero
Negative
Overflow
- 475 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.5 shows the ladder format and Table 4.10.5 shows the mnemonic format.
BYT W1
SUB 19
RST ADD { Data format of addend
{{{{ Augend address
ACT {{{{ Addend (address or constant)
{{{{ Sum output address
Control conditions
(a) The number of digits of data. (BYT)
BYT=0: Data is BCD 2 digits long.
BYT=1: Data is BCD 4 digits long.
- 476 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Data format of addend
0: Specify addend with a constant.
1: Specify addend with an address.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Data format of
addend".
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.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 477 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.6 shows the ladder format and Table 4.10.6 shows the mnemonic format.
BYT W1
SUB 20
RST SUB { Data format of subtrahend
{{{{ Minuend address
ACT {{{{ Subtrahend (address or constant)
{{{{ Difference output address
Control conditions
(a) The number of digits of data. (BYT)
BYT=0: Data is BCD 2 digits long
BYT=1: Data is BCD 4 digits long
- 478 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Data format of subtrahend
0: Specify subtrahend with a constant.
1: Specify subtrahend with an address.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Data format of
subtrahend".
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 479 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.7 shows the ladder format and Table 4.10.7 shows the mnemonic format.
BYT W1
SUB 21
RST MUL { Data format of multiplier
{{{{ Multiplicand address
ACT {{{{ Multiplier (address or constant)
{{{{ Product output address
Control conditions
(a) The number of digits of data. (BYT)
BYT=0: Data is BCD 2 digits long.
BYT=1: Data is BCD 4 digits long.
- 480 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Data format of multiplier
0: Specify multiplier with a constant.
1: Specify multiplier with an address.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Data format of
multiplier".
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.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 481 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.8 shows the ladder format and Table 4.10.8 shows the mnemonic format.
BYT W1
SUB 22
RST DIV { Divisor data format designation
{{{{ Dividend address
ACT {{{{ Divisor (address or constant)
{{{{ Quotient output address
Control conditions
(a) The number of digits of data. (BYT)
BYT=0: Data is BCD 2 digits long.
BYT=1: Data is BCD 4 digits long.
- 482 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Divisor data format designation
0: Specify divisor data by constant.
1: Specify divisor data by address.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Divisor data
format designation".
Error output
W1=0: Normal operation
W1=1: Abnormal operation. W1=1 is set to indicate an error if the divider is 0.
CAUTION
Two or more coils, WRT, WRT.NOT, SET or RST, that follow this instruction are
prohibited. You have to place a single coil instruction as the output of this
instruction.
- 483 -
4.LADDER LANGUAGE B-64513EN/03
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
ACT
SUB 40
NUMEB 0
Format specification
{{{{ Constant
{{{{ Constant output address
- 484 -
B-64513EN/03 4.LADDER LANGUAGE
Control conditions
(a) Command (ACT)
ACT=0: Do not execute NUMEB.
ACT=1: Execute NUMEB.
Parameters
(a) Format specification
Specify 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 bytes length
0004: Binary data of 4 bytes length
When setting format specification in the following extended format, NUMEB can define all the set
constants simultaneously in an array having nn elements.
Specify data length (1, 2, or 4) to the 1st digit as above-mentioned.
Specify the number of the array in which is a constant to the 2nd and 3rd digit is defines.
Specify 0 to the 4th digit.
0nn1: In case of defining multiple (nn) data by 1 byte length
0nn2: In case of defining multiple (nn) data by 2 bytes length
0nn4: In case of defining multiple (nn) data by 4 bytes length
The n is the numerical value from 02 to 99. When setting 00 or 01, it works as the basic specification
that works for one data.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
(b) Constant
Define constants in decimal format. Set a constant data within the effective range for the byte length
which is set in above (a).
- 485 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.10.10 shows the ladder format and Table 4.10.10 shows the mnemonic format.
BYT
SUB 23
ACT NUME {{{{ Constant
{{{{ Constant output address
Control conditions
(a) Specify the number of digits of a constant. (BYT)
BYT=0: Constant is BCD 2 digits long.
BYT=1: Constant is BCD 4 digits long.
Parameters
(a) Constant
Specify the constant as the number of digits specified for control condition (a).
- 486 -
B-64513EN/03 4.LADDER LANGUAGE
In "Augend data" and "Addend data", a constant or a PMC memory address for storing data can be
specified.
As indicated below, three types of Addition instructions are available according to the type of data to be
operated. In each instruction, "Augend data", "Addend data", and the data at "Result output address" are of
the same data type.
If an operation results in a positive overflow, the maximum value of each data type is output to "Result
output address", and W1=0 is set.
If an operation results in a negative overflow, the minimum value of each data type is output to "Result
output address", and W1=0 is set.
Format
Fig. 4.10.11 shows the ladder format and Table 4.10.11(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 319 {{{{
ADDSB {{{{
{{{{
ACT
- 487 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Augend data
Specify an augend for addition operation. In this parameter, a constant or a PMC memory address for
storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The operation results in an overflow.
NOTE
1 W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
2 With the similar functional instruction ADDB, W1=1 is set when an operation is
terminated abnormally. With ADDSB, ADDSW, and ADDSD, W1=1 is set when
an operation is terminated normally.
3 No data is output to the operation output registers (R9000, Z0).
- 488 -
B-64513EN/03 4.LADDER LANGUAGE
If an operation results in a positive overflow, the maximum value of each data type is output to "Result
output address", and W1=0 is set.
If an operation results in a negative overflow, the minimum value of each data type is output to "Result
output address", and W1=0 is set.
Format
Fig. 4.10.12 shows the ladder format and Table 4.10.12(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 322 {{{{
SUBSB {{{{
{{{{
ACT
- 489 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Minuend
Specify a minuend for subtraction operation. In this parameter, a constant or a PMC memory address
for storing data can be specified.
(b) Subtrahend
Specify a subtrahend for subtraction operation. In this parameter, a constant or a PMC memory
address for storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The operation results in an overflow.
NOTE
1 W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
2 With the similar functional instruction SUBB, W1=1 is set when an operation is
terminated abnormally. With SUBSB, SUBSW, and SUBSD, W1=1 is set when an
operation is terminated normally.
3 No data is output to the operation output registers (R9000, Z0).
- 490 -
B-64513EN/03 4.LADDER LANGUAGE
If an operation results in a positive overflow, the maximum value of each data type is output to "Result
output address", and W1=0 is set.
If an operation results in a negative overflow, the minimum value of each data type is output to "Result
output address", and W1=0 is set.
Format
Fig. 4.10.13 shows the ladder format and Table 4.10.13(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 325 {{{{
MULSB {{{{
{{{{
ACT
- 491 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Multiplicand
Specify a multiplicand for multiplication operation. In this parameter, a constant or a PMC memory
address for storing data can be specified.
(b) Multiplier
Specify a multiplier for multiplication operation. In this parameter, a constant or a PMC memory
address for storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The operation results in an overflow.
NOTE
1 W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
2 With the similar functional instruction MULB, W1=1 is set when an operation is
terminated abnormally. With MULSB, MULSW, and MULSD, W1=1 is set when
an operation is terminated normally.
3 No data is output to the operation output registers (R9000, Z0).
- 492 -
B-64513EN/03 4.LADDER LANGUAGE
If an operation results in an overflow, the maximum value of each data type is output to "Result output
address", and W1=0 is set.
If the divisor is 0, and the dividend is 0 or a positive value, the maximum value of each data type is output
to "Result output address", and W1=0 is set.
If the divisor is 0, and the dividend is a negative value, the minimum value of each data type is output to
"Result output address", and W1=0 is set.
Format
Fig. 4.10.14 shows the ladder format and Table 4.10.14(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 328 {{{{
DIVSB {{{{
{{{{
ACT
- 493 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Dividend
Specify a dividend for division operation. In this parameter, a constant or a PMC memory address for
storing data can be specified.
(b) Divisor
Specify a divisor for division operation. In this parameter, a constant or a PMC memory address for
storing data can be specified.
(c) Result output address
Specify the address to which the result of operation is to be output.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The divisor is 0, or the operation results in an overflow.
NOTE
1 W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
2 With the similar functional instruction DIVB, W1=1 is set when an operation is
terminated abnormally. With DIVSB, DIVSW, and DIVSD, W1=1 is set when an
operation is terminated normally.
3 No data is output to the operation output registers (R9000, Z0).
4 No data is output to the remainder output addresses (R9002-R9005, Z2-Z5). To
calculate remainder data, use the MODSB, MODSW, or MODSD instruction.
Operation
The result of each operation depends on the signs of the dividend and divisor as indicated below.
- 494 -
B-64513EN/03 4.LADDER LANGUAGE
If the quotient of a division operation results in an overflow (if "Dividend" is the minimum value of each
data type or the divisor is -1), 0 is output to "Result output address", and W1=1 is set.
If "Divisor" is 0, and "Dividend" is 0 or a positive value, the maximum value of each data type is output to
"Result output address", and W1=0 is set.
If "Divisor" is 0, and "Dividend" is a negative value, the minimum value of each data type is output to
"Result output address", and W1=0.
Format
Fig. 4.10.15 shows the ladder format and Table 4.10.15(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 331 {{{{
MODSB {{{{
{{{{
ACT
- 495 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Dividend
Specify a dividend for remainder operation. In this parameter, a constant or a PMC memory address
for storing data can be specified.
(b) Divisor
Specify a divisor for remainder operation. In this parameter, a constant or a PMC memory address for
storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The divisor is 0.
NOTE
1 W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
2 With the similar functional instruction DIVB, W1=1 is set when an operation is
terminated abnormally. With MODSB, MODSW, and MODSD, W1=1 is set when
an operation is terminated normally.
3 No data is output to the operation output registers (R9000, Z0).
4 No data is output to the remainder output addresses (R9002-R9005, Z2-Z5).
Operation
The result of each operation depends on the signs of the dividend and divisor as indicated below.
- 496 -
B-64513EN/03 4.LADDER LANGUAGE
If the Increment instruction is executed when data to be operated is the maximum value of a data type, the
data to be operated remains unchanged from the maximum value, and W1=0 is set.
For example, if data to be operated by the INCSW instruction is 32767, the data remains unchanged from
32767 as the result of operation, and W1=0 is set.
Format
Fig. 4.10.16 shows the ladder format and Table 4.10.16(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 334 {{{{
INCSB
ACT
- 497 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data address
Specify the PMC memory address the value at which is to be incremented.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The operation results in an overflow.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 498 -
B-64513EN/03 4.LADDER LANGUAGE
If the Decrement instruction is executed when data to be operated is the minimum value of a data type, the
data to be operated remains unchanged from the minimum value, and W1=0 is set.
For example, if data to be operated by the DECSW instruction is -32768, the data remains unchanged from
-32768 as the result of operation, and W1=0 is set.
Format
Fig. 4.10.17 shows the ladder format and Table 4.10.17(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 337 {{{{
DECSB
ACT
- 499 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Data address
Specify the PMC memory address the value at which is to be decremented.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The operation results in an overflow.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 500 -
B-64513EN/03 4.LADDER LANGUAGE
If an operation results in an overflow (if the minimum value of a data type is converted), the maximum
value of the data type is output to "Result output address", and W1=0 is set.
Format
Fig. 4.10.18 shows the ladder format and Table 4.10.18(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 340 {{{{
ABSSB {{{{
ACT
- 501 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Source data
Specify source data to be converted to an absolute value. In this parameter, a constant or a PMC
memory address for storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The operation results in an overflow.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 502 -
B-64513EN/03 4.LADDER LANGUAGE
If an operation results in an overflow (if the minimum value of a data type is converted), the maximum
value of the data type is output to "Result output address", and W1=0 is set.
Format
Fig. 4.10.19 shows the ladder format and Table 4.10.19(b) shows the mnemonic format.
ACT W1
ACT ACT2
Functional Instruction
SUB 343 {{{{
NEGSB {{{{
ACT
- 503 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Input signal (ACT)
ACT = 0: Instruction not executed.
ACT = 1: Executed.
Parameters
(a) Source data
Specify source data whose sign is to be inverted. In this parameter, a constant or a PMC memory
address for storing data can be specified.
Output (W1)
W1=1: The operation is terminated normally.
W1=0: No operation is executed. (ACT=0)
The operation results in an overflow.
NOTE
W1 may be omitted. Moreover, another functional instruction can be connected
instead of a coil.
- 504 -
B-64513EN/03 4.LADDER LANGUAGE
- 505 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
1 To use this instruction requires that the external data input option or external
message option be set on the CNC side.
2 Program this instruction in the 2nd level, because it takes a lot of processing time.
3 This instruction cannot be used in the 1st level whose execution cycle is 1ms or
2ms. It is processed as an NOP instruction.
(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.
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
- 506 -
B-64513EN/03 4.LADDER LANGUAGE
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.
• Standard specification (applicable when the number of paths to be controlled is three or less)
This message number consisting of 4 digits must always be defined at the start of each message
data. Using this four-digit number, set the type and number of the message and the CNC screen
on which the message is to be displayed. The CNC screen is as specified below by this message
number.
Message number CNC screen Display contents
Alarm message
1000 to 1999 Alarm screen (on path 1)
• Path 1 is placed in the alarm state.
2000 to 2099(*Note) Operator message
Operator message screen
2100 to 2999(*Note) Operator message (with no message number)
Alarm message
• Path 2 is placed in the alarm state.
5000 to 5999 Alarm screen (on path 2)
• The displayed message number is a specified number from
which 4000 is subtracted.
Alarm message
• Path 3 is placed in the alarm state.
7000 to 7999 Alarm screen (on path 3)
• The displayed message number is a specified number from
which 6000 is subtracted.
- 507 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
1 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
2 You can change the specifications about message number and operator number
with CNC parameter No. 6301#0 or #1. For details, refer to “the parameter
manual”.
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.
- 508 -
B-64513EN/03 4.LADDER LANGUAGE
The following table shows the message numbers and the corresponding CNC screens.
NOTE
1 The message number may have leading zeros like "001".
2 Valid numbers of external alarm message are from 0 to 999 by default. You can
expand of message number the range to 0 to 4095 by setting 1 to CNC parameter
No.6301#0.
3 Valid numbers of external operator message are from 0 to 999 by default. You can
expand of message number the range to 0 to 4095 by setting 1 to CNC parameter
No.6301#1.
4 Valid numbers of external operator message with message number are from 0 to
99 by default. You can change the range of message number by CNC parameter
No.6310.
(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.
(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. For details, refer to the following “Numerical data display”.
- 509 -
4.LADDER LANGUAGE B-64513EN/03
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.
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.
- 510 -
B-64513EN/03 4.LADDER LANGUAGE
(ii) Unsigned
[Ubid, {{{{]
Address where the numerical data is stored
Set binary data in the specified address.
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, [ ].
[Message definition]
A0000.0 1000 SPINDLE TOOL NO=[I230,R500]@0A@OFFSET DATA=[I212,R502]
Message number First line of message Renew line code Second message line
- 511 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
Spaces are used between each numerical code in example to understand easily,
but do not use them actually.
NOTE
1 It recommends that Kanji character is input from FANUC LADDER-III.
2 Some Kanji characters cannot be displayed. These characters can be checked by
“Invalid kanji character check button” on FANUC LADDER-III.
3 For operation of FANUC LADDER-III , refer to the following manual:
Manual title Drawing No.
FANUC LADDER-III Operator's Manual B-66234EN
(iii) Example
- 512 -
B-64513EN/03 4.LADDER LANGUAGE
(c) The European characters type 1
(i) Data format
Numerical code enclosed with @0D and 01@.
(ii) Input method
Enter the numerical codes corresponding to the characters to input, by referring to the character
code table (Table 4.11.1.2 (b)) which includes characters for writing languages such as German,
French, Italian, etc. Each character requires two bytes.
(iii) Example
To input “UNZULÄSSIGE” when characters U,N,Z,U,L,S,I,G , and E are registered in the CNC
screen, enter the following:
UNZUL @0D C1 01@ SSIGE
UNZUL Ä SSIGE
NOTE
You can only input the character code described in the character code table (Table
4.11.1.2 (b)) between “@0D” and “01@”.
C И MBO Л
NOTE
You can only input the character code described in the character code table (Table
4.11.1.2 (c)) between “@0E” and “01@”.
123
- 513 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
You can only input the character code described in the character code table (Table
4.11.1.2 (d)) between “@05” and “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)
0D: 1-byte code (European characters type 1)
0E: 1-byte code (European characters type 2)
05: 1-byte code (European characters type 3)
01: 1-byte code (alphanumeric and half-width kana characters)
Do not specify control code between control codes as follows. The characters may
not be correctly displayed.
@02 ... 02 ... 01@ @0D ... 0D ... 01@ @0E ... 0E ... 01@ @05 ... 05 ... 01@
@02 ... 01 ... 01@
5 Spaces are used between each numerical code in example to understand easily,
but do not use them actually.
6 Do not specify the character strings for numerical data display between control
codes such as @ and @, @02 and 01@, and etc.
- 514 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.11.1.2 (a) Character code table
2 3 4 5 A B C D
0 Space 0 @ P ~ - (*3) タ ミ
1 ! 1 A Q 。 ア チ ム
2 ” 2 B R 「 イ ツ メ
3 # 3 C S 」 ウ テ モ
4 $ 4 D T 、 エ ト ヤ
5 % 5 E U ・ オ ナ ユ
6 & 6 F V ヲ カ ニ ヨ
7 ’ 7 G W ァ キ ヌ ラ
8 ( 8 H X ィ ク ネ リ
9 ) 9 I Y ゥ ケ ノ ル
A * : J Z ェ コ ハ レ
B + ; K [ ォ サ ヒ ロ
C , < L ¥ ャ シ フ ワ
D - (*1) = M ] ュ ス ヘ ン
゛
E キ > N ∧ ョ セ ホ
(*4)
。
F / ? O _ (*2) ッ ソ マ
(*5)
*1) Minus, *2) Under bar, *3) Long bar *4) Dakuten *5) Han-dakuten
A0
B0
C0
D0
A0
B0
- 515 -
4.LADDER LANGUAGE B-64513EN/03
60
70
80
90
A0
B0
C0
D0
E0
F0
- 516 -
B-64513EN/03 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 :
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
- 517 -
4.LADDER LANGUAGE B-64513EN/03
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
(c) Notes
The same message number should be assigned to a message in each language that has the same
meaning.
Message table
- 518 -
B-64513EN/03 4.LADDER LANGUAGE
The following figure is an example in which the message of A0.0 in 1st-path PMC, the message of A0.1 in
2nd-path PMC, the message of A0.2 in 3rd-path PMC, the message of A0.3 in 4th-path PMC, and the
message of A0.4 in 5th-path PMC are defined.
1st-path PMC
CNC
A0.0
ALARM DISPB 1000PMC1 ERROR
SCREEN
A0.0
2nd-path PMC
A0.1 A0.1
1001PMC2 ERROR
3rd-path PMC
A0.2 A0.2
1002PMC3 ERROR
4th-path PMC
A0.3 A0.3
1003PMC4 ERROR
5th-path PMC
A0.4 A0.4
1004PMC5 ERROR
When A0.0 is turned ON, the message of A0.0 defined in 1st-path PMC is displayed.
And, when A0.1 is turned ON, the message of A0.1 defined in 2nd-path PMC is displayed.
And, when A0.2 is turned ON, the message of A0.2 defined in 3rd-path PMC is displayed.
- 519 -
4.LADDER LANGUAGE B-64513EN/03
And, when A0.3 is turned ON, the message of A0.3 defined in 4th-path PMC is displayed.
Similarly, when A0.4 is turned ON, the message of A0.4 defined in 5th-path PMC is displayed.
Moreover, the A0.0 message defined in 1st-path PMC can be displayed from 2nd-path PMC, too.
CAUTION
When using the Common PMC Memory mode, don't define message to the same
A Address from multiple PMC paths. If message is defined in multiple PMC paths,
only message defined in least numbered PMC path is displayed.
For example, if A0.1 is defined in the 1st-path PMC in the above case, the
message defined in the 1st-path PMC is displayed when A0.1 is turned on in
2nd-path PMC.
- 520 -
B-64513EN/03 4.LADDER LANGUAGE
WARNING
When you use this instruction in ladder program, do not write the "external data
input signals" with other applications.
If you process the PMC signal set related to this function by using two or more
applications, this function may execute incorrectly and it may cause an
unexpected machine behavior.
As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
1 When you use 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.
2 This instruction cannot be used in the 1st level whose execution cycle is 1ms or
2ms. It is processed as an NOP instruction.
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 (EEX)=1.
CNC parameter
#7 #6 #5 #4 #3 #2 #1 #0
6300 EEX
[Data format] Bit type
EEX EXIN function of PMC
0: basic specification
1: extended specification
NOTE
1 To enable 8 digits of program number, set 1 to the CNC parameter No. 11304#3
(ON8).
2 To handle 8 digits of program number for EXIN instruction, set 1 to the CNC
parameter No. 6300#7 (EEX). This setting will be effective after cycling power of
CNC.
- 521 -
4.LADDER LANGUAGE B-64513EN/03
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).
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.
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
- 522 -
B-64513EN/03 4.LADDER LANGUAGE
[For single path control]
CTL+0 : 0
CTL+1 to CTL+3 : Data to be specified for G0 to G2
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G0 to G1
CTL+3 to CTL+4 : Data to be specified for G210 to G211
CTL+5 : Data to be specified for G2
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G0 to G1
CTL+3 to CTL+4 : Data to be specified for G210 to G211
CTL+5 : Data to be specified for G2
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G1000 to G1001
CTL+3 to CTL+4 : Data to be specified for G1210 to G1211
CTL+5 : Data to be specified for G1002
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G2000 to G2001
CTL+3 to CTL+4 : Data to be specified for G2210 to G2211
CTL+5 : Data to be specified for G2002
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G3000 to G3001
CTL+3 to CTL+4 : Data to be specified for G3210 to G3211
CTL+5 : Data to be specified for G3002
- 523 -
4.LADDER LANGUAGE B-64513EN/03
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G4000 to G4001
CTL+3 to CTL+4 : Data to be specified for G4210 to G4211
CTL+5 : Data to be specified for G4002
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G5000 to G5001
CTL+3 to CTL+4 : Data to be specified for G5210 to G5211
CTL+5 : Data to be specified for G5002
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G6000 to G6001
CTL+3 to CTL+4 : Data to be specified for G6210 to G6211
CTL+5 : Data to be specified for G6002
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G7000 to G7001
CTL+3 to CTL+4 : Data to be specified for G7210 to G7211
CTL+5 : Data to be specified for G7002
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G8000 to G8001
CTL+3 to CTL+4 : Data to be specified for G8210 to G8211
CTL+5 : Data to be specified for G8002
- 524 -
B-64513EN/03 4.LADDER LANGUAGE
(10) 10th path
CTL+0 : 10
CTL+1 to CTL+3 : Data to be specified for G9000 to G9002
In case of the extended specification (program number O8 digits etc.), it sets CTL+1 to CTL+5 as
follows.
CTL+1 to CTL+2 : Data to be specified for G9000 to G9001
CTL+3 to CTL+4 : Data to be specified for G9210 to G9211
CTL+5 : Data to be specified for G9002
NOTE
Refer to the “CONNECTION MANUAL (FUNCTION)” for detailed data to be
specified concerning external data input.
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
completion (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 completion (W1 = 1).
7 6 5 4 3 2 1 0
R9000
Z0
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.
- 525 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
This instruction cannot be used in the 1st level whose execution cycle is 1ms or
2ms. It is processed as an NOP instruction.
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).
Parameter
(a) Control data address
The PMC byte address is used to specify the area where control data is stored.
- 526 -
B-64513EN/03 4.LADDER LANGUAGE
Control data
CTL+0 Function code * Set the control data area by sequence
program before executing the
+2 Completion code "WINDR".
+4 Data length
+6 Data number
+8 Data attribute
+n
R9000
Z0
WINDR error
- 527 -
4.LADDER LANGUAGE B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged.
As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
This instruction cannot be used in the 1st level whose execution cycle is 1ms or
2ms. It is processed as an NOP instruction.
Format
Fig. 4.11.4 shows the ladder format and Table 4.11.4 shows the mnemonic format.
ACT W1
SUB 52
WINDW {{{{ Control data 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.
- 528 -
B-64513EN/03 4.LADDER LANGUAGE
Control data
CTL+0 Function code * Set the control data area by sequence
program before executing the
+2 Completion code "WINDW".
+4 Data length
+6 Data number
+8 Data attribute
7 6 5 4 3 2 1 0
R9000
Z0
WINDW error
- 529 -
4.LADDER LANGUAGE B-64513EN/03
WARNING
PMC axis control is able to command by PMC ladder and macro executor.
However, If you process the PMC signal set related to the PMC axis control by
using two or more applications, the machine may behave in an unexpected
manner and also tools, work pieces, and the machine may be damaged.
When you use this instruction (PMC axis control) in ladder program, you should
program the processing about this function only in same level of ladder program.
NOTE
1 To use this function requires that the PMC axis control option be set on the CNC
side.
2 This instruction cannot be used in the 1st level whose execution cycle is 1ms or
2ms. It is processed as a NOP instruction.
Format
Fig. 4.11.5 shows the ladder format and Table 4.11.5 shows the mnemonic format.
RST W1
SUB 53
ACT AXCTL {{{{ Group No. of DI/DO signal
{{{{ Axis control data address
- 530 -
B-64513EN/03 4.LADDER LANGUAGE
Table 4.11.5 Mnemonic of AXCTL instruction
Memory status of control
Mnemonic format
condition
Step Address
Instruction Bit No. Remarks ST3 ST2 ST1 ST0
number No.
1 RD {{{{ .{ RST RST
2 RD.STK {{{{ .{ ACT RST ACT
3 SUB 53 AXCTL instruction
4 (PRM) {{{{ Group No. of DI/DO signal
5 (PRM) {{{{ Axis control data address
6 WRT {{{{ .{ Processing completion W1
Control condition
(a) Input signal (ACT)
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.
(b) Reset (RST)
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.
Parameters
(a) Group number of DI/DO signal
Specify the DI/DO signal group by the number.
Set value Signal group number DI address DO address
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
- 531 -
4.LADDER LANGUAGE B-64513EN/03
2
Command data 1 (EIF0x to EIF15x)
6
(x=A/B/C/D)
7
- 532 -
B-64513EN/03 4.LADDER LANGUAGE
The following functions are available.
Operation Control Command data 1 Command data 2
Rapid traverse 00H Feedrate (Note 1) Total travel amount
Cutting feed (feed per min.) 01H Feedrate (Note 2) Total travel amount
Cutting feed (feed per revolution) 02H Feedrate per revolution Total travel amount
Skip (feed per min.) 03H Feedrate Total travel amount
Dwell 04H Not used Dwell time
Reference pos. return 05H Feedrate (Note 1) Not used
Continuous feed (Note 3) 06H Feedrate Feed direction (Note 4)
1st ref. pos. return 07H Feedrate (Note 1) Not used
2nd ref. pos. return 08H Not used
3rd ref. pos. return 09H Not used
4th ref. pos. return 0AH Not used
External pulse synchronization 0BH Pulse weighting Not used
(Position coder) (Note 3)
External pulse synchronization (1st manual 0DH Pulse weighting Not used
pulse generator) (Note 3)
External pulse synchronization (2nd manual 0EH Pulse weighting Not used
pulse generator) (Note 3)
External pulse synchronization (3rd manual 0FH Pulse weighting Not used
pulse generator) (Note 3)
Speed command (Note 5) 10H Feedrate Not used
Torque control 11H Maximum feedrate Torque data
Auxiliary function 1 12H Not used Auxiliary function code
Auxiliary function 2 14H Not used Auxiliary function code
Auxiliary function 3 15H Not used Auxiliary function code
Machine coordinate system selection 20H Rapid traverse rate (Note 1) Machine coordinate
position
Cutting feedrate (sec/block) 21H Cutting feed time Total travel amount
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. 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, refer to the NC connecting
manual.
7 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)".
- 533 -
4.LADDER LANGUAGE B-64513EN/03
5 unit : 0.001mm
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.
- 534 -
B-64513EN/03 4.LADDER LANGUAGE
7 6 5 4 3 2 1 0
R9000
Z0
Group number of DI/DO signal specification
error
NOTE
1 W1 becomes 1 regardless of the state of ACT.
2 It is not related to the state of the alarm signal (EIALx).
Remarks
(1) The following signals are processed in this functional instruction.
• Axis control command signals EC0g to EC6g (G143.0 to G143.6)
• Controlled axis feed signals EIF0g to EIF15g (G144 to G145)
• Axis control data signals EID0g to EID31g (G146 to G149)
• Axis control command read signal EBUFg (G142.7)
• Axis control command read completion signal EBSYg (F130.7)
• Reset signal ECLRg (G142.6)
As for other than above signals (like the following signals), it is necessary to process G-addresses
(X-addresses) from the ladder program directly.
• Axis control temporary 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 disable signal EMSBKx (G143.7, G155.7, G167.7, G179.7)
• Controlled axis selection signals EAX1 to EAX8 (G136.0 to 7)
• Feedrate override signals *EFOV0 to *EFOV7 (G151.0 to 7)
• Override cancellation signal EOVC (G150.5)
• Rapid traverse override signals EROV2, EROV1 (G150.1,0)
• Dry run signal EDRN (G150.7)
• Manual rapid traverse selection signal ERT (G150.6)
• Skip signal SKIP/ESKIP (X4.7, X4.6)
• Buffering disable signal EMBUFx (G142.2、G154.2, G166.2, G178.2)
(x=A/B/C/D)
WARNING
1 Above signals, which are processed in this functional instruction, cannot program
in the ladder.
2 Movement cannot be sure when controlled axis selection signal (EAXx) is
changed in the state of ACT=1.
3 PMC axis control must be executed while the PMC controlled-axis selection
variable (#8700) or controlled axis selection signals EAX1 to EAX8 are "1". If PMC
controlled-axis selection variable (#8700) and controlled axis selection signals
EAX1 to EAX8 are "0", the command cannot be accepted. Therefore, the machine
may behave in an unexpected manner.
- 535 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
This instruction cannot be used in the 1st level whose execution cycle is 1ms or
2ms. It is processed as an NOP instruction.
Format
Fig. 4.11.6 shows the ladder format and Table 4.11.6 shows the mnemonic format.
ACT W1
SUB 63
PSGN2 {{{{ Control data (Address)
Control condition
(a) Command (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to W1.
Parameters
(a) Control data
Set the top address of the control data. There are two format types for the control data. One is
"Extended format" and other is "Basic format". The "Extended format" can be specified the CNC path
or kind of machine position. The “Basic format” is for compatibility with conventional PMC system.
We recommend you to use the "Extended format" if you use this instruction on single-path CNC
system or you do not specify kind of machine position.
- 536 -
B-64513EN/03 4.LADDER LANGUAGE
[Extended format]
- Set first byte of the control data area to 0.
- You can specify kind of machine position.
- In case of multi-path CNC system, choose this format.
- The continuous 12-bytes memory is necessary.
[Basic format]
- This format is only available on single-path CNC system.
- The continuous 9-bytes memory is necessary.
CAUTION
Be careful that it is recognized as "Extended format" if you set “Axis number” to 0
in the case of “Basic format”.
The machine position means that the value read by the window function code 28 "Reading the
Machine Position (Machine Coordinates) of Controlled Axes". The actual machine position means
that the value read by the window function code 428 "Reading the Actual Machine Position of
Controlled Axes".
- 537 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
1 In case that CNC system software supports actual position reading function with
absolute-position detector, to use the actual position setting "Kind of machine
position" to 1, set the CNC parameter No.1806#5 and No.2224#1 to 1.
2 To use actual machine position that servo delay and acceleration/deceleration
delay is applied setting "Kind of machine position" to 1, set the CNC parameter
No.1806#5 to 0 and No.11313#7 to 1.
3 When "Kind of machine position" is 0, the update cycle of the machine position
becomes faster by setting the CNC parameter No. 11300#5 (MPH) to 1. You
should apply this setting only if necessary because this setting may lower the
performance of CNC a little.
(iv) Position a, b
Set the machine position with 4-bytes length binary data with machine unit. You must set positions to
be "Position a ≦ Position b". The position value "1" means the minimum unit of data with machine
unit.
For example, when the setting of minimum unit of data is "IS-B" and the setting of machine unit is
"mm", the position 10000 means "10.000mm".
CAUTION
You must set positions to be "Position a ≦ Position b". If not, this instruction does
not work correctly.
NOTE
This instruction does not depend on the diameter or radius setting even using the
Diameter and Radius Setting Switching function. Set the position which depends
only on the setting of the CNC parameter No. 1006#3 (DIAx).
- 538 -
B-64513EN/03 4.LADDER LANGUAGE
Output (W1)
When the machine position is "Position a ≦ Machine position ≦ Position b", W1 is turned on.
W1=1: - ACT=1 and "Position a ≦ Machine position ≦ Position b"
W1=0: - ACT=0
- ACT=1 and "Machine position < Position a" or "Position b < Machine position"
- ACT=1 and invalid path or axis number is specified.
Machine - a b +
position
W1=1
0
7 6 5 4 3 2 1 0
R9000
Z0
Invalid path or axis number
Example
The example of using this instruction is shown bellow.
- The control data address is R320.
- The setting of machine unit is "mm".
- The setting of minimum unit of data is "IS-B".
- The kind of machine position is actual machine position.
- The axis is 3rd axis on 2nd CNC path.
- The settings of machine position are "-800mm" and "123.456 mm".
ACT SUB 63 R320 W1
PSGN2
In this case, you should set the control data using "Extended format" as following.
When ACT=1 and the machine position is equal or grater than -800 mm and is equal or smaller than
123.456 mm, the W1 is turned on.
- 539 -
4.LADDER LANGUAGE B-64513EN/03
NOTE
This instruction cannot be used in the 1st level whose execution cycle is 1ms or
2ms. It is processed as an NOP instruction.
Format
Fig. 4.11.7 shows the ladder format and Table 4.11.7 shows the mnemonic format.
ACT
SUB 50
PSGNL {{{{ Control data (Address)
{{{{ Output (Address)
Control condition
(a) Command (ACT)
ACT=0: Do not execute the instruction. The W1 becomes 0.
ACT=1: Execute the instruction. The result is output to "Output".
Parameters
(a) Control data
Set the top address of the control data. There are two format types for the control data. One is
"Extended format" and other is "Basic format". The "Extended format" can be specified the CNC path
or kind of machine position. The “Basic format” is for compatibility with conventional PMC system.
We recommend you to use the "Extended format" if you use this instruction on single-path CNC
system or you do not specify kind of machine position.
- 540 -
B-64513EN/03 4.LADDER LANGUAGE
[Extended format]
- Set first byte of the control data area to 0.
- You can specify kind of machine position.
- In case of multi-path CNC system, choose this format.
- The continuous 32-bytes memory is necessary.
[Basic format]
- This format is only available on single-path CNC.
- The continuous 29-bytes memory is necessary.
- 541 -
4.LADDER LANGUAGE B-64513EN/03
CAUTION
Be careful that it is recognized as "Extended format" if you set “Axis number” to 0
in the case of “Basic format”.
The machine position means that the value read by the window function code 28 "Reading the
Machine Position (Machine Coordinates) of Controlled Axes". The actual machine position means
that the value read by the window function code 428 "Reading the Actual Machine Position of
Controlled Axes".
NOTE
1 In case that CNC system software supports actual position reading function with
absolute-position detector, to use the actual position setting "Kind of machine
position" to 1, set the CNC parameter No.1806#5 and No.2224#1 to 1.
2 To use actual machine position that servo delay and acceleration/deceleration
delay is applied setting "Kind of machine position" to 1, set the CNC parameter
No.1806#5 to 0 and No.11313#7 to 1.
3 When "Kind of machine position" is 0, the update cycle of the machine position
becomes faster by setting the CNC parameter No. 11300#5 (MPH) to 1. You
should apply this setting only if necessary because this setting may lower the
performance of CNC a little.
- 542 -
B-64513EN/03 4.LADDER LANGUAGE
CAUTION
1 You must set all positions to be "Position a < b < c < d < e < f < g". If not, this
instruction does not work correctly.
NOTE
This instruction does not depend on the diameter or radius setting even using the
Diameter and Radius Setting Switching function. Set the position which depends
only on the setting of the CNC parameter No. 1006#3 (DIAx).
(b) Output
Set the output address to this parameter. This output needs 1-byte length memory. When ACT=1, one
of the bits corresponding to the current machine position is turned on by this instruction. When
ACT=1 and any error occurs in this instruction, all bits of output will be turned off. When ACT=0, the
output will not be updated.
The correspondence between the setting of Position (a) to (g) and the bit signals of output are shown
below.
Machine - a b c d e f g +
Position (1) (2) (3) (4) (5) (6) (7) (8)
7 6 5 4 3 2 1 0
Output (1) (2) (3) (4) (5) (6) (7) (8)
Output#7=1
=0
Output#6=1
=0
Output#5=1
=0
Output#4=1
=0
Output#3=1
=0
Output#2=1
=0
Output#1=1
=0
Output#0=1
=0
- 543 -
4.LADDER LANGUAGE B-64513EN/03
7 6 5 4 3 2 1 0
R9000
Z0
Invalid path or axis number
Example
The example of using this instruction is shown bellow.
- The control data address is R320.
- The output address is R319.
- The setting of machine unit is "mm".
- The setting of minimum unit of data is "IS-B".
- The kind of machine position is actual machine position.
- The axis is 3rd axis on 2nd CNC path.
- The each positions are "a = -400 mm", "b = -200 mm", "c = -100 mm", "d = 0 mm", "e = 10 mm",
"f = 100 mm" and "g = 123.456 mm".
ACT SUB 50 R320 R319
PSGNL
- 544 -
B-64513EN/03 4.LADDER LANGUAGE
- 545 -
4.LADDER LANGUAGE B-64513EN/03
- 546 -
B-64513EN/03 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
COM 0
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.
- 547 -
4.LADDER LANGUAGE B-64513EN/03
Parameter
(a) Specify 0.
NOTE
1 The ladder diagram that includes the COM instruction as shown “Fig.1” is similar
in logic to the ladder diagram as shown “Fig.2”.
Fig.1
ACT
SUB 9 0
COM
ON OUT1
OFF OUT2
{
SUB 29
COME
Fig.2
ON ACT OUT1
- 548 -
B-64513EN/03 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
- 549 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.12.2 shows the ladder format and Table 4.12.2 shows the mnemonic format.
SUB 29
COME
- 550 -
B-64513EN/03 4.LADDER LANGUAGE
ACT
SUB 10 0
JMP
Valid range
of the JMP
instruction
SUB 30
JMPE
Format
Fig. 4.12.3 (b) shows the ladder format and Table 4.12.3 shows the mnemonic format.
ACT
SUB 10
JMP 0
Control conditions
ACT=1: The logical instructions (including functional instructions) to next JMPE instruction are skipped.
ACT=0: The JMP instruction is ignored. It is performed from next step.
- 551 -
4.LADDER LANGUAGE B-64513EN/03
Parameters
(a) Specify 0.
CAUTION
When you use this instruction between COM and COME instructions, the ladder
sequence may not be able to operate normally. For details, refer to “CAUTION” of
the section of COM instruction.
- 552 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.12.4 shows the ladder format and Table 4.12.4 shows the mnemonic format.
SUB 30
JMPE
- 553 -
4.LADDER LANGUAGE B-64513EN/03
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
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.
- 554 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Label specification
Specify 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 for jump back to a previous instruction, take care not
to cause an infinite loop.
- 555 -
4.LADDER LANGUAGE B-64513EN/03
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
Control conditions
ACT=0: The instruction after the JMPC instruction is executed.
ACT=1: Control is transferred to the Ladder after the specified label.
- 556 -
B-64513EN/03 4.LADDER LANGUAGE
Parameters
(a) Label specification
Specify 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 for jump back to a previous instruction, take care not
to cause an infinite loop.
- 557 -
4.LADDER LANGUAGE B-64513EN/03
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 L{{{{ Label specification
Parameters
(a) Label specification
Specify the jump destination for the JMPB and JMPC instructions. The label number must be
specified in the L address form. A label number from L1 to L9999 can be specified. Up to 256 labels
can be used in the main programs (level 1, level 2 and level3). Up to 256 labels can be used in a sub
program. The label number may be used to overlap in between the main program and sub program, or
in some sub programs.
NOTE
For the use of this instruction, see the description of functional instruction JMPB
and JMPC.
- 558 -
B-64513EN/03 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.
Parameters
(a) Subprogram number
Specify the subprogram number of a subprogram to be called. The subprogram number must be
specified in the P address form.
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.
- 559 -
4.LADDER LANGUAGE B-64513EN/03
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
Specify the subprogram number of a subprogram to be called. The subprogram number must be
specified in the P address form.
SUB 66 P1
CALLU
- 560 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.12.10 shows the ladder format and Table 4.12.10 shows the mnemonic format.
SUB 71
SP P{{{{ Subprogram number
Parameters
(a) Subprogram number
Specify the subprogram number of a subprogram to be coded following this instruction. The
subprogram number must be specified in the P address form.
The specified subprogram number must be unique within the sequence program.
Example: When the subprogram number is set to 1
SUB 71 P1
SP
- 561 -
4.LADDER LANGUAGE B-64513EN/03
SUB 72
SPE
SUB 1
END1
- 562 -
B-64513EN/03 4.LADDER LANGUAGE
SUB 2
END2
SUB 48
END3
- 563 -
4.LADDER LANGUAGE B-64513EN/03
SUB 64
END
The CS starts the case call block and the CE ends the block. Each CM that should be located between the CS
and CE specifies a sub program to be called in each case.
Executing case call block, the CS instruction evaluates the case number from its 1st parameter and only one
of CMs that is selected by the case number is activated and calls its associated sub program. When the case
number is 0, the 1st CM immediately after CS is executed and certain sub program is called. When the case
number is 1, the 2nd CM after CS is executed. The number from 0 to 255 is allowed as the case number.
When the case number except 0 through 255 is detected on CS, no sub program is called.
The CM instructions should be programmed immediately after the CS. Other functions except CM must not
be programmed between CS and CE. If not so, an error will be detected in ending of edit.
The case call block is available only in LEVEL2 and outside of a COM and COME block where normal
subprogram call instructions such as CALL and CALLU are allowed. The case call block can be
programmed wherever normal subprogram call instructions can be programmed.
- 564 -
B-64513EN/03 4.LADDER LANGUAGE
In the following example program, the sub program corresponding to the case number is called.
• R100 = 0: The sub program P10 is called.
• R100 = 1: The sub program P20 is called.
• R100 = 2: The sub program P50 is called.
• R100 = n: The sub program P15 is called.
SUB10
JMP
0
SUB75
CM Case number 0
P10
Sub program address
SUB75
CM Case number 1
P20
Sub program address
SUB75
CM Case number 2
P50
Sub program address
..............
SUB75
CM Case number n
P15 (255 in maximum)
Sub program address
SUB76
CE
SUB30
JMPE
- 565 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.12.17 shows the ladder format and Table 4.12.17 shows the mnemonic format.
SUB 74
CS {{{{ Case number (Signed integer in 2 bytes length)
Parameters
(a) Case number
Set the address or symbol of the variable in which the case number is stored and commanded. The data
type is signed integer in 2 bytes length.
NOTE
Case number is evaluated by CS only once in every cycle. Even if you change the
case number in the sub program which is called by the case call block, this change
becomes effective in next cycle. This means that only one or no sub program is
called in each case call block in each cycle.
- 566 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.12.18 shows the ladder format and Table 4.12.18 shows the mnemonic format.
SUB 75
CM P{{{{ Sub program address (P address)
Parameters
(a) Sub program address
Set a P address or symbol of a sub program that is call in the case.
- 567 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig.4.12.19 shows the ladder format and Table 4.12.19 shows the mnemonic format.
SUB 76
CE
- 568 -
B-64513EN/03 4.LADDER LANGUAGE
- 569 -
4.LADDER LANGUAGE B-64513EN/03
Format
Fig. 4.13.1 (a) shows the ladder format and Table 4.13.1 shows the mnemonic format.
RNO W1
SUB 6
BYT ROT {{{{ Rotor indexing number
{{{{ Current position address
DIR {{{{ Target position address
{{{{ Result output address
POS
INC
ACT
- 570 -
B-64513EN/03 4.LADDER LANGUAGE
Control conditions
(a) Specify the starting number of the rotor. (RNO)
RNO=0: Initial number of the position of the rotor is 0.
RNO=1: Initial number of the position of the rotor is 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 rotation direction is selected. The rotation direction is only forward.
DIR=1: rotation direction is selected. See rotating direction output (W1) described below for details
on the rotation direction.
Parameters
(a) Rotor indexing number
Specify the rotor indexing number.
NOTE
1 When POS is set to 1 and current position is same as target position, incorrect
result is calculated.
2 When the value, which is exceeds the rotor index number, is set in the current
poison and target position, incorrect result is calculated.
- 571 -
4.LADDER LANGUAGE B-64513EN/03
12 12
11 1 1 11
10 2 10
2
9 3 3 9
FOR REV REV FOR
4 8
8 4
7 5 7
5 6
6
- 572 -
B-64513EN/03 4.LADDER LANGUAGE
Format
Fig. 4.13.2 (a) shows the ladder format and Table 4.13.2 shows the mnemonic format.
RNO W1
SUB 26
DIR ROT { Format specification
{{{{ Rotating element indexed position address
POS {{{{ Current position address
{{{{ Target position address
INC {{{{ Result output address
ACT
- 573 -
4.LADDER LANGUAGE B-64513EN/03
Control conditions
(a) Specify the starting number of the rotor. (RNO)
RNO=0: Initial number of the position of the rotor is 0.
RNO=1: Initial number of the position of the rotor is 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 rotation direction is selected. The rotation direction is only forward.
DIR=1: rotation direction is selected. See rotating direction output (W1) described below for details
on the rotation direction.
(d) Specify the operating conditions. (POS)
POS=0: Calculate the target position.
POS=1: Calculate the position before the target position.
(e) Specify the position or the number of steps. (INC)
INC=0: Calculate the number of the position. If the position before the target position is to be
calculated, specify INC=0 and POS=1
INC=1: Calculate the number of steps. If the difference between the current position and the target
position is to be calculated, specify INC=1 and POS=0.
(f) Execution command (ACT)
ACT=0: The instruction is not executed. W1 does not change.
ACT=1: The instruction is executed. If the operation results are required, set ACT to 1.
Parameters
(a) Format specification
Specify 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.
CAUTION
Do not set an illegal value, that is not indicated above, into the "(a) Format
specification".
NOTE
1 Do not set negative value in each parameter.
2 When POS is set to 1 and current position is same as target position, incorrect
result is calculated.
3 When the value, which is exceeds the rotor index number, is set in the current
poison and target position, incorrect result is calculated.
- 574 -
B-64513EN/03 4.LADDER LANGUAGE
A A
Logic 1
R0228.0 R0228.0
A
R0228.0
A CR-CCW
RNO
Shorter path or not
R0228.0 SUB 26 4 Reference data format R0228.1
A ROTB D0000 Rotor indexing number
DIR
X0041 Current position address
R0228.0 F0026 Target position address
A R0230 Result output address
POS
R0228.0
A
INC
R0228.0
TF CW-M CCW-M
ACT
F0007.3 Y0005.6 Y0005.7
TF
ACT
F0007.3 SUB 32 1004 Reference data format
COMPB R0230 Reference data
X0041 Comparison data address
TF TDEC
Deceleration
position detection
R9000.0 F0007.3 R0228.2
TDEC TF DEC-M
Deceleration
command
R0228.2 F0007.3 Y0005.5
TCOMPB DEC-M
R0228.3 Y0005.5
TF
ACT
F0007.3 SUB 32 1004 Reference data format
COMPB F0026 Reference data
X0041 Comparison data address
TF TCOMPB Goal position
(stop position)
R9000.0 F0007.3 R0228.3 detection
TF CR-CCW TCOMPB CW-M
Forward rotation
command
F0007.3 R0228.1 R0228.3 Y0005.6
TF CR-CCW TCOMPB CCW-M
Reverse rotation
command
F0007.3 R0228.1 R0228.3 Y0005.7
Fig. 4.13.2 (b) Example of a ladder diagram for the ROTB instruction
- 575 -
4.LADDER LANGUAGE B-64513EN/03
- 576 -
B-64513EN/03 4.LADDER LANGUAGE
It takes time for the following operations or the operation cannot be completed by the above-mentioned.
• Stopping the ladder program using a soft key on the screen
• Reading a new ladder program from a memory card or other medium, by using the data input and
output screen
• Updating the ladder program with changes made using the ladder diagram edit screen
If any of the above phenomena occurs, the functional instruction causing the problem needs to be fixed.
Check the functional instructions mentioned above to see whether there is any ACT or RST condition
remaining on, and correct the ladder program according to the following procedure.
1. Put the machine in safe condition and turn off the power of the CNC.
2. Turn on the power of the CNC while holding down the "CAN" and "Z" keys simultaneously, to restart
the NC with the ladder program halted.
3. In the ladder diagram edit screen, redesign the logic associated with the problematic functional
instruction. When done, set the ACT or RST condition to off. If the same operation is repeating
because of an inadequate JMPB or JMPC instruction, review the jump condition and, if necessary,
change the ladder structure.
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.
- 577 -
5.WINDOW FUNCTIONS B-64513EN/03
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.
As this function depends on the specification of CNC function, refer to the following CNC manuals with
this manual.
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged.
As for details, refer to “SAFETY PRECAUTIONS”.
- 578 -
B-64513EN/03 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.
≈ ≈
(1) In the explanation of the window functions below, minuses (-) in the data structure fields indicate
that input data need not be set in these fields or that output data in these fields is not significant.
(2) All data is in binary unless otherwise specified.
(3) All data block lengths and data lengths are indicated in bytes.
(4) Output data is valid only when window processing terminates normally.
(5) Output data always includes one of the following completion codes. Note, however, that all of the
completion codes listed are not always provided for each function.
- 579 -
5.WINDOW FUNCTIONS B-64513EN/03
When using the low-speed response window function, set ACT to 0 immediately after the data transfer
end data (W1) is set to 1 for the window instruction. For details, see "CAUTION" below.
CAUTION
1 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.
If you leave a window instruction of a low-speed response with W1=1 and
ACT=1, other window instructions of low-speed response do not work.
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,
you need not make ACT=0.
2 The completion of the other window instruction of low-speed response may be
delayed by the execution of application using FOCAS2 functions and C language
executor application. If some window instruction of a low speed response is
executed continuously with a high frequency, the completion of the other window
instruction of low-speed response will be delayed, or may not be done. You
should take care that the execution of application using FOCAS2 functions and C
language executor application may be delayed. The window instruction of a low-
speed response should be executed with the lowest required frequency.
- 580 -
B-64513EN/03 5.WINDOW FUNCTIONS
If the PMC alarm “WN03” occurs, the functional instruction causing the problem needs to be fixed. For
information about how to fix the problem, see Section 4.15.
When the PMC alarm “WN03” occurs, the low-speed response window does not be executed. Therefore,
the execution of the ladder program becomes unstable. To re-set the alarm, turn off and on the power of
CNC.
- 581 -
5.WINDOW FUNCTIONS B-64513EN/03
Function
Group No. Description Response R/W
code
5 Reading the servo delay for controlled axes 30 High-speed R
Reading the acceleration/deceleration delay on
6 31 High-speed R
controlled axes
Axis information Reading the feed motor load current value (A/D
(Section 5.5) 7 34 High-speed R
conversion data)
8 Reading the actual spindle speed 50 High-speed R
9 Reading the relative position on a controlled axis 74 High-speed R
10 Reading the remaining travel 75 High-speed R
11 Reading the actual velocity of each controlled axes 91 High-speed R
12 Reading actual spindle speeds 138 High-speed R
13 Entering torque limit data for the digital servo motor 152 Low-speed W
Reading load information of the spindle motor (serial
14 153 High-speed R
interface)
15 Reading a chopping data 206 Low-speed R
16 Reading the actual speed of servo motor 207 High-speed R
17 Reading the estimate disturbance torque data 211 High-speed R
Reading a fine torque sensing data (statistical
18 226 High-speed R
calculation results)
19 Reading a fine torque sensing data (store data) 232 High-speed R
20 Presetting the relative coordinate 249 Low-speed W
Reading the three-dimensional error compensation
21 413 Low-speed R
data
Writing the three-dimensional error compensation
22 414 Low-speed W
data
23 Reading the position of controlled axes 428 High-speed R
Reading slider position of the Control function for link
24 386 High-speed R
type press
Reading position of lower dead point of the Control
25 387 High-speed R
function for link type press
Reading main gear angle of the Control function for
26 388 High-speed R
link type press
27 Reading analog monitor unit data 435 High-speed R
28 Reading axes command value 446 High-speed R
Reading the tool life management data (tool group
1 38 High-speed R
number)
Reading tool life management data (number of tool
2 39 High-speed R
groups)
3 Reading tool life management data (number of tools) 40 High-speed R
4 Reading tool life management data (tool life) 41 High-speed R
5 Reading tool life management data (tool life counter) 42 High-speed R
Reading tool life management data (tool length
6 43 High-speed R
compensation number (1): Tool number)
Reading tool life management data (tool length
7 44 High-speed R
compensation number (2): Tool order number)
Reading tool life management data (cutter radius
8 45 High-speed R
compensation number (1): Tool number)
Reading tool life management data (cutter radius
Tool life 9 46 High-speed R
compensation number (2): Tool order number)
management Reading tool life management data (tool information
functions 10 47 High-speed R
(1): Tool number)
(Section 5.6) Reading tool life management data (tool information
11 48 High-speed R
(2): Tool order number)
12 Reading tool life management data (tool number) 49 High-speed R
- 583 -
5.WINDOW FUNCTIONS B-64513EN/03
Function
Group No. Description Response R/W
code
Reading the tool life management data (tool life
13 160 High-speed R
counter type)
14 Registering tool life management data (tool group) 163 Low-speed W
15 Writing tool life management data (tool life) 164 Low-speed W
16 Writing tool life management data (tool life counter) 165 Low-speed W
Writing tool life management data (tool life counter
17 166 Low-speed W
type)
Writing tool life management data (tool length
18 167 Low-speed W
compensation number (1): Tool number)
Writing tool life management data (tool length
19 168 Low-speed W
compensation number (2): Tool order number)
Tool life
Writing tool life management data (cutter radius
management 20 169 Low-speed W
compensation number (1): Tool number)
functions
Writing tool life management data (cutter radius
(Section 5.6) 21 170 Low-speed W
compensation number (2): Tool order number)
Writing tool life management data (tool information
22 171 Low-speed W
(1): Tool number)
Writing the tool management data (tool information
23 172 Low-speed W
(2): Tool order number)
24 Writing tool life management data (tool number) 173 Low-speed W
Reading the tool life management data (tool group
25 200 High-speed R
No.) (8-digit tool number)
Reading tool life management data (tool information
26 201 High-speed R
(1): Tool number) (8-digit tool number)
Registering tool life management data (tool group
27 202 Low-speed W
number) (8-digit tool number)
Reading tool life management data (tool length
28 compensation number (1): Tool number) (8-digit tool 227 High-speed R
number)
Reading tool life management data (cutter radius
29 compensation number (1): Tool number) (8-digit tool 228 High-speed R
number)
Writing tool life management data (tool length
30 compensation number (1): Tool number) (8-digit tool 229 Low-speed W
number)
Writing tool life management data (cutter radius
31 compensation number (1): Tool number) (8-digit tool 230 Low-speed W
number)
Writing the tool life management data (tool
32 231 Low-speed W
information (1): Tool number) (8-digit tool number)
33 Deleting tool life management data (tool group) 324 Low-speed W
34 Deleting tool life management data (tool data) 325 Low-speed W
Clearing tool life management data (tool life counter
35 326 Low-speed W
and tool information)
Writing tool life management data (arbitrary group
36 327 Low-speed W
number)
Writing tool life management data (remaining tool
37 328 Low-speed W
life)
Exchanging tool management data numbers in a
1 329 Low-speed W
Tool management magazine management table
functions 2 Searching for a free pot 330 Low-speed R
(Section 5.7) 3 Registering new tool management data 331 Low-speed W
4 Writing tool management data 332 Low-speed W
5 Deleting tool management data 333 Low-speed W
- 584 -
B-64513EN/03 5.WINDOW FUNCTIONS
Function
Group No. Description Response R/W
code
6 Reading tool management data 334 Low-speed R
7 Writing a specified type of tool management data 335 Low-speed W
8 Searching for tool management data 366 Low-speed R
9 Shifting tool management data 367 Low-speed W
10 Searching for a free pot (oversize tools supported) 397 Low-speed R
11 Reading the total tool life data 409 Low-speed R
Tool management
12 Writing tool management data by specified data 419 Low-speed W
functions
13 Deleting tool management data by specified data 420 Low-speed W
(Section 5.7)
14 Reading tool management data by specified data 421 Low-speed R
Writing each tool management data by specified
15 422 Low-speed W
data
16 Writing magazine property data 423 Low-speed W
17 Reading magazine property data 424 Low-speed R
18 Writing pot property data 425 Low-speed W
19 Reading pot property data 426 Low-speed R
20 Searching for a free pot by specified data 427 Low-speed R
21 Reading a tool geometry data 429 Low-speed R
22 Writing a tool geometry data 430 Low-speed W
Moving tool management data numbers in a
23 432 Low-speed W
magazine management table
Reading free number of Multi edge group / Tool
24 434 High-speed R
offset
25 Writing edge data 439 Low-speed W
26 Reading edge data 440 Low-speed R
27 Writing each edge data 441 Low-speed W
28 Reading the total tool life data of an edge 442 Low-speed R
*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 of "High-speed" in their Response field can read or write data immediately upon request. On
the other hand, functions of "Low-speed" in their Response field need to request the CNC to read or
write data and receiving response from CNC completes the request.
NOTE
To read or write data for the second path in two-path control CNC, add 1000 to
the function code number.
To read or write data for the third path in three-path control CNC, add 2000 to the
function code number.
Similarly, to read or write data for the fourth to 10th paths, add 3000 to 9000
accordingly to the function code number.
- 585 -
5.WINDOW FUNCTIONS B-64513EN/03
- 586 -
B-64513EN/03 5.WINDOW FUNCTIONS
Function
Description Response R/W
code
150 Entering data on the program check screen Low-speed W
151 Reading clock data (date and time) High-speed R
152 Entering torque limit data for the digital servo motor Low-speed W
153 Reading load information of the spindle motor (serial interface) High-speed R
154 Reading a parameter High-speed R
155 Reading setting data High-speed R
156 Reading diagnosis data (specific number only) High-speed R
160 Reading the tool life management data (tool life counter type) High-speed R
163 Registering the tool life management data (tool group) Low-speed W
164 Writing the tool life management data (tool life) Low-speed W
165 Writing the tool life management data (tool life counter) Low-speed W
166 Writing the tool life management data (tool life counter type) Low-speed W
Writing the tool life management data (tool length compensation number (1):
167 Low-speed W
Tool number)
Writing the tool life management data (tool length compensation number (2):
168 Low-speed W
Tool order number)
Writing the tool life management data (cutter radius compensation number (1):
169 Low-speed W
Tool number)
Writing the tool life management data (cutter radius compensation number (2):
170 Low-speed W
Tool order number)
171 Writing the tool life management data (tool information (1): Tool number) Low-speed W
172 Writing the tool management data (tool condition (2): Tool order number) Low-speed W
173 Writing the tool life management data (tool number) Low-speed W
Reading the tool life management data (tool group number) (8-digit tool
200 High-speed R
number)
Reading tool life management data (tool information (1): Tool number) (8-digit
201 High-speed R
tool number)
Registering tool life management data (tool group number) (8-digit tool
202 Low-speed W
number)
206 Reading a chopping data Low-speed R
207 Reading the actual speed of servo motor High-speed R
211 Reading the estimate disturbance torque data High-speed R
226 Reading a fine torque sensing data (statistical calculation results) High-speed R
Reading tool life management data (tool length compensation number (1): Tool
227 High-speed R
number) (8-digit tool number)
Reading tool life management data (cutter radius compensation number (1):
228 High-speed R
Tool number) (8-digit tool number)
Writing tool life management data (tool length compensation number (1): Tool
229 Low-speed W
number) (8-digit tool number)
Writing tool life management data (cutter radius compensation number (1):
230 Low-speed W
Tool number) (8-digit tool number)
Writing the tool life management data (tool information (1): Tool number) (8-
231 Low-speed W
digit tool number)
232 Reading a fine torque sensing data (store data) High-speed R
249 Presetting the relative coordinate Low-speed W
321 Reading a real type parameter High-speed R
323 Writing a real type parameter Low-speed W
324 Deleting the tool life management data (tool group) Low-speed W
325 Deleting the tool life management data (tool data) Low-speed W
326 Deleting the tool life management data (tool life counter and tool information) Low-speed W
327 Writing the tool life management data (arbitrary group number) Low-speed W
328 Writing the tool life management data (remaining tool life) Low-speed W
329 Exchanging tool management data numbers in a magazine management table Low-speed W
- 587 -
5.WINDOW FUNCTIONS B-64513EN/03
Function
Description Response R/W
code
330 Searching for a free pot Low-speed R
331 Registering new tool management data Low-speed W
332 Writing tool management data Low-speed W
333 Deleting tool management data Low-speed W
334 Reading tool management data Low-speed R
335 Writing a specified type of tool management data Low-speed W
366 Searching for tool management data Low-speed R
367 Shifting tool management data Low-speed W
386 Reading slider position of the Control function for link type press High-speed R
387 Reading position of lower dead point of the Control function for link type press High-speed R
388 Reading main gear angle of the Control function for link type press High-speed R
395 Reading the pitch error compensation data High-speed R
396 Writing the pitch error compensation data Low-speed W
397 Searching for a free pot (oversize tools supported) Low-speed R
409 Reading the total tool life data Low-speed R
413 Reading the three-dimensional error compensation data Low-speed R
414 Writing the three-dimensional error compensation data Low-speed W
419 Writing tool management data by specified data Low-speed W
420 Deleting tool management data by specified data Low-speed W
421 Reading tool management data by specified data Low-speed R
422 Writing each tool management data by specified data Low-speed W
423 Writing magazine property data Low-speed W
424 Reading magazine property data Low-speed R
425 Writing pot property data Low-speed W
426 Reading pot property data Low-speed R
427 Searching for a free pot by specified data Low-speed R
428 Reading the position controlled axes High-speed R
429 Reading a tool geometry data Low-speed R
430 Writing a tool geometry data Low-speed W
431 Tool figure making instruction for 3D interference check function Low-speed W
432 Moving tool management data numbers in a magazine management table Low-speed W
433 Reading detailed information of CNC alarm Low-speed R
434 Reading free number of Multi edge group / Tool offset High-speed R
435 Reading analog monitor unit data High-speed R
436 Command for Changing the Interference Object for 3D interference check Low-speed W
function
437 Reading a custom macro variable (variable number extension) Low-speed R
438 Writing a custom macro variable (variable number extension) Low-speed W
439 Writing edge data Low-speed W
440 Reading edge data Low-speed R
441 Writing each edge data Low-speed W
442 Reading the total tool life data of an edge Low-speed R
446 Reading axes commanded value Low-speed R
447 Reading the CNC ID number Low-speed R
449 Reading the number of repeats for subprogram calls / canned cycle High-speed R
*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 of "High-speed" in their Response field can read or write data immediately upon request. On
the other hand, functions of "Low-speed" in their Response field need to request the CNC to read or
write data and receiving response from CNC completes the request.
- 588 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 To read or write data for the second path in two-path control CNC, add 1000 to
the function code number.
To read or write data for the third path in three-path control CNC, add 2000 to
the function code number.
Similarly, to read or write data for the fourth to 10th paths, add 3000 to 9000
accordingly to the function code number.
2 When using this function with multi-path PMC system, you should confirm the
CNC-PMC interface assigned by NC parameter No. 11920-11929. According to
the assignment of the interface, ladder program of each PMC path can read or
write data for assigned CNC path. As for detail of these parameters, refer to
section “2.4.3”.
- 589 -
5.WINDOW FUNCTIONS B-64513EN/03
• When using the function "No.31 Reading the acceleration / deceleration delay on controlled
axes" with the data number N=0, the data is read with input unit. When using the function with
the data number N=1, the data is read with detection unit. On PMC-SB7, the data is always
read with machine unit.
• The function "No.21 Reading a custom macro variable" or "No.59 Reading a P-CODE macro
variable" returns "mantissa"=0 and "number of decimal places"= -1 when the floating-point
type variable is "null".
• The function "No.22 Writing a custom macro variable" or "No.60 Writing a P-CODE macro
variable" can write "null" to the floating-point type variable by setting "mantissa"=0 and
"number of decimal places"= -1.
• The function "No.32 Reading modal data" cannot read modal information for a block after the
next block.
• The function "No.32 Reading modal data" cannot read modal information for a block after the
next block.
• The function "No.120 Reading the current screen number" is not supported.
- 591 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0: CNC system information has been read normally.
- 592 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
0
(Always terminates normally)
+4 (Data length L)
14
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 CNC series name ASCII characters
(2 bytes) (30, 31, 32, 35)
NOTE
Data is stored from the upper digit in each lower byte.
- 593 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Offset number
+8 (Data attribute M)
Offset type
Virtual B axis
X axis Z axis Tool tip R Y axis
tool tip (Reserved)
Wear 0 2 4 6 8 10
Geometric 1 3 5 7 9 11
2nd Geometric 12 13 14
(c) Offset types (for machining centers with the Tool offset for Milling and Turning function)
Virtual
X axis Z axis Tool tip R Y axis Corner R
tool tip
Wear 1010 1012 1015 1018 1024
1019
Geometric 1009 1011 1014 1017 1023
- 594 -
B-64513EN/03 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. (Some wrong
offset types do not result this completion code.)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Offset number
(Same as input data)
+8 (Data attribute M)
Offset type
(Same as input data)
+10 Tool offset value Signed binary (A negative value is represented in
2's complement.)
+13 (4bytes) Upper 3 bytes are always "0" for virtual tool tip.
- 595 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Offset number
+8 (Data attribute M)
Offset type
Virtual B axis
X axis Z axis Tool tip R Y axis
tool tip (Reserved)
Wear 0 2 4 6 8 10
Geometric 1 3 5 7 9 11
2nd Geometric 12 13 14
- 596 -
B-64513EN/03 5.WINDOW FUNCTIONS
(c) Offset types (for machining centers with the Tool offset for Milling and Turning function)
Virtual
X axis Z axis Tool tip R Y axis Corner R
tool tip
Wear 1010 1012 1015 1018 1024
1019
Geometric 1009 1011 1014 1017 1023
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. (Some
wrong offset types do not result this completion code.)
5 The tool offset value is out of the effective range.
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.
116 The tool offset value is out of the effective range set by the wrong operation prevention function.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Offset number
(Same as input data)
+8 (Data attribute M)
Offset type
(Same as input data)
+10 Tool offset value Signed binary (A negative value is represented in
2's complement.)
+13 (Same as input data)
- 597 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=0: External workpiece origin offset
Offset group number N=1: G54
: :
N=6: G59
With "addition of workpiece coordinate system pair"
N=7: G54.1 P1
: :
N=306: G54.1 P300
+8 (Data attribute M) M=1 to n: Workpiece origin offset number of a
Axis number specific axis. n is the axis number.
M=-1: Read for all axes.
+10 (Data area)
-
+41 (Need not to be set)
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.
- 598 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L) L=4: The workpiece origin offset value for a specific
Byte length of the workpiece axis is read.
origin offset value L=4×n: Workpiece origin offsets for all axes are
read.
+6 (Data number N)
Offset group number
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Workpiece origin offset value Signed binary number (A negative value is
represented in 2's complement.)
- 599 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) L=4: Workpiece origin offset value for a specific
Byte length of the workpiece axis is written.
origin offset value L=4×n: Workpiece origin offset values for all axes
are written.
+6 (Data number N) N=0: External workpiece origin offset
Offset group number N=1: G54
: :
N=6: G59
With the option of adding Workpiece coordinate
systems.
N=7: G54.1 P1
: :
N=306: G54.1 P300
+8 (Data attribute M) M=1 to n: Workpiece origin offset number of a
Axis number specific axis. n is the axis number.
M=-1: Write for all.
+10 Workpiece origin offset value Signed binary number (A negative value is
represented in 2's complement.)
- 600 -
B-64513EN/03 5.WINDOW FUNCTIONS
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.
5 The workpiece origin offset value is out of the effective range.
6 There is no workpiece coordinate shift option added.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 601 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Parameter number
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).
- 602 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L) When no axis or one axis is specified
L=1: Bit or byte parameter
(L = 1, 2, 4, 1×n, 2×n, 4×n) L=2: Word parameter
L=4: Double word parameter
When all axes are specified
L=1×n: Bit or byte parameter
L=2×n: Word parameter
L=4×n: Double word parameter
+6 (Data number N)
Parameter number
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Parameter data Parameter - dependent form
CAUTION
Macro executor parameters 9000 to 9011 cannot be read.
- 603 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) When no axis or one axis is specified
L=1: Bit or byte parameter
(L = 1, 2, 4, 1×n, 2×n, 4×n) L=2: Word parameter
L=4: Double word parameter
When all axes are specified
L=1×n: Bit or byte parameter
L=2×n: Word parameter
L=4×n: Double word parameter
+6 (Data number N)
Parameter number
- 604 -
B-64513EN/03 5.WINDOW FUNCTIONS
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.
113 The CNC status is that the writing the parameter cannot be allowed.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
CAUTION
1 Parameters may not become effective immediately depending on the parameter
numbers.
2 There is timing when it can't be written in some parameters. In this case '113' is
set to the completion code.
- 605 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
This function 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.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set the parameter number with singed binary
Parameter number format in four bytes length.
+12 Decimal point position Set the decimal point position of the parameter
value.
(2 bytes)
+14 (Data area)
-
+17 (Need not to be set)
- 606 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) Reading axis type parameters for all axes (M=-1, Example for 3 controlled-axes)
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set the parameter number with singed binary
Parameter number format in four bytes length.
+12 Decimal point position Set the decimal point position of the parameter
value for the 1st axis.
(2 bytes)
+14 (Data area)
-
(Need not to be set)
+18 Decimal point position Set the decimal point position of the parameter
value for the 2nd axis.
(2 bytes)
+20 (Data area)
-
(Need not to be set)
+24 Decimal point position Set the decimal point position of the parameter
value for the 3rd axis.
(2 bytes)
+26 (Data area)
-
+29 (Need not to be set)
Completion codes
0 Normal completion
3 The data number is invalid.
4 The data attribute is invalid.
5 The decimal point position is invalid.
- 607 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
Parameter number
(Same as input data)
+10 (Data attribute M)
Axis number
(Same as input data)
+12 Decimal point position
- 608 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) Reading axis type parameters for all axes (M=-1, Example for 3 controlled-axes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
18
(6 bytes * 3 axes)
+6 (Data number N)
Parameter number
(Same as input data)
+10 (Data attribute M)
-1
(Same as input data)
+12 Decimal point position
The read parameter value for each specified decimal point position is shown below.
- 609 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
This function cannot write integer type or bit type parameters. To write an
integer type or bit type parameter, use the function having function code 18.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set the data length.
6
+12 Decimal point position Set the decimal point position of the parameter
value.
(2 bytes)
+14 Parameter value Set the parameter value with singed binary format
in four bytes length
+17 (4 bytes)
- 610 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) Writing axis type parameters for all axes (M=-1, Example for 3 controlled-axes)
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set the data length.
18
(6bytes * 3axes)
+6 (Data number N) Set the parameter number with singed binary
Parameter number format in four bytes length.
+12 Decimal point position Set the decimal point position of the parameter
value for the 1st axis.
(2 bytes)
+14 Parameter value Set the parameter value for the 1st axis with singed
binary format in four bytes length
(4 bytes)
+18 Decimal point position Set the decimal point position of the parameter
value for the 2nd axis.
(2 bytes)
+20 Parameter value Set the parameter value for the 2nd axis with
singed binary format in four bytes length
(4 bytes)
+24 Decimal point position Set the decimal point position of the parameter
value for the 3rd axis.
(2 bytes)
+26 Parameter value Set the parameter value for the 3rd axis with singed
binary format in four bytes length
+29 (4 bytes)
Completion codes
0 Normal completion
2 The data length is invalid.
3 The data number is invalid.
4 The data attribute is invalid.
5 The decimal point position is invalid.
113 The CNC status is that the writing the parameter cannot be allowed.
- 611 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(Same as input data)
+6 (Data number N)
Parameter number
(Same as input data)
+10 (Data attribute M)
Axis number
(Same as input data)
+12 Decimal point position
- 612 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) Reading axis type parameters for all axes (M=-1, Example for 3 controlled-axes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
18
(Same as input data)
+6 (Data number N)
Parameter number
(Same as input data)
+10 (Data attribute M)
-1
(Same as input data)
+12 Decimal point position
The parameter value for each specified decimal point position is shown below.
CAUTION
1 Parameters may not become effective immediately depending on the parameter
numbers.
2 There is timing when it can't be written in some parameters. In this case '113' is
set to the completion code.
- 613 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Setting data number
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).
- 614 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L) When no axis or one axis is specified
L=1: Bit or byte setting data
(L = 1, 2, 4, 1×n, 2×n, 4×n) L=2: Word setting data
L=4: Double word setting data
When all axes are specified
L=1×n: Bit or byte setting data
L=2×n: Word setting data
L=4×n: Double word parameter
+6 (Data number N)
Parameter number
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Setting data Parameter - dependent form
- 615 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) When no axis or one axis is specified
L=1: Bit or byte setting data
(L = 1, 2, 4, 1×n, 2×n, 4×n) L=2: Word setting data
L=4: Double word setting data
When all axes are specified
L=1×n: Bit or byte setting data
L=2×n: Word setting data
L=4×n: Double word setting data
+6 (Data number N)
Setting data number
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).
- 616 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 617 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
For details of the custom macro variables, refer to the "OPERATOR’S MANUAL ".
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Custom macro variable number
Completion codes
0 Completed successfully
1 No option for custom macro variables
3 The data number is invalid.
4 The mantissa is out of range.
- 618 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
Custom macro variable number
(Same as input data)
+8 (Data attribute M)
Number of decimal places
(Same as input data)
+10 Mantissa(D1) Signed binary format in 4 bytes length
(4 bytes)
+14 Number of decimal places(D2) Signed binary format in 2 bytes length
D2 = -1, 0 to 8
+15 (2 bytes)
You can read D1 and D2 when the custom macro variable is expressed by the following formula.
[Custom macro variable] = D1 × 10 –D2
There is a "null" state on custom macro variables that means the value is not defined. When the custom
macro variable is "null", the D1=0 and the D2 = -1 are read in spite of the specified value of M.
Result data
Value of the custom Specified number of
Number of decimal
macro variable decimal places (M) Mantissa (D1)
places (D2)
0 1234 3
1 12 1
1.234 2 123 2
3 1234 3
4 12340 4
0 1 0 1
Null - 0 -1
NOTE
When you set 0 to number of decimal places M, the read value of D2 may
changes by the value of the macro variable and the setting of CNC system. So,
we recommend to set 1 to 8 to number of decimal places M.
- 619 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
For details of the custom macro variables, refer to the "OPERATOR’S MANUAL ".
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
6
+6 (Data number N)
Custom macro variable number
(4 bytes)
+14 Number of decimal places (D2) Signed binary format in 2 bytes length
D2 = -1, 0 to 8
+15 (2 bytes)
- 620 -
B-64513EN/03 5.WINDOW FUNCTIONS
You should set values to D1 and D2 when the custom macro variable is expressed by the following
formula.
[Custom macro variable] = D1 × 10 –D2
There is a "null" state on custom macro variables that means the value is not defined. When you set D1=0
and D2= -1, the custom macro variable becomes "null" state.
Completion codes
0 Completed successfully
2 The data length is invalid.
3 The data number is invalid.
6 No option for custom macro variables
7 The variable is write-protected.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(Same as input data)
+6 (Data number N)
Custom macro variable number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Mantissa (D1)
- 621 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
For details of the system variables and the common variables of the custom
macro, refer to the "OPERATOR’S MANUAL".
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Custom macro variable number
(4 bytes)
+10 (Data attribute M) M=0 to 8: Specifying number of decimal places
Number of decimal places
(2 bytes)
+12 (Data area)
-
+17 (Need not to be set)
Completion codes
0 Completed successfully.
3 The data number is invalid.
5 The mantissa is out of range.
6 No option for custom macro variables.
- 622 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
Custom macro variable number
(Same as input data)
+10 (Data attribute M)
Number of decimal places
(Same as input data)
+12 Mantissa(D1) Signed binary format in 4 bytes length
(4 bytes)
+16 Number of decimal places(D2) Signed binary format in 2 bytes length
D2 = -1, 0 to 8
+17 (2 bytes)
You can read D1 and D2 when the custom macro variable is expressed by the following formula.
There is a "null" state on custom macro variables that means the value is not defined. When the custom
macro variable is "null", the D1=0 and the D2 = -1 are read in spite of the specified value of M.
- 623 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
For details of the system variables and the common variables of the custom
macro, refer to the "OPERATOR’S MANUAL".
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
6
+6 (Data number N)
Custom macro variable number
(4 bytes)
+10 (Data attribute M) Set 0 to this field.
0
(2 bytes)
+12 Mantissa(D1) Signed binary format in 4 bytes length
(4 bytes)
+16 Number of decimal places(D2) Signed binary format in 2 bytes length
D2 = -1, 0 to 8
+17 (2 bytes)
- 624 -
B-64513EN/03 5.WINDOW FUNCTIONS
You should set values to D1 and D2 when the custom macro variable is expressed by the following
formula.
[Custom macro variable] = D1 × 10 –D2
There is a "null" state on custom macro variables that means the value is not defined. When you set D1=0
and D2= -1, the custom macro variable becomes "null" state.
Completion codes
0 Completed successfully.
2 The Data length is invalid.
3 The Data number is invalid.
6 No option for custom macro variables.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(Same as input data)
+6 (Data number N)
Custom macro variable number
(Same as input data)
+10 (Data attribute M)
0
(Same as input data)
+12 Mantissa(D1)
- 625 -
5.WINDOW FUNCTIONS B-64513EN/03
- 626 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 Completed successfully.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Alarm status 4 bytes bit type
+13
CAUTION
In the previous CNC model (Series 16, 18, 21 etc.), the size of output data are 2
bytes. On this model, note that the size of output data is expanded to 4 bytes.
- 627 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The program number of the currently executing program was read successfully.
5 The program number exceeds 4-digits. (Use function code 90.)
- 628 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Current program number (ON) Unsigned binary, 2 bytes long
- 629 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The current sequence number has been read normally.
+2 (Completion code)
?
(See above description)
+4 (Data length L) Note that the data length must be set to 4 bytes
4 even though the current program number is 2 bytes
long (the sequence number is indicated by 5 digits).
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Current sequence number Unsigned binary
+13
- 630 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=0 to 33: Each data reading (See. Table 5.4.19 (a)
Data type to (c))
N=-1: Collective reading (Group No.0 to 31)
+8 (Data attribute M) M=0: Current block
Specified block M=1: Next block
M=2: (reserved)
+10 (Data area)
-
(Need not to be set)
NOTE
1 The modal information for a block after the next block cannot be read.
2 When a collective reading, the read modal information of groups are from No. 0
to No.31. To read modal information of over No. 31 group, use the each data
reading by setting over 31 to the data number N.
- 631 -
5.WINDOW FUNCTIONS B-64513EN/03
- 632 -
B-64513EN/03 5.WINDOW FUNCTIONS
Table5.4.19 (b) Modal information of G-function (part 2)
Group Machining center system Lathe system
number Code in a G code Code in a
G code
(Data type) group A series B series C series group
6 G41.6 10 G41.6 G41.6 G41.6 11
G42 2 G42 G42 G42 2
G42.2 4 G42.2 G42.2 G42.2 4
G42.4 7 G42.4 G42.4 G42.4 7
G42.5 9 G42.5 G42.5 G42.5 9
G42.6 11 G42.6 G42.6 G42.6 12
7 G43 1 G25 G25 G25 0
G43.1 3 G26 G26 G26 1
G43.3 7
G43.4 4
G43.5 5
G43.7 11
G43.8 9
G43.9 10
G44 2
G44.1 12
G49(G49.1) 0
8 G73 10 G22 G22 G22 1
G74 11 G23 G23 G23 0
G76 12
G80 0
G81 1
G82 2
G83 3
G84 4
G84.2 13
G84.3 14
G85 5
G86 6
G87 7
G88 8
G89 9
9 G98 0 G80 G80 G80 0
G99 1 G81 G81 G81 8
G82 G82 G82 9
G83 G83 G83 1
G83.1 G83.1 G83.1 10
G83.5 G83.5 G83.5 12
G83.6 G83.6 G83.6 14
G84 G84 G84 2
G84.2 G84.2 G84.2 11
G85 G85 G85 3
G87 G87 G87 5
G87.5 G87.5 G87.5 13
G87.6 G87.6 G87.6 15
G88 G88 G88 6
G89 G89 G89 7
- 633 -
5.WINDOW FUNCTIONS B-64513EN/03
- 634 -
B-64513EN/03 5.WINDOW FUNCTIONS
Table5.4.19 (d) Modal information of G-function (part 4)
Group Machining center system Lathe system
number Code in a G code Code in a
G code
(Data type) group A series B series C series group
23 G80.5 0 G15 G15 G15 0
G81.5 1 G16 G16 G16 1
25 G54.4 G54.4 G54.4 0
26 G44.9 1 G80.5 G80.5 G80.5 0
G49.9 0 G81.5 G81.5 G81.5 1
27 G80.4 G80.4 G80.4 0
G81.4 G81.4 G81.4 1
30 G50.2 0
G51.2 1
32 G54.4 0
33 G80.4 0
G81.4 1
Completion codes
0 Completed successfully
3 The data number is invalid
4 The data attribute is invalid
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information of G-function See "Fig. 5.4.19 (a) Modal information of G-
(2 bytes) function".
+11
- 635 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L) n=1 to 32: Effective number of G-function group.
2*n
7 6 5 4 3 2 1 0
Top Address +10
Code in a group
0 : Not specified in the group
1 : Specified in the group
7 6 5 4 3 2 1 0
Top Address +11 0
- 636 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) Reading modal information of other than G-function (Data number=100 to 126, -2)
Using this function, you can read modal information of other than G-function.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=100 to 126: Each data reading (See Table 5.4.19(d))
Data type N=-2: Collective read (No.100 to 126)
NOTE
A modal information for a block after the next block cannot be read.
- 637 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Completed successfully
3 The data number is invalid
4 The data attribute is invalid
- 638 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information See "Fig. 5.4.19 (b) Modal information of other than
G-function".
+15 (6 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
174
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information of See "Fig. 5.4.19 (b) Modal information of other than
Data type No.100 G-function".
(6 bytes)
+16 Modal information of See "Fig. 5.4.19 (b) Modal information of other than
Data type No.101 G-function".
(6 bytes)
~ ~
+166 Modal information of See "Fig. 5.4.19 (b) Modal information of other than
Data type No.126 G-function".
(6 bytes)
+172 Reserved
- 639 -
5.WINDOW FUNCTIONS B-64513EN/03
Data 4 bytes
FLAG1 1 byte
FLAG2 1 byte
7 6 5 4 3 2 1 0
0 : Positive
1 : Negative
0 : A decimal point not specified
1 : A decimal point specified
0 : Not specified in the current block
1 : Specified in the current block
7 6 5 4 3 2 1 0
NOTE
1 The specification of whether a decimal point is specified or not in FLAG1, and
the specification of the number of decimal places in FLAG2, are valid only for F
code. Even if a decimal point is not specified, the number of decimal places may
not be 0.
2 PMC-SB7 outputs the number of input digits to bits 0 to 3 of FLAG1, however
30i/31i/32i/35i-B, Power Motion i-A, 0i-F PMC does not. If you need to have the
number of input digits output as with the former specification, read the CNC
parameters of the following numbers, by using the window function for reading a
parameter (function code 17 or 154).
• For the M function:
No.3030(allowable number of digits of the M code)
• For the S function:
No.3031(allowable number of digits of the S code)
• For the T function:
No.3032(allowable number of digits of the T code)
• For the B function:
No.3033(allowable number of digits of the B code)
- 640 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Diagnosis No.
Completion codes
0 Diagnosis data has been read from the CNC normally.
3 The specified diagnosis data number is invalid.
4 The data specified as the data attribute is invalid because it is neither 0, -1, nor a value from 1 to n (n
is the number of axes).
- 641 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L) When no axis or one axis is specified
L L=1: Bit or byte data
(L = 1, 2, 4, 1×n, 2×n, 4×n) L=2: Word data
L=4: Double word data
When all axes are specified
L=1×n: Bit or byte data
L=2×n: Word data
L=4×n: Double word data
+6 (Data number N)
Diagnosis No.
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Diagnosis data Data - dependent form
(1, 2, 4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L) When no axis or one axis is specified
L L=6: Floating point type data
(L = 6, 6×n) When all axes are specified
L=6×n: Floating point type data
+6 (Data number N)
Diagnosis No.
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 decimal point
(2 bytes)
+12 Diagnosis data
+15 (4 bytes)
- 642 -
B-64513EN/03 5.WINDOW FUNCTIONS
Number Data
0 CNC internal state 1
308 Servo motor temperature
309 Pulsecoder temperature
403 Temperature of spindle motor
445 Spindle position data
712 Spindle warning state
720 Spindle diagnosis data 1 *Note2
722 Spindle diagnosis data 2 *Note2
750 OVC level
752 DC link voltage information
1580 Spindle duration time
1581 Spindle load max (Current)
4900 Total of current actual power consumption of all axes
NOTE
1 As for a type, a unit and a range of each data, refer to “1.3 DIAGNOSIS
FUNCTION” of the MAINTENANCE MANUAL and “13.1 DIAGNOSIS
FUNCTION” of the OPERATION AND MAINTENANCE HANDBOOK.
2 The contents of the diagnosis numbers 720 and 722 depend on the setting of
CNC parameter No.4532. For details, refer to the MAINTENANCE MANUAL and
the PARAMETER MANUAL of AC spindle motor.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Diagnosis number
- 643 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Diagnosis data has been read from the CNC normally.
3 The specified diagnosis data number is invalid.
4 The data specified as the data attribute is invalid because it is neither 0, -1, nor a value from 1 to n (n
is the number of axes).
+2 (Completion code)
?
(See above description)
+4 (Data length L) When no axis or one axis is specified
L L=1: Bit or byte data
(L = 1, 2, 4, 1×n, 2×n, 4×n) L=2: Word data
L=4: Double word data
When all axes are specified
L=1×n: Bit or byte data
L=2×n: Word data
L=4×n: Double word data
+6 (Data number N)
Diagnosis number
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Diagnosis data Data - dependent form
(1, 2, 4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L) When no axis or one axis is specified
L L=6: Floating point type data
(L = 6, 6×n) When all axes are specified
L=6×n: Floating point type data
+6 (Data number N)
Diagnosis number
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Decimal point
(2 bytes)
+12 Diagnosis data
+15 (4 bytes)
- 644 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
For details of the P-CODE variables and extended P-CODE variables, refer to
the "Macro Executor PROGRAMMING MANUAL".
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Signed binary format in 4 bytes length (note)
P-CODE variable number
NOTE
The data length is 4 bytes instead of 2 bytes.
Completion codes
0 Completed successfully
3 The data number is invalid.
4 The mantissa is out of range.
- 645 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
P-CODE variable number
(Same as input data)
+10 (Data attribute M)
Number of decimal places
(Same as input data)
+12 Mantissa (D1) Signed binary format in 4 bytes length
(4 bytes)
+16 Number of decimal places (D2) Signed binary format in 2 bytes length
D2 = -1, 0 to 8 (Floating-point type)
+17 (2 bytes) D2 = 0 to 8 (Integer type)
- 646 -
B-64513EN/03 5.WINDOW FUNCTIONS
You can read D1 and D2 when the P-CODE variable is expressed by the following formula.
You can define the type of P-CODE variables as a floating-point type or an integer type by the setting of
CNC parameter No. 9033#3 and 9033#4.
Result data
Value of the P-CODE Specified number of
Number of decimal
variable decimal places (M) Mantissa (D1)
places (D2)
0 (Note) 1234 3
1 12 1
1.234 2 123 2
3 1234 3
4 12340 4
0 1 0 1
Null - 0 -1
Result data
Value of the P-CODE Specified number of
Number of decimal
variable decimal places (M) Mantissa (D1)
places (D2)
0 (Note) 1234000 3
1 12340 1
1234 2 123400 2
3 1234000 3
4 12340000 4
0 1 0 1
NOTE
When you set 0 to number of decimal places M, the read value of D2 may
changes by the value of the macro variable and the setting of CNC system. So,
we recommend to set 1 to 8 to number of decimal places M.
- 647 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
For details of the P-CODE variables and extended P-CODE variables, refer to
the "Macro Executor PROGRAMMING MANUAL".
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
6
(4 bytes)
+16 Number of decimal places (D2) Signed binary format in 2 bytes length
D2 = -1, 0 to 8 (Floating-point type)
+17 (2 bytes) D2 = 0 to 8 (Integer type)
NOTE
The data length is 4 bytes instead of 2 bytes.
- 648 -
B-64513EN/03 5.WINDOW FUNCTIONS
You should set values to D1 and D2 when the custom macro variable is expressed by the following
formula.
You can define the type of P-CODE variables as a floating-point type or an integer type by the setting of
CNC parameter No. 9033#3 and 9033#4.
- 649 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Completed successfully
2 The data length is invalid.
3 The data number is invalid.
6 No option for macro executor
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(Same as input data)
+6 (Data number N)
P-CODE variable number
(Same as input data)
+10 (Data attribute M)
0
(Same as input data)
+12 Mantissa (D1)
- 650 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 CNC status information has been read normally.
- 651 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
14
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Indication of which mode is 0: MDI
currently selected, automatic or 1: MEMory
manual (2 bytes) 2: **** (Other state)
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 0: **** (Reset state)
(2 bytes) 1: STOP
2: HOLD
3: STaRT
+14 Status of movement along the 0: *** (Other state)
axis of dwelling 1: MoTioN
(2 bytes) 2: DWell
+16 Status of M, S, T, and B functions 0: *** (Other state)
(2 bytes) 1: FIN
- 652 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The program number of the currently executing program has been read normally.
- 653 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
8
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Number of the program currently Unsigned binary format, 4-bytes length
being executed (ON)
(4bytes)
+14 Program number of the main Unsigned binary format, 4-bytes length
program (OMN)
+17 (4bytes)
- 654 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N) N=0: Spindle tool No.
N=1: Next tool No.
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Data for the spindle tool No. or Unsigned binary
data for the next tool No.
+13 (4 bytes)
- 655 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=-1: Reads current date and time
-1, 0, 1 N=0: Reads current date
N=1: Reads current time
+8 (Data attribute M) Set 0 to this field.
0
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
- 656 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When both the current date and current time are specified to be read by entering [-1] for the data No.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
+6 (Data number N)
+21
- 657 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
6
- 658 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When writing the date and the time.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
12
- 659 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Completed successfully.
2 The data length is invalid.
3 The data number is invalid.
5 The specified year, month, day, hours, minutes or seconds are incorrect.
+0 +0
139 139
+2 +2
0 0
+4 +4
6 6
+6 +6
0 1
+8 +8
0 0
+10 +10
2007 23
+12 +12
11 59
+14 +14
8 59
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
- 660 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When writing both the date and time.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
+6 (Data number N)
+21
- 661 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Pitch error compensation No.
Completion codes
0 The pitch error compensation value has been read normally.
3 Illegal pitch error compensation number.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
1
+6 (Data number N)
Pitch error compensation No.
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Pitch error compensation value
(1 byte)
- 662 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
1
+6 (Data number N)
Pitch error compensation No.
Completion codes
0 The pitch error compensation value has been read normally.
2 Illegal data length.
3 Illegal pitch error compensation number.
- 663 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
1
(Same as input data)
+6 (Data number N)
Pitch error compensation No.
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Pitch error compensation value
- 664 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
2
Completion code
0 Normal end
1 This function is not supported.
2 invalid data block length(except 2)
5 When the mistake of the compensation number (smaller than one) or the compensation number is
correct, it is a failure of the tool figure making due to the mistake of undefined or the setting data of
the offset data of the correction number and the tool figure data.
6 Missing necessary option or parameter TDITL is set to one (No.10930#2).
- 665 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (correction number)
2 bytes
+11 (Same as input data)
CAUTION
The 3D interference check function is not effective while executing this PMC
window.
- 666 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N = 1 to 30
Maximum number of alarms
+10 (Data)
-
+(12+8*(N-1)+7) (Need not to be set)
NOTE
The appropriate size of the data area corresponding to the maximum number of
alarms is necessary.
Alarm type number Alarm type Alarm type number Alarm type
-1 All alarm 10 DS alarm
0 SW alarm 11 IE alarm
1 PW alarm 12 BG alarm
2 IO alarm 13 (Reserve)
3 PS alarm 14 (Reserve)
4 OT alarm 15 EX alarm
5 OH alarm 16 (Reserve)
6 SV alarm 17 (Reserve)
7 SR alarm 18 (Reserve)
8 MC alarm 19 (Reserve)
9 SP alarm 20 (Reserve)
- 667 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0: Completed successfully
1: Not supported
3: The maximum number of alarms is invalid.
You should set the number 1 to 30.
4: Alarm type number is invalid.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
(L = 2 + 8 × N)
+6 (Data number N)
(2 bytes)
+12 Axis information Bit format in 4 bytes length
Refer to the "[Output data structure] (1)
(4bytes) Structure of detailed alarm information" for
details.
+16 Alarm type number Signed binary format in 2 bytes length 1st
Refer to the "[Input data structure] (2)
(2bytes) Alarm type number" for details.
+18 Alarm number Signed binary format in 2 bytes length
0 to 32767
(2bytes)
~ ~
+(12+8×(N-1)) Axis information
(4bytes)
+(12+8×(N-1)+4) Alarm type number
N th
(2bytes)
+(12+8×(N-1)+6) Alarm number
+(12+8×(N-1)+7) (2bytes)
NOTE
1 When the "number of alarms" is less than "maximum number of alarms" that you
specify, the data at the position of "number of alarms" or after are set with 0 in
"axis information" and -1 in "alarm type number" and "alarm number".
2 You ought not to program as depended on output order of the alarm information
because this order may be changed.
- 668 -
B-64513EN/03 5.WINDOW FUNCTIONS
(1) Structure of detailed alarm information
When the occurrence alarm is axis type, the bit corresponding to the axis number is set to 1.
When the occurrence alarm is not axis type, all bits are set to 0.
+12+8×(N-1)+0 8 7 6 5 4 3 2 1
+1 16 15 14 13 12 11 10 9
+2 24 23 22 21 20 19 18 17
+3 32 31 30 29 28 27 26 25
- 669 -
5.WINDOW FUNCTIONS B-64513EN/03
[Example]
NC alarm : EX0005(Not axis type)
: SV0302(An alarm for the 1st axis.)
: OT0500(An alarm for the 3rd axis.)
1. In case that all alarm types are read and the maximum number of alarms is set to 4.
- 670 -
B-64513EN/03 5.WINDOW FUNCTIONS
2. In case that OT alarm type is read and the maximum number of alarms is set to 4.
- 671 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
The option for Built-in 3D interference is necessary to use this function.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
2
(2byte)
Completion codes
0 Completed successfully.
1 The Function code is invalid.
2 The Data length is invalid.
3 The Interference object number is invalid.
5 The Valid figure number is invalid.
6 Necessary option missing.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
Interference object number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Valid figure number
- 672 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 Completed successfully.
1 Not supported.
3 The data number is invalid.
4 The data attribute is invalid.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
16
(L = 4 bytes * 4)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 CNC ID number 1 Binary
(4 bytes)
+14 CNC ID number 2 Binary
(4 bytes)
+18 CNC ID number 3 Binary
(4 bytes)
+22 CNC ID number 4 Binary
+25 (4 bytes)
- 673 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 Completed successfully.
1 This function is unsupported.
3 The data number is invalid.
4 The data attribute is invalid.
- 674 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
8
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Remaining repetition count
(4 bytes)
+14 Specified repetition count
+17 (4 bytes)
NOTE
1 When a subprogram is executed by specifying no repetition count or a canned
cycle is executed by specifying no repetition count, this window function can
read “0” as the remaining repetition count and the specified repetition count.
2 When a subprogram is not executed or a canned cycle is not executed, this
window function can read “-1” as the remaining repetition count and the specified
repetition count.
- 675 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The actual velocity for the controlled axes has been read normally.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Actual velocity for controlled axes Unsigned binary
<Data increments>
(4 bytes) • Input in mm : 1mm/min.
+13 • Input in inches : 0.01 inch/min
- 676 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Absolute coordinate of the Signed binary
controlled axis specified (A negative value is represented in 2's
+13 (4 bytes) complement)
- 677 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Absolute coordinate of the first Signed binary
axis (A negative value is represented in 2's
(4 bytes) complement)
+14 Absolute coordinate of the second Signed binary
axis (A negative value is represented in 2's
(4 bytes) complement)
+18 Absolute coordinate of the third Signed binary
axis (A negative value is represented in 2's
+21 (4 bytes) complement)
Increment system
Input system
IS-A IS-B IS-C IS-D IS-E
mm, deg 0.01 0.001 0.0001 0.00001 0.000001
inch 0.001 0.0001 0.00001 0.000001 0.0000001
NOTE
The reading position does not depend on the diameter or radius setting even
using the Diameter and Radius Setting Switching function but depends only on
the setting of the CNC parameter No. 1006#3 (DIAx).
- 678 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Machine coordinate of the Signed binary
controlled axis specified (A negative value is represented in 2's
+13 (4 bytes) complement)
- 679 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes × 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Machine coordinate of the first Signed binary
axis (A negative value is represented in 2's
(4 bytes) complement)
+14 Machine coordinate of the second Signed binary
axis (A negative value is represented in 2's
(4 bytes) complement)
+18 Machine coordinate of the third Signed binary
axis (A negative value is represented in 2's
+21 (4 bytes) complement)
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).
NOTE
1 The reading position does not depend on the diameter or radius setting even
using the Diameter and Radius Setting Switching function but depends only on
the setting of the CNC parameter No. 1006#3 (DIAx).
2 Update cycle of the machine position becomes faster by setting 1 to the CNC
parameter No. 11300#5 (MPH). You should apply this setting only if necessary
because this setting may lower the performance of CNC a little.
- 680 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Skip coordinate of the controlled Signed binary
axis specified (A negative value is represented in 2's
+13 (4 bytes) complement)
- 681 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes × 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Skip coordinate of the first axis Signed binary
(A negative value is represented in 2's
(4 bytes) complement)
+14 Skip coordinate of the second axis Signed binary
(A negative value is represented in 2's
(4 bytes) complement)
+18 Skip coordinate of the third axis Signed binary
(A negative value is represented in 2's
+21 (4 bytes) complement)
NOTE
The reading position does not depend on the diameter or radius setting even
using the Diameter and Radius Setting Switching function but depends only on
the setting of the CNC parameter No. 1006#3 (DIAx).
- 682 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=0: Read with Input unit
Unit N=1: Read with Detection unit
Completion codes
0 The servo delay for the controlled axes have been read normally.
3 The data number is invalid.
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Unit
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Servo delay Signed binary format in 4 bytes length.
+13 (4 bytes)
- 683 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes× 3axes)
+6 (Data number N)
Unit
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Servo delay of 1st axis Signed binary format in 4 bytes length
(4 bytes)
+14 Servo delay of 2nd axis Signed binary format in 4 bytes length
(4 bytes)
+18 Servo delay of 3rd axis Signed binary format in 4 bytes length
+21 (4 bytes)
NOTE
The reading position does not depend on the diameter or radius setting even
using the Diameter and Radius Setting Switching function but depends only on
the setting of the CNC parameter No. 1006#3 (DIAx).
- 684 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=0: Read with Input unit
Unit N=1: Read with Detection unit
Completion codes
0 The acceleration/deceleration delay for the control axis has been read normally.
3 The data number is invalid.
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Unit
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Acc./Dec. delay Signed binary format in 4 bytes length.
+13 (4 bytes)
- 685 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes × 3axes)
+6 (Data number N)
Unit
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 ACC./Dec. delay of 1st axis Signed binary format in 4 bytes length
(4 bytes)
+14 ACC./Dec. delay of 2nd axis Signed binary format in 4 bytes length
(4 bytes)
+18 ACC./Dec. delay of 3rd axis Signed binary format in 4 bytes length
+21 (4 bytes)
NOTE
The reading position does not depend on the diameter or radius setting even
using the Diameter and Radius Setting Switching function but depends only on
the setting of the CNC parameter No. 1006#3 (DIAx).
- 686 -
B-64513EN/03 5.WINDOW FUNCTIONS
5.5.7 Reading the Feed Motor Load Current Value (A/D Conversion
Data) (High-speed Response)
The digital value converted from the load current of the CNC-controlled axis can be read.
NOTE
The load current value of Cs-axis can not be read.
If you want to know the load information of Cs-axis, use the function code
No.153 (Reading load information of the spindle motor).
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Type of analog voltage
2 N=2: Load information for the CNC-controlled axes.
NOTE
There is no analog input function on 30i/31i/32i/35i-B, Power Motion i-A, 0i-F. If
you need such a function, read A/D conversion data directly using the I/O Link
analog input module. For details, see “CONNECTION MANUAL (HARDWARE)”.
- 687 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 A/D conversion data has been read normally.
3 The data specified for the data number is invalid.
4 The data specified for the data attribute is invalid, or the specified axis number is greater than the
number of controlled axes.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
2
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 A/D conversion data Binary number from 0 to +/-6554
+11 (2 bytes)
(a) A/D conversion data (AD) of CNC controlled axis load information
The load current for the specified CNC controlled axis is converted into analog voltage, the input to
the A/D converter to output a digital data.
The value actually set in the AD field is obtained from the following formula:
NOTE
For the nominal current limits (Maximum current (Imax)) of servo amplifier, see
the descriptions manual of the servo amplifier.
- 688 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The actual speed of the spindle has been read normally.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Actual spindle speed Unsigned binary
<Data unit>
+13 1/min
- 689 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Relative coordinates on the Signed binary
specified controlled axis (A negative value is represented in 2's
+13 (4 bytes) complement)
- 690 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When reading all axes. (ex. number of controlled axes is 3)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Relative coordinates on the first Signed binary
axis (A negative value is represented in 2's
(4 bytes) complement)
+14 Relative coordinates on the Signed binary
second axis (A negative value is represented in 2's
(4 bytes) complement)
+18 Relative coordinates on the third Signed binary
axis (A negative value is represented in 2's
+21 (4 bytes) complement)
NOTE
The reading position does not depend on the diameter or radius setting even
using the Diameter and Radius Setting Switching function but depends only on
the setting of the CNC parameter No. 1006#3 (DIAx).
- 691 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Remaining travel along the Signed binary
specified controlled axis (A negative value is represented in 2's
+13 (4 bytes) complement)
- 692 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When reading all axes. (ex. number of controlled axes is 3)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes × 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Remaining travel along the first Signed binary
axis (A negative value is represented in 2's
(4 bytes) complement)
+14 Remaining travel along the Signed binary
second axis (A negative value is represented in 2's
(4 bytes) complement)
+18 Remaining travel along the third Signed binary
axis (A negative value is represented in 2's
+21 (4 bytes) complement)
NOTE
The reading position does not depend on the diameter or radius setting even
using the Diameter and Radius Setting Switching function but depends only on
the setting of the CNC parameter No. 1006#3 (DIAx).
- 693 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The actual velocity of the each 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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Actual velocity of each controlled Signed binary(A negative value is represented in
axes 2's complement)
+13 (4 bytes)
- 694 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When reading all axes. (ex. number of controlled axes is 3)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Actual velocity of first axis Signed binary
(A negative value is represented in 2's
(4 bytes) complement)
+14 Actual velocity of second axis Signed binary
(A negative value is represented in 2's
(4 bytes) complement)
+18 Actual velocity of third axis Signed binary
(A negative value is represented in 2's
+21 (4 bytes) complement)
- 695 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
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).
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Spindle number
(Same as input data)
+10 Actual speed of specified spindle Signed binary
<Data unit>
+13 (4bytes) 1/min
- 696 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When reading multiple spindles. (ex. 3 spindles)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes × 3spindles)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-2: Read spindles on No.1 to No.3 axes.
-2
(Same as input data)
+10 Actual speed of No.1 spindle Signed binary
<Data unit>
(4 bytes) 1/min
+14 Actual speed of No.2 spindle Signed binary
<Data unit>
(4 bytes) 1/min
+18 Actual speed of No.3 spindle Signed binary
<Data unit>
+21 (4 bytes) 1/min
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
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 -11 to -(9
+ 1) or 11 to (10 + n) (n: number of spindles).
- 697 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Spindle number(+10)
(Same as input data)
+10 Position coder-less actual spindle Signed binary
speed <Data unit>
+13 (4bytes) 1/min
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes × 3spindles)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-12: Read spindles on No.1 to No.3 axes.
-12
(Same as input data)
+10 Position coder-less actual No.1 Signed binary
spindle speed <Data unit>
(4bytes) 1/min
+14 Position coder-less actual No.2 Signed binary
spindle speed <Data unit>
(4bytes) 1/min
+18 Position coder-less actual No.3 Signed binary
spindle speed <Data unit>
+21 (4bytes) 1/min
- 698 -
B-64513EN/03 5.WINDOW FUNCTIONS
5.5.13 Entering Torque Limit Data for the Digital Servo Motor (Low-
speed Response)
Torque limit values for the digital servo motor can be entered.
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
2
CAUTION
1 To use this function, you should set the CNC parameter No. 6286#0 to 1.
2 Calculate the torque limit data assuming that the value of CNC parameter
No.2060 is 100%.And, when using the standard parameter of servo motor, the
value of 100% means the maximum torque of it.
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.
113: The CNC status is that the writing data cannot be allowed. You should confirm that the CNC
parameter No. 6286#0 is set to 1.
- 699 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Torque limit data (2 byte) Unsigned binary
(Input data) <Unit : %>
The high-order byte is Values from 0 to 255 correspond to 0% to 100%
+11 always set to 0
- 700 -
B-64513EN/03 5.WINDOW FUNCTIONS
L
Load (%) = ×λ
32767
NOTE
The "λ" is equal to the value of parameter No. 4127.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=0: Read the load of the No.1 spindle
Spindle number N=1: Read the load of the No.2 spindle
N=2: Read the load of the No.3 spindle
N=3: Read the load of the No.4 spindle
N=-1: Read the loads of the No.1 and No.2 spindle
N=-2: Read the loads of the No.1 to No.3 spindles
N=-3: Read the loads of the No.1 to No.4 spindles
+8 (Data attribute M) Set 0 to this field.
0
Completion codes
0 Load information of the serial spindle has been read normally.
- 701 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
Spindle number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Load information of the serial Unsigned binary, 2 bytes long
spindle
+11
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(2bytes × 3spindles)
+6 (Data number N) N=-2: Read the loads of the No.1 to No.3 spindles
-2
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Load information of the 1st serial Unsigned binary, 2 bytes long
spindle
+12 Load information of the 2nd serial Unsigned binary, 2 bytes long
spindle
+14 Load information of the 3rd serial Unsigned binary, 2 bytes long
spindle
+15
- 702 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not be set)
+4 (Data length L)
-
(Need not be set)
+6 (Data number N) N = 0 : Stroke count reset
0, 1, 2, 3, 4 N = 1 : Stroke count read
Data type N = 2 : Real upper dead point read
N = 3 : Real lower dead point read
N = 4 : Current position read
+8 (Data attribute M)
-
(Need not be set)
+10 (Data area)
-
(Need not be set)
Completion codes
0: Completed successfully.
1: Not supported.
3: The data number is invalid.
6: No option for chopping function.
- 703 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
0
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
-
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
-
- 704 -
B-64513EN/03 5.WINDOW FUNCTIONS
(3) Reading a real upper dead point or real lower dead point (Data type N=2 or 3)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
-
+10 Real upper dead point or Signed binary format in 4 bytes length.
real lower dead point (A negative value is represented in 2's
(4 Bytes) complement)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
-
- 705 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=11: Actual speed (rev / min)
11
Completion codes
0 Normal completion
3 The data number is invalid.
4 The data attribute is invalid.
- 706 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
11
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Actual speed Signed binary format in 4 bytes length
Data unit: "rev / min" for a rotary motor, "cm / min"
+13 (4 bytes) for a linear motor
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes × 3axes)
+6 (Data number N)
11
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Actual speed for 1st axis Signed binary format in 4 bytes length
Data unit: "rev / min" for a rotary motor, "cm / min"
(4 bytes) for a linear motor
+14 Actual speed for 2nd axis Signed binary format in 4 bytes length
Data unit: "rev / min" for a rotary motor, "cm / min"
(4 bytes) for a linear motor
+18 Actual speed for 3rd axis Signed binary format in 4 bytes length
Data unit: "rev / min" for a rotary motor, "cm / min"
+21 (4 bytes) for a linear motor
- 707 -
5.WINDOW FUNCTIONS B-64513EN/03
(2) Reading the thermal simulation data (OVC data) (Data number N = 14)
You can read the thermal simulation data (OVC data) of servo motor.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=14: Thermal simulation data (OVC data).
14
Completion codes
0 Normal completion
3 The data number is invalid.
4 The data attribute is invalid.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
14
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Thermal simulation data Signed binary format in 2 bytes length
Data unit: %
+11 (2 bytes) The OVC alarm will happen when this value is
100 %.
- 708 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When reading all axes. (ex. number of controlled axes is 3)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(2bytes * 3axes)
+6 (Data number N)
14
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Thermal simulation data for 1st Signed binary format in 2 bytes length
axis Data unit: %
(2 bytes) The OVC alarm will happen when this value is
100 %.
+12 Thermal simulation data for 2nd Signed binary format in 2 bytes length
axis Data unit: %
(2 bytes) The OVC alarm will happen when this value is
100 %.
+14 Thermal simulation data for 3rd Signed binary format in 2 bytes length
axis Data unit: %
+15 (2 bytes) The OVC alarm will happen when this value is
100 %.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=15: Torque command.
15
- 709 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Normal completion
3 The data number is invalid.
4 The data attribute is invalid.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
15
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Torque command Signed binary format in 2 bytes length
Data: This data is normalized from -6554 to 6554.
+11 (2 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(2bytes * 3axes)
+6 (Data number N)
15
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
+10 Torque command for 1st axis Signed binary format in 2 bytes length
Data: This data is normalized from -6554 to 6554.
(2 bytes)
+12 Torque command for 2nd axis Signed binary format in 2 bytes length
Data: This data is normalized from -6554 to 6554.
(2 bytes)
+14 Torque command for 3rd axis Signed binary format in 2 bytes length
Data: This data is normalized from -6554 to 6554.
+15 (2 bytes)
- 710 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
The abnormal load detection function option is required. For detailed settings of
parameters and so forth, refer to the description of abnormal load detection in
the “CONNECTION MANUAL (FUNCTION)”.
Parameter No.2165 N
less than 20 The value of No.2165
20 or more The value that is rounded down below the one's digit of the value of No.2165
- 711 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The estimate disturbance torque data 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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Estimate disturbance torque data (A negative value is represented in 2's
for the controlled axis specified complement)
+11 (2 bytes)
- 712 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When reading all axes. (Ex. number of controlled axes is 3)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(2bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Estimate disturbance torque data Signed binary(A negative value is represented in
for first axis 2's complement)
(2 bytes)
+12 Estimate disturbance torque data Signed binary(A negative value is represented in
for second axis 2's complement)
(2 bytes)
+14 Estimate disturbance torque data Signed binary(A negative value is represented in
for third axis 2's complement)
+15 (2 bytes)
- 713 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
1
Completion codes
0 The estimate disturbance torque data have been read normally.
4 The data specified as the data attribute is invalid because it is neither a value from -1 to -(n-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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
1
(Same as input data)
+8 (Data attribute M)
Spindle number
(Same as input data)
+10 Estimate disturbance torque data Signed binary
for the controlled axis specified (A negative value is represented in 2's
+11 (2 bytes) complement)
- 714 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When reading multiple spindles. (Ex. 3 spindles)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(2bytes × 3spindles)
+6 (Data number N)
1
(Same as input data)
+8 (Data attribute M) -2: Read the loads of the No.1 to No.3 spindles
-2
(Same as input data)
+10 Estimate disturbance torque data Signed binary
for first axis (A negative value is represented in 2's
(2 bytes) complement)
+12 Estimate disturbance torque data Signed binary
for second axis (A negative value is represented in 2's
(2 bytes) complement)
+14 Estimate disturbance torque data Signed binary
for third axis (A negative value is represented in 2's
+15 (2 bytes) complement)
- 715 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
1 The option of "Fine torque sensing" is necessary.
2 You should set the axis number to the CNC parameter No. 6360 to 6363 as
target axes for the fine torque sensing function.
- No. 6360 ... target axis No. 1
- No. 6361 ... target axis No. 2
- No. 6362 ... target axis No. 3
- No. 6363 ... target axis No. 4
In this window function, you should set above target axis number to the "Data
number" field.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=1 to n: Target axis number.
Target axis number (n is the maximum target axis number)
N=-1: All axes
+8 (Data attribute M) Set 0 to this field.
0
(2bytes)
+10 (Data area)
-
(Need not to be set)
Completion codes
0 Completed successfully.
1 Not supported.
3 The data number is invalid.
6 No option for fine torque sensing function. The CNC system software does not support this function.
- 716 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
Target axis number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Average value Signed binary format in 2 bytes length
-32768 to 32767 (%)
- 717 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
24
(6bytes × 4axes)
+6 (Data number N) -1: All axes.
-1
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Average value of target axis 1 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+12 Maximum value of target axis 1 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+14 Distribution value of target axis 1 Signed binary format in 2 bytes length
0 to 32767 (%)
+16 Average value of target axis 2 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+18 Maximum value of target axis 2 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+20 Distribution value of target axis 2 Signed binary format in 2 bytes length
0 to 32767 (%)
+22 Average value of target axis 3 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+24 Maximum value of target axis 3 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+26 Distribution value of target axis 3 Signed binary format in 2 bytes length
0 to 32767 (%)
+28 Average value of target axis 4 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+30 Maximum value of target axis 4 Signed binary format in 2 bytes length
-32768 to 32767 (%)
+32 Distribution value of target axis 4 Signed binary format in 2 bytes length
0 to 32767 (%)
+33
- 718 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 The option of "Fine torque sensing" is necessary.
2 You should set the axis number to the CNC parameter No. 6360 to 6363 as
target axes for the fine torque sensing function.
- No. 6360 ... target axis No. 1
- No. 6361 ... target axis No. 2
- No. 6362 ... target axis No. 3
- No. 6363 ... target axis No. 4
In this window function, you should set above target axis number to the "Data
number" field.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=0: Store counter
0
Completion codes
0 Completed successfully.
1 Not supported.
3 The data number is invalid.
4 The data attribute is invalid.
6 No option for fine torque sensing function. The CNC system software does not support this function.
- 719 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Data type
(Same as input data)
+10 Store counter Signed binary format in 4 bytes length.
(0 to 524288)
+13
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=101 to (100+n): Target axis number + 100.
Target axis number(+100) (n is the maximum target axis
number)
+8 (Data attribute M) M=0: Stored data.
Data type M=1: Sample data.
Completion codes
0 Completed successfully.
1 Not supported.
3 The data number is invalid.
4 The data attribute is invalid.
6 No option for fine torque sensing function. The CNC system software does not support this function.
- 720 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2 or 0
+6 (Data number N)
Target axis number(+100)
(Same as input data)
+8 (Data attribute M)
Data type
(Same as input data)
+10 Latest data Signed binary format in 2 bytes length
(-32768 to 32767(%))
+11
NOTE
When you set 1 to the "Data attribute M" and in the following condition, the data
is not output, but completion code 0 and data length 0 are output.
- The number of sampling data is less than the number of stored data.
- There is no stored data.
- 721 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) You should set 6 to this field.
6
Completion codes
0 Completed successfully.
1 Not supported.
2 The data length is invalid.
3 The data number is invalid.
4 The data attribute is invalid.
5 The "Start data number n" or the "Number of data items l" is invalid.
6 No option for fine torque sensing function. The CNC system software does not support this function.
- 722 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
(L=6+l×2)
+6 (Data number N)
Target axis number
(Same as input data)
+8 (Data attribute M)
Data type
(Same as input data)
+10 (Start data number)
n
(Same as input data)
+14 (Number of data items)
l
(Same as input data)
+16 Data of number n Signed binary format in 2 bytes length
(-32768 to 32767(%))
:
+(16+((l-1)×2)) Data of number (n+l-1) Signed binary format in 2 bytes length
(-32768 to 32767(%))
+(17+((l-1)×2))
NOTE
1 When specified data range is larger than the data count of stored data, the valid
data is read and its size is returned as the "Data length L"
2 When specified data number is greater than the data count of stored data, the
data cannot be read, 6 is returned as the "Data length L" and 0 is returned as
"Completion code".
- 723 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
12
(4bytes × 3axes)
+6 (Data number N) Set 0 to this field.
0
- 724 -
B-64513EN/03 5.WINDOW FUNCTIONS
+10 Value of relative coordinate for the Signed binary
first axis (A negative value is represented in 2's
(4 bytes) complement)
+14 Value of relative coordinate for the Signed binary
second axis (A negative value is represented in 2's
(4 bytes) complement)
+18 Value of relative coordinate for the Signed binary
third axis (A negative value is represented in 2's
+21 (4 bytes) complement)
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.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
(4×n bytes)
- 725 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
About the details of the three-dimensional error compensation function and the
related CNC parameter, refer to the “CONNECTION MANUAL (FUNCTION) ”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set the compensation point number with signed
Compensation point number binary format in 2-bytes length.(From 1 to
maximum compensation point number)
+8 (Data attribute M) Set the compensation axis number with signed
Compensation axis number binary format in 2-bytes length.1 to 3:
compensation axis number-1: all compensation
axes
+10 (Data area)
-
(Need not to be set)
Completion codes
0 The processing has been executed normally.
1 This function is not available.
3 The specified compensation point number is invalid.
4 The specified compensation axis number is invalid.
6 The necessary option is not found.
- 726 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
Compensation point number
(Same as input data)
+8 (Data attribute M)
Compensation axis number
(Same as input data)
+10 Three-dimensional error Signed binary format in 2-bytes length (from -128 to
compensation data 127)
+11 (2bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(2bytes × 3axes)
+6 (Data number N)
Compensation point number
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Three-dimensional error Signed binary format in 2-bytes length
compensation data for the 1st (from -128 to 127)
compensation axis
(2bytes)
+12 Three-dimensional error Signed binary format in 2-bytes length
compensation data for the 2nd (from -128 to 127)
compensation axis
(2bytes)
+14 Three-dimensional error Signed binary format in 2-bytes length
compensation data for the 3rd (from -128 to 127)
compensation axis
+15 (2bytes)
- 727 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
About the details of the three-dimensional error compensation function and the
related CNC parameter, refer to the “CONNECTION MANUAL (FUNCTION)”.
+2 (Completion)
-
(Need not to be set)
+4 (Data length L)
2
- 728 -
B-64513EN/03 5.WINDOW FUNCTIONS
(2) When writing all axes. (Ex. number of controlled axes is 3)
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
6
(2bytes × 3axes)
+6 (Data number N) Set the compensation point number with signed
Compensation point number binary format in 2-bytes length. (from 1 to
maximum compensation point number)
+8 (Data attribute M) M=-1: All axes.
-1
Completion codes
0 The processing has been executed normally.
1 This function is not available.
2 The specified data length is invalid.
3 The specified compensation point number is invalid.
4 The specified compensation axis number is invalid.
5 The specified three-dimensional error compensation data is invalid.
6 The necessary option is not found.
- 729 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
Compensation point number
(Same as input data)
+8 (Data attribute M)
Compensation axis number
(Same as input data)
+10 Three-dimensional error
compensation data
+11 (Same as input data)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
(Same as input data
+6 (Data number N)
Compensation point number
(Same as input data)
+8 (Data attribute M)
-1
(Same as input data)
+10 Three-dimensional error
compensation data for the 1st axis
(Same as input data)
+12 Three-dimensional error
compensation data for the 2nd
axis (Same as input data)
+14 Three-dimensional error
compensation data for the 3rd
+15 axis (Same as input data)
- 730 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) 0 : Machine position that servo delay and
Data type acceleration/deceleration delay is not applied.
1 : Machine position that servo delay and
acceleration/deceleration delay is applied.
2 : Machine position that displayed on the current
position display screen of the CNC.
+8 (Data attribute M) 1 to n (n is the number of axes in the CNC-path) :
Axis number Reads the value of a specified axis.
-1 : Reads the value of all axes in the CNC-path.
+10 (Data area)
-
(Need not to be set)
NOTE
1 To read a machine poison that servo delay and acceleration/deceleration delay
is applied, the following setting is required.
CNC parameter No.11313#7=1
2 When you set 1 to the data number N and "Actual position reading function with
absolute position detector" is available on a CNC series, you can read the
machine position by the function. Required setting is as follows.
CNC parameter No.1806#5=1, No.2224#4=1
For details of "Actual position reading function with absolute position detector",
refer to the CONNECTION MANUAL (FUNCTION) of the CNC series.
- 731 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Reading is successful.
3 The data specified as the data number is invalid.
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.
13 CNC is busy.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Machine position Signed binary format in 4 bytes length.
+13 (4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Machine position of 1st axis Signed binary format in 4 bytes length
(4 bytes)
+14 Machine position of 2nd axis Signed binary format in 4 bytes length
(4 bytes)
+18 Machine position of 3rd axis Signed binary format in 4 bytes length
+21 (4 bytes)
- 732 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 The read position does not depend on a status of "Diameter and Radius Setting
Switching function". The read position depends only on following setting.
CNC parameter No. 1006#3 (DIAx)
2 When you set 0 or 1 to the data number N, machine position in the machine unit
can be read.
3 When you set 0 to the data number N and following setting is applied, update
cycle of the machine position becomes faster.
CNC parameter No.11300#5 (MPH) = 1
You should apply this setting only if necessary because this setting may lower
the performance of CNC a little.
4 When you set 2 to the data number N, machine position in the input unit can be
read. Read position depends on following parameters setting.
CNC parameter No. 0#2, No.3104#0
NOTE
1 "3-dimensional coordinate system conversion", "Tilted working plane command"
or "Workpiece setting error compensation" option is necessary.
2 When a feature coordinate system is not defined, the absolute position in the
work coordinate system can be read even if you set 4 to the data number N.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) 3 : Absolute position in the work coordinate system.
Data type 4 : Absolute position in the feature coordinate
system.
- 733 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Reading is successful.
1 PMC system software does not support this function or necessary option missing.
3 The data specified as the data number is invalid.
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.
13 CNC is busy.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Absolute position Signed binary format in 4 bytes length.
+13 (4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Absolute position of 1st axis Signed binary format in 4 bytes length
(4 bytes)
+14 Absolute position of 2nd axis Signed binary format in 4 bytes length
(4 bytes)
+18 Absolute position of 3rd axis Signed binary format in 4 bytes length
+21 (4 bytes)
- 734 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
The read position does not depend on a status of "Diameter and Radius Setting
Switching function". The read position depends only on following setting.
CNC parameter No. 1006#3 (DIAx)
NOTE
1 "3-dimensional coordinate system conversion", "Tilted working plane command"
or "Workpiece setting error compensation" option is necessary.
2 When a feature coordinate system is not defined, the remaining travel in the
work coordinate system can be read even if you set 6 to the data number N.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) 5 : Remaining travel in the work coordinate system.
Data type 6 : Remaining travel in the feature coordinate
system.
Completion codes
0 Reading is successful.
1 PMC system software does not support this function or necessary option missing.
3 The data specified as the data number is invalid.
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.
13 CNC is busy.
- 735 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Remaining travel Signed binary format in 4 bytes length.
+13 (4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Remaining travel of 1st axis Signed binary format in 4 bytes length
(4 bytes)
+14 Remaining travel of 2nd axis Signed binary format in 4 bytes length
(4 bytes)
+18 Remaining travel of 3rd axis Signed binary format in 4 bytes length
+21 (4 bytes)
- 736 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
The read position does not depend on a status of "Diameter and Radius Setting
Switching function". The read position depends only on following setting.
CNC parameter No. 1006#3 (DIAx)
The read value is the same as remaining travel displayed on an actual position
display screen on CNC.
- 737 -
5.WINDOW FUNCTIONS B-64513EN/03
5.5.24 Reading slider position of the Control function for link type
press (High-speed Response)
You can read the slider position of control function for link type press.
If all axes are specified, this window allows the concurrent data to be read.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The slider position for the specified axis has been read normally.
1 No option for "Control function for link type press".
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). Specifically, the specified axis number is greater than the number of controlled
axes.
Note
The option for "Control function for link type press" is necessary to use this
function.
- 738 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Slider position of the controlled Signed binary
axis specified (A negative value is represented in 2's
+13 (4 bytes) complement)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Slider position of the first axis Signed binary
(A negative value is represented in 2's
(4 bytes) complement)
+14 Slider position of the second axis Signed binary
(A negative value is represented in 2's
(4 bytes) complement)
+18 Slider position of the third axis Signed binary
(A negative value is represented in 2's
+21 (4 bytes) complement)
Increment system
Input system
IS-A IS-B IS-C IS-D IS-E
mm, deg 0.01 0.001 0.0001 0.00001 0.000001
inch 0.001 0.0001 0.00001 0.000001 0.0000001
- 739 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The position of the lower dead point for the specified axis has been read normally.
1 No option for "Control function for link type press".
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). Specifically, the specified axis number is greater than the number of controlled
axes.
Note
The option for "Control function for link type press" is necessary to use this
function.
- 740 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Position of the lower dead point of Signed binary
the controlled axis specified (A negative value is represented in 2's
+13 (4 bytes) complement)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Position of the lower dead point of Signed binary
the first axis (A negative value is represented in 2's
(4 bytes) complement)
+14 Position of the lower dead point of Signed binary
the second axis (A negative value is represented in 2's
(4 bytes) complement)
+18 Position of the lower dead point of Signed binary
the third axis (A negative value is represented in 2's
+21 (4 bytes) complement)
Increment system
Input system
IS-A IS-B IS-C IS-D IS-E
mm, deg 0.01 0.001 0.0001 0.00001 0.000001
inch 0.001 0.0001 0.00001 0.000001 0.0000001
- 741 -
5.WINDOW FUNCTIONS B-64513EN/03
5.5.26 Reading main gear angle of the Control function for link type
press (High-speed Response)
You can read the main gear angle of the Control function for link type press.
If all axes are specified, this window allows the concurrent data to be read.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The main gear angle for the specified axis has been read normally.
1 No option for "Control function for link type press".
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). Specifically, the specified axis number is greater than the number of controlled
axes.
Note
The option for "Control function for link type press" is necessary to use this
function.
- 742 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Main gear angle of the controlled Signed binary
axis specified (A negative value is represented in 2's
+13 (4 bytes) complement)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Main gear angle of the first axis Signed binary
(A negative value is represented in 2's
(4 bytes) complement)
+14 Main gear angle of the second Signed binary
axis (A negative value is represented in 2's
(4 bytes) complement)
+18 Main gear angle of the third axis Signed binary
(A negative value is represented in 2's
+21 (4 bytes) complement)
Increment system
Input system
IS-A IS-B IS-C IS-D IS-E
Rotation axis 0.01 0.01 0.01 0.01 0.01
- 743 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The analog monitor unit data has been read normally.
1 No option for "Control function for link type press" or "Pressure and position control function".
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). Specifically, the specified axis number is greater than the number of controlled
axes.
Note
The option for "Control function for link type press" and "Pressure and position
control function" are necessary to use this function.
- 744 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Axis number
(Same as input data)
+10 Data of the controlled axis Signed binary
specified 0 to 32767
+13 (4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
(4bytes * 3axes)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M) M=-1: All axes.
-1
(Same as input data)
+10 Data of the first axis Signed binary
0 to 32767
(4 bytes)
+14 Data of the second axis Signed binary
0 to 32767
(4 bytes)
+18 Data of the third axis Signed binary
0 to 32767
+21 (4 bytes)
- 745 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) 1 to n (n is the number of axes in the CNC-path) :
Axis number Reads the value of a specified axis.
-1 : Reads the value of all axes in the CNC-path.
Completion codes
0 Normal completion.
3 The data number is invalid.
4 The data attribute is invalid.
- 746 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
12
+6 (Data number N)
Axis number
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Axis command value See "Fig. 4.3 (a)".
+2 (Completion code)
?
(See above description)
+4 (Data length L)
36
(12bytes * 3axes)
+6 (Data number N)
Axis number
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Axis command value of See "Fig. 4.3 (a)".
the first axis
(12 bytes)
+22 Axis command value of See "Fig. 4.3 (a)".
the second axis
(12 bytes)
+34 Axis command value of See "Fig. 4.3 (a)".
the third axis
+45 (12 bytes)
- 747 -
5.WINDOW FUNCTIONS B-64513EN/03
Reserved 2 bytes
FLAG1 1 byte
FLAG2 1 byte
7 6 5 4 3 2 1 0
FLAG1
7 6 5 4 3 2 1 0
FLAG2
NOTE
1 When 2nd or 3rd character of axis name is not defined, 0 can be read as 2nd or
3rd character.
2 Do not refer to undescribed bits of FLAG1 or FLAG2 because these statuses are
indefinite.
Example: When second axis is Y and Y50.0 is commanded, the following data are read.
Calculation formula for the command value from the read value is as follows.
Command value = Command value data * 10-Number of decimal places
It is as follows when applying the read value of the example in the above calculation formula.
50.0 = 500 * 10-1
- 748 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
+8 (Data attribute M)
Tool No.
CAUTION
1 When the tool number is set to "0", the tool group number of the currently used
tool is read. If a tool group number is not specified after the power is turned ON,
tool group number "0" is read.
2 If the same tool belongs to two or more tool groups, 32 tool groups can be read
in the maximum. In this case, 128 bytes are required as the data area in the
maximum.
Completion codes
0 The tool group number is read successfully.
4 The tool number in 'Data Attribute' has a wrong value.
5 The tool number is not registered.
6 The tool life management option has not been added on.
- 749 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Tool No.
(Same as input data)
+10 Tool group No. Unsigned binary
+13 (4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L) 'n' is the number of tool groups to which the
12 specified tool belongs
(4bytes × n)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Tool No.
(Same as input data)
+10 Tool group No. Unsigned binary
(4 bytes)
+14 Tool group No. Unsigned binary
(4 bytes)
+18 Tool group No. Unsigned binary
+21 (4 bytes)
- 750 -
B-64513EN/03 5.WINDOW FUNCTIONS
Parameter 6800
GS2 GS1 Number of tool groups Tools per group
0 0 1/8 of Max. pairs (No.6813) 32
0 1 1/4 of Max. pairs (No.6813) 16
1 0 1/2 of Max. pairs (No.6813) 8
1 1 Max. pairs (No.6813) 4
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
Completion codes
0 The number of tool group numbers has been read successfully.
6 No option for the tool life management.
- 751 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Number of tool groups Unsigned binary
+13 (4 bytes)
- 752 -
B-64513EN/03 5.WINDOW FUNCTIONS
Parameter 6800
GS2 GS1 Number of tools in a tool group
0 0 1 to 32
0 1 1 to 16
1 0 1 to 8
1 1 1 to 4
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected.
While no tool group is selected yet after power-on of CNC, "0" of the tool group
number results "0" of number of tools.
- 753 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 The number of tools has been read successfully.
3 The specified tool group number is incorrect.
6 No option for the tool life management.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Number of tools Unsigned binary
+13 (4 bytes)
- 754 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected.
While no tool group is selected yet after power-on of CNC, "0" of the tool group
number results "0" of tool life value.
Completion codes
0 The tool life has been read successfully.
3 The specified tool group number is incorrect.
6 No option for the tool life management.
- 755 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Tool life Unsigned binary
Time or number or cycles
+13 (4 bytes)
In case the tool group chooses machining time to manage the lives of the tools, CNC parameter
No.6805#0(FCO) determines the unit of the return value as below.
FCO Unit
0 1 minute
1 0.1 minute
- 756 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected.
While no tool group is selected yet after power-on of CNC, "0" of the tool group
number results "0" of tool life counter.
Completion codes
0 The tool life has been read successfully.
3 The specified tool group number is incorrect.
6 No option for the tool life management.
- 757 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Tool life counter Unsigned binary
Time or number or cycles
+13 (4 bytes)
In case the tool group chooses machining time to manage the lives of the tools, CNC parameter
No.6805#0(FCO) determines the unit of the return value as below.
FCO Unit
0 1 minute
1 0.1 minute
- 758 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected, and "0" to the tool number means the tool that is currently used in the
group.
While no tool group is selected yet after power-on of CNC, specifying the current
tool of the current group results "0" of tool length compensation number.
Completion codes
0 The tool length compensation number has been read successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number is not found in the specified tool group.
6 No option for the tool life management.
- 759 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+10 Tool length compensation number Unsigned binary
+13 (4 bytes)
- 760 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected. While no tool group is selected yet after power-on of CNC, specifying
the current group results "0" of tool length compensation number.
Specifying "0" to the tool order number means the tool that is currently used. If
the tool group has not ever been selected, tool order number "0" means the first
tool in the group instead.
Completion codes
0 The tool length compensation number has been read successfully.
3 The specified tool group number is incorrect.
4 The specified tool order number is incorrect.
5 The specified tool group has no tool in the specified tool order position.
6 No option for the tool life management.
- 761 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Tool length compensation number Unsigned binary
+13 (4 bytes)
- 762 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected, and "0" to the tool number means the tool that is currently used in the
group.
While no tool group is selected yet after power-on of CNC, specifying the current
tool of the current group results "0" of cutter radius compensation number.
Completion codes
0 The cutter radius compensation number has been read successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number was not found in the specified tool group.
6 No option for the tool life management.
- 763 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+10 Cutter compensation number Unsigned binary
+13 (4 bytes)
- 764 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
CAUTION
If 0 is specified for the tool group number, the tool group currently used is
referred. In this case, if any tool group has not been used since the power to the
CNC was turned on, 0 is read.
When 0 is specified for the tool order number, the data of the current tool in the
tool group is read if the group has already been used, or the data of the first tool
in the group is read if the group has not ever used.
Completion codes
0 The cutter radius compensation number has been read successfully.
3 The specified tool group number is incorrect.
4 The specified tool order number is incorrect.
5 The specified tool group has no tool in the specified tool order position.
6 No option for the tool life management.
- 765 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Cutter compensation number Unsigned binary
+13 (4 bytes)
- 766 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected, and "0" to the tool number means the tool that is currently used in the
group.
While no tool group is selected yet after power-on of CNC, specifying the current
tool of the current group results "0" of tool status information.
Completion codes
0 The tool status information has been read successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number was not found in the specified tool group.
6 No option for the tool life management.
- 767 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+10 Tool status information 0: See "CAUTION" on the previous page.
(4 bytes) 1: The tool is registered.
2: The tool has reached the end of its life.
3: The tool was skipped.
+13 The three high-order bytes are fixed to 0.
- 768 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected. While no tool group is selected yet after power-on of CNC, specifying
the current group results "0" of tool status information.
Specifying "0" to the tool order number means the tool that is currently used. If
the tool group has not ever been selected, tool order number "0" means the first
tool in the group instead.
Completion codes
0 The tool status information has been read successfully.
3 The specified tool group number is incorrect.
4 The specified tool order number is incorrect.
5 The specified tool group has no tool in the specified tool order position.
6 No option for the tool life management.
- 769 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Tool status information 0: See "CAUTION" on the previous page.
(4 bytes) 1: The tool is registered.
2: The tool has reached the end of its life.
3: The tool was skipped.
+13 The three high-order bytes are fixed to 0.
- 770 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected. While no tool group is selected yet after power-on of CNC, specifying
the current group results "0" of tool number.
Specifying "0" to the tool order number means the tool that is currently used. If
the tool group has not ever been selected, tool order number "0" means the first
tool in the group instead.
Completion codes
0 The tool number has been read successfully.
3 The specified tool group number is incorrect.
4 The specified tool order number is incorrect.
5 The specified tool group has no tool in the specified tool order position.
6 No option for the tool life management.
- 771 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Tool number Unsigned binary
+13 (4 bytes)
- 772 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected.
While no tool group is selected yet after power-on of CNC, "0" of the tool group
number results "0" of tool life counter type.
Completion codes
0 The tool life counter type has been read successfully.
3 The specified tool group number is incorrect.
6 No option for Tool life management.
- 773 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Tool life counter type 0: No counter type
1: Frequency
+11 (2 bytes) 2: Real time
- 774 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
8
+8 (Data attribute M)
Tool number
NOTE
CNC parameter FCO(6805#0) decides the unit of tool life value of real time
counter type as follows:
6805#0 = 0 : 1 minute (1–4300)
6805#0 = 1 : 0.1 minute (1–43000)
With the tool life management B function, this parameter also decides the
effective region of life value as follows:
6805#0 = 0 : 100000 minutes (1–100000)
6805#0 = 1 : 60000 minutes (1–600000)
- 775 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Succeeded to register the tool group.
3 The specified tool group number is incorrect.
4 The tool number in 'Data attribute' has wrong value.
5 The length of tool life in 'Data area' is out of range.
6 No option for the tool life management.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
8
(Same as input data)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+10 Tool group number
(2 bytes)
(Same as input data)
+12 Tool life counter type
(2 bytes)
(Same as input data)
+14 Length of Tool life
(4 bytes)
+17 (Same as input data)
- 776 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
NOTE
CNC parameter FCO(6805#0) decides the unit of tool life value of real time
counter type as follows:
6805#0 = 0 : 1 minute (1–4300)
6805#0 = 1 : 0.1 minute (1–43000)
With the tool life management B function, this parameter also decides the
effective region of life value as follows:
6805#0 = 0 : 100000 minutes (1–100000)
6805#0 = 1 : 60000 minutes (1–600000)
Completion codes
0 Succeeded to set the length of tool life.
3 The specified tool group number is incorrect.
5 The length of tool life is out of range.
6 No option for the tool life management.
13 The data of the currently selected tool group or the next tool group cannot be rewritten. An attempt
was made to rewrite the data of the currently selected tool group or the next group.
- 777 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Length of Tool life
(4 bytes)
+13 (Same as input data)
- 778 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
NOTE
CNC parameter FCO(6805#0) decides the unit of tool life value of real time
counter type as follows:
6805#0 = 0 : 1 minute (1–4300)
6805#0 = 1 : 0.1 minute (1–43000)
With the tool life management B function, this parameter also decides the
effective region of life value as follows:
6805#0 = 0 : 100000 minutes (1–100000)
6805#0 = 1 : 60000 minutes (1–600000)
Completion codes
0 Succeeded to set the tool life counter.
3 The specified tool group number is incorrect.
5 The value for tool life counter is out of range.
6 No option for the tool life management.
- 779 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Length of Tool life
(4 bytes)
+13 (Same as input data)
- 780 -
B-64513EN/03 5.WINDOW FUNCTIONS
5.6.17 Writing Tool Life Management Data (Tool Life Counter Type)
(Low-speed Response)
This function sets the tool life counter type of specified tool group in the tool life management data.
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
2
+6 (Data number N)
Tool group number
Completion codes
0 Succeeded to set the tool life counter type.
3 The specified tool group number is incorrect.
5 The value for tool life counter type is wrong.
6 No option for the tool life management.
- 781 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Tool life counter type
(2 bytes)
+11 (Same as input data)
- 782 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
Completion codes
0 Succeeded to set the tool length compensation number.
3 The specified tool group number is incorrect.
4 The tool number in 'Data attribute' has wrong value.
5 The tool number is not found in the tool group.
6 No option for the tool life management.
- 783 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+10 Tool length compensation number
(4 bytes)
+13 (Same as input data)
CAUTION
The effective value for tool length compensation number depends on tool
compensation number available on CNC.
- 784 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
Completion codes
0 Succeeded to set the tool length compensation number.
3 The specified tool group number is incorrect.
4 The tool order number is wrong.
6 No option for the tool life management.
- 785 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Tool length compensation number
(4 bytes)
+13 (Same as input data)
CAUTION
The effective value for tool length compensation number depends on tool
compensation number available on CNC.
- 786 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
Completion codes
0 Succeeded to set the cutter radius compensation number.
3 The specified tool group number is incorrect.
4 The tool number in 'Data attribute' has wrong value.
5 The tool number is not found in the tool group.
6 No option for the tool life management.
- 787 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+10 Cutter radius compensation
number (4 bytes)
+13 (Same as input data)
CAUTION
The effective value for Cutter radius compensation number depends on tool
compensation number available on CNC.
- 788 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
Completion codes
0 Succeeded to set the cutter radius compensation number.
3 The specified tool group number is incorrect.
4 The tool order number is wrong.
6 No option for the tool life management.
- 789 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Cutter radius compensation
number (4 bytes)
+13 (Same as input data)
CAUTION
The effective value for cutter radius compensation number depends on tool
compensation number available on CNC.
- 790 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
2
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
Completion codes
0 The tool information is written successfully.
3 The tool group number exceeds maximum number of registered groups.
4 The specified tool number is incorrect.
5 The specified tool number is not registered to the specified tool group.
6 The tool life management option has not been added on.
- 791 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+10 Tool information
(2 bytes)
+11 (Same as input data)
- 792 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
2
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
Completion codes
0 The tool information has been set successfully.
3 The specified tool group number is incorrect.
4 The tool order number is incorrect.
6 No option for Tool life management.
- 793 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Tool information
(2 bytes)
+11 (Same as input data)
- 794 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
Completion codes
0 Succeeded to register the tool number.
3 The specified tool group number is incorrect.
4 The tool order number is wrong.
6 No option for the tool life management.
- 795 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
(Same as input data)
+10 Tool number
(4 bytes)
+13 (Same as input data)
- 796 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set 0 to this field.
0
+8 (Data attribute M)
Tool number
NOTE
1 When the tool number is set to "0", the tool group number of the currently used
tool is read. If a tool group number is not specified after the power is turned ON,
tool group number "0" is read.
2 If the same tool belongs to two or more tool groups, 32 tool groups can be read
in the maximum. In this case, 128 bytes are required as the data area in the
maximum.
Completion codes
0 The tool group number is read successfully.
4 The tool number in 'Data Attribute' has a wrong value.
5 The tool number is not registered.
6 The tool life management option has not been added on.
- 797 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Tool group number Unsigned binary
+15 (4 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L) 'n' is the number of tool groups to which the
12 specified tool belongs
(4bytes× n)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Tool group number Unsigned binary
(4 bytes)
+16 Tool group number Unsigned binary
(4 bytes)
+20 Tool group number Unsigned binary
+23 (4 bytes)
- 798 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected, and "0" to the tool number means the tool that is currently used in the
group.
While no tool group is selected yet after power-on of CNC, specifying the current
tool of the current group results "0" of tool status information.
Completion codes
0 The tool information was read successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number is not registered to the specified tool group.
6 No option for the tool life management.
- 799 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Tool status information 0: See "CAUTION" on the previous page.
1: The tool is registered.
(4 bytes) 2: The tool has reached the end of its life.
3: The tool was skipped
+15 The three high-order bytes are fixed to 0.
- 800 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some data using both this instruction in ladder program and
other applications, take care of duplication writing into the same data area. If
some values are written in the same data area by several applications,
unexpected value may be set and the machine may behave in an unexpected
working and tool, work piece, and the machine may also be damaged.
As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
8
+8 (Data attribute M)
Tool number
NOTE
CNC parameter FCO(6805#0) decides the unit of tool life value of real time
counter type as follows:
6805#0 = 0 : 1 minute (1–4300)
6805#0 = 1 : 0.1 minute (1–43000)
With the tool life management B function, this parameter also decides the
effective region of life value as follows:
6805#0 = 0 : 100000 minutes (1–100000)
6805#0 = 1 : 60000 minutes (1–600000)
- 801 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 The tool length was registered successfully.
3 The specified tool group number is incorrect.
4 The tool number in 'Data Attribute' has a wrong value.
5 The tool life value is out-of-range.
6 No option for the tool life management.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
8
(Same as input data)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Tool group number
(2 bytes)
(Same as input data)
+14 Tool life counter type
(2 bytes)
(Same as input data)
+16 Tool life value
(4 bytes)
+19 (Same as input data)
- 802 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected, and "0" to the tool number means the tool that is currently used in the
group.
While no tool group is selected yet after power-on of CNC, specifying the current
tool of the current group results "0" of tool length compensation number.
Completion codes
0 The tool length compensation number was read successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number is not registered to the specified tool group.
6 No option for the tool life management.
- 803 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Tool length compensation number Unsigned binary
+15 (4 bytes)
- 804 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
CAUTION
Specifying "0" to the tool group number means the tool group that is currently
selected, and "0" to the tool number means the tool that is currently used in the
group.
While no tool group is selected yet after power-on of CNC, specifying the current
tool of the current group results "0" of cutter radius compensation number.
Completion codes
0 The cutter radius compensation number was read successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number is not registered to the specified tool group.
6 No option for the tool life management.
- 805 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Cutter radius compensation Unsigned binary
number
+15 (4 bytes)
- 806 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
Completion codes
0 The tool length compensation number was written successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number is not registered to the specified tool group.
6 No option for the tool life management.
- 807 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Tool length compensation number
(4 bytes)
+15 (Same as input data)
CAUTION
The effective value for tool length compensation number depends on tool
compensation number available on CNC.
- 808 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
Completion codes
0 The cutter radius compensation number was written successfully.
3 The specified tool group number is incorrect.
4 The specified tool number is incorrect.
5 The specified tool number is not registered to the specified tool group.
6 No option for the tool life management.
- 809 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Cutter radius compensation
number (4 bytes)
+15 (Same as input data)
CAUTION
The effective value for Cutter radius compensation number depends on tool
compensation number available on CNC.
- 810 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
2
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool number
Completion codes
0 The tool information is written successfully.
3 The tool group number exceeds maximum number of registered groups.
4 The specified tool number is incorrect.
5 The specified tool number is not registered to the specified tool group.
6 The tool life management option has not been added on.
- 811 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool number
(Same as input data)
+12 Tool information
(2 bytes)
+13 (Same as input data)
- 812 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set 0 to this field.
0
+6 (Data number N)
Tool group number
Completion codes
0 Succeeded to delete the tool group number.
3 The specified tool group number is incorrect.
6 No option for the tool life management.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
0
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
+9 (Same as input data)
- 813 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set 0 to this field.
0
+6 (Data number N)
Tool group number
+8 (Data attribute M)
Tool order number
+9
Completion codes
0 Succeeded to delete the tool group number.
3 The specified tool group number is incorrect.
4 The tool order number is wrong.
6 No option for the tool life management.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
0
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
Tool order number
+9 (Same as input data)
- 814 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set 0 to this field.
0
+6 (Data number N)
Tool group number
Completion codes
0 Succeeded to clear the tool life counter and the tool information.
3 The specified tool group number is incorrect.
6 No option for the tool life management.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
0
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
+9 (Same as input data)
- 815 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+13 (4 bytes)
NOTE
Writing the tool life Management Data (Arbitrary group number) is available for
tool life management B function.
Completion codes
0 Succeeded to set the arbitrary group number.
3 The specified tool group number is incorrect.
5 Arbitrary group number is out of range.
6 No option for the tool life management.
- 816 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Arbitrary group number
(4 bytes)
+13 (Same as input data)
- 817 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
4
+6 (Data number N)
Tool group number
+13 (4 bytes)
NOTE
Writing the tool life Management Data (Remaining tool life) is available for tool
life management B function.
Completion codes
0 Succeeded to set the length of remaining tool life.
3 The specified tool group number is incorrect.
5 Remaining tool life is out of range.
6 No option for the tool life management.
- 818 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
(Same as input data)
+6 (Data number N)
Tool group number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 Remaining tool life
(4 bytes)
+13 (Same as input data)
- 819 -
5.WINDOW FUNCTIONS B-64513EN/03
Spindle position
1st 2nd 3rd 4th
Path 1 111 (11) 112 (12) 113 (13) 114 (14)
Path 2 211 212 213 214
Path 3 311 312 313 314
Path 4 411 412 413 414
Path 5 511 512 513 514
Path 6 611 612 613 614
Path 7 711 712 713 714
Path 8 811 812 813 814
Path 9 911 912 913 914
Path 10 1011 1012 1013 1014
Standby position
1st 2nd 3rd 4th
Path 1 121 (21) 122 (22) 123 (23) 124 (24)
Path 2 221 222 223 224
Path 3 321 322 323 324
Path 4 421 422 423 424
Path 5 521 522 523 524
Path 6 621 622 623 624
Path 7 721 722 723 724
Path 8 821 822 823 824
Path 9 921 922 923 924
Path 10 1021 1022 1023 1024
NOTE
1 The CNC can control a maximum of four axes per path.
2 When the maximum number of axes that can be controlled per path is four, the
CNC can control a maximum of eight axes for all the paths from path 1 to path
10.
- 820 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 To use the Tool Management Function Tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
3 To specify except zero as an exchange type, set CNC parameter
TEA(No.13208#4) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
8
(2 bytes)
+16 Pot number 1
(2 bytes)
- 821 -
5.WINDOW FUNCTIONS B-64513EN/03
(2 bytes)
+20 Pot number 2
+21 (2 bytes)
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 The data number is invalid.
4 The exchange type is invalid.
5 (See the following detailed completion codes.)
6 The necessary option is not found.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
8
(Same as input data)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Magazine number 1
(2 bytes)
(Same as input data)
+16 Pot number 1
(2 bytes)
(Same as input data)
+18 Magazine number 2
(2 bytes)
(Same as input data)
+20 Pot number 2
(2 bytes)
+21 (Same as input data)
- 822 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
In case that all magazine is specified to searching object, the search of free pot is performed in the
specified magazine. If free pot cannot be searched in the specified magazine, the search object is sifted to
the next magazine
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Magazine number
+8 (Data attribute M)
Search direction
- 823 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
4 The specified search direction is invalid.
6 The necessary option is not found.
8, 13 There is no free pot.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
Search direction
(Same as input data)
+10 (Data number N2)
Pot number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Cartridge number
(2 bytes)
+16 Pot number
+17 (2 bytes)
When the search direction is not specified and free pots are found to the same distance in both forward
and backward directions, the pot found in the forward directions can be selected.
- 824 -
B-64513EN/03 5.WINDOW FUNCTIONS
When using the function "Tool management function for oversize tools", you can also register the item
"Tool geometry number" to the tool management data. If you will register the tool management data that
causes an interference with another tool or magazine frame, completion code 5 and detailed completion
code 27 is returned.
When using the function "Tool management function tool storage position reservation", you can also
register the items "Origin magazine number" and "Origin pot number" to the tool management data. If
specified invalid magazine number and pot number as an origin position, completion code 5 and detailed
completion code 17 or 18 is returned and data aren’t registered. And registered origin position was
specified, completion code 5 and detailed completion code 104 is returned and data isn’t registered.
When using the function “Tool management function for multi-edge tools”, you can register the multi-
edge tools by setting 1-5 to the item “Number of edge positions”. If value specified to the number of edge
positions is other than 0-5, completion code 5 and detailed completion code 19 is returned. The multi-
edge tools can be registered up to 100. If 100 multi-edge tools have already been registered, completion
code 5 and detailed completion code 94 is returned.
When using the function "Tool management function multi-edge tools support", you can also register the
items "Edge group number" and "Edge number" to the tool management data using this Window function.
If you will register the tool management data that causes inconsistency such as duplication of an edge
number on an edge group, completion code 5 and detailed completion code 29 is returned.
- 825 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 The data length differs depending on whether the "Tool management function
customized data extension (5 to 20)" or "Tool management function customized
data extension (5 to 40)" option is equipped or not.
3 To use the Tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
4 To use the Tool management function for oversize tools, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TOT(No.13210#0) to 1.
5 Tool management function has two functions concerning the multi-edge tool,
which are “Tool management function for multi-edge tools” and “Tool
management function multi-edge tools support”. And, the usable items are
different respectively.
1) Tool management function for multi-edge tools
When “Tool management function for multi-edge tools” is used, the following
item is enabled.
- Number of edge positions
To use the “Tool management function for multi-edge tools”, the option of
"Tool management function for multi-edge tools" is necessary.
Moreover, set the parameter MEB (No.13210#3) to 1.
2) Tool management function multi-edge tools support
When “Tool management function multi-edge tools support” is used, the
following items are enabled.
- Edge group number
- Edge number
To use the Tool management function multi-edge tools support, set the
parameter TME (No.13201#3) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
76, 140, 220
- 826 -
B-64513EN/03 5.WINDOW FUNCTIONS
+10 (Data number N2)
Pot number or
tool management data number
+12 (Detailed Completion code)
-
(Need not to be set)
+14 Tool type number
(4 bytes)
+60 Origin magazine number * When the function "Tool management function
(2 bytes) tool storage position reservation" is enabled.
+62 Origin pot number * When the function "Tool management function
(2 bytes) tool storage position reservation" is enabled.
- 827 -
5.WINDOW FUNCTIONS B-64513EN/03
+64 Number of edge positions * When the function "Tool management function
(1 byte) multi-edge tools support" is enabled.
~ ~
+86 Customized data 4 This item is end of data when the data length is 76.
(4 bytes)
+89
~ ~
+150 Customized data 20 This item is end of data when the data length is
(4 bytes) 140.
+153
~ ~
+230 Customized data 40 This item is end of data when the data length is
(4 bytes) 220.
+233
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
5 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
8 There is no free area.
13 There is no free pot.
When the completion code is 3, the detailed completion code is one of the following values:
21 The magazine number is invalid.
22 The pot number is invalid.
23 The tool management data number is invalid.
When the completion code is 5, the detailed completion code is one of the following values:
1 The specified tool type number is invalid.
2 The specified tool life counter is invalid.
3 The specified maximum tool life is invalid.
4 The specified notice tool life is invalid.
5 The specified tool life status is invalid.
7 The specified tool information is invalid.
8 The specified tool length compensation number (H) is invalid.
9 The specified cutter compensation number (D) is invalid.
10 The specified spindle speed (S) is invalid.
11 The specified cutting feedrate (F) is invalid.
12 The specified tool geometric compensation number (G) is invalid.
13 The specified tool wear compensation number (W) is invalid.
14 The specified tool geometry number (GNO) is invalid
15 The specified edge group number is invalid.
16 The specified edge number is invalid.
17 Origin magazine number is invalid.
- 828 -
B-64513EN/03 5.WINDOW FUNCTIONS
18 Origin pot number is invalid.
19 Number of edge positions is invalid.
27 Interference with another tool or magazine frame
29 Illegal multi edge tool data.
31 to 70 The specified customized data (1 to 40) is invalid.
94 Multi-edge tools have been full already.
104 Origin overlaps
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 829 -
5.WINDOW FUNCTIONS B-64513EN/03
When using the function "Tool management function for oversize tools", you can also register the item
"Tool geometry number" to the tool management data. If you will register the tool management data that
causes an interference with another tool or magazine frame, completion code 5 and detailed completion
code 27 is returned.
When using the function "Tool management function tool storage position reservation", you can also
register the items "Origin magazine number" and "Origin pot number" to the tool management data. If
specified invalid magazine number and pot number as an origin position, completion code 5 and detailed
completion code 17 or 18 is returned and data aren’t registered. And registered origin position was
specified, completion code 5 and detailed completion code 104 is returned and data isn’t registered.
When using the function “Tool management function for multi-edge tools”, you can register the multi-
edge tools by setting 1-5 to the item “Number of edge positions”. If value specified to the number of edge
positions is other than 0-5, completion code 5 and detailed completion code 19 is returned. . The multi-
edge tools can be registered up to 100. If 100 multi-edge tools have already been registered, completion
code 5 and detailed completion code 94 is returned.
When using the function "Tool management function multi-edge tools support", you can also register the
items "Edge group number" and "Edge number" to the tool management data using this Window function.
If you will register the tool management data that causes inconsistency such as duplication of an edge
number on an edge group, completion code 5 and detailed completion code 29 is returned.
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
- 830 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 The data length differs depending on whether the "Tool management function
customized data extension (5 to 20)" or "Tool management function customized
data extension (5 to 40)" option is equipped or not.
3 To use the Tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
4 To use the Tool management function for oversize tools, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TOT(No.13210#0) to 1.
5 Tool management function has two functions concerning the multi-edge tool,
which are “Tool management function for multi-edge tools” and “Tool
management function multi-edge tools support”. And, the usable items are
different respectively.
1) Tool management function for multi-edge tools
When “Tool management function for multi-edge tools” is used, the following
item is enabled.
- Number of edge positions
To use the “Tool management function for multi-edge tools”, the option of
"Tool management function for multi-edge tools" is necessary.
Moreover, set the parameter MEB (No.13210#3) to 1.
2) Tool management function multi-edge tools support
When “Tool management function multi-edge tools support” is used, the
following items are enabled.
- Edge group number
- Edge number
To use the Tool management function multi-edge tools support, set the
parameter TME (No.13201#3) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
76, 140, 220
- 831 -
5.WINDOW FUNCTIONS B-64513EN/03
+60 Origin magazine number * When the function "Tool management function
(2 bytes) tool storage position reservation " is enabled.
+62 Origin pot number * When the function "Tool management function
(2 bytes) tool storage position reservation " is enabled.
- 832 -
B-64513EN/03 5.WINDOW FUNCTIONS
+64 Number of edge positions * When the function " Tool management function
(1 byte) for multi-edge tools" is enabled.
~ ~
+86 Customized data 4 This item is end of data when the data length is 76.
(4 bytes)
+89
~ ~
+150 Customized data 20 This item is end of data when the data length is
(4 bytes) 140.
+153
~ ~
+230 Customized data 40 This item is end of data when the data length is
(4 bytes) 220.
+233
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
5 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
When the completion code is 3, the detailed completion code is one of the following values:
21 The magazine number is invalid.
22 The pot number is invalid.
23 The tool management data number is invalid.
When the completion code is 5, the detailed completion code is one of the following values:
1 The specified tool type number is invalid.
2 The specified tool life counter is invalid.
3 The specified maximum tool life is invalid.
4 The specified notice tool life is invalid.
5 The specified tool life status is invalid.
7 The specified tool information is invalid.
8 The specified tool length compensation number (H) is invalid.
9 The specified cutter compensation number (D) is invalid.
10 The specified spindle speed (S) is invalid.
11 The specified cutting feedrate (F) is invalid.
12 The specified tool geometric compensation number (G) is invalid.
13 The specified tool wear compensation number (W) is invalid.
14 The specified tool geometry number (GNO) is invalid
15 The specified edge group number is invalid.
16 The specified edge number is invalid.
17 Origin magazine number is invalid.
18 Origin pot number is invalid.
- 833 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 834 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 When the “Tool management function for multi-edge tools” is used, the tool
management data of the multi-edge tool can be deleted. In this time, the edge
data is deleted with the tool management data.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
0
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
- 835 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
0
(Same as input data)
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
Pot number or tool management
data number
(Same as input data)
+12 (Detailed completion code)
?
+13 (See above description)
- 836 -
B-64513EN/03 5.WINDOW FUNCTIONS
When using the function "Tool management function for oversize tools", you can also read the item "Tool
geometry number" from the tool management data.
When using the function "Tool management function tool storage position reservation", you can also read
the items "Origin magazine number" and "Origin pot number" from the tool management data.
When using the function “Tool management function for multi-edge tools”, you can also read the item
“Number of edge positions” from the tool management data.
When using the function "Tool management function multi-edge tools support", you can also read the
items "Edge group number" and "Edge number" from the tool management data using this Window
function.
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 Customized data 5 to 20 can be read when the "Tool management function
customized data extension (5 to 20)" option is equipped. Customized data 5 to
40 can be read when the "Tool management function customized data extension
(5 to 40)" option is equipped.
3 To use the Tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
4 To use the Tool management function for oversize tools, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TOT(No.13210#0) to 1.
5 Tool management function has two functions concerning the multi-edge tool,
which are “Tool management function for multi-edge tools” and “Tool
management function multi-edge tools support”. And, the usable items are
different respectively.
1) Tool management function for multi-edge tools
When “Tool management function for multi-edge tools” is used, the following
item is enabled.
- Number of edge positions
To use the “Tool management function for multi-edge tools”, the option of
"Tool management function for multi-edge tools" is necessary.
Moreover, set the parameter MEB (No.13210#3) to 1.
2) Tool management function multi-edge tools support
When “Tool management function multi-edge tools support” is used, the
following items are enabled.
- Edge group number
- Edge number
To use the Tool management function multi-edge tools support, set the
parameter TME (No.13201#3) to 1.
- 837 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) If you want to specify the tool management data
Magazine number number, set zero to this field.
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
When the completion code is 3, the detailed completion code is one of the following values:
21 The magazine number is invalid.
22 The pot number is invalid.
23 The tool management data number is invalid.
- 838 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
76, 140, 220
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
Pot number or tool management
data number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Tool type number
(4 bytes)
- 839 -
5.WINDOW FUNCTIONS B-64513EN/03
+56 Edge group number * When the function "Tool management function
(2 bytes) multi-edge tools support" is enabled.
+60 Origin magazine number * When the function "Tool management function
(2 bytes) tool storage position reservation" is enabled.
+62 Origin pot number * When the function "Tool management function
(2 bytes) tool storage position reservation " is enabled.
+64 Number of edge positions * When the function "Tool management function for
(1 byte) multi-edge tools" is enabled.
~ ~
+86 Customized data 4 This item is end of data when the data length is 76.
(4 bytes)
+89
~ ~
+150 Customized data 20 This item is end of data when the data length is
140.
+153 (4 bytes)
~ ~
+230 Customized data 40 This item is end of data when the data length is
(4 bytes) 220.
+233
- 840 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
Table 5.7.7 (a) Data, data type number and data area size
Data type Data
Data Remarks
number area size
1 Tool type number 4 bytes
2 Tool life counter 4 bytes
3 Maximum tool life 4 bytes
4 Notice tool life 4 bytes
5 Tool life status 1 byte
6 Customized data 0 1 byte
7 Tool information 2 bytes
8 Tool length compensation number 2 bytes * for milling or compound system
(H)
9 Cutter compensation number (D) 2 bytes * for milling or compound system
10 Spindle speed (S) 4 bytes
11 Cutting feedrate (F) 4 bytes
12 Tool geometric compensation 2 bytes * for lathe or compound system
number (G)
13 Tool wear compensation number 2 bytes * for lathe or compound system
(W)
14 Tool geometry number (GNO) 2 bytes When the function "Tool management function for
oversize tools" is enabled.
15 Edge group number 2 bytes When the function "Tool management function multi-
edge tools support" is enabled.
16 Edge number 2 bytes When the function "Tool management function multi-
edge tools support" is enabled.
17 Origin magazine number 2 bytes When the function "Tool management function tool
storage position reservation" is enabled.
18 Origin pot number 2 bytes When the function "Tool management function tool
storage position reservation" is enabled.
When the function "Tool management function for
19 Number of edge positions 1 byte
multi-edge tools" is enabled.
31 Customized data 1 4 bytes
~ ~ ~
34 Customized data 4 4 bytes
35 Customized data 5 4 bytes These data are available when the option "Tool
~ ~ ~ management function customized data extension (5
50 Customized data 20 4 bytes to 20)" or "Tool management function customized
data extension (5 to 40)" is equipped.
- 841 -
5.WINDOW FUNCTIONS B-64513EN/03
Table 5.7.7 (a) Data, data type number and data area size
Data type Data
Data Remarks
number area size
51 Customized data 21 4 bytes These data are available when the option "Tool
~ ~ ~ management function customized data extension (5
70 Customized data 40 4 bytes to 40)" is equipped.
100 Registering of origin magazine 0 byte - When the function " Tool Management Function
number and origin pot number Tool Return Function " is enabled.
101 Deleting of origin magazine number 0 byte - Data area is not used.
and origin pot number
When using the function "Tool management function for oversize tools", you can also register the item
"Tool geometry number" to the tool management data. If you register the tool management data that
causes an interference with another tool or magazine frame, completion code 5 and detailed completion
code 27 is returned.
Using the function “Tool management function tool storage position reservation”, you can also register
the item “Origin magazine number” to the tool management data by specifying 17 as data type number,
and you can also register the item “Origin pot number” to the tool management data by specifying 18 as
data type number. If specified invalid magazine number and pot number as an origin position, completion
code 5 and detailed completion code 17 or 18 is returned and data aren’t registered. And registered origin
position was specified, completion code 5 and detailed completion code 104 is returned and data isn’t
registered.
By specifying 100 as data type number, specified magazine number and pot number are registered to
“Origin magazine number” and “Origin pot number" of tool management data assigned there.
By specifying 101 as data type number, “Origin magazine number” and “Origin pot number" of tool
management data assigned to the pot specified magazine number and pot number are deleted.
When you specified 100 or 101 as data type number, you should specify the tool management data by
magazine number and pot number. When you specify 100 or 101 as data type number and specify -1 as
pot number, ”Origin magazine number” and “Origin pot number" of all tool management data in specified
magazine will be updated with current magazine and pot number, or deleted.
When you specify 100 or 101 as data type number and specify -1 as magazine number, “Origin magazine
number” and “Origin pot number" of tool management data registered on all magazine except one in the
main axis position or in the standby position are registered or deleted.
If you specify invalid magazine number and pot number as an origin position, or if the target is specified
by tool management data number, completion code 3 and detailed completion code 21 or 22 is returned
and no data is updated. And origin position to be registered is already occupied by other tool, completion
code 5 and detailed completion code 104 is returned and no data is updated.
When you specify -1 as magazine number or pot number if no tool management data is registered, the
completion code 9 "Free pot" is returned. If an error occurs while registering or deleting multiple origin
positions at once, origin positions of tool management data after the pot with the error will not be updated.
When using the function “Tool management function for multi-edge tools”, you can register the multi-
edge tools by specifying 19 as data type number and setting 1-5 to the item “Number of edge positions”.
If value specified to the number of edge positions is other than 0-5, completion code 5 and detailed
completion code 19 is returned. . The multi-edge tools can be registered up to 100. If 100 multi-edge tools
have already been registered, completion code 5 and detailed completion code 94 is returned.
When using the function "Tool management function multi-edge tools support", you can also register the
items "Edge group number" and "Edge number" to the tool management data using this Window function.
If you register the tool management data that causes inconsistency such as duplication of an edge number
on an edge group, completion code 5 and detailed completion code 29 is returned.
- 842 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 Customized data 5 to 20 can be read when the "Tool management function
customized data extension (5 to 20)" option is equipped. Customized data 5 to
40 can be read when the "Tool management function customized data extension
(5 to 40)" option is equipped.
3 To use the Tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
4 To use the Tool management function for oversize tools, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TOT(No.13210#0) to 1.
5 Tool management function has two functions concerning the multi-edge tool,
which are “Tool management function for multi-edge tools” and “Tool
management function multi-edge tools support”. And, the usable items are
different respectively.
1) Tool management function for multi-edge tools
When “Tool management function for multi-edge tools” is used, the following
item is enabled.
- Number of edge positions
To use the “Tool management function for multi-edge tools”, the option of
"Tool management function for multi-edge tools" is necessary.
Moreover, set the parameter MEB (No.13210#3) to 1.
2) Tool management function multi-edge tools support
When “Tool management function multi-edge tools support” is used, the
following items are enabled.
- Edge group number
- Edge number
To use the Tool management function multi-edge tools support, set the
parameter TME (No.13201#3) to 1.
CAUTION
When you specify 100 or 101 as data type number and specified -1 as magazine
number or pot number and too many tool management data will be registered or
deleted, the completion of the window instruction will take some time, a few
seconds in the worst case. In the meantime, other window instruction of low-
speed response does not work. And then, the execution of application using
FOCAS2 functions and C language executor application may be delayed.
Therefore, when updating or deleting many origin positions at once, you should
take special care for the delay of the other window instruction of low-speed
response, application using FOCAS2 and C language executor application.
- 843 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set the length of data that you want to write.
0, 1, 2, 4
+8 (Data attribute M)
Data type number
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
4 The specified data type is invalid.
5 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
When the completion code is 5, the detailed completion code is one of the following values:
1 The specified tool type number is invalid.
2 The specified tool life counter is invalid.
3 The specified maximum tool life is invalid.
4 The specified notice tool life is invalid.
5 The specified tool life status is invalid.
6 The specified customized data 0 is invalid.
7 The specified tool information is invalid.
8 The specified tool length compensation number (H) is invalid.
9 The specified cutter compensation number (D) is invalid.
10 The specified spindle speed (S) is invalid.
11 The specified cutting feedrate (F) is invalid.
12 The specified tool geometric compensation number (G) is invalid.
- 844 -
B-64513EN/03 5.WINDOW FUNCTIONS
13 The specified tool wear compensation number (W) is invalid.
14 The specified tool geometry number (GNO) is invalid
15 The specified edge group number is invalid.
16 The specified edge number is invalid.
17 Origin magazine number is invalid.
18 Origin pot number is invalid.
19 Number of edge positions is invalid.
27 Interference with another tool or magazine frame
29 Illegal multi edge tool data.
31 to 70 The specified customized data (1 to 40) is invalid.
94 Multi-edge tools have been full already.
104 Origin overlaps
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 845 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 When the “Tool management function for multi-edge tools” is used, the
customize data registered in the first edge is searched.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Customized data number
+8 (Data attribute M) Set lower 2 bytes of the customized data that you
Lower 2 bytes of the customized want to search.
data
+10 (Data number N2) Set higher 2 bytes of the customized data that you
Higher 2 bytes of the customized want to search.
data
+12 (Detailed Completion code)
-
(Need not to be set)
+14 (Data area)
(4 bytes)
+17 (Need not to be set)
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
6 The necessary option is not found.
- 846 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4 or 0
+6 (Data number N)
Customized data number
(Same as input data)
+8 (Data attribute M)
Lower 2 bytes of the customized
data
(Same as input data)
+10 (Data number N2)
Higher 2 bytes of the customized
data
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Magazine number
(2 bytes)
+16 Pot number
+17 (2 bytes)
- 847 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set 0 to this field.
0
+6 (Data number N)
Magazine number
- 848 -
B-64513EN/03 5.WINDOW FUNCTIONS
Completion codes
0 The processing has been executed normally.
3 (See the following Detailed completion codes.)
4 The specified shift direction is invalid.
6 The necessary option is not found.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
0
(Same as input data)
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
Shift direction
(Same as input data)
+10 (Data number N2)
Shift count
(Same as input data)
+12 (Detailed completion code)
?
+13 (See above description)
- 849 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management expansion
B" are necessary. Moreover, set CNC parameter TOT(No.13210#0) to 1.
In case that all magazine is specified to searching object, the search of free pot is performed in the
specified magazine. If free pot cannot be searched in the specified magazine, the search object is sifted to
the next magazine
- 850 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Magazine number
+8 (Data attribute M)
Search direction
Completion codes
0 The processing has been executed normally.
3 (See the following Detailed completion codes.)
4 The specified search direction is invalid.
6 The necessary option is not found.
8, 13 There is no free pot.
- 851 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
Search direction
(Same as input data)
+10 (Data number N2)
Pot number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 (Data number N3)
Tool geometry number
(Same as input data)
+16 Cartridge number
(2 bytes)
+18 Pot number
+19 (2 bytes)
When the search direction is not specified and free pots are found to the same distance in both forward
and backward directions, the pot found in the forward directions can be selected.
- 852 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary. Moreover, the option of "Tool
management expansion" or the option of "Tool management expansion" is
necessary.
2 When the “Tool management function for multi-edge tools” is used, the total tool
life data of the first edge is read. To read the total tool life data of second or
more, use the function code 442 “Reading total tool life data of edge”.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set the tool type number with signed binary format
Tool type number in 4bytes length.
+10 (Data attribute M) Set the life count type with signed binary format in
Life count type 2bytes length.
M=0: Count, 1: Time
+12 (Detailed Completion code)
-
(Need not to be set)
+14 (Data area)
(24 bytes)
+37 (Need not to be set)
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
4 The specified tool count type is invalid.
6 The necessary option is not found.
- 853 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
24
+6 (Data number N)
Tool type number
(Same as input data)
+10 (Data attribute M)
Life count type
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Tool type number This is the same as "N: Data number" which you
specify.
(4bytes)
+18 Total life counter The unit of this data is indicated by "+37: Life count
type".
(4bytes)
+22 Total remaining life The unit of this data is indicated by "+37: Life count
type".
(4bytes)
+26 Total maximum life The unit of this data is indicated by "+37: Life count
type".
(4bytes)
+30 Total notice life The unit of this data is indicated by "+37: Life count
type".
(4bytes)
+34 Tool count The tools, which have the specified tool type
number and tool life type, are counted.
(2bytes)
+36 Total life status 0: Not noticed, 1: Noticed
(1byte)
+37 Life count type 0: Count, 1: Time (second), 2: Time (millisecond)
(1byte)
- 854 -
B-64513EN/03 5.WINDOW FUNCTIONS
When using the function "Tool management function for oversize tools", you can also register the item
"Tool geometry number" to the tool management data. If you will register the tool management data that
causes an interference with another tool or magazine frame, completion code 5 and detailed completion
code 27 is returned.
When using the function "Tool management function tool storage position reservation", you can also
register the items "Origin magazine number" and "Origin pot number" to the tool management data. If
specified invalid magazine number and pot number as an origin position, completion code 5 and detailed
completion code 17 or 18 is returned and data aren’t registered. And registered origin position was
specified, completion code 5 and detailed completion code 104 is returned and data isn’t registered.
When using the function “Tool management function for multi-edge tools”, you can register the multi-
edge tools by setting 1-5 to the item “Number of edge positions”. If value specified to the number of edge
positions is other than 0-5, completion code 5 and detailed completion code 19 is returned. The multi-
edge tools can be registered up to 100. If 100 multi-edge tools have already been registered, completion
code 5 and detailed completion code 94 is returned.
When using the function "Tool management function multi-edge tools support ", you can also register the
items "Edge group number" and "Edge number" to the tool management data using this Window function.
If you will register the tool management data that causes inconsistency such as duplication of an edge
number on an edge group, completion code 5 and detailed completion code 29 is returned.
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
- 855 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 The data length differs depending on whether the "Tool management function
customized data extension (5 to 20)" or "Tool management function customized
data extension (5 to 40)" option is equipped or not.
3 To use the Tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
4 To use the Tool management function for oversize tools, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TOT(No.13210#0) to 1.
5 Tool management function has two functions concerning the multi-edge tool,
which are “Tool management function for multi-edge tools”” and “Tool
management function multi-edge tools support”. And, the usable items are
different respectively.
1) Tool management function for multi-edge tools”
When “Tool management function for multi-edge tools”” is used, the following
item is enabled.
- Number of edge positions
To use the “Tool management function for multi-edge tools”, the option of
"Tool management function for multi-edge tools” is necessary.
Moreover, set the parameter MEB (No.13210#3) to 1.
2) Tool management function multi-edge tools support
When “Tool management function multi-edge tools support” is used, the
following items are enabled.
- Edge group number
- Edge number
To use the Tool management function multi-edge tools support, set the
parameter TME (No.13201#3) to 1.
NOTE
When specifying '2' to the search kind number, the option of "Tool management
expansion B" is necessary and it is necessary to set a customize data number
that is used for the identifier to the CNC parameter No.13267.
- 856 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
84, 148, 228
+6 (Data number N)
Search kind number
+68 Origin magazine number * When the function "Tool management function
(2 bytes) tool storage position reservation" is enabled.
+70 Origin pot number * When the function "Tool management function
(2 bytes) tool storage position reservation" is enabled.
+72 Number of edge positions * When the function "Tool management function for
(1 byte) multi-edge tools" is enabled.
~ ~
+94 Customized data 4 This item is end of data when the data length is 84.
(4 bytes)
+97
~ ~
+158 Customized data 20 This item is end of data when the data length is
(4 bytes) 148.
+161
~ ~
+238 Customized data 40 This item is end of data when the data length is
(4 bytes) 228.
+241
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
5 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
- 858 -
B-64513EN/03 5.WINDOW FUNCTIONS
When the completion code is 3, the detailed completion code is one of the following values:
100 The specified Search kind number is invalid.
101 The specified Search data 1 is invalid.
102 The specified Search data 2 is invalid.
103 The specified tool is not found.
When the completion code is 5, the detailed completion code is one of the following values:
1 The specified tool type number is invalid.
2 The specified tool life counter is invalid.
3 The specified maximum tool life is invalid.
4 The specified notice tool life is invalid.
5 The specified tool life status is invalid.
7 The specified tool information is invalid.
8 The specified tool length compensation number (H) is invalid.
9 The specified cutter compensation number (D) is invalid.
10 The specified spindle speed (S) is invalid.
11 The specified cutting feedrate (F) is invalid.
12 The specified tool geometric compensation number (G) is invalid.
13 The specified tool wear compensation number (W) is invalid.
14 The specified tool geometry number (GNO) is invalid
15 The specified edge group number is invalid.
16 The specified edge number is invalid.
17 Origin magazine number is invalid.
18 Origin pot number is invalid.
19 Number of edge positions is invalid.
27 Interference with another tool or magazine frame
29 Illegal multi edge tool data.
31 to 70 The specified customized data (1 to 40) is invalid.
94 Multi-edge tools have been full already.
104 Origin overlaps
- 859 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 860 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 When specifying '2' to the search kind number, the option of "Tool management
expansion B" is necessary and it is necessary to set a customize data number
that is used for the identifier to the CNC parameter No.13267.
3 When the “Tool management function for multi-edge tools” is used, the tool
management data of the multi-edge tool can be deleted. In this time, the edge
data is deleted with the tool management data.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set 0 to this field.
0
+6 (Data number N)
Search kind number
(4 bytes)
+18 Search data 2
+21 (4 bytes)
- 861 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
0
(Same as input data)
+6 (Data number N)
Search kind number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Search data 1
(4 bytes)
(Same as input data)
+18 Search data 2
(4 bytes)
+21 (Same as input data)
- 862 -
B-64513EN/03 5.WINDOW FUNCTIONS
When using the function "Tool management function for oversize tools", you can also read the item "Tool
geometry number" from the tool management data.
When using the function "Tool management function tool storage position reservation", you can also read
the items "Origin magazine number" and "Origin pot number" from the tool management data.
When using the function “Tool management function for multi-edge tools”, you can also read the item
“Number of edge positions” from the tool management data.
When using the function " Tool management function multi-edge tools support ", you can also read the
item "Edge group number" and "Edge number" from the tool management data using this Window
function.
- 863 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 Customized data 5 to 20 can be read when the "Tool management function
customized data extension (5 to 20)" option is equipped. Customized data 5 to
40 can be read when the "Tool management function customized data extension
(5 to 40)" option is equipped.
3 To use the Tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
4 To use the Tool management function for oversize tools, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TOT(No.13210#0) to 1.
5 Tool management function has two functions concerning the multi-edge tool,
which are “Tool management function for multi-edge tools” and “Tool
management function multi-edge tools support”. And, the usable items are
different respectively.
1) Tool management function for multi-edge tools
When “Tool management function for multi-edge tools” is used, the following
item is enabled.
- Number of edge positions
To use the “Tool management function for multi-edge tools”, the option of
"Tool management function for multi-edge tools" is necessary.
Moreover, set the parameter MEB (No.13210#3) to 1.
2) Tool management function multi-edge tools support
When “Tool management function multi-edge tools support” is used, the
following items are enabled.
- Edge group number
- Edge number
To use the Tool management function multi-edge tools support, set the
parameter TME (No.13201#3) to 1.
NOTE
When specifying '2' to the search kind number, the option of "Tool management
expansion B" is necessary and it is necessary to set a customize data number
that is used for the identifier to the CNC parameter No.13267.
- 864 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Search kind number
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
When the completion code is 3, the detailed completion code is one of the following values:
100 The specified Search kind number is invalid.
101 The specified Search data 1 is invalid.
102 The specified Search data 2 is invalid.
103 The specified tool is not found.
- 865 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
84, 148, 228
+6 (Data number N)
Search kind number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Search data 1
(4 bytes)
(Same as input data)
+18 Search data 2
(4 bytes)
(Same as input data)
+22 Tool type number
(4 bytes)
- 866 -
B-64513EN/03 5.WINDOW FUNCTIONS
+56 Tool management data number or
Pot number
(2 bytes)
+58 Tool geometric compensation * for lathe or compound system
number G
(2 bytes)
+60 Tool wear compensation number * for lathe or compound system
W
(2 bytes)
+62 Tool geometry number GNO * When the function "Tool management function for
(2 bytes) oversize tools" is enabled.
+68 Origin magazine number * When the function "Tool management function
(2 bytes) tool storage position reservation" is enabled.
+70 Origin pot number * When the function "Tool management function
(2 bytes) tool storage position reservation" is enabled.
+72 Number of edge positions * When the function " Tool management function
(1 byte) for multi-edge tools" is enabled.
~ ~
+94 Customized data 4 This item is end of data when the data length is 84.
(4 bytes)
+97
~ ~
+158 Customized data 20 This item is end of data when the data length is
(4 bytes) 148.
+161
~ ~
+238 Customized data 40 This item is end of data when the data length is
(4 bytes) 228.
+241
- 867 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
Table 5.7.15 (a) Data, data type number and data area size
Data type Data
Data Remarks
number area size
1 Tool type number 4 bytes
2 Tool life counter 4 bytes
3 Maximum tool life 4 bytes
4 Notice tool life 4 bytes
5 Tool life status 1 byte
6 Customized data 0 1 byte
7 Tool information 2 bytes
8 Tool length compensation number 2 bytes * for milling or compound system
(H)
9 Cutter compensation number (D) 2 bytes * for milling or compound system
10 Spindle speed (S) 4 bytes
11 Cutting feedrate (F) 4 bytes
12 Tool geometric compensation 2 bytes * for lathe or compound system
number (G)
13 Tool wear compensation number 2 bytes * for lathe or compound system
(W)
14 Tool geometry number (GNO) 2 bytes When the function "Tool management function for
oversize tools" is enabled.
15 Edge group number 2 bytes When "Tool management function multi-edge tools
support" is enabled.
16 Edge number 2 bytes When "Tool management function multi-edge tools
support" is enabled.
17 Origin magazine number 2 bytes When the function "Tool management function tool
storage position reservation" is enabled.
18 Origin pot number 2 bytes When the function "Tool management function tool
storage position reservation" is enabled.
When "Tool management function for multi-edge
19 Number of edge positions 1 byte
tools “is enabled.
31 Customized data 1 4 bytes
~ ~ ~
34 Customized data 4 4 bytes
- 868 -
B-64513EN/03 5.WINDOW FUNCTIONS
When using the function "Tool management function for oversize tools", you can also register the item
"Tool geometry number" to the tool management data. If you register the tool management data that
causes an interference with another tool or magazine frame, completion code 5 and detailed completion
code 27 is returned.
Using the function “Tool management function tool storage position reservation”, you can also register
the item “Origin magazine number” to the tool management data by specifying 17 as data type number,
and you can also register the item “Origin pot number” to the tool management data by specifying 18 as
data type number. If specified invalid magazine number and pot number as an origin position, completion
code 5 and detailed completion code 17 or 18 is returned and data aren’t registered. And registered origin
position was specified, completion code 5 and detailed completion code 104 is returned and data isn’t
registered.
When you specify 100 or 101 as data type number, search kind number (described later) must be 0.
By specifying 100 as data type number, specified magazine number and pot number are registered to
“Origin magazine number” and “Origin pot number" of tool management data assigned there.
By specifying 101 as data type number, “Origin magazine number” and “Origin pot number" of tool
management data assigned to the pot specified magazine number and pot number are deleted.
When you specify 100 or 101 as data type number and specify -1 as pot number, ”Origin magazine
number” and “Origin pot number" of all tool management data in specified magazine will be updated
with current magazine and pot number, or deleted. When you specify 100 or 101 as data type number and
specify -1 as magazine number, “Origin magazine number” and “Origin pot number" of tool management
data registered on all magazine except one in the main axis position or in the standby position are
registered or deleted.
If you specify invalid magazine number and pot number as an origin position, completion code 3 and
detailed completion code 101 or 102 is returned and no data is updated. And origin position to be
registered is already occupied by other tool, completion code 5 and detailed completion code 104 is
returned and no data is updated.
When you specify -1 as magazine number or pot number if no tool management data is registered, the
completion code 9 "Free pot" is returned. If an error occurs while registering or deleting multiple origin
positions at once, origin positions of tool management data after the pot with the error will not be updated.
When you specify 100 or 101 as data type number and specify any number except 0 as search kind
number, completion code 3 and detailed completion code 100 is returned and no data is registered.
When using the function “Tool management function for multi-edge tools”, you can register the multi-
edge tools by specifying 19 as data type number and setting 1-5 to the item “Number of edge positions”.
If value specified to the number of edge positions is other than 0-5, completion code 5 and detailed
completion code 19 is returned. The multi-edge tools can be registered up to 100. If 100 multi-edge tools
have already been registered, completion code 5 and detailed completion code 94 is returned.
When using the function "Tool management function multi-edge tools support ", you can also register the
item "Edge group number" and "Edge number" to the tool management data using this Window function.
- 869 -
5.WINDOW FUNCTIONS B-64513EN/03
If you register the tool management data that causes inconsistency such as duplication of an edge number
on an edge group, completion code 5 and detailed completion code 29 is returned.
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 Customized data 5 to 20 can be read when the "Tool management function
customized data extension (5 to 20)" option is equipped. Customized data 5 to
40 can be read when the "Tool management function customized data extension
(5 to 40)" option is equipped.
3 To use the Tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
4 To use the Tool management function for oversize tools, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TOT(No.13210#0) to 1.
5 Tool management function has two functions concerning the multi-edge tool,
which are “Tool management function for multi-edge tools” and “Tool
management function multi-edge tools support”. And, the usable items are
different respectively.
1) Tool management function for multi-edge tools
When “Tool management function multi-edge tools support” is used, the
following item is enabled.
- Number of edge positions
To use the “Tool management function for multi-edge tools”, the option of
"Tool management function for multi-edge tools" is necessary.
Moreover, set the parameter MEB (No.13210#3) to 1.
2) Tool management function multi-edge tools support
When “Tool management function multi-edge tools support” is used, the
following items are enabled.
- Edge group number
- Edge number
To use the Tool management function multi-edge tools support, set the
parameter TME (No.13201#3) to 1.
CAUTION
When you specify 100 or 101 as data type number and specified -1 as magazine
number or pot number and too many tool management data will be registered or
deleted, the completion of the window instruction will take some time, a few
seconds in the worst case. On the all times, other window instruction of low-
speed response does not work. And then, the execution of application using
FOCAS2 functions and C language executor application may be delayed.
Therefore, when updating or deleting a lot of data at once, you should take
special care for the delay of the other window instruction of low-speed response,
application using FOCAS2 and C language executor application.
- 870 -
B-64513EN/03 5.WINDOW FUNCTIONS
(a) Search kind number and Search data
You should set the search kind number that determines the kind of data to search.
Search kind number Search data 1 Search data 2
0 Magazine number Pot number
1 Tool management data number -
2 Tool kind number Identifier
NOTE
When specifying '2' to the search kind number, the option of "Tool management
expansion B" is necessary and it is necessary to set a customize data number
that is used for the identifier to the CNC parameter No.13267.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set the length of data that you want to write.
0, 1, 2, 4
+6 (Data number N)
Search kind number
+8 (Data attribute M)
Data type number
+22 (Data area) Set the data that you want to write. The size of the
(0, 1, 2, 4 bytes) required data area differs depending on the data
+n type.
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
4 The specified data type is invalid.
5 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
9 Free pot.
- 871 -
5.WINDOW FUNCTIONS B-64513EN/03
When the completion code is 3, the detailed completion code is one of the following values:
100 The specified Search kind number is invalid.
101 The specified Search data 1 is invalid.
102 The specified Search data 2 is invalid.
103 The specified tool is not found.
When the completion code is 5, the detailed completion code is one of the following values:
1 The specified tool type number is invalid.
2 The specified tool life counter is invalid.
3 The specified maximum tool life is invalid.
4 The specified notice tool life is invalid.
5 The specified tool life status is invalid.
6 The specified customized data 0 is invalid.
7 The specified tool information is invalid.
8 The specified tool length compensation number (H) is invalid.
9 The specified cutter compensation number (D) is invalid.
10 The specified spindle speed (S) is invalid.
11 The specified cutting feedrate (F) is invalid.
12 The specified tool geometric compensation number (G) is invalid.
13 The specified tool wear compensation number (W) is invalid.
14 The specified tool geometry number (GNO) is invalid
15 The specified edge group number is invalid.
16 The specified edge number is invalid.
17 Origin magazine number is invalid.
18 Origin pot number is invalid.
19 Number of edge positions is invalid.
27 Interference with another tool or magazine frame
29 Illegal multi edge tool data.
31 to 70 The specified customized data (1 to 40) is invalid.
94 Multi-edge tools have been full already.
104 Origin overlaps
- 872 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 873 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management expansion
B" are necessary. Moreover, set CNC parameter TMP(No.13210#1) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
24
+6 (Data number N)
Magazine number
(1 byte)
+15 (Reserved) Set 0 to this field.
0
(3 bytes)
+18 (unused) Set 0 to this field.
0
(4 bytes)
+22 Customize data 1
(4 bytes)
+26 Customize data 2
(4 bytes)
+30 Customize data 3
(4 bytes)
- 874 -
B-64513EN/03 5.WINDOW FUNCTIONS
+34 Customize data 4
+37 (4 bytes)
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
5 (See the following detailed completion codes.)
6 The necessary option is not found.
When the completion code is 5, the detailed completion code is one of the following values:
1 The specified magazine number is invalid.
11 to 14 The specified customized data (1 to 4) is invalid.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
24
(Same as input data)
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
~ ~
+34 Customized data 4
(4 bytes)
+37 (Same as input data)
- 875 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management expansion
B" are necessary. Moreover, set CNC parameter TMP(No.13210#1) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Magazine number
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
6 The necessary option is not found.
- 876 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
24
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Magazine information
(1 byte)
+15 (Reserved)
(3 bytes)
+18 Line of magazine
(2 bytes)
+20 Row of magazine
(2 bytes)
+22 Customize data 1
(4 bytes)
+26 Customize data 2
(4 bytes)
+30 Customize data 3
(4 bytes)
+34 Customize data 4
+37 (4 bytes)
- 877 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management expansion
B" are necessary. Moreover, set CNC parameter TMP(No.13210#1) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
48
+6 (Data number N)
Magazine number
(2 bytes)
+18 Pot information 1
(1 byte)
+19 Pot information 2
(1 byte)
+20 (Reserved) Set 0 to this field.
0
(2 bytes)
+22 Customize data 1
(4 bytes)
~
- 878 -
B-64513EN/03 5.WINDOW FUNCTIONS
+58 Customize data 10
+61 (4 bytes)
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
4 The specified data type is invalid.
5 (See the following detailed completion codes.)
6 The necessary option is not found.
When the completion code is 5, the detailed completion code is one of the following values:
1 The specified tool management data number is invalid.
2 The specified pot type is invalid.
3 The specified pot information 1 is invalid.
4 The specified pot information 2 is invalid.
11 to 20 The specified customized data (1 to 10) is invalid.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
48
(Same as input data)
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
Data type
(Same as input data)
+10 (Data number N2)
Pot number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
~ ~
+58 Customized data 10
(4 bytes)
+61 (Same as input data)
- 879 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management expansion
B" are necessary. Moreover, set CNC parameter TMP(No.13210#1) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Magazine number
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
6 The necessary option is not found.
- 880 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
48
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
Pot number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Tool management data number
(2 bytes)
+16 Pot type
(2 bytes)
+18 Pot information 1
(1 byte)
+19 Pot information 2
(1 byte)
+20 (Reserved)
(2 bytes)
+22 Customize data 1
(4 bytes)
~ ~
+58 Customize data 10
+61 (4 bytes)
- 881 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
NOTE
1 When specifying '1' to the search kind number, the option of "Tool management
expansion B" is necessary. Moreover, set CNC parameter TOT(No.13210#0) to
1.
2 When specifying '2’ to ‘16' to the search kind number, the option of "Tool
management expansion B" is necessary. Moreover, set CNC parameter
TMP(No.13210#1) to 1.
In case that “Direction designation” is “Not specified”, nearest free pot from the specified pot is selected.
- 882 -
B-64513EN/03 5.WINDOW FUNCTIONS
In case that all magazine is specified to searching object, the search of free pot is performed in the
specified magazine. If free pot cannot be searched in the specified magazine, the search object is sifted to
the next magazine
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N)
Magazine number
+8 (Data attribute M)
Search direction
(2 bytes)
+16 (Reserved) Set 0 to this field.
0
(2 bytes)
+18 Search data
(4 bytes)
+22 (Reserved) Set 0 to this field.
0
(12 bytes)
+34 (Data area)
(4 bytes)
+37 (Need not to be set)
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
4 The specified search direction is invalid.
6 The necessary option is not found.
13 There is no free pot.
Detailed completion codes
The detailed completion code is always 0 when the completion code is other than 3.
When the completion code is 3, the detailed completion code is one of the following values:
21 The magazine number is invalid.
22 The pot number is invalid.
100 The search kind number is invalid.
101 The search data is invalid.
- 883 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
4
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
Search direction
(Same as input data)
+10 (Data number N2)
Pot number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Search kind number
(2 bytes)
(Same as input data)
+16 (Reserved)
0
(Same as input data)
+18 Search data
(4 bytes)
(Same as input data)
+22 (Reserved)
0
(Same as input data)
+34 Magazine number
(2 bytes)
+36 Pot number
+37 (2 bytes)
The search direction is not specified and the free pot is found to the same distance of forward and
backward, the pot that is found in forward direction is priority.
- 884 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of “Tool management expansion
B” are necessary. Moreover, set CNC parameter TOT(No.13210#0) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) You should specify the tool geometry data number.
Tool geometry data number N = 1 to 20
Completion codes
0 Completed successfully
1 Not supported
3 The tool geometry data number is invalid.
6 No option
- 885 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
5
(2bytes)
+6 (Data number N)
Tool geometry data number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 The number of occupation pot Signed binary format in 1 byte length
(left side) 0 to 4
(1byte)
+15 The number of occupation pot Signed binary format in 1 byte length
(right side) 0 to 4
(1byte)
+16 The number of occupation pot Signed binary format in 1 byte length
(upper side) 0 to 4
(1byte)
+17 The number of occupation pot Signed binary format in 1 byte length
(lower side) 0 to 4
(1byte)
+18 Geometry 0: Geometry A
1: Geometry B
(1byte)
- 886 -
B-64513EN/03 5.WINDOW FUNCTIONS
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
To use this function, the option of “Tool pair for tool management function: 64,
240 or 1000 pairs” and the option of “Tool management expansion B” are
necessary. Moreover, set CNC parameter TOT(No.13210#0) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
5
(2bytes)
+6 (Data number N) You should specify the tool geometry data number.
Tool geometry data number N = 1 to 20
- 887 -
5.WINDOW FUNCTIONS B-64513EN/03
Completion codes
0 Completed successfully
1 Not supported
3 The tool geometry data number is invalid.
5 (See the following detailed completion codes.)
6 No option
7 The tool is stored in a pot.
Detail Completion codes
This code is 0 except completion code is 5.
When completion code is 5
1 The left side occupation pot number is invalid.
You should set the number 0 to 4.
2 The right side occupation pot number is invalid.
You should set the number 0 to 4.
3 The upper side occupation pot number is invalid.
You should set the number 0 to 4.
4 The lower side occupation pot number is invalid.
You should set the number 0 to 4.
5 The geometry data is invalid.
You should set the number 0(Geometry A) or 1(Geometry B).
Output data structure
+2 (Completion code)
?
(See above description)
+4 (Data length L)
5
(Same as input data)
+6 (Data number N)
Tool geometry data number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 The number of occupation pot Signed binary format in 1 byte length
(left side) 0 to 4
(Same as input data)
+15 The number of occupation pot Signed binary format in 1 byte length
(right side) 0 to 4
(Same as input data)
+16 The number of occupation pot Signed binary format in 1 byte length
(upper side) 0 to 4
(Same as input data)
+17 The number of occupation pot Signed binary format in 1 byte length
(lower side) 0 to 4
(Same as input data)
+18 Geometry 0: Geometry A
1: Geometry B
(Same as input data)
- 888 -
B-64513EN/03 5.WINDOW FUNCTIONS
When Tool management function tool storage position reservation is valid, an empty pot or the origin
position registered into the tool which moves can be specified for the moving destination.
Moreover, when moving the tool by which the origin position is registered, the following data is changed
according to the specification of the source and the destination.
• When the tool is moved to other magazine or pot from the pot of the origin position registered into
the tool, the 2nd bit of the pot information 1 on the pot property of the origin position is set to 1.
• When the tool is returned to the origin position from magazine or pot other than the origin position
registered into the tool, the 2nd bit of the pot information 1 on the pot property of the origin position
is set to 0.
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary.
2 To use the tool management function tool storage position reservation, the
option of "Tool management expansion B" is necessary. Moreover, set CNC
parameter TMP(No.13210#1) to 1 and TRF(No.13201#5) to 1.
- 889 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
8
(2bytes)
+6 (Data number N) Set 0 to this field.
0
(2bytes)
+8 (Data attribute M) Set 0 to this field.
0
(2bytes)
+10 (Data number N2) Set 0 to this field.
0
(2bytes)
+12 (Detailed Completion code)
-
(Need not to be set)
+14 Magazine number of source
(2bytes)
+16 Pot number of source When you specify the spindle position or the
waiting position as the magazine number of the
(2bytes) source, set 0 to this field.
+18 Magazine number of destination
(2bytes)
+20 Pot number of destination When you specify the spindle position or the
waiting position as the magazine number of the
+21 (2bytes) destination, set 0 to this field.
Completion codes
0 The processing has been executed normally.
1 Not supported
5 (See the following detailed completion codes.)
6 The necessary option is not found.
7 The area is protected.
13 There is no free pot.
When the completion code is 5, the detailed completion code is one of the following values:
1 Magazine number of source is invalid.
2 Pot number of source is invalid.
3 Tool is not found in the source magazine or pot.
4 Magazine number of destination is invalid.
5 Pot number of destination is invalid.
6 Tool is not found in the destination magazine or pot.
- 890 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
8
(Same as input data)
+6 (Data number N)
0
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
0
(Same as input data)
+12 (Detailed Completion code)
?
(See above description)
+14 Magazine number of source
(2bytes)
(Same as input data)
+16 Pot number of source
(2bytes)
(Same as input data)
+18 Magazine number of destination
(2bytes)
(Same as input data)
+20 Pot number of destination
(2bytes)
+21 (Same as input data)
- 891 -
5.WINDOW FUNCTIONS B-64513EN/03
NOTE
1 To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” is necessary. Moreover set CNC parameter
FNS(No.13210#7) to 1.
2 To use the edge group number, set the parameter TME (No.13201#3) to 1.
+2 (Completion code)
-
(Need not be set)
+4 (Data length L)
-
(Need not be set)
+6 (Data number N) Set 0 to this field.
0
Completion code
0 The processing has been executed normally.
6 The necessary option is not found.
NOTE
Completion code is 0 when the option of "Tool management function" (64, 240 or
1000 pairs) is set and CNC parameter FNS(No.13210 #7) is 0.
- 892 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
?
(See above description)
+4 (Data length L)
16
+6 (Data number N)
0
+8 (Data attribute M)
0
NOTE
1 When free numbers is not effective, free numbers "-1" is acquired.
2 When correspondence data is not effective, "-2" is acquired.
3 When CNC parameter No.13210#7 is 0, "-2" is acquired at all data area.
4 When the “Tool management function for multi-edge tools” is enabled, an edge
group number is not used. Therefore, the free multi-edge group number is “-2”.
- 893 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management function for
multi-edge tools" are necessary. Moreover, set the parameter MEB
(No.13210#3) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
48
- 894 -
B-64513EN/03 5.WINDOW FUNCTIONS
+26 Maximum tool life
(4 bytes)
~ ~
+66 Customized data 4
(4 bytes)
+69
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
5 (See the following detailed completion codes.)
6 The necessary option or parameter is not found.
7 The area is protected.
9 Free pot.
When the completion code is 3, the detailed completion code is one of the following values:
21 The magazine number is invalid.
22 The pot number is invalid.
23 The tool management data number is invalid.
96 The edge position is invalid.
- 895 -
5.WINDOW FUNCTIONS B-64513EN/03
When the completion code is 5, the detailed completion code is one of the following values:
2 The specified tool life counter is invalid.
3 The specified maximum tool life is invalid.
4 The specified notice tool life is invalid.
5 The specified tool life status is invalid.
8 The specified tool length compensation number (H) is invalid.
9 The specified cutter compensation number (D) is invalid.
10 The specified spindle speed (S) is invalid.
11 The specified cutting feedrate (F) is invalid.
12 The specified tool geometric compensation number (G) is invalid.
13 The specified tool wear compensation number (W) is invalid.
31 to 34 The specified customized data (1 to 4) is invalid.
95 The tool except a multi-edge tool is specified.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
48
(Same as input data)
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
Pot number or tool management
data number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Edge position
(4 bytes)
(Same as input data)
+18 Written edge position The same value as the edge position set to +14 is
(4 bytes) read. However, when 0 is specified, the edge
position stored in the multi-edge tool is read.
+22 Tool life counter
(4 bytes)
(Same as input data)
+26 Maximum tool life
(4 bytes)
(Same as input data)
~
+66 Customized data 4
(4 bytes)
+69 (Same as input data)
- 896 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management function for
multi-edge tools" are necessary. Moreover, set the parameter MEB
(No.13210#3) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
5 (See the following detailed completion codes.)
6 The necessary option or parameter is not found.
7 The area is protected.
9 Free pot.
- 897 -
5.WINDOW FUNCTIONS B-64513EN/03
When the completion code is 3, the detailed completion code is one of the following values:
21 The magazine number is invalid.
22 The pot number is invalid.
23 The tool management data number is invalid.
96 The edge position is invalid.
When the completion code is 5, the detailed completion code is one of the following values:
95 The tool except a multi-edge tool is specified.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
48
(Same as input data)
+6 (Data number N)
Magazine number
(Same as input data)
+8 (Data attribute M)
0
(Same as input data)
+10 (Data number N2)
Pot number or tool management
data number
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Edge position
(4 bytes)
(Same as input data)
+18 Read edge position The same value as the edge position set to +14 is
(4 bytes) read. However, when 0 is specified, the edge
position stored in the multi-edge tool is read.
+22 Tool life counter
(4 bytes)
+36 (unused)
0
(2 bytes)
+38 Tool length compensation number * for milling or compound system
H
(2 bytes)
- 898 -
B-64513EN/03 5.WINDOW FUNCTIONS
+40 Cutter compensation number * for milling or compound system
D
(2 bytes)
+42 Spindle speed
S
(4 bytes)
+46 Cutting feedrate
F
(4 bytes)
+50 Tool geometric compensation * for lathe or compound system
number G
(2 bytes)
+52 Tool wear compensation number * for lathe or compound system
W
(2 bytes)
+54 Customized data 1
(4 bytes)
~ ~
+66 Customized data 4
(4 bytes)
+69
- 899 -
5.WINDOW FUNCTIONS B-64513EN/03
WARNING
When you write some NC data using both this instruction in ladder program and
other applications, take care that you do not write to the same data area.
If some values are written to the same data area by two or more applications
including ladder program, unexpected value may be written. In this case, it may
cause an unexpected machine behavior and also tools, work pieces, and
machines may be damaged. As for details, refer to “SAFETY PRECAUTIONS”.
Table 5.7.27 (a) Data, data type number and data area size
Data type
Data Data area size Remarks
number
2 Tool life counter 4 bytes
3 Maximum tool life 4 bytes
4 Notice tool life 4 bytes
5 Tool life status 1 byte
6 Customized data 0 1 byte
Tool length compensation * for milling or compound system
8 2 bytes
number (H)
Cutter compensation * for milling or compound system
9 2 bytes
number (D)
10 Spindle speed (S) 4 bytes
11 Cutting feedrate (F) 4 bytes
Tool geometric * for lathe or compound system
12 2 bytes
compensation number (G)
Tool wear compensation * for lathe or compound system
13 2 bytes
number (W)
31 Customized data 1 4 bytes
~ ~ ~
34 Customized data 4 4 bytes
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management function for
multi-edge tools" are necessary. Moreover, set the parameter MEB
(No.13210#3) to 1.
- 900 -
B-64513EN/03 5.WINDOW FUNCTIONS
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L) Set the length of data that you want to write.
1, 2, 4
+8 (Data attribute M)
Data type number
Completion codes
0 The processing has been executed normally.
2 The data length is invalid.
3 (See the following detailed completion codes.)
4 The specified data type is invalid.
5 (See the following detailed completion codes.)
6 The necessary option or parameter is not found.
7 The area is protected.
9 Free pot.
When the completion code is 3, the detailed completion code is one of the following values:
21 The magazine number is invalid.
22 The pot number is invalid.
23 The tool management data number is invalid.
96 The edge position is invalid.
When the completion code is 5, the detailed completion code is one of the following values:
2 The specified tool life counter is invalid.
3 The specified maximum tool life is invalid.
4 The specified notice tool life is invalid.
5 The specified tool life status is invalid.
6 The specified customized data 0 is invalid.
- 901 -
5.WINDOW FUNCTIONS B-64513EN/03
+2 (Completion code)
?
(See above description)
+4 (Data length L)
- 902 -
B-64513EN/03 5.WINDOW FUNCTIONS
NOTE
To use this window function, the option of “Tool pair for tool management
function: 64, 240 or 1000 pairs” and the option of "Tool management function for
multi-edge tools" are necessary. Moreover, set the parameter MEB
(No.13210#3) to 1.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) Set the tool type number with signed binary format
Tool type number in 4bytes length.
+10 (Data attribute M) Set the life count type with signed binary format in
Life count type 2bytes length.
M=0: Count, 1: Time
+12 (Detailed Completion code)
-
(Need not to be set)
+14 Edge position
(4 bytes)
Completion codes
0 The processing has been executed normally.
3 (See the following detailed completion codes.)
4 The specified tool count type is invalid.
3 (See the following detailed completion codes.)
6 The necessary option or parameter is not found.
- 903 -
5.WINDOW FUNCTIONS B-64513EN/03
When the completion code is 3, the detailed completion code is one of the following values:
1 The tool type number is invalid. (Except for 1 through 99999999)
28 No specified tool type number
96 The edge position is invalid.
When the completion code is 5, the detailed completion code is one of the following values:
95 The tool except a multi-edge tool is specified.
+2 (Completion code)
?
(See above description)
+4 (Data length L)
24
+6 (Data number N)
Tool type number
(Same as input data)
+10 (Data attribute M)
Life count type
(Same as input data)
+12 (Detailed completion code)
?
(See above description)
+14 Edge position
(4 bytes)
(Same as input data)
+18 (Reserved)
0
(Same as input data)
+22 Tool type number This is the same as "N: Data number" which you
specify.
(4bytes)
+26 Total life counter The unit of this data is indicated by "+45: Life count
type".
(4bytes)
+30 Total remaining life The unit of this data is indicated by "+45: Life count
type".
(4bytes)
+34 Total maximum life The unit of this data is indicated by "+45: Life count
type".
(4bytes)
+38 Total notice life The unit of this data is indicated by "+45: Life count
type".
(4bytes)
+42 Tool count The tools, which have the specified tool type
number and tool life type, are counted.
(2bytes)
+44 Total life status 0: Not noticed, 1: Noticed
(1byte)
+45 Life count type 0: Count, 1: Time (second), 2: Time (millisecond)
(1byte)
- 904 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
Return key
• Screen title:
Displays the name of a specific submenu of the PMC.
• Ladder execution status:
Displays the execution status of the ladder program.
• PMC alarm:
Indicates whether any PMC alarm is occurring.
• PMC path:
Displays the currently selected PMC.
• NC program number:
Displays the currently selected NC program number.
• Key entry line:
Line for entering a numerical value or character key string.
• Message display line:
Displays an error or warning message.
• NC status indication:
Displays the NC mode, the execution status of the NC program, the currently selected NC path
number.
- 905 -
6.OPERATING THE PMC SCREEN B-64513EN/03
• Return key:
Used to switch from the PMC operation menu to a specific PMC submenu or from a specific PMC
submenu to the main menu of the PMC.
• Soft key page turning key:
Used to turn soft key pages.
- 906 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
SYSTEM PARAM
System parameter display/editing (See Section 9.8.)
screen
- 907 -
6.OPERATING THE PMC SCREEN B-64513EN/03
To switch from the operation soft keys to a specific PMC submenu or to the PMC main menu, click the
[<] soft key.
No operation soft keys are displayed when the screen requires no operation. In that case, the [(OPRT)]
soft key is not displayed, either.
On the other hand, a screen that involves multiple different functions consists of two or more layers of
operation soft keys.
In that case, to return from the operation soft keys of one layer to those of the previous layer, click the
[EXIT] soft key.
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
- 908 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
- 909 -
6.OPERATING THE PMC SCREEN B-64513EN/03
There are two kinds of data protection for PMC. One is the Programmer Protection Function and another
is Protection of Data at 8 Levels.
The Programmer Protection Function is effective in standard. When the Protection of Data at 8 Levels is
added, the Programmer Protection Function becomes ineffective and the Protection of Data at 8 Levels
becomes effective.
PMC system provides various embedded programmer functions such as edit, diagnosis and debugging
which help the programming and debugging of sequence program. To use these functions which may
even disable safety mechanism realized by sequence program, it is required that the operator of these
functions 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 these functions should be protected from
careless use by ordinary operators after the machine is shipped into the field. Furthermore, if these
functions partly need to be used in the field for any purpose such as the maintenance or adjustment, the
developer of the machine should implement any means to enable these functions after forcing the
machine in safe mode or should let the operator know and strictly follow proper procedure to ensure the
safety.
The setting parameters described in this section are provided for the developer of machine to be able to
properly program the sequence or control the parameters for necessary conditions on which the operator
is allowed to use PMC programmer functions safely by eliminating careless operation which may cause
"stopping the ladder", "changing sequence program" or "changing important setting data".
These parameters can be set on the setting screen or in some system keep relays (K900 to 999).
NOTE
1 When using the ladder dividing management function, divided ladder programs
are protected in the same condition as main ladder program.
2 When using PMC memory shared mode in multi-path PMC function, the ladder
program in the path is protected in same condition as 1st path PMC.
NOTE
1 The override function also requires the setting of "OVERRIDE ENABLE" in the
setting parameters.
2 In order to change the data in each PMC parameter screen, particular
operations are necessity. For details, refer to subsection “6.2.2”.
3 In order to input/output the PMC parameters in the date I/O screen, particular
operations are necessity. For details, refer to 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.
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, make a sequence that always writes 0 in this
bit by your ladder. Or control the machine to force to translate into safety state
by sequence program using the way described in Section 2.2.4 when the ladder
stops.
- 911 -
6.OPERATING THE PMC SCREEN B-64513EN/03
NOTE
Even if this parameter is set to "YES", these functions will not be hidden except
for Ladder monitor/editing screen if "PROGRAMMER ENABLE" is set to "YES".
NOTE
1 Even if this parameter is set to "YES", these functions, which display a part of
program, are not available if "HIDE PMC PROGRAM" is set to "YES".
2 These screens, which stop ladder program, also require the below setting
"ALLOW PMC STOP".
- 912 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
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, make a
sequence that always writes 0 in this bit by your ladder.
NOTE
1 Even if this parameter is set to "YES", these functions, which display a part of
program, are not available if "HIDE PMC PROGRAM" is set to "YES".
2 These editing screens also require the above setting "EDIT ENABLE".
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.
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, make a sequence that always writes 0 in this
bit by your ladder. Or control the machine to force to translate into safety state
by sequence program using the way described in Section 2.2.4 when the ladder
stops.
• Forcing function
• Override function (Note)
• The change of the PMC parameters from the timer, counter, keep relay, and data screens is disabled.
• The input of the PMC parameters from the PMC I/O screen is disabled.
- 913 -
6.OPERATING THE PMC SCREEN B-64513EN/03
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 modify PMC parameters or PMC signals by
mistake. If you want to protect this setting, make a sequence that always writes
0 in this bit by your ladder.
CAUTION
1 To output the PMC parameters from the data I/O screen requires a special
operation. For information about how to enable the output of the PMC
parameters, see "Output from the data I/O screen" in Subsection 6.2.2.
2 Even if the parameter is set to “YES”, above function is not protected if the
"PROGRAMMER ENABLE" is set to "YES"
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 "Input from the data I/O screen" in Subsection 6.2.2.
3 Even if the parameter is set to “YES”, above function is not protected if the
"PROGRAMMER ENABLE" is set to "YES"
- 914 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
(2) If you want to allow operator only monitoring the sequence program;
• PROGRAMMER ENABLE (K900.1) "NO"
• HIDE PMC PROGRAM (K900.0) "NO"
• EDIT ENABLE (K901.6) "NO"
• ALLOW PMC STOP (K902.2) "NO"
NOTE
Use the password function of sequence program to restrict the function to
particular operator. Refer to FANUC LADDER-III operator's manual B-66234EN
"5.4".
(3) If you want to allow operator monitoring and editing the sequence program;
• PROGRAMMER ENABLE (K900.1) "NO"
• HIDE PMC PROGRAM (K900.0) "NO"
• EDIT ENABLE (K901.6) "YES"
• ALLOW PMC STOP (K902.2) "NO"
NOTE
Use the password function of sequence program to restrict the function to
particular operator. Refer to FANUC LADDER-III operator's manual B-66234EN
"5.4".
(4) If you want to allow operator monitoring and editing the sequence program which requires stop of
ladder;
• PROGRAMMER ENABLE (K900.1) "NO"
• HIDE PMC PROGRAM (K900.0) "NO"
• EDIT ENABLE (K901.6) "YES"
• ALLOW PMC STOP (K902.2) "YES"
NOTE
Use the password function of sequence program to restrict the function to
particular operator. Refer to FANUC LADDER-III operator's manual B-66234EN
"5.4".
- 915 -
6.OPERATING THE PMC SCREEN B-64513EN/03
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.
(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"
• RAM WRITE ENABLE (K900.4) "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.
- 916 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
NOTE
1 Referenced NC mode is the mode of NC path to which is assigned the interface
between CNC and PMC “F/G0 to F/G767” of PMC path of present operating
screen. For details of the interface between CNC and PMC, see “1.6.2”.
(2) If the sequence program can be stopped (STOP state), for example, while it is being debugged
(a) Stop the sequence program.
(b) The parameter protection is released; so data can be entered for them.
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
workpiece or machine. Incorrect operation of the machine presents an extreme
risk of death or serious injury to the user. Damage the tool, workpiece, and/or
the machine is also likely.
NOTE
1 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.
2 If you set "RAM WRITE ENABLE" to "YES", the change of the PMC parameters
is enabled, regardless of the above operations and the other protection. For the
details of "RAM WRITE ENABLE", see "RAM WRITE ENABLE" in “6.2.1”.
The guidance message displayed when protected PMC parameters are inputted on the PMC parameters
screen.
Guidance message Contents
MUST BE IN EMERGENCY STOP OR IN MDI MODE NC is not in edit mode and not in emergency stop mode.
PWE MUST BE ON PWE is 0.
EITHER PWE OR KEY4 MUST BE ON PWE is 0 and KEY4 signal is 0.
THIS FUNCTION IS PROTECTED This function is protected by the programmer protection
function or protection of data at 8 levels.
- 917 -
6.OPERATING THE PMC SCREEN B-64513EN/03
(1) If the sequence program is running (RUN state) (Under normal circumstances, this method should
be used when the machine is operating.)
(a) Place the NC in the emergency stop state or the EDIT mode.
(b) Set "PWE" on the NC setting screen to "1".
(c) The protection of the parameters is canceled, making it possible to enter them.
(d) After entering the PMC parameters, reset "PWE" to its original state.
(2) If the sequence program is being debugged and can be stopped (STOP state)
(a) Place the sequence program in the stop state.
(b) The protection of the parameters is canceled, making it possible to enter them.
NOTE
1 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.
2 If you set "RAM WRITE ENABLE" to "YES", the input of the PMC parameters
from the PMC I/O screen is enabled, regardless of the above operations and the
other protection. For details "RAM WRITE ENABLE", see "RAM WRITE
ENABLE" in Subsection 6.2.1.
The guidance message displayed when protected PMC parameters are inputted on the I/O screen.
Guidance message Contents
MUST BE IN EMERGENCY STOP OR IN EDIT MODE CNC is not in emergency stop or EDIT mode.
PWE MUST BE ON PWE is 0.
THIS FUNCTION IS NOT ALLOWED This function is protected by the programmer protection
function or protection of data at 8 levels.
- 918 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
(1) If the sequence program is running (RUN state) (Under normal circumstances, this method should
be used when the machine is operating.)
(a) Place the CNC in the emergency stop state or the EDIT mode.
(b) The protection of the parameters is canceled, making it possible to enter them.
(2) If the sequence program is being debugged and can be stopped (STOP state)
(a) Place the sequence program in the stop state.
(b) The protection of the parameters is canceled, making it possible to enter them.
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.
The guidance message displayed when protected PMC parameters is outputted on the I/O screen.
Guidance message Contents
MUST BE IN EMERGENCY STOP OR IN EDIT MODE CNC is not in emergency stop or EDIT mode.
THIS FUNCTION IS NOT ALLOWED This function is protected by the programmer protection
function or protection of data at 8 levels.
- 919 -
6.OPERATING THE PMC SCREEN B-64513EN/03
NOTE
1 Once the password protection is released, 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 function or other.
2 When you turn on the power of CNC with "X" and "O" pressed simultaneously,
the sequence program can be cleared regardless of whether the password is set
or not.
3 When K903.2=1, you will not be asked to enter the password.
- 920 -
B-64513EN/03 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
release 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. As for the partial
protection function, refer to “6.2.4”.
- 921 -
6.OPERATING THE PMC SCREEN B-64513EN/03
Ladder program
Level 1 Protected area:
Level 2 Edit permission passwords can protect
the area from editing.
Level 3 Machine tool builders can edit the
Subprogram programs in this area
P1 to P1499
Subprogram
P1500 to P5000 Unprotected area:
Dealers or end users can edit the
programs in this area.
CALL
Setting method
On FANUC LADDER-III, you should set the edit permission password which has “#” character at the
beginning of string (Up to 16 characters including “#”)
The subprograms from P1500 to P5000 can be edited regardless of the password protection. Even if you
set the display permission password, the display of subprograms from P1500 to P5000 is not protected
owing to this function.
Table 6.2.4 The protection status of each program for partial protection function
Program type Protected/not protected
Level 1 The editing functions are protected by each password.
Main programs Level 2
Level 3
P1 to P1499
Sub programs
P1500 to P5000 You can edit the subprograms without password.
NOTE
This function cannot be used for PMC memory A and DCSPMC.
- 922 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
“ENTER PASSWORD TO
PMC Main menu READ” is displayed,
and enter the password
[PMC CONFIG] for viewer or editor. (Note)
- 923 -
6.OPERATING THE PMC SCREEN B-64513EN/03
NOTE
When only the display permission password is set, both the viewer and the editor
are protected.
When only the edit permission password is set, the editor is protected.
When both the display permission password and edit permission password are
set, both the viewer and editor are protected. In that case, you can release the
protection of the viewer and the editor by using the edit permission password.
NOTE
For the details of the protection of data at 8 levels on CNC, refer to the
Connection Manual (Function) of CNC. And, refer to the OPERATOR’S Manual
of CNC for the details of operation of setting the protection levels.
CAUTION
When the protection of data at 8 levels is added, programmer protection function
of section 6.2.1 and PMC parameter input/output conditions of section 6.2.2
become ineffective. But, the password function of PMC is available with the
protection of data at 8 levels at the same time.
WARNING
All protection levels of PMC item are level 0 in the initial condition. Namely, all
PMC data are not protected. Therefore, set the opportune level (value) to
prevent a miss operation.
Operation level
8 operation levels can be set for CNC and PMC operation.
Operation levels 0 to 3 are selected by the memory protection key signal. Operation levels 4 to 7 are
selected by password.
When operation level 4 to 7 is set, the operation level remains unchanged until the password is cleared.
(The operation level also remains unchanged if the power is turned off.)
Operation level 7 is reserved for CNC and PMC maintenance.
- 924 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
There are common items and items of each path when using the multi-path PMC. The setting items of
each path can be set to different level for each PMC path.
- 925 -
6.OPERATING THE PMC SCREEN B-64513EN/03
NOTE
1 These items are common setting of all PMC paths when using multi-path PMC
function.
2 When using the ladder dividing management function, divided ladder programs
are protected in the same condition as main ladder program. However there are
invalid screens for divided ladder programs.
3 Some data types do not have an output function.
4 For data whose protection level is higher than the operation level, the protection
level cannot be changed.
5 The current data protection level cannot be changed to a protection level that is
higher than the current operation level.
6 The I/O protection level of message data for multi-language display is the same
as the I/O protection level of sequence programs.
5 When using multi-path PMC function, press soft key [SWITCH PMC] to select the PMC path.
6 Move the cursor to “CHANGE” level or “OUTPUT” level of a desired data item.
7 Key in a new desired level, then press soft key [INPUT].
NOTE
Some setting items with which an asterisk is displayed after the data name are
the common data of all PMC paths when using multi-path PMC function.
- 926 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
NOTE
1 To display symbol for signal address, the symbols, which are defined in specified
divided ladder program, are used.
2 These screens are displayed only in main ladder program.
Operation Behavior
Pressing the [SWITCH PMC] soft key only Switching to the next sequence program in order.
“PMC path number”+ the [SWITCH PMC] soft key Switching to the main ladder program in specified PMC path.
For example, inputting “3” and pressing this soft key selects the
main ladder program in the 3rd path
“PMC path number” - “Divided ladder program Switching to the specified divided ladder program.
number” + the [SWITCH PMC] soft key For example, inputting “3-2” and pressing this soft key selects
the ladder program of divided number 2 in the 3rd path.
NOTE
1 The [SWITCH PMC] soft key is displayed when using the ladder dividing
management function or the multi-path PMC function is effective.
2 There are some screens which do not have the [SWITCH PMC] soft key.
3 In 8 level data protection screen, only the PMC path is switched even if pressing
the [SWITCH PMC] soft key when using the ladder dividing management
function.
The number of the divided ladder program, which is selected, is displayed at the upper left of each PMC
screen.
(Example) The case of selecting the program of divided number 1 of 1st path PMC.
- 927 -
6.OPERATING THE PMC SCREEN B-64513EN/03
An indication of the currently selected PMC is displayed at the upper left corner of each PMC screen.
- 928 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
The screens listed below display the information regarding all the PMC on the same screen space,
regardless of the switching of the PMC.
Screens intended to display or manipulate all the PMCs
For details, see the sections describing the operation of the individual screens.
- 929 -
6.OPERATING THE PMC SCREEN B-64513EN/03
Fig. 6.5 (a) Ladder diagram screen (extended symbol and comment)
Fig. 6.5 (b) Signal status screen (extended symbol and comment)
- 930 -
B-64513EN/03 6.OPERATING THE PMC SCREEN
When using extended symbol and comment, you can define local symbols in each sub-program.
Moreover, you can define multiple symbol and comment to one signal.
However, only one symbol and comment can to be displayed on PMC screen except I/O diagnosis screen
and symbol and comment screen, for a PMC address.
The priority of displaying symbol and comment, and range of search function is defined as follows.
NOTE
When multiple symbols and comments are defined in one signal, you can search
each symbol name. On the other hand, the symbol displayed on PMC screen is
one of these symbol names. Therefore, if you search a symbol, displayed
symbol name on searched position may be different from searched word.
- 931 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
SYSTEM
- 932 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
The additional information line at the bottom of the screen displays the symbol and comment of the
address on which the cursor is placed. When the cursor is placed on a byte, the byte symbol and
comment are displayed.
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
Operation procedure
(1) Press the [STATUS] soft key. The screen shown above appears.
(2) Key in an address whose data to be displayed, and 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.
- 933 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
(6) On the forced I/O screen, an overridden X signal or Y signal is prefixed by a greater-than sign (>) to
indicate the setting of override.
Address search Switching to the forced I/O screen PMC path switching
- 934 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
WARNING
Special care must be exercised when modifying a signal with the forced
Input/output function. If the forced input/output function is used incorrectly, the
operation of the machine may be unpredictable. Never use this function when
people are near the machine.
CAUTION
1 The Override function is a special function for debugging the ladder program.
Therefore, when shipping the machine, disable the Override function invariably.
2 When using the Override function, the update cycle of input/output signals of I/O
Link is as follows with the 1st level execution cycle of ladder program. Do not
use the Override function when you debug the ladder program that is affected by
the changing of update cycle of I/O signals.
Update cycle of input/output signals
When the 1st level execution cycle is 4ms 4 ms
When the 1st level execution cycle is 1, 2 or 8ms 8 ms
3 The I/O setting values of the Override function are cleared when the power is
turned off. Therefore, Override settings for all signals are reset when cycling the
power of CNC.
4 The override function can be used in three paths PMC simultaneously. However,
the use in single-path is recommended because of the influence of scan time. If
you use this function by the setting above the maximum path number, the PMC
alarm “ER47 ILLEGAL OVERRIDE FUNCTION SETTING (TOO MANY PMC
PATHS)” occurs and the override mode is invalid in all PMC paths.
Number of the maximum path
When the 1st level execution cycle is 1 or 2ms 1
When the 1st level execution cycle is 4 or 8ms 3
- 935 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
Overwrite X
Ladder
Overwrite G,Y,R,T,K,C,D,E
NC
Overwrite F
Example 1:
Forced I/O is performed for R0 in the following ladder program:
X0.0
MOVE 1111
1111
K0
R0
- 936 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Example 2:
Forced I/O is performed for X0 in a configuration where the I/O Unit-MODEL A is connected to the
X0 via the I/O Link.
A value input from the I/O Unit-MODEL A is transferred to the X0 cyclically. Therefore, even if the
value of X0 is modified forcibly during a period, the X0 is overwritten in the next cycle by the value input
from the I/O Unit-MODEL A.
I/O Unit-MODEL A NC
X0 = FFh X0 = FFh
X0 = FFh X0 = FFh
A value may be cyclically transferred even to an unallocated address. Therefore, the forced I/O function
for the X in the forced I/O mode must be used when a sequence program is debugged with no I/O device
connected or allocated.
When an I/O device is connected, use the override mode, described below, to debug a sequence program.
- 937 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
Example:
Forced I/O is performed for the X0 in a configuration where the I/O Unit-MODEL A is connected to
the X0 via the I/O link.
I/O Unit-MODEL A NC
X0 = FFh
X0 = FFh
X0 = FFh
X0 = FFh
I/O Unit-MODEL A × NC
X0 = FFh X0 = 00h
In this way, the forced I/O function for the 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 a Y address, a value after
modification by forced I/O is output to the I/O device.
- 938 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
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.
(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 to the I/O device on the left side.
- 939 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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
- 941 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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.
- 942 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
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 the specified count.
Example: "R;100;200" + Input key inputs two hundred 100s in a column.
- 943 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
Page display
Additional information
line
Comment display
area
NOTE
When using a display unit which has 7 soft keys, the comment display mode is
not available.
- 944 -
B-64513EN/03 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 msec, 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.
Timer No. Accuracy notation Minimum time setting Maximum time setting
1 to 8 48 (initial value) 48 msec 1572.8 seconds
9 to 250 8 (initial value) 8 msec 262.1 seconds
1 to 250 1 1 msec 32.7 seconds
1 to 250 10 10 msec 327.7 seconds
1 to 250 100 100 msec 54.6 minutes
1 to 250 S 1 second 546 minutes
1 to 250 M 1 minute 546 hours
NOTE
Above table is for PMC Memory-B. the timer number is 1 to 40 in PMC Memory-
A and DCSPMC, and 1 to 500 in PMC Memory-C/D.
The additional information line at the bottom of the screen displays the symbol and comment of the
address on which the cursor is placed.
- 945 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
- 946 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Page display
Comment display
area
NOTE
When using a display unit which has 7 soft keys, the comment display mode is
not available.
- 947 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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
The additional information line at the bottom of the screen displays the symbol and comment of the
address on which the cursor is placed. If the cursor is placed on a PRESET value, the symbol and
comment of the address of the PRESET value are displayed. If the cursor is placed on a CURRENT
value, the symbol and comment of the address of the CURRENT value are displayed.
- 948 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Page display
Table contents
• ADDRESS: Address referred by sequence Program
• 0 to 7: Contents of each bit
• HEX: Value of the byte data in hexadecimal notation
The additional information line at the bottom of the screen displays the symbol and comment of the
address on which the cursor is placed. When the cursor is placed on a byte, the byte symbol and
comment are displayed.
Since Keep Relay is nonvolatile memory, the contents are not lost even if you turn off the power.
The Keep Relay area consists of parts as follows.
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.
- 949 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
CAUTION
1 Do not use the area for PMC management software. This area is not same as
ordinary keep relays for ladder, 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 about their usage, to prevent
unexpected behavior of PMC.
2 Be sure to set the reserved portion of the area for the PMC management
software to 0.
- 950 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Page display
Comment
display area
- 951 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
When using a display unit which has 7 soft keys, the comment display mode is
not available.
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
The additional information line at the bottom of the screen displays the symbol and comment of the
address on which the cursor is placed. When the cursor is placed on the PARAMETER, TYPE, or DATA
column, the current setting is displayed.
The ADDRESS column displays the start address of a data table. Multiple groups may share an address.
When the [SYMBOL] soft key is pressed, the symbol of the start address is displayed.
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 decimal (valid only when bits 0 and 2 are set to 0)
1: Unsigned decimal (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.
- 952 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Fig. 7.3.4 (c) Soft keys on the DATA TABLE CONTROL screen
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 For the PMC Memory-A and DCSPMC, the initial number of data items is 3000.
For the PMC Memory-B, it is 10000. For the PMC Memory-C, it is 20000. For the
PMC Memory-D, it is 60000.
- 954 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(22) [WORD] Setting for word
Sets the data size to two bytes.
(23) [DWORD] Setting for double word
Sets the data size to four bytes.
(24) [BIT] Setting for bit
Sets the data size to one bit.
When the data size is one bit, the unit for the number of data items is one byte.
Page display
- 955 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
When using a display unit which has 7 soft keys, the comment display mode is
not available.
Table contents
• NO.
• ADDRESS: Address used by the sequence program
• DATA: Data value of data table
• COMMENT: Comment on the D address
• 0 to 7: Data of each bit
• HEX: Display of each byte in hexadecimal
The group information line at the top of the screen displays a group number, group start address, settings,
and comment on the start address.
The additional information line at the bottom of the screen displays the symbol and comment of the
address on which the cursor is placed. In the bit display mode, a bit symbol and comment, or a byte
symbol and comment are displayed, depending on the cursor position.
- 956 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
When using a display unit which has 7 soft keys, the soft key [SWITCH] is not
displayed.
- 957 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
- 958 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 Extra relays (E) can be included only in PMC parameter output from 1st PMC. If
you set 1 to the system keep relay K906.3, no information of extra relays is
included in PMC parameter output.
2 You have an option on the format of the extra relays when you include the extra
relays in the PMC parameter output. See “2.3.2 PMC Parameter Format” for the
detail of the format of the extra relays.
3 Even if the extra relays are not configured as non-volatile memory, their control
data are non-volatile.
- 959 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
On this screen, sequence programs, PMC parameters, PMC message data for multi-language display,
trace setting data and I/O configuration data can be written to the specified device, read from the device,
and compared. The query selection cursor, which moves vertically from one question to another, is
displayed, as is the option selection cursor, which moves horizontally from one option to another.
The following types of devices can be used for input/output. The desired device type can be selected by
positioning the query selection cursor to "DEVICE" and moving the option selection cursor to that type.
• MEMORY CARD: Data can be output to and input from a memory card.
• USB MEMORY: Data can be output to and input from a USB memory.
• FLASH ROM: Data can be output to and input from flash ROM.
• FLOPPY: Data can be output to and input from Handy File or Floppy Cassette.
• OTHERS: Data can be output to and input from other general-purpose RS-232C
input/output devices.
The multi-path PMC system enables an I/O target PMC to be selected. For details, see Section 7.4.4.
- 960 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
In STATUS in the lower part of the screen, a detailed explanation of execution and the execution status
are displayed. During write, read, and comparison, the size of the data already transferred is indicated as
the execution (intermediate) result.
The following gives a display example shown when PMC parameters are written to a memory card:
Execution Switch to the list screen Generating a new file name Delete a character
Switch to the port setting screen Change the input mode Select program
Cancellation
- 961 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
.x x x
• Data Name
The following data name is specified for each kind of data.
Kind of Data Data Name
Sequence program 1st path PMC PMC1
(Main ladder program) (Note) 2nd path PMC PMC2
3rd path PMC PMC3
4th path PMC PMC4
5th path PMC PMC5
DCSPMC PMCS
Sequence program Divided ladder program No.1 of 1st path PMC L101PMC1
(Divided ladder program) (Note) Divided ladder program No.2 of 1st path PMC L102PMC1
Divided ladder program No.3 of 1st path PMC L103PMC1
: :
Divided ladder program No.98 of 1st path PMC L198PMC1
Divided ladder program No.99 of 1st path PMC L199PMC1
Divided ladder program No.1 of 2nd path PMC L201PMC2
: :
Divided ladder program No.99 of 2nd path PMC L299PMC2
Divided ladder program No.1 of 3rd path PMC L301PMC3
: :
Divided ladder program No.99 of 3rd path PMC L399PMC3
Divided ladder program No.1 of 4th path PMC L401PMC4
: :
Divided ladder program No.99 of 4th path PMC L499PMC4
Divided ladder program No.1 of 5th path PMC L501PMC5
: :
Divided ladder program No.99 of 5th path PMC L599PMC5
PMC parameter 1st path PMC PMC1_PRM
2nd path PMC PMC2_PRM
3rd path PMC PMC3_PRM
4th path PMC PMC4_PRM
5th path PMC PMC5_PRM
DCSPMC PMCS_PRM
Message data for multi-language 1st path PMC M1PMCMSG
display (Note) 2nd path PMC M2PMCMSG
3rd path PMC M3PMCMSG
4th path PMC M4PMCMSG
5th path PMC M5PMCMSG
Trace setting data PMC_TRS
I/O configuration data (I/O Link i assignment data) (Note) IOCONF
- 962 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
The data name is the same as the file name of flash ROM.
• Data number
The data number is the three digits number that begins at '000'. The next number of the
maximum data number of a file that exists on a memory card or floppy disk is set to the data
number. However, when a file that has a data number '999' exists on a memory card or floppy
disk, the '999' is set to the data number.
NOTE
1 When 128 or more files exist on a memory card or floppy disk, the "Generating
new file name" does not work correctly. You should only use this function when
127 or less files exist on the device.
2 You cannot input/output divided ladder program from/into floppy disk.
• Full-string input
An entire file name is selected by the cursor and the entire file name is replaced by input.
• Insert mode
Input characters are inserted at the cursor. If you press the INPUT key without no character,
one space character will be inserted.
• Replace mode
The characters on and after cursor are replaced by input characters. If you press the INPUT key
without no character, the character on the cursor will be replaced by space character.
NOTE
For the description of the error messages on the I/O screen, see Section 12.1.
Operation Behavior
Only [PROG. SELECT] Select main ladder program or divided ladder program in selected
PMC path in order.
- 963 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
Operation Behavior
“Divided ladder program number” Select divided ladder program of specified number in selected PMC
+ [PROG. SELECT] path.
For example, inputting “12” and pressing this soft key in “PMC2”
selects “PMC2-12”. In case of selecting main ladder program, input
“0”.
Example: Writing the ladder program of divided number 1 of 1st path PMC to Memory card.
- 964 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
As for the memory card, you need use the compact flash adapter, which is attached a compact flash card
(CF card) purchased from FANUC.
NOTE
If a CF card other than that purchased from FANUC is used, the operation is not
guaranteed.
For the details, refer to “APPENDIX E” in the “CONNECTION MANUAL (HARDWARE)” of each
CNC series.
USB memory
You can input/output some data to/from a USB memory with a USB port beside a display unit.
NOTE
It is not guaranteed that every commercially available USB memory can operate
normally. A USB memory with a security function does not operate. Some
commercially available USB memories may not be designed for the use in an FA
environment.
CAUTION
1 While the control unit is accessing the USB memory, do not turn off the power to
the control unit or do not remove the USB memory.
2 Close the cover of the USB port when no USB memory is inserted.
For the details, refer to section 5.6 in the “CONNECTION MANUAL (HARDWARE)” of each CNC
series. .
- 965 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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.
NOTE
Parity is always "NONE".
- 966 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 967 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
If MEMORY CARD is selected for DEVICE, and a memory card holding files is inserted into the slot,
the contents of the memory card are displayed. If FLOPPY is selected for DEVICE, the contents of a
Floppy Cassette or Handy File are displayed.
NOTE
1 Up to 128 files can be displayed on this screen. When 129 or more files are
saved, the 129th and subsequent files are ignored.
2 In case of the USB memory, up to 32 characters of the file names can be
displayed. If a file has a name over 32 characters, the first 32 characters are
displayed. For a folder, the file size does not be displayed but “<FOLDER>” is
displayed.
When a file is selected on this screen, the screen display can be returned to the I/O screen. To select a file,
place the cursor at the name of the file, then press either the [SELECT] soft key or the INPUT key. After
the key entry, the screen display switches to the I/O screen automatically. In this case, the cursor is
positioned at READ on the FUNCTION menu, and the number and name of the file selected on the list
screen are indicated in the FILE NO. and FILE NAME fields, respectively. A display example is shown
below.
- 968 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
To return the screen display to the I/O screen without selecting a file, press the [EXIT] soft key. Even if
the memory card, the USB memory or the floppy disk in the floppy cassette, or the 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.
Soft keys on the file list screen
List updating
- 969 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
The PMC query may not be displayed, depending on the setting of each query.
For details, see the description of each operation procedure.
When only PMC1 exists, the indication below is provided, so that no selection operation is required. In
this case, the query selection cursor does not move to PMC.
PMC = PMC1
- 970 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
When PMC parameters for the conventional model are read with the multi-PMC system
NOTE
1 When only PMC1 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.
- 971 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
For the way to read a sequence program without stopping the ladder, set the CNC parameter No. 11933#5
to 1. See “2.4.3 CNC Parameters Related to the PMCs” for details.
WARNING
1 When reading a ladder program, executed ladder program is stopped. Even If
the setting that a sequence program can be read without stopping the ladder is
chosen, executed ladder would be stopped when improper file is read or you
cancel the operation of reading during reading a sequence program. When the
ladder program is stopped, controls, safety features and monitoring by the ladder
program do not work. And it may cause an unexpected machine behavior.
Before reading a ladder program, make it sure that the machine is proper status
and nobody is near the machine.
2 If the setting that a sequence program can be read without stopping the ladder is
chosen, the ladder program is exchanged after the completion of reading of the
ladder program. When reading the ladder program that the assignment of signal
addresses is changed, it may cause an unexpected machine behavior. Before
reading a ladder program, make it sure that the machine is proper status and
nobody is near the machine.
3 When stopping executed ladder program, the terminate procedure of the ladder
program may not complete. In such a case, modify the ladder program referring
to Section 4.15.
- 972 -
B-64513EN/03 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 or USB MEMORY
FUNCTION WRITE
KIND OF DATA SEQUENCE PROGRAM
(2) Move the query selection cursor to FILE NAME and enter a file name.
You should enter the file name with "8.3 format" that is constructed with base name, less than 8
characters, dot "." and extension, less than 3 characters. In case of the USB memory, a file name is
up to 32 characters.
Or, press the [NEW NAME] soft key to set a new file name.
(3) Press the [EXEC] soft key to output the sequence program.
Press the [CANCEL] soft key to stop the operation.
(4) If the specified file name already exists on a memory card or a USB memory, the following message
will be displayed. If you want to overwrite the file, press the [YES] soft key. And, if you want to
cancel the output, press the [NO] key.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 A folder cannot be specified for an output.
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 973 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
WARNING
When the sequence program being executed is updated to the sequence
program whose symbols are assigned to the different addresses, the signal state
may be unsuitable. If you activate the sequence program in this state, the
machine may behave in an unexpected way, and there is an extreme risk of
death or serious injury, as well as the likelihood of tools, work pieces and the
machine being damaged. Therefore, initialize the signals if needed before
starting the updated sequence program.
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted
into CNC. (See “11.1.4 Assignment of FB variable” for details.)
NOTE
1 This operation can be performed only when the operation condition allows
sequence program input. For details, see Section 6.2.
2 In a sequence program which uses extended symbol and comment format, if
you edit the symbol / comment data of the sequence program by FANUC
LADDER-III and store it into CNC with K903.5=1, the address area for
automatically assignment will be initialized to 0.
(1) On the I/O screen, make the following settings with the query selection cursor and option selection
cursor:
Query Setting
DEVICE MEMORY CARD or USB MEMORY
FUNCTION READ
(2) Specify an input target sequence program by performing the following operations:
• Move the query selection cursor to FILE NO., then key in an input target file number. At this
time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the input target file name.
• Switch the screen display to the list screen, then select the input target file.
For the list screen, see Subsection 7.4.3.
- 974 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 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.
2 A folder cannot be specified for an input subject. When the specified FILE NO. is
a folder, the following message is displayed.
“FOLDER CANNOT BE SPECIFIED”.
WARNING
1 When reading a ladder program, executed ladder program is stopped. Even If
the setting that a sequence program can be read without stopping the ladder is
chosen, executed ladder would be stopped when improper file is read or you
cancel the operation of reading during reading a sequence program. When the
ladder program is stopped, controls, safety features and monitoring by the ladder
program do not work. And it may cause an unexpected machine behavior.
Before reading a ladder program, make it sure that the machine is proper status
and nobody is near the machine.
2 If the setting that a sequence program can be read without stopping the ladder is
chosen, the ladder program is exchanged after the completion of reading of the
ladder program. When reading the ladder program that the assignment of signal
addresses is changed, it may cause an unexpected machine behavior. Before
reading a ladder program, make it sure that the machine is proper status and
nobody is near the machine.
3 When stopping executed ladder program, the terminate procedure of the ladder
program may not complete. In such a case, modify the ladder program referring
to Section 4.15.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 When the format of a specified file cannot be recognized, the read operation is
terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 975 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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 or USB MEMORY
FUNCTION COMPARE
NOTE
1 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.
2 A folder cannot be specified for a compare subject. When the specified FILE NO.
is a folder, the following message is displayed.
“FOLDER CANNOT BE SPECIFIED”.
(3) Press the [EXEC] soft key to execute a sequence program comparison.
Press the [CANCEL] soft key to stop the operation.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 When the format of a specified file cannot be recognized, the compare operation
is terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 976 -
B-64513EN/03 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 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.
- 977 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
WARNING
When the sequence program being executed is updated to the sequence
program whose symbols are assigned to the different addresses, the signal state
may be unsuitable. If you activate the sequence program in this state, the
machine may behave in an unexpected way, and there is an extreme risk of
death or serious injury, as well as the likelihood of tools, work pieces and the
machine being damaged. Therefore, initialize the signals if needed before
starting the updated sequence program.
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted
into CNC. (See “11.1.4 Assignment of FB variable” for details.)
NOTE
1 This operation can be performed only when the operation condition allows
sequence program input. For details, see Section 6.2.
2 In a sequence program which uses extended symbol and comment format, if you
edit the symbol / comment data of the sequence program by FANUC LADDER-
III and store it into CNC with K903.5=1, the address area for automatically
assignment will be initialized to 0.
(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
- 978 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
WARNING
1 When reading a ladder program, executed ladder program is stopped. Even If
the setting that a sequence program can be read without stopping the ladder is
chosen, executed ladder would be stopped when improper file is read or you
cancel the operation of reading during reading a sequence program. When the
ladder program is stopped, controls, safety features and monitoring by the ladder
program do not work. And it may cause an unexpected machine behavior.
Before reading a ladder program, make it sure that the machine is proper status
and nobody is near the machine.
2 If the setting that a sequence program can be read without stopping the ladder is
chosen, the ladder program is exchanged after the completion of reading of the
ladder program. When reading the ladder program that the assignment of signal
addresses is changed, it may cause an unexpected machine behavior. Before
reading a ladder program, make it sure that the machine is proper status and
nobody is near the machine.
3 When stopping executed ladder program, the terminate procedure of the ladder
program may not complete. In such a case, modify the ladder program referring
to Section 4.15.
- 979 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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
(2) Press the [EXEC] soft key to execute a sequence program comparison.
When a sequence program comparison with the flash ROM is performed, the processing cannot be
stopped.
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
For the setting of an output target PMC, see Subsection 7.4.4.
(2) Move the query selection cursor to FILE NAME and enter a file name.
When using a MS-DOS formatted floppy disk, you should enter the file name with "8.3 format" that
is constructed with base name, less than 8 characters, dot "." and extension, less than 3 characters.
When using a FANUC formatted floppy disk, you should enter the file name with less than 17
characters.
Or, press the [NEW NAME] soft key to set a new file name.
(3) Press the [EXEC] soft key to output the sequence program.
Press the [CANCEL] soft key to stop the operation.
- 980 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
WARNING
When the sequence program being executed is updated to the sequence
program whose symbols are assigned to the different addresses, the signal state
may be unsuitable. If you activate the sequence program in this state, the
machine may behave in an unexpected way, and there is an extreme risk of
death or serious injury, as well as the likelihood of tools, work pieces and the
machine being damaged. Therefore, initialize the signals if needed before
starting the updated sequence program.
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted
into CNC. (See “11.1.4 Assignment of FB variable” for details.)
NOTE
1 This operation can be performed only when the operation condition allows
sequence program input. For details, see Section 6.2.
2 In a sequence program which uses extended symbol and comment format, if you
edit the symbol / comment data of the sequence program by FANUC LADDER-
III and store it into CNC with K903.5=1, the address area for automatically
assignment will be initialized to 0.
(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
(2) Specify an input target sequence program by performing the following operations:
• Move the query selection cursor to FILE NO., then key in an input target file number. At this
time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the input target file name.
• Switch the screen display to the list screen, and then select the input target file.
For the list screen, see Subsection 7.4.3.
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.
- 981 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
WARNING
1 When reading a ladder program, executed ladder program is stopped. Even If
the setting that a sequence program can be read without stopping the ladder is
chosen, executed ladder would be stopped when improper file is read or you
cancel the operation of reading during reading a sequence program. When the
ladder program is stopped, controls, safety features and monitoring by the ladder
program do not work. And it may cause an unexpected machine behavior.
Before reading a ladder program, make it sure that the machine is proper status
and nobody is near the machine.
2 If the setting that a sequence program can be read without stopping the ladder is
chosen, the ladder program is exchanged after the completion of reading of the
ladder program. When reading the ladder program that the assignment of signal
addresses is changed, it may cause an unexpected machine behavior. Before
reading a ladder program, make it sure that the machine is proper status and
nobody is near the machine.
3 When stopping executed ladder program, the terminate procedure of the ladder
program may not complete. In such a case, modify the ladder program referring
to Section 4.15.
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"
- 982 -
B-64513EN/03 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 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.
(3) Press the [EXEC] soft key to execute a sequence program comparison.
Press the [CANCEL] soft key to stop the operation.
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"
- 983 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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
- 984 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
WARNING
When the sequence program being executed is updated to the sequence
program whose symbols are assigned to the different addresses, the signal state
may be unsuitable. If you activate the sequence program in this state, the
machine may behave in an unexpected way, and there is an extreme risk of
death or serious injury, as well as the likelihood of tools, work pieces and the
machine being damaged. Therefore, initialize the signals if needed before
starting the updated sequence program.
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted
into CNC. (See “11.1.4 Assignment of FB variable” for details.)
NOTE
1 This operation can be performed only when the operation condition allows
sequence program input. For details, see Section 6.2.
2 In a sequence program which uses extended symbol and comment format, if you
edit the symbol / comment data of the sequence program by FANUC LADDER-
III and store it into CNC with K903.5=1, the address area for automatically
assignment will be initialized to 0.
(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
- 985 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
WARNING
1 When reading a ladder program, executed ladder program is stopped. Even If
the setting that a sequence program can be read without stopping the ladder is
chosen, executed ladder would be stopped when improper file is read or you
cancel the operation of reading during reading a sequence program. When the
ladder program is stopped, controls, safety features and monitoring by the ladder
program do not work. And it may cause an unexpected machine behavior.
Before reading a ladder program, make it sure that the machine is proper status
and nobody is near the machine.
2 If the setting that a sequence program can be read without stopping the ladder is
chosen, the ladder program is exchanged after the completion of reading of the
ladder program. When reading the ladder program that the assignment of signal
addresses is changed, it may cause an unexpected machine behavior. Before
reading a ladder program, make it sure that the machine is proper status and
nobody is near the machine.
3 When stopping executed ladder program, the terminate procedure of the ladder
program may not complete. In such a case, modify the ladder program referring
to Section 4.15.
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"
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
(2) Press the [EXEC] soft key to execute a sequence program comparison.
Press the [CANCEL] soft key to stop the operation.
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"
- 986 -
B-64513EN/03 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 MEMORY CARD or USB MEMORY
FUNCTION WRITE
KIND OF DATA PARAMETER
(2) Move the query selection cursor to FILE NAME and enter a file name.
You should enter the file name with "8.3 format" that is constructed with base name, less than 8
characters, dot "." and extension, less than 3 characters. In case of the USB memory, a file name is
up to 32 characters.
Or, press the [NEW NAME] soft key to set a new file name.
(4) If the specified file name already exists on a memory card or a USB memory, the following message
will be displayed.
If you want to overwrite the file, press the [YES] soft key. And, if you want to cancel the output,
press the [NO] key.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 A folder cannot be specified for an output subject.
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
4 When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on
PMC1.
- 987 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
7.4.19 Inputting PMC Parameters from the Memory Card or the USB
Memory
PMC parameters can be input from the memory card or the USB memory to a PMC. To use this function,
perform the operation described below on the I/O screen.
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 or USB MEMORY
FUNCTION READ
(2) Specify input target PMC parameters by performing the following operations:
• Move the query selection cursor to FILE NO., then key in an input target file number. At this
time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the input target file name.
• Switch the screen display to the list screen, and then select the input target file.
For the list screen, see Subsection 7.4.3.
NOTE
1 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.
2 A folder cannot be specified for an input subject. When the specified FILE NO. is
a folder, the following message is displayed.
“FOLDER CANNOT BE SPECIFIED”.
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.
- 988 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 When the format of a specified file cannot be recognized, the read operation is
terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
4 When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on
PMC1.
- 989 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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 or USB MEMORY
FUNCTION COMPARE
NOTE
1 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.
2 A folder cannot be specified for a compare subject. When the specified FILE NO.
is a folder, the following message is displayed.
“FOLDER CANNOT BE SPECIFIED”.
(3) Press the [EXEC] soft key to execute a PMC parameter comparison.
When PMC parameters for the conventional model are to be read with the multi-PMC system, select
a read source PMC with soft key operation. For PMC selection, see Subsection 7.4.4. Press the
[CANCEL] soft key to stop the operation.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 When the format of a specified file cannot be recognized, the compare operation
is terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
4 When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on
PMC1.
- 990 -
B-64513EN/03 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 FLOPPY
FUNCTION WRITE
KIND OF DATA PARAMETER
(2) Move the query selection cursor to FILE NAME and enter a file name.
When using a MS-DOS formatted floppy disk, you should enter the file name with "8.3 format" that
is constructed with base name, less than 8 characters, dot "." and extension, less than 3 characters.
When using a FANUC formatted floppy disk, you should enter the file name with less than 17
characters.
Or, press the [NEW NAME] soft key to set a new file name.
(3) Press the [EXEC] soft key to output the PMC parameters.
Press the [CANCEL] soft key to stop the operation.
NOTE
When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on the
1st-path PMC.
- 991 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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
(2) Specify input target PMC parameters by performing the following operations:
• Move the query selection cursor to FILE NO., then key in an input target file number. At this
time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the input target file name.
• Switch the screen display to the list screen, and then select the input target file.
For the list screen, see Subsection 7.4.3.
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
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 When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on
PMC1.
- 992 -
B-64513EN/03 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.
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.
(3) Press the [EXEC] soft key to execute a PMC parameter comparison.
When PMC parameters for the conventional model are to be read with the multi-PMC system, select
a read source PMC with soft key operation. For PMC selection, see Subsection 7.4.4. Press the
[CANCEL] soft key to stop the operation.
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 When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on
PMC1.
- 993 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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
NOTE
When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on the
1st-path PMC.
- 994 -
B-64513EN/03 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 When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on
PMC1.
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.
- 995 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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
(2) Press the [EXEC] soft key to execute a PMC parameter comparison.
When PMC parameters for the conventional model are to be read with the multi-PMC system, select
a read source PMC with soft key operation. For PMC selection, see Subsection 7.4.4. Press the
[CANCEL] soft key to stop the operation.
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 When using the Common PMC Memory mode, the PMC Parameter is shared by
those PMC paths, too. The PMC Parameter can be inputted or outputted on
PMC1.
- 996 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the operation condition allows
message data for multi-language display 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 or USB MEMORY
FUNCTION WRITE
KIND OF DATA MESSAGE
(2) Move the query selection cursor to FILE NAME and enter a file name.
You should enter the file name with "8.3 format" that is constructed with base name, less than 8
characters, dot "." and extension, less than 3 characters. In case of the USB memory, a file name is
up to 32 characters.
Or, press the [NEW NAME] soft key to set a new file name.
(3) Press the [EXEC] soft key to output the message data for multi-language display.
Press the [CANCEL] soft key to stop the operation.
(4) If the specified file name already exists on a memory card or a USB memory, the following message
will be displayed.
If you want to overwrite the file, press the [YES] soft key. And, if you want to cancel the output,
press the [NO] key.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 A folder cannot be specified for an output subject.
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 997 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
This operation can be performed only when the operation condition allows
message data for multi-language display 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 or USB MEMORY
FUNCTION READ
(2) Specify an input target message data for multi-language display by performing the following
operations:
• Move the query selection cursor to FILE NO., then key in an input target file number. At this
time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the input target file name.
• Switch the screen display to the list screen, and then select the input target file.
For the list screen, see Subsection 7.4.3.
NOTE
1 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.
2 A folder cannot be specified for an input subject. When the specified FILE NO. is
a folder, the following message is displayed.
“FOLDER CANNOT BE SPECIFIED”.
(3) Press the [EXEC] soft key.
Before the reading of the file is started, the following message is displayed to check if read
processing may be executed:
Press the [EXEC] soft key to continue the operation. Press the [CANCEL] soft key to stop the
operation.
If the reading of the message data for multi-language display is continued, the ladder program being
executed is automatically stopped.
- 998 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
WARNING
1 If a message data for multi-language display is read while 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.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 When the format of a specified file cannot be recognized, the read operation is
terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 999 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
Compare operation can be performed only when the operation condition allows
message data for multi-language display 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 or USB MEMORY
FUNCTION COMPARE
(2) Specify a message data for multi-language display to be compared, by performing the following
operations:
• Move the query selection cursor to FILE NO., then key in a compare target file number. At
this time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the compare target file name.
• Switch the screen display to the list screen, and then select the compare target file.
For the list screen, see Subsection 7.4.3.
NOTE
1 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.
2 A folder cannot be specified for a compare subject. When the specified FILE NO.
is a folder, the following message is displayed.
“FOLDER CANNOT BE SPECIFIED”.
(3) Press the [EXEC] soft key to execute a message data for multi-language display comparison.
Press the [CANCEL] soft key to stop the operation.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 When the format of a specified file cannot be recognized, the compare operation
is terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 1000 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the operation condition allows
message data for multi-language display 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 MESSAGE
(2) Press the [EXEC] soft key to save a message data for multi-language display.
When writing to the flash ROM is performed, the processing cannot be stopped.
NOTE
When programs are written, flash ROM initialization may consume some time.
During initialization, "INITIALIZING FLASH ROM." is displayed in the STATUS
display field.
- 1001 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
This operation can be performed only when the operation condition allows
message data for multi-language display 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
(2) Press the [EXEC] soft key to input message data for multi-language display.
When reading from the flash ROM is performed, the processing cannot be stopped.
If the reading of message data for multi-language display is continued, the ladder program being
executed is automatically stopped.
WARNING
1 If a message data for multi-language display is read while 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.
- 1002 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
Compare operation can be performed only when the operation condition allows
message data for multi-language display 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
(2) Press the [EXEC] soft key to execute a message data for multi-language display comparison.
When a message data for multi-language display comparison with the flash ROM is performed, the
processing cannot be stopped.
- 1003 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
7.4.33 Outputting Trace setting data to the Memory Card or the USB
Memory
A trace setting data can be output from a PMC to the memory card or the USB memory. To use this
function, perform the operation described below on the I/O screen.
NOTE
This operation can be performed only when the operation condition allows trace
setting data 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 or USB MEMORY
FUNCTION WRITE
KIND OF DATA TRACE SETTING
(2) Move the query selection cursor to FILE NAME and enter a file name.
You should enter the file name with "8.3 format" that is constructed with base name, less than 8
characters, dot "." and extension, less than 3 characters. In case of the USB memory, a file name is
up to 32 characters.
Or, press the [NEW NAME] soft key to set a new file name.
(3) Press the [EXEC] soft key to output the trace setting data.
Press the [CANCEL] soft key to stop the operation.
(4) If the specified file name already exists on a memory card or a USB memory, the following message
will be displayed.
If you want to overwrite the file, press the [YES] soft key. And, if you want to cancel the output,
press the [NO] key.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 A folder cannot be specified for an output subject.
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 1004 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
7.4.34 Inputting Trace Setting Data from the Memory Card or the
USB Memory
A trace setting data can be input from the memory card or the USB memory to a PMC. To use this
function, perform the operation described below on the I/O screen.
NOTE
This operation can be performed only when the operation condition allows trace
setting data 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 or USB MEMORY
FUNCTION READ
(2) Specify an input trace setting data by performing the following operations:
• Move the query selection cursor to FILE NO., then key in an input target file number. At this
time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the input target file name.
• Switch the screen display to the list screen, and then select the input target file.
For the list screen, see Subsection 7.4.3.
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.
(3) Press the [EXEC] soft key.
Before the reading of the file is started, the following message is displayed to check if read
processing may be executed:
"READING TRACE SETTING"
*ARE YOU SURE YOU WANT TO READ THIS FILE?
Press the [EXEC] soft key to continue the operation. Press the [CANCEL] soft key to stop the
operation.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 When the format of a specified file cannot be recognized, the read operation is
terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
3 A folder cannot be specified for an input subject.
4 When the specified name is a folder name, the following message is display by
pressing the [EXEC] soft key.
“FOLDER NAME CANNOT BE SPECIFIED”
5 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 1005 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
This operation can be performed only when the operation condition allows I/O
configuration data 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 or USB MEMORY
FUNCTION WRITE
KIND OF DATA I/O CONFIGURATION DATA
(2) Move the query selection cursor to FILE NAME and enter a file name.
You should enter the file name with "8.3 format" that is constructed with base name, less than 8
characters, dot "." and extension, less than 3 characters. In case of the USB memory, a file name is
up to 32 characters.
Or, press the [NEW NAME] soft key to set a new file name.
(3) Press the [EXEC] soft key to output the I/O configuration data.
Press the [CANCEL] soft key to stop the operation.
(4) If the specified file name already exists on a memory card or a USB memory, the following message
will be displayed. If you want to overwrite the file, press the [YES] soft key. And, if you want to
cancel the output, press the [NO] key.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 A folder cannot be specified for an output subject.
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
- 1006 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the operation condition allows I/O
configuration data 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 or USB MEMORY
FUNCTION READ
(2) Specify an input target I/O configuration data by performing the following operations:
• Move the query selection cursor to FILE NO., then key in an input target file number. At this
time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the input target file name.
• Switch the screen display to the list screen, and then select the input target file.
For the list screen, see Subsection 7.4.3.
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.
Press the [EXEC] soft key to continue the operation. Press the [CANCEL] soft key to stop the
operation.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 A folder cannot be specified for an input subject.
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
4 When the format of a specified file cannot be recognized, the read operation is
terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
- 1007 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
The compare operation can be performed only when the operation condition
allows the I/O configuration data 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 or USB MEMORY
FUNCTION COMPARE
(2) Specify I/O configuration data to be compared, by performing the following operations:
• Move the query selection cursor to FILE NO., then key in a compare target file number. At
this time, the FILE NAME field displays the file name corresponding to the entered file number.
• Move the query selection cursor to FILE NAME, then key in the compare target file name.
• Switch the screen display to the list screen, and then select the compare target file.
For the list screen, see Subsection 7.4.3.
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.
(3) Press the [EXEC] soft key to execute I/O configuration data comparison.
Press the [CANCEL] soft key to stop the operation.
NOTE
1 For the supported memory card/USB memory, see Subsection 7.4.1.
2 A folder cannot be specified for a compare subject.
3 In case of the USB memory, “FORFANUC” cannot be used for the first 8
characters of the file name.
4 When the format of a specified file cannot be recognized, the compare operation
is terminated abnormally with the following message:
"UNKNOWN FILE FORMAT"
- 1008 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
This operation can be performed only when the operation condition allows I/O
configuration data 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 FLASH ROM
FUNCTION WRITE
KIND OF DATA I/O CONFIGURATION DATA
(2) Press the [EXEC] soft key to save the I/O configuration data.
When writing to the flash ROM is performed, the processing cannot be stopped.
NOTE
When programs are written, flash ROM initialization may consume some time.
During initialization, "INITIALIZING FLASH ROM." is displayed in the STATUS
display field.
WARNING
If unsuitable I/O configuration data is used, the machine can make an
unexpected movement. Before saving an I/O configuration data, make sure that
the I/O configuration data is suitable.
- 1009 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
1 This operation can be performed only when the operation condition allows I/O
configuration data 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 FLASH ROM
FUNCTION READ
(2) Press the [EXEC] soft key to input the I/O configuration data programs.
When reading from the flash ROM is performed, the processing cannot be stopped.
NOTE
Compare operation can be performed only when the operation condition allows
I/O configuration data 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 FLASH ROM
FUNCTION COMPARE
(2) Press the [EXEC] soft key to execute the I/O configuration data comparison.
When a sequence program comparison with the flash ROM is performed, the processing cannot be
stopped.
- 1010 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Query Setting
DEVICE MEMORY CARD or USB MEMORY
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
1 No files can be deleted from a flash memory card.
2 A folder cannot be specified for a deletion subject.
Query Setting
DEVICE MEMORY CARD
FUNCTION FORMAT
(2) Press the [EXEC] soft key to format the memory card.
CAUTION
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.
NOTE
For the supported memory card/USB memory, see Subsection 7.4.1.
- 1011 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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.
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
- 1012 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
In case that you register configuration of I/O devices in this screen, the difference between the registered
groups and actually connected groups can be detected during the power on sequence of the system and the
groups are displayed in the screen. We recommend the registration of configuration of I/O devices when
shipping of the machine system. If you do not register configuration of I/O devices, difference check of
I/O devices is not performed.
To switch the screen display to the I/O DEVICE MONITOR screen, press the [I/O DEVICE] soft key.
Channel number
Registered date
Difference mark
I/O Unit type
Group number
I/O Unit ID code
Table 7.5(a) Displayed type and actual type of I/O Units (for I/O Link)
Displayed I/O Unit ID Actual I/O Unit
CONNECTION UNIT 80 Connection Unit
OPERATOR PANEL 82 Connection Unit for Operators Panel
I/O-B3 83 I/O B3
IO UNIT-MODEL A 84 I/O Unit-MODEL A
86
87
POWER MATE / I/O LINK BETA 4A Power Mate or I/O Link Beta
SERIES 0 50 Series 0
OPERATOR I/F BOARD (MPG1) 53 Machine Operators Panel Interface
LINK CONNECTION UNIT 96 I/O Link Connecting Unit
I/O UNIT-MODEL B 9E I/O Unit-MODEL B
- 1013 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
Some I/O units in above table may be displayed as “Unknown I/O unit”
according to the version of the system software. However, these I/O units would
work normally.
- 1014 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
Some I/O units in above table may be displayed as “Unknown I/O unit”
according to the version of the system software. However, these I/O units would
work normally.
NOTE
Even if I/O module allocation data is updated, the group number is never updated
before the power is turn off/on.
NOTE
1 Even if I/O module allocation data is corrected during PMC alarm, emphasized
display is never cleared before the power is turn off/on.
2 The ID of I/O Link i is displayed by 4 digits. The ID of I/O Link is displayed by 2
digits.
3 Several I/O devices have same ID.
NOTE
Even if registered configuration of I/O devices is updated by the operation of
[REG.] or [DELETE], the difference mark will not be updated immediately.
Soft keys
Displays connection status of Deletes I/O devices
the next channel configuration
CAUTION
When you clear the PMC parameter, like the power on operation with
pressing “O” and “Z”, registered I/O devices configuration is cleared.
Register again if necessary.
NOTE
1 The operations of [REG.] and [DELETE] can be protected by the programmer
protection function. In case of protecting, these soft-keys is not displayed.
2 The operations of [REG.] and [DELETE] can update the IDs, the unit types,
and the date and time of registration.
3 The operations of [REG.] and [DELETE] are performed in each channel.
- 1016 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 1017 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
- 1018 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
In case of above example, the cause is that the group number 7 or later cannot be recognized.
The issue can be specified by investigating the I/O device connected to group 7.
Even if I/O devises configuration is not registered, ID part of I/O unit in the “ACTUAL I/O CONFIG.” is
emphasized by red color.
- 1019 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
In case of above example, the cause is the order of group 3 and 4 of the I/O devices.
- 1020 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
With the multi-PMC system, the signals of all PMCs can be traced simultaneously.
Before trace operation can be executed, the trace parameters must be set. Press the [TRACE SETING]
soft key to switch the screen display to the trace parameter setting screen.
By setting the PMC setting screen, the trace function can be automatically started after the power is
turned on. In this case as well, the trace parameters must be set beforehand.
NOTE
For the setting to automatically start the trace function after the power is turned
on, see Subsection 7.6.5.
- 1021 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
Even if you set a trace parameter during executing of trace, the modification of
the parameter does not influence the trace execution.
- 1022 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(6) STOP CONDITION/ TRIGGER/ ADDRESS
When "TRIGGER" is set on "STOP CONDITION", this parameter is enabled. Input signal address
or symbol name as stop trigger.
A PMC number can be set for a trigger address by entering the PMC number at the time of address
setting.
Example: "2:R9200.1" + Input key
A setting can be made by entering "PMC number" + ":" + "address" as indicated above.
NOTE
1 For the PMC numbers, see Section 1.6.
2 If there is not “:” key on your keyboard, use “;” or “/” instead.
Trigger position
← 1 sec →← 9 sec →
- 1023 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
1 For the PMC numbers, see Section 1.6.
2 If there is not “:” key on your keyboard, use “;” or “/” instead.
NOTE
1 For the PMC numbers, see Section 1.6.
2 If there is not “:” key on your keyboard, use “;” or “/” instead.
- 1024 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
3 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."
4 The signal trace for the DCSPMC is executed in the same timing as signals of
1st to 5th paths PMC.
CAUTION
The signal trace of the DCSPMC does not synchronize with the ladder execution
period of the DCSPMC. Therefore, when plural signals are traced, the timing of
tracing may not be accurate.
NOTE
When not specifying the file name, the file name of a trace setting data which
can be read is “PMC_TRS.000”. When specifying the file name, a trace setting
data of the file name can be read.
NOTE
Selected device information is not initialized by the soft key [INIT] in the page 1 of
the trace parameter setting screen. The clearing operation of PMC parameter
(Power on with pressing “O” key and ”Z” key) initializes the information. The Initial
setting is “memory card”.
- 1025 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
- 1026 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
- 1027 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
- 1028 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
The cursor indicating current position is initially displayed on the original point (0 point). The position of
the cursor is displayed in "CURSOR POSITION" in the upper of the screen. The cursor can move
horizontally with the <←> or <→> key. After the execution, following operation is enabled.
a) Scroll of screen
- Cursor up/down key and Page up/down key
Enables the vertical scroll for the specified signal
- Cursor right/left key, [NEXT>>] soft key and [<< PREV] soft key
Enables the horizontal scroll of the graph.
b) Automatic calculation of the selected range
Pressing the [MARK] soft key marks the current position and displays the mark cursor.
If the mark cursor duplicates with the current position cursor, the current position cursor has priority
of display. The "MARK POSITION" that shows the position of the mark cursor and "RANGE" that
shows the range between the mark cursor and the current position cursor are displayed in the upper
of screen.
Moving the current position cursor changes these values. Pressing the [MARK] soft key again
releases the select range mode.
- 1029 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
For details of the method of setting PMC setting data, see Section 9.5.
- 1030 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(1) Operation
Press the [OUTPUT] 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)
- 1031 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
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.)
- 1032 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(c) Data of the second parameter setting page
identifier-1, data-1, data-2, data-3, . . . . .
identifier-2, data-1, data-2, data-3, . . . . .
identifier-3, data-1, data-2, data-3, . . . . .
identifier-4, data-1, data-2, data-3, . . . . .
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.
- 1033 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
(4) Example of trace result output (The contents of the following example is rearranged for easy
understanding. The actual may be different.)
'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'
7,'Stop trigger position', 50(1250/2500), '%'
8,'Sampling condition', 1, 'TRIGGER'
Note1
9,'Sampling trigger address', 'X10.1', 'SYMBOL2'
10,'Sampling trigger mode', 3, 'BOTH EDGE'
Note2,3 'Address','R0000.0', 'R0000.1', 'R0000.2', 'R0000.3', 'R0000.4', 'R0000.5', 'R0000.6', 'R0000.7',
'R0001.0', 'R0002.0'
'Symbol', 'ZRN_M' , , , '*SPA1' , '*SPA2', 'MX-RD','RSTN', 'RSTMA', 'MO1X', 'MO2X'
'Comment', 'ZRN MODE', 'TIME CNT.AUX1(MEM)' , , , , 'READ STROBE', 'NORMAL RESET PB',
'INIT_M&RSTM (RST->MACRO)', 'OPTIONAL STOP1','OPTIONAL STOP2'
'Check', 0, 1, 1, 1, 1, 1, 0, 1, 1, 1
NOTE
1 With the multi-PMC system, this data is output in the format: "PMC number" + ":"
+ "address".
Example: '2:R0000.0'
2 In case of the extended symbol mode, a program name is added in front of the
local symbol.
Example: ‘1:P1.ZRN_M’ (PMC path=1, Local symbol in P1)
3 When using the ladder dividing management function, the symbols and
comments defined in the main ladder program are output to trace result and
setting data.
- 1034 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
Supported types of I/O network device are PROFIBUS, I/O Link and I/O Link i.
NOTE
“Symbol order” is available only in case of the sequence program with extended
symbol and comment.
- 1035 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
Additional information
(3) ADDRESS
The actual locations of I/O variables are displayed.
- 1036 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(4) VALUE
The current values of I/O variables are displayed as signed decimal, according to the data type of
them (i.e. BOOL, BYTE, WORD, and DWORD). If the data type is BOOL, “ON” or “OFF” is also
displayed as follows.
I/O type:
Module type Shown as
Input module I
Output module O
Other *
Network type:
Network type Shown as
PROFIBUS P
I/O Link Ln (n: channel number)
I/O Link i Ln (n: channel number)
Network address:
Network type Network address notation
PROFIBUS <Slave #>.<Slot #>
I/O Link <Group #>.<Base #>.<Slot #>
I/O Link i <Group #>.<Slot #>
- 1037 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
This screen shows the I/O information according to the network setting that
became effective at the time of the last power-on.
The notes for each network device are as follows:
PROFIBUS
1. If you have changed some of the PROFIBUS parameters, you have to cycle
the power once to make the changes take effect.
I/O Link
1. Only the I/O Link assignments, which are made effective by the setting of
“Machine Signal Interface” in Configuration Parameter menu and the setting
of the “Communication method of I/O Link” in NC Parameter and the setting
of “Selectable I/O Link Assignment Function”, are displayed.
2. If you have changed the following parameters, you have to cycle the power
once to make them take effect:
• “I/O Link assignment data”
• “Machine signal interface” in PMC configuration parameter
• “Communication method of I/O Link” in NC Parameter
• Parameter of “Selectable I/O Link assignment function”
3 If you have stored new sequence program to PMC, its I/O Link assignment
data will not take effect until you write it into Flash-ROM and cycle the power
once.
I/O Link i
1. Only the I/O Link i assignments, which are made effective by the setting of
“Communication method of I/O Link” in NC Parameter and the setting of
“Selectable I/O Link i Assignment Function”, are displayed.
2. If you have changed the following parameters, you have to cycle the power
once to make them take effect:
• “I/O Link i assignment data”
• “Communication method of I/O Link” in NC Parameter
• Parameter of “Selectable I/O Link i assignment function”
3. If you have stored new I/O configuration data to PMC, its I/O Link i
assignment data will not take effect until you write it into Flash-ROM and
cycle the power once.
(6) REMARK
The remarks up to 8 characters extracted from comment data are displayed. To specify the remark at
this field, set “100” to the attribute value of the comment, which you want to show in this field, on
FANUC LADDER-III,
- 1038 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
NOTE
In case of the extended symbol and comment, the comments on the screen will
be switched dynamically to new language when the language setting of CNC
changes. For the language attribute, refer to "APPENDIX B. LANGUAGE ID
TABLE".
Search for data Switch to the address order display Switch to the specified group display
Switch to the address order display Switch PMC path Screen settings
Switch to the address order display Switch to the all group display
Example:
The case of searching “MESS” to hit the symbol “OPMESS-20”
NOTE
1 When arrived back to the starting position where the first search operation hit by
repeated search of the same entry, the message “REACHED TO THE END OF
SYMBOL DATA.” appears.
2 If the setting “SHOW PROGRAM” is set to “SYMBOL” or “PROGRAM NO.”, the
symbol name is displayed in one of forms below:
<Program Symbol>.<Signal Symbol>
<Program Number>.<Signal Symbol>
In this case, search function will not hit in “Program Symbol” nor “Program
Number”.
3 On a symbol screen in network order a searching word is performed in address
order. When you search a part string and some word are hit, the searched
position (cursor position) may move to unexpected direction.
- 1039 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
NOTE
“Symbol order” is available only in case of the sequence program with extended
symbol and comment.
- 1040 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(4) [NETWRK ORDER] Sort by network address order
Displays I/O variables in order of network address.
Only the I/O variables that is actually effective are displayed.
In this mode, the mark “(NETWORK)” is appended in the title of this screen, and the [NETWRK
ORDER] soft key is highlighted with yellow background.
The I/O variables are sorted by its network address. The sorting order is not affected by the type of
modules such as input or output. The order is determined according only to priority of network
address portion as following. For I/O Link and I/O Link i, the I/O variables of them are displayed
together by the channel order.
Example: In case that the channel 1 is I/O Link i and the channel 2 is I/O Link, I/O Link i is
displayed earlier.
IP:3.0:OK
IL1:0.1:OK
IL2:0.0.1:OK
NOTE
If while sorting the I/O variables in “Network order” mode, the following messages may
appear:
SORTING DATA [PROFIBUS : n SLAVE]
SORTING DATA [I/O LINK : n CH m GROUP]
NOTE
If while extracting the I/O variables of specific group, the following messages may
appear:
SELECTING GROUP [PROFIBUS : n SLAVE]
SELECTING GROUP [I/O LINK : n CH m GROUP]
- 1041 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
If the setting item “FORCING ENABLE” is set to “YES” in the setting screen, you can change the
value of I/O variables as described above.
The mark “FORCING” at the right end of the screen title indicates the forcing function is enabled.
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.
- 1042 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
Fig. 7.7.2(a) Setting screen of the I/O diagnosis (for extended symbol and comment)
Fig. 7.7.2 (b) Setting screen of the I/O diagnosis (for former symbol and comment)
- 1043 -
7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE]) B-64513EN/03
• FIELD NUMBER
Sets the field number, which indicates the field to be a group name. If this number is 1, the
first field, which means the portion of each symbol name from the first character to the
character just before the first appearance of the delimiter character,
NOTE
If 0 is set, the group feature of I/O Diagnosis screen is disabled.
In this case, the delimiter has no effect.
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
If the Forced I/O function is protected by the programmer protection function, this
setting is not effective.
The Forced I/O function will be protected in the condition as follows.
- 1044 -
B-64513EN/03 7.PMC DIAGNOSIS AND MAINTENANCE SCREENS ([PMC MAINTE])
(3) SHOW PROGRAM
Determines the form of symbol name in the I/O Diagnosis screen.
SYMBOL:
Symbol names are displayed in the form below:
<Program Symbol>.<Signal Symbol>
If symbol name is too long for the symbol field of the I/O Diagnosis screen, the tail of signal
symbol is cut to fit it.
PROGRAM NO.:
Symbol names are displayed in the form below:
<Program Number>.<Signal Symbol>
If symbol name is too long for the symbol field of the I/O Diagnosis screen, the tail of signal
symbol is cut to fit it.
NONE:
Program symbol nor program number is not displayed.
NOTE
These setting data are kept in the nonvolatile memory not to be lost even if the
power is turned off.
- 1045 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
SYSTEM
Pressing the [LADDER] soft key causes the sequence program to be dynamically displayed, allowing you
to monitor operation. The editor screen allows you to make changes to relay and functional instructions
in the sequence program to change the operation of the sequence program.
The ladder diagram display/editor functions consist of the following screens:
(1) LADDER DIAGRAM MONITOR screen
Displays ladder diagrams to monitor the current states of relays, coils, and so on.
(2) COLLECTIVE MONITOR screen
Displays selected ladder net to monitor the current states of relays, coils, and so on.
(3) LADDER DIAGRAM EDITOR screen
Allows you to edit ladder diagram in units of net.
(4) NET EDITOR screen
Allows you to edit single net in a ladder diagram.
(5) PROGRAM LIST VIEWER screen
Allows you to select the subprogram to be displayed on the LADDER DIAGRAM MONITOR
screen.
(6) PROGRAM LIST EDITOR screen
Allows you to edit a ladder program in units of subprograms. Also allows you to select the
subprogram to be edited on the LADDER DIAGRAM EDITOR screen.
(7) FUNCTIONAL INSTRUCTION DATA TABLE VIEWER screen
Allows you to view the contents of the data table for functional instruction with data table.
(8) FUNCTIONAL INSTRUCTION DATA TABLE EDITOR screen
Allows you to edit the contents of the data table for functional instruction with data table.
(9) SUBPROGRAM LIST VIEWER screen
Displays the list of the called subprogram and the subprogram switching history.
- 1046 -
B-64513EN/03 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.
You can move among screens as shown in the figure below.
Display Function
PMC main menu
(Monitor)
[<] [PMC LADDER]
PMC LADDER menu
[<] [<]
[SPLIST] [ZOOM]
SUBPROGRAM LIST LADDER DIAGRAM PROGRAM LIST Duplicate coil check
VIEWER screen MONITOR screen [LIST] VIEWER screen screen
[LADDER]
[ZOOM] [BACK] [JUMP]
[LIST] [ZOOM]
[BACK]
[LIST] [ZOOM]
[EXIT EDIT] [SWITCH]
[EDIT]
COLLECTIVE MONITOR screen
NOTE
The [EDIT] soft key on the LADDER DIAGRAM MONITOR screen is displayed
and becomes available if the programmer protection function enables to edit
ladder program. For details, see Section 6.2.
- 1047 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
SP area
Size area
- 1048 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(3) Operation with Soft keys
- 1049 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
- 1050 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
NOTE
The range mark for search, “LOCAL” or “GLOBAL” does not be displayed in the
displays of 8.4 inch or 10.4 inch.
(b) In the additional information line near the bottom of the screen, the following information of
the address under the cursor is displayed when the cursor is shown.
• Net number of the net at the cursor
• Address and its symbol and comment information
• Current value
- 1051 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Symbol and Comment are displayed with fixed length when using Basic type Symbol and
Comment data.
In case of the bit address under the cursor.
Left justified Symbol and Comment are displayed with flexible length when using Extended
type Symbol and Comment data.
In case of the bit address under the cursor.
NOTE
1 When you set K903.1 to 1 and using Basic type Symbol and Comment data, the
symbol and comment are displayed with flexible length on additional information
line, as same as when using Extended Symbol and Comment data.
2 Displayed comment characters on additional information line is shown below
when the symbol and comment are displayed with fixed length.
8.4 inch, 10.4 inch : 15 characters
15 inch, 19 inch : 30 characters
3 When symbol and comment on an additional information line are displayed with
flexible length and all the characters of comment cannot be displayed on the line,
a period is displayed at the end of comment string.
(c) In the message line, error messages or inquiry messages will be displayed depending on the
situation.
(d) In the area for LADDER diagrams, 9 × 8, 9 × 6, 9 × 4, 7 × 8, 7 × 6, and 7 × 4 relays can be
displayed (horizontally and vertically). For details, see Subsection 8.2.2.
(e) The gauge indicating the current display position in relation to the whole Ladder program is
displayed at the right end of the screen.
- 1052 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(2) LADDER diagram
(a) Nets wider than the screen width are displayed as “Continuous Net” using continuous marks
(“>A1>”). Same continuous marks mean they are connected with each other.
(3) Monitor
(a) Contacts and coils change their colors and/or shapes according to the status of the signals.
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.
- 1053 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Main soft keys of LADDER Diagram Monitor screen Switch PMC paths
Search soft keys Search Write Coil Search previous Search next
Adding to trace
Jump to Search Functional Pick up a Ladder
Top/Bottom Search Address or Net Instruction Diagram net Switch range
- 1054 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1055 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
↑
PAGE
Move screen
← →
Search backward
With cursor displayed, you can move the cursor by all cursor move keys and Page change keys.
When cursor is placed on some relay or some address parameter of a functional instruction, the
information about the address under cursor is displayed at “Additional Information Line”.
(b) “number” + INPUT key
When cursor is shown, you can force the value of the address under cursor by entering new
value as “number” + INPUT key. In this screen, Forced I/O function is limited only to
Forcing mode. This Forced I/O function asks you to confirm your intention before it takes
effect. Once it is confirmed that you actually want to change value by this function, you can
change the value of the same relay or parameter without further confirmation. However, after
you move cursor or you operate other functions, you will be asked when you use the Forced I/O
function again.
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 and TMRB, 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.
- 1056 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(3) Notes for Search function
(a) The string followed by [SEARCH] is treated as symbol first. In case that the symbol “D0” is
assigned to the bit address “R0.0”, the operation “D0” + [SEARCH] will search the bit address
“R0.0”, instead of byte address “D0”.
(b) To search the symbol that consists of only digit characters, which will usually be treated as net
number, you can use leading space to specify explicitly the string is symbol. For example,
while “123” + [SEARCH] will search the 123rd net from top of the LADDER, “_123” +
[SEARCH] (“_” is space) will search address with symbol “123”.
(c) When the range for searching is GLOBAL, and the target is found in other than displaying
subprogram, the screen will automatically switch to the subprogram to which the found target
belongs. Searching GLOBAL net number that current subprogram does not contain, for
example, the subprogram that contains the net of the net number will appear in the screen,
displaying the net.
(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 “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)
- 1057 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
SYMBOL (default)
Addresses that have a symbol are displayed by the symbols. Addresses without symbols
are displayed by the addresses themselves.
ADDRESS
All addresses are displayed as the addresses themselves even if they have a symbol.
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.
- 1058 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
COMPACT
WIDE
TALL
The displays of current values of address parameters change their format according to each
parameter. See Subsection 8.2.3 for details.
When you place the cursor on an address parameter, its current value is displayed in the
“Additional Information Line” in both formats of binary decimal, and BCD (or hexadecimal
binary).
NONE (default)
Relay comments are not displayed.
1 LINE
Relay comments are displayed in one line. Up to 15 characters (7 characters in Japanese)
of relay comment can be displayed when "WIDE" is selected for the "CONTACT
WIDTH" setting that is described below. Characters after 15th character will not be
displayed.
2 LINE
Relay comments are displayed in two lines. Up to 30 characters (14 characters in
Japanese) of relay comment can be displayed when "WIDE" is selected to the
"CONTACT WIDTH" setting that is described below. Up to 14 characters can be
displayed. Characters after 30th character will not be displayed.
- 1059 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
NORMAL (default)
A relay is expressed with 8-character length.
Up to 7 characters of symbol can be displayed.
WIDE
A relay is expressed with 16-character length.
Up to 15 characters of symbol can be displayed.
NORMAL
WIDE
YES (default)
Right margin of 2 lines of 15 characters is reserved for display of coil comments.
NO
Right margin is used to extend diagram by two more relays (15inch; one more relay),
instead of showing coil comment. The screen position bar is also displayed at the right
edge of the screen in this option.
YES NO
- 1060 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(g) 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
Not found
Not found
- 1061 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
IN PROGRAM (default)
Current displaying program is searching target.
IN PATH
All programs in current selected PMC path are searching target.
Note
When not using the ladder dividing management function (PRM 11931#5 = 0),
this item is not displayed.
R 0000.1
Divided ladder 1
When wrap search is enabled, search
R 0000.0 R 0000.1 D 0000.1
target is changed from last ladder to top
ladder (main ladder).
X 0000.0 X 0000.1
Divided ladder 2
X 0000.2 X 0000.3
NOTE
When a search target is found in protected program by password in PMC path,
the action depends on keep relay K903.2.
K903.2=0: Asking for password.
K903.2=1: “PROGRAM IS PROTECTED.” is displayed.
- 1062 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
・BOLD DIAGRAM
Sets thickness of diagram lines. This setting also affects shapes of relays.
YES (default)
Diagram is drawn with thick lines. Relays are drawn in more distinct shapes. You
have to choose this option to make following "VARIABLE RELAY SYMBOL"
setting effective.
NO
Diagram is drawn with thin lines. Relays are drawn in smaller shapes.
YES
Shapes of relays change according to their on/off status. This option is effective
only when the setting "BOLD DIAGRAM" is set to "YES". If it is set to "NO",
shapes of relays will not change regardless of this setting.
NO (default)
Shapes of relays will not change.
- 1063 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
・ADDRESS COLOR
Colors for the relay address are set. You can specify these colors by entering color
number. 15 colors (from No. 0 to No. 14) 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 15 numbers from 0 to 14; however, some different number
may correspond to the same color. You cannot 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. 15 colors (from No. 0 to No. 14) are
available. Foreground color should be different from background one.
- 1064 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
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-digit BCD
3 TMR 1 special 3 4-digit BCD
4 DEC 1 2-digit BCD 4 4-digit BCD
2 constant 19 ADD 1 constant
5 CTR 1 special 2 4-digit BCD
6 ROT 1 constant 3 4-digit BCD
2 4-digit BCD 4 4-digit BCD
3 4-digit BCD 20 SUB 1 constant
4 4-digit BCD 2 4-digit BCD
7 COD * 1 constant 3 4-digit BCD
2 2-digit BCD 4 4-digit BCD
3 4-digit BCD 21 MUL 1 constant
8 MOVE 1 constant 2 4-digit BCD
2 constant 3 4-digit BCD
3 2-digit HEX 4 4-digit BCD
4 2-digit HEX 22 DIV 1 constant
9 COM 1 constant 2 4-digit BCD
10 JMP 1 constant 3 4-digit BCD
11 PARI 1 1-byte binary 4 4-digit BCD
14 DCNV 1 no monitor 23 NUME 1 constant
2 no monitor 2 4-digit BCD
15 COMP 1 constant 24 TMRB 1 special
2 4-digit BCD 2 constant
3 4-digit BCD 25 DECB 1 constant
16 COIN 1 constant 2 variable binary
2 4-digit BCD 3 constant
3 4-digit BCD 4 2-digit HEX
17 DSCH 1 constant 26 ROTB 1 constant
2 4-digit BCD 2 variable binary
3 4-digit BCD 3 variable binary
4 4-digit BCD 4 variable binary
5 variable binary
- 1065 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
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-digit HEX 4 variable binary
2 2-digit HEX 40 NUMEB 1 constant
3 2-digit HEX 2 constant
29 COME − − 3 variable binary
30 JMPE − − 41 DISPB 1 constant
31 DCNVB 1 constant 42 EXIN 1 8-digit 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-byte binary
2 constant or 2 2-byte binary
variable binary 45 MOVN 1 constant
3 variable binary 2 4-byte binary
33 SFT 1 4-digit HEX 3 4-byte binary
34 DSCHB 1 constant 47 MOVD 1 4-byte binary
2 variable binary 2 4-byte binary
3 variable binary 48 END3 − −
4 variable binary 50 PSGNL 1 1-byte binary
5 variable binary 2 2-digit HEX
35 XMOVB 1 constant 51 WINDR 1 2-byte binary
2 variable binary 52 WINDW 1 2-byte binary
3 variable binary 53 AXCTL 1 constant
4 variable binary 2 8-digit HEX
5 variable binary 54 TMRC 1 constant
36 ADDB 1 constant 2 special
2 variable binary 3 special
3 constant or 55 CTRC 1 2-byte binary
variable binary
4 variable binary 56 CTRB 1 constant
37 SUBB 1 constant 2 special
2 variable binary 57 DIFU 1 constant
3 constant or 58 DIFD 1 constant
variable binary 59 EOR 1 constant
4 variable binary 2 variable HEX
38 MULB 1 constant 3 constant or
2 variable binary variable HEX
3 constant or 4 variable HEX
variable binary
4 variable binary
- 1066 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
No. Name Parameter Monitor format No. Name Parameter Monitor format
60 AND 1 constant 203 NEB 1 constant or
2 variable HEX 1-byte binary
3 constant or 2 constant or
variable HEX 1-byte binary
4 variable HEX 204 NEW 1 constant or
61 OR 1 constant 2-byte binary
2 variable HEX 2 constant or
3 constant or 2-byte binary
variable HEX 205 NED 1 constant or
4 variable HEX 4-byte binary
62 NOT 1 constant 2 constant or
2 variable HEX 4-byte binary
3 variable HEX 206 GTB 1 constant or
63 PSGN2 1 1-byte binary 1-byte binary
64 END − − 2 constant or
65 CALL 1 no monitor 1-byte binary
66 CALLU 1 no monitor 207 GTW 1 constant or
68 JMPB 1 no monitor 2-byte binary
69 LBL 1 no monitor 2 constant or
70 NOP 1 constant 2-byte binary
71 SP 1 no monitor 208 GTD 1 constant or
72 SPE − − 4-byte binary
73 JMPC 1 no monitor 2 constant or
74 CS 1 2-byte binary 4-byte binary
75 CM 1 no monitor 209 LTB 1 constant or
76 CE - − 1-byte binary
77 TMRBF 1 special 2 constant or
2 constant 1-byte binary
200 EQB 1 constant or 210 LTW 1 constant or
1-byte binary 2-byte binary
2 constant or 2 constant or
1-byte binary 2-byte binary
201 EQW 1 constant or 211 LTD 1 constant or
2-byte binary 4-byte binary
2 constant or 2 constant or
2-byte binary 4-byte binary
202 EQD 1 constant or 212 GEB 1 constant or
4-byte binary 1-byte binary
2 constant or 2 constant or
4-byte binary 1-byte binary
- 1067 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
No. Name Parameter Monitor format No. Name Parameter Monitor format
213 GEW 1 constant or 221 TMRST 1 Constant or
2-byte binary Special
2 constant or 2 Special
2-byte binary 3 No monitor
214 GED 1 constant or 222 TMRSS 1 Constant or
4-byte binary Special
2 constant or 2 Special
4-byte binary 3 No monitor
215 LEB 1 constant or 223 CTRD 1 4-byte binary
1-byte binary 2 4-byte binary
2 constant or 224 MOVBT 1 No monitor
1-byte binary 2 4-byte HEX
216 LEW 1 constant or 3 Constant
2-byte binary 4 4-byte HEX
2 constant or 5 Constant
2-byte binary 225 SETNB 1 No monitor
217 LED 1 constant or 2 Constant or
4-byte binary 1-byte binary
2 constant or 3 1-byte binary
4-byte binary 226 SETNW 1 No monitor
218 RNGB 1 constant or 2 Constant or
1-byte binary 2-byte binary
2 constant or 3 2-byte binary
1-byte binary 227 SETND 1 No monitor
3 constant or 2 Constant or
1-byte binary 4-byte binary
219 RNGW 1 constant or 3 4-byte binary
2-byte binary 228 XCHGB 1 1-byte binary
2 constant or 2 1-byte binary
2-byte binary 229 XCHGW 1 2-byte binary
3 constant or 2 2-byte binary
2-byte binary 230 XCHGD 1 4-byte binary
220 RNGD 1 constant or 2 4-byte binary
4-byte binary 231 SWAPW 1 No monitor
2 constant or 2 2-byte binary
4-byte binary 3 2-byte binary
3 constant or 232 SWAPD 1 No monitor
4-byte binary 2 4-byte binary
3 4-byte binary
- 1068 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
No. Name Parameter Monitor format No. Name Parameter Monitor format
233 TBLRB 1 No monitor 241 DSEQB 1 No monitor
2 1-byte binary 2 1-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 1-byte binary 4 Constant or
234 TBLRW 1 No monitor 1-byte binary
2 2-byte binary 5 2-byte binary
3 Constant or 242 DSEQW 1 No monitor
2-byte binary 2 2-byte binary
4 2-byte binary 3 Constant or
235 TBLRD 1 No monitor 2-byte binary
2 4-byte binary 4 Constant or
3 Constant or 2-byte binary
2-byte binary 5 2-byte binary
4 4-byte binary 243 DSEQD 1 No monitor
236 TBLRN 1 No monitor 2 4-byte binary
2 No monitor 3 Constant or
3 4-byte binary 2-byte binary
4 Constant or 4 Constant or
2-byte binary 4-byte binary
5 4-byte binary 5 2-byte binary
237 TBLWB 1 No monitor 244 DSNEB 1 No monitor
2 1-byte binary 2 1-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 1-byte binary 4 Constant or
238 TBLWW 1 No monitor 1-byte binary
2 2-byte binary 5 2-byte binary
3 Constant or 245 DSNEW 1 No monitor
2-byte binary 2 2-byte binary
4 2-byte binary 3 Constant or
239 TBLWD 1 No monitor 2-byte binary
2 4-byte binary 4 Constant or
3 Constant or 2-byte binary
2-byte binary 5 2-byte binary
4 4-byte binary 246 DSNED 1 No monitor
240 TBLWN 1 No monitor 2 4-byte binary
2 No monitor 3 Constant or
3 4-byte binary 2-byte binary
4 Constant or 4 Constant or
2-byte binary 4-byte binary
5 4-byte binary 5 2-byte binary
- 1069 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
No. Name Parameter Monitor format No. Name Parameter Monitor format
247 DSGTB 1 No monitor 253 DSGEB 1 No monitor
2 1-byte binary 2 1-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 Constant or 4 Constant or
1-byte binary 1-byte binary
5 2-byte binary 5 2-byte binary
248 DSGTW 1 No monitor 254 DSGEW 1 No monitor
2 2-byte binary 2 2-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 Constant or 4 Constant or
2-byte binary 2-byte binary
5 2-byte binary 5 2-byte binary
249 DSGTD 1 No monitor 255 DSGED 1 No monitor
2 4-byte binary 2 4-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 Constant or 4 Constant or
4-byte binary 4-byte binary
5 2-byte binary 5 2-byte binary
250 DSLTB 1 No monitor 256 DSLEB 1 No monitor
2 1-byte binary 2 1-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 Constant or 4 Constant or
1-byte binary 1-byte binary
5 2-byte binary 5 2-byte binary
251 DSLTW 1 No monitor 257 DSLEW 1 No monitor
2 2-byte binary 2 2-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 Constant or 4 Constant or
2-byte binary 2-byte binary
5 2-byte binary 5 2-byte binary
252 DSLTD 1 No monitor 258 DSLED 1 No monitor
2 4-byte binary 2 4-byte binary
3 Constant or 3 Constant or
2-byte binary 2-byte binary
4 Constant or 4 Constant or
4-byte binary 4-byte binary
5 2-byte binary 5 2-byte binary
- 1070 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
No. Name Parameter Monitor format No. Name Parameter Monitor format
259 DMAXB 1 No monitor 265 EORB 1 Constant or
2 1-byte binary 1-byte HEX
3 Constant or 2 Constant or
2-byte binary 1-byte HEX
4 1-byte binary 3 1-byte HEX
5 2-byte binary 266 EORW 1 Constant or
260 DMAXW 1 No monitor 2-byte HEX
2 2-byte binary 2 Constant or
3 Constant or 2-byte HEX
2-byte binary 3 2-byte HEX
4 2-byte binary 267 EORD 1 Constant or
5 2-byte binary 4-byte HEX
261 DMAXD 1 No monitor 2 Constant or
2 4-byte binary 4-byte HEX
3 Constant or 3 4-byte HEX
2-byte binary 268 ANDB 1 Constant or
4 4-byte binary 1-byte HEX
5 2-byte binary 2 Constant or
262 DMINB 1 No monitor 1-byte HEX
2 1-byte binary 3 1-byte HEX
3 Constant or 269 ANDW 1 Constant or
2-byte binary 2-byte HEX
4 1-byte binary 2 Constant or
5 2-byte binary 2-byte HEX
263 DMINW 1 No monitor 3 2-byte HEX
2 2-byte binary 270 ANDD 1 Constant or
3 Constant or 4-byte HEX
2-byte binary 2 Constant or
4 2-byte binary 4-byte HEX
5 2-byte binary 3 4-byte HEX
264 DMIND 1 No monitor 271 ORB 1 Constant or
2 4-byte binary 1-byte HEX
3 Constant or 2 Constant or
2-byte binary 1-byte HEX
4 4-byte binary 3 1-byte HEX
5 2-byte binary 272 ORW 1 Constant or
2-byte HEX
2 Constant or
2-byte HEX
3 2-byte HEX
- 1071 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
No. Name Parameter Monitor format No. Name Parameter Monitor format
273 ORD 1 Constant or 282 SHRW 1 Constant or
4-byte HEX 2-byte HEX
2 Constant or 2 Constant or
4-byte HEX 2-byte binary
3 4-byte HEX 3 2-byte HEX
274 NOTB 1 Constant or 283 SHRD 1 Constant or
1-byte HEX 4-byte HEX
2 1-byte HEX 2 Constant or
275 NOTW 1 Constant or 4-byte binary
2-byte HEX 3 4-byte HEX
2 2-byte HEX 284 SHRN 1 No monitor
276 NOTD 1 Constant or 2 Constant or
4-byte HEX 4-byte HEX
2 4-byte HEX 3 Constant or
277 SHLB 1 Constant or 4-byte binary
1-byte HEX 4 4-byte HEX
2 Constant or 285 ROLB 1 Constant or
1-byte binary 1-byte HEX
3 1-byte HEX 2 Constant or
278 SHLW 1 Constant or 1-byte binary
2-byte HEX 3 1-byte HEX
2 Constant or 286 ROLW 1 Constant or
2-byte binary 2-byte HEX
3 2-byte HEX 2 Constant or
279 SHLD 1 Constant or 2-byte binary
4-byte HEX 3 2-byte HEX
2 Constant or 287 ROLD 1 Constant or
4-byte binary 4-byte HEX
3 4-byte HEX 2 Constant or
280 SHLN 1 No monitor 4-byte binary
2 Constant or 3 4-byte HEX
4-byteS HEX 288 ROLN 1 No monitor
3 Constant or 2 Constant or
4-byte binary 4-byte HEX
4 4-byte HEX 3 Constant or
281 SHRB 1 Constant or 4-byte binary
1-byte HEX 4 4-byte HEX
2 Constant or 289 RORB 1 Constant or
1-byte binary 1-byte HEX
3 1-byte HEX 2 Constant or
1-byte binary
3 1-byte HEX
- 1072 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
No. Name Parameter Monitor format No. Name Parameter Monitor format
290 RORW 1 Constant or 301 BTSTB 1 1-byte HEX
2-byte HEX 2 Constant or
2 Constant or 1-byte binary
2-byte binary 302 BTSTW 1 2-byte HEX
3 2-byte HEX 2 Constant or
291 RORD 1 Constant or 2-byte binary
4-byte HEX 303 BTSTD 1 4-byte HEX
2 Constant or 2 Constant or
4-byte binary 4-byte binary
3 4-byte HEX 304 BTSTN 1 No monitor
292 RORN 1 No monitor 2 4-byte HEX
2 Constant or 3 Constant or
4-byte HEX 4-byte binary
3 Constant or 305 BPOSB 1 1-byte HEX
4-byte binary 2 1-byte binary
4 4-byte HEX 306 BPOSW 1 2-byte HEX
293 BSETB 1 1-byte HEX 2 2-byte binary
2 Constant or 307 BPOSD 1 4-byte HEX
1-byte binary 2 4-byte binary
294 BSETW 1 2-byte HEX 308 BPOSN 1 No monitor
2 Constant or 2 4-byte HEX
2-byte binary 3 4-byte binary
295 BSETD 1 4-byte HEX 309 BCNTB 1 1-byte HEX
2 Constant or 2 1-byte binary
4-byte binary 310 BCNTW 1 2-byte HEX
296 BSETN 1 No monitor 2 2-byte binary
2 4-byte HEX 311 BCNTD 1 4-byte HEX
3 Constant or 2 4-byte binary
4-byte binary 312 BCNTN 1 No monitor
297 BRSTB 1 1-byte HEX 2 4-byte HEX
2 Constant or 3 4-byte binary
1-byte binary 313 TBCDB 1 Constant or
298 BRSTW 1 2-byte HEX 1-byte binary
2 Constant or 2 1-byte HEX
2-byte binary 314 TBCDW 1 Constant or
299 BRSTD 1 4-byte HEX 2-byte binary
2 Constant or 2 2-byte HEX
4-byte binary 315 TBCDD 1 Constant or
300 BRSTN 1 No monitor 4-byte binary
2 4-byte HEX 2 4-byte HEX
3 Constant or
4-byte binary
- 1073 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
No. Name Parameter Monitor format No. Name Parameter Monitor format
316 FBCDB 1 Constant or 325 MULSB 1 Constant or
1-byte HEX 1-byte binary
2 1-byte binary 2 Constant or
317 FBCDW 1 Constant or 1-byte binary
2-byte HEX 3 1-byte binary
2 2-byte binary 326 MULSW 1 Constant or
318 FBCDD 1 Constant or 2-byte binary
4-byte HEX 2 Constant or
2 4-byte binary 2-byte binary
319 ADDSB 1 Constant or 3 2-byte binary
1-byte binary 327 MULSD 1 Constant or
2 Constant or 4-byte binary
1-byte binary 2 Constant or
3 1-byte binary 4-byte binary
320 ADDSW 1 Constant or 3 4-byte binary
2-byte binary 328 DIVSB 1 Constant or
2 Constant or 1-byte binary
2-byte binary 2 Constant or
3 2-byte binary 1-byte binary
321 ADDSD 1 Constant or 3 1-byte binary
4-byte binary 329 DIVSW 1 Constant or
2 Constant or 2-byte binary
4-byte binary 2 Constant or
3 4-byte binary 2-byte binary
322 SUBSB 1 Constant or 3 2-byte binary
1-byte binary 330 DIVSD 1 Constant or
2 Constant or 4-byte binary
1-byte binary 2 Constant or
3 1-byte binary 4-byte binary
323 SUBSW 1 Constant or 3 4-byte binary
2-byte binary 331 MODSB 1 Constant or
2 Constant or 1-byte binary
2-byte binary 2 Constant or
3 2-byte binary 1-byte binary
324 SUBSD 1 Constant or 3 1-byte binary
4-byte binary 332 MODSW 1 Constant or
2 Constant or 2-byte binary
4-byte binary 2 Constant or
3 4-byte binary 2-byte binary
3 2-byte binary
- 1074 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1075 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Displays current value by seconds (HH:MM:SS if 1 minute or more) (preset value is displayed by
TMRB
milliseconds)
The 2nd parameter shows preset value, and the 3rd parameter shows current value as their monitor
displays.
These two monitor displays changes their format according to the 1st parameter as below:
1st parameter Resolution Display format
0 8 msec by second
1 48 msec by second
TMRC 2 1 second HH:MM:SS
3 10 seconds HH:MM:SS
4 1 minute HH:MM:SS
5 1 msec by second
6 10 msec by second
7 100 msec by second
Displays current value by seconds (HH:MM:SS if 1 minute or more) (preset value is displayed by
TMRBF
milliseconds)
By the setting time or the addition time, the monitor display format is changed as follows.
In the case of 59 minutes and less than 59 seconds:
TMRSS MM:SS:xxx
When 1 hour is exceeded:
HHH: MM:SS
By the setting time or the addition time, the monitor display format is changed as follows.
In the case of less than 10000 hours:
TMRST HHHH: MM:SS
When 10000 hours is exceeded:
It displays by 10 figures of signed decimal numbers.
Displays in "Current/Preset" format by binary or BCD according to the counter type setting in LADDER
CTR
Program.
- 1076 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1077 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
(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
- 1078 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1079 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
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, press 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.
- 1080 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Program List
Select net Copy net
Change to Search soft keys
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.
- 1082 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
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.
Even if you press function keys such as the SYSTEM key while editing a ladder diagram,
screen does not move to another screen.
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.
- 1083 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
- 1084 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
NORMAL
WIDE
- 1085 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
YES NO
Current Current
Subprogram Subprogram
- 1086 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Wrap search
YES NO
Not found
Not found
Cursor : :
- 1087 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
MULTIPLE NETS
You can modify multiple nets near the cursor.
Action in modifying an existing net when “ZOOM MODE” is “MULTIPLE NETS”.
- 1088 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(i) DIAGRAM APPEARANCE SETTING
Changes the appearance of LADDER diagram. Lines, relays, and functional instructions that
constitute LADDER diagram can be changed in the colors and the shapes. You can set colors
by entering their numbers. You can set 16 colors from 0 to 15. (Different numbers may
correspond to the same color.) You cannot set the same color number for the display and
background colors of the same portion.
・BOLD DIAGRAM
Sets thickness of diagram lines. This setting also affects shapes of relays.
YES (default)
Diagram is drawn with thick lines. Relays are drawn in more distinct shapes.
NO
Diagram is drawn with thin lines. Relays are drawn in smaller shapes.
YES
NO
・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.
- 1089 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Fig. 8.3.3 (a) Structure of the NET EDITOR screen (ONE NET)
Fig. 8.3.3 (b) Structure of the NET EDITOR screen (MULTIPLE NETS)
- 1091 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
The net of maximum size occupies area of 1024 elements, but actually available area may be
little less for internal use according to the internal condition: "element" means the space that is
occupied by single relay.
(f) The maximum size of edit area occupies the area for 1024 elements when you modify and add
multiple nets.
If "ZOOM MODE" is "MULTIPLE NETS" on ladder diagram editor setting screen, the half of
edit area is filled with modified net when going to the NET EDITOR screen by [ZOOM] soft
key on the ladder editor screen.
- 1092 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(2) Operation with Soft keys
Soft keys of Net Editor screen
Horizontal Automatic
A contact Normal coil connection Delete input
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.
- 1093 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
- 1094 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(i) [NEXT NET] Go to next net
If [ZOOM] soft key at LADDER DIAGRAM EDITOR screen is used to reach NET EDITOR
screen, the [NEXT NET] soft key acts on setting of "ZOOM MODE" on ladder diagram editor
setting screen.
Action of [NEXT NET] soft key in modifying an existing net when "ZOOM MODE" is "ONE NET".
- 1095 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
If [CREATE NET] soft key at LADDER DIAGRAM EDITOR screen is used to reach
NET EDITOR screen, [NEXT NET] will finish creating current net, insert it into the
LADDER program, and start with blank to create another new net to be inserted next to
the current net.
Net 1 Net 1
Net 2 Editing Net 2a Editing
Net 3 Net A Net A Net B
Net 4 Net 3
:
Net 4
:
:
- 1096 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(l) [APPEND COLUMN] Insert column after cursor
Inserts one blank column at right of cursor position. Diagram elements on right of horizontal
cursor position will be shifted to right by one column. And if necessary, net will be expanded
to right.
- 1097 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
On the NET EDITOR screen, the priority of displaying symbol and comment by setting of "ZOOM
MODE" on ladder diagram editor setting screen and by selected program is defined as follows.
- 1098 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Convergence point
Output
Input section section
"Input section" consists of contacts and functional instruction, and the result of operations of input section
is led to "Convergence point". After the convergence point, there is "Output section" that consists of
coils only. The "Convergence point" is the nearest point to right power line, where all connections join
with each other to gather into single connection.
Convergence Output
Input section point section
Input section contains at least one relay or functional instruction, however, output section may contain
nothing.
- 1099 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
As for the structure of extended type net, the following points are extended to the structure of standard
type net.
• Two or more functional instructions can be used for one net.
• A relay or other functional instructions are connectable with the output of a functional instruction.
• In the output section, not only a coil (coil, negative coil, set coil, reset coil) but also a relay and the
functional instruction can be located.
Convergence point
Functional Functional
instruction instruction
Functional
Branch point
instruction
NOTE
The functional instruction, which can be used with the structure of extended type
net, has restriction. For details, refer to Table 8.3.4.2.
- 1100 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1101 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
- 1102 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1103 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
- 1104 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
NOTE
When using these instructions in the structure of extended type net, it is possible
either to output a result of operation to a coil or to omit a coil.
A B C
D E
A B D
Functional
C instruction
- 1105 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
8.3.5 Optimization
In order to generate the always same object from the inputted ladder diagram, the optimization which
deletes bit stack manipulation omissible by changing an operation order, makes smaller the object
generated, and makes execution speed quick is performed. However, the optimization which changes an
access order to each bit address is not performed.
A B E
D
Inputted ladder diagram
A B E
- 1106 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(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 the 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.
- 1108 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1109 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Soft keys of FUNCTIONAL INSTRUCTION DATA TABLE EDITOR screen of functional instruction COD
Soft keys of FUNCTIONAL INSTRUCTION DATA TABLE EDITOR screen of functional instruction CODB
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.
- 1110 -
B-64513EN/03 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 also changed.
- 1111 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
On the PROGRAM LIST EDITOR screen, a preview of the editor screen for the ladder program currently
positioned by the cursor on the program list is displayed on the right of the screen.
- 1112 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(b) [SEARCH] Search for program
Searches for a program. Pressing the [SEARCH] soft key after entering a program name or
symbol name searches for program corresponding to the input character string and moves the
cursor to the program.
(c) [NEW] Create new program
If you entered program name or symbol and press the [NEW] soft key, the program will be
checked its existence. If such program is not found, new program will be created. The created
program is inserted automatically into the program list and the cursor points it. The following
ladder nets are created automatically according to the type of created program by this
operation.
LEVEL1: Functional instruction END1
LEVEL2: Functional instruction END2
LEVEL3: Functional instruction END3
Subprogram: Functional instruction SP, SPE
If the status of protection of the program is enabled to edit, this operation is available.
(d) [DELETE] Delete a program
Deletes a program. If you entered no strings and press the [DELETE] soft key, the program
under the cursor is deleted. If you entered program name or symbol and press the [DELETE]
soft key, the program will be checked its existence, and will be deleted if such program is
found.
But, GLOBAL, LEVEL1 and LEVEL2 should always exist on program list. If you delete
these programs, the contents of program are abandoned. But these programs do not disappear
on program list.
If the status of protection of the program is enabled to edit, this operation is available.
But this operation is disabled in case of the step sequence program.
- 1113 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
- 1114 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1115 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
- 1116 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(e) [DELETE] Quits to display a ladder diagram net on the screen. (1 net)
Quits to display a ladder diagram net (only 1 net) which is picked up on the COLLECTIVE
MONITOR screen. This soft key appears by setting "SHOW CURSOR" to "YES" on the
setting screen.
(f) [DELETE ALL] Erases to display a ladder diagram net on the screen. (all nets)
Erases to display ladder diagram nets (all net) which is picked up on the COLLECTIVE
MONITOR screen.
(g) [ZOOM] Display contents of subprogram.
Placing the cursor on a CALL/CALLU/CM instruction and pressing [ZOOM] soft key displays
the target subprogram.
(g) [SCREEN SETING] Screen settings.
Calling the setting screen for the COLLECTIVE MONITOR screen. You can change each
settings of a ladder diagram display. Return to COLLECTIVE MONITOR screen by pressing
the [EXIT] soft key.
- 1117 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
(4) Picking up a ladder net from the LADDER DIAGRAM MONITOR screen
You can pick up a ladder net from the LADDER DIAGRAM MONITOR screen. The procedure
for picking up a ladder net is as described below.
(a) From the LADDER DIAGRAM MONITOR screen, press the [SEARCH] soft key to display
the soft keys for search.
(b) Move the cursor to the ladder net to pick up.
(c) Press the [PICKUP] soft key to pick up and load the net specified in (b) at the beginning of the
COLLECTIVE MONITOR screen.
(d) For the ladder net picked up and loaded into the COLLECTIVE MONITOR screen, the " "
mark is displayed at the left end of the net.
Fig. 8.4.2 (d) LADDER DIAGRAM MONITOR screen (search soft keys)
- 1118 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
- 1119 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
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
(a) [ALTER] Alter to the address specified in the NEW ADDRESS field
Alters the address indicated by the cursor in the ladder diagram display area to the address
specified in the "NEW ADDRESS" field.
This soft key is not displayed if the cursor in the ladder diagram does not indicate an address
that can be altered.
(b) [ALTER ALL] Alter to the address specified in the NEW ADDRESS field at once
Alters all instances of the address specified in the "OLD ADDRESS" field to the address
specified in the "NEW ADDRESS" field at once. If a whole program is selected, alteration
will take place globally. If a local program is selected, alteration will take place locally.
The following messages are displayed at the start and end of alteration.
(Confirmation message before alteration)
DO YOU ALTER ALL OLD ADDRESS IN GLOBAL?
(At the end of alteration)
ADDRESSES WERE ALTERED INTO "XXXXX" IN THE GLOBAL.
(c) [<=>] Switch the cursor position
Switches the cursor position between "OLD ADDRESS" and "NEW ADDRESS" alternately.
- 1120 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(d) [MOVE SYMBOL] Move a symbol
Deletes the symbol of the address in the "OLD ADDRESS" field and redefines it for the
address in the "NEW ADDRESS" field.
The following messages are displayed at the start and end of alteration.
(Confirmation message before alteration)
ARE YOU SURE YOU WANT TO MOVE THE SYMBOL?
(At the end of alteration)
THE SYMBOL WAS MOVED.
(e) [USE CHECK] Check the address to use
Checks to see if the address specified in the "NEW ADDRESS" field is in use by searching for
the address through the ladder diagram.
When the address is used, the following messages are displayed.
・The case that selected program uses the address.
”xxxxx” IS USED.
・The case that selected program uses the address (extended symbol/comment format)
THE ADDRESS IS USED.
・The case that other divided program uses the address.
THE ADDRESS IS USED IN OTHER PROGRAM.
(f) [PREV] Search in the backward direction
Searches for the address specified in the "OLD ADDRESS" field through the ladder diagram in
the backward direction.
(g) [NEXT] Search in the forward direction
Searches for the address specified in the "OLD ADDRESS" field through the ladder diagram in
the forward direction.
(h) [GLOBAL/LOCAL] Specify the area subject to search and alteration
Used to specify either the entire program (global) or the subprogram (local) as the area subject
to search and alteration in the ladder diagram.
This soft key is displayed when a local program is selected in the program list screen.
(i) [PICKUP ADRS] Acquire the address indicated by the cursor
Used to pick up and load the address indicated by the cursor in the ladder diagram into the
"OLD ADDRESS" or "NEW ADDRESS" field.
(j) [EXIT] Exits from the address alternation function
Exits from the address alteration function and returns you to the ladder edit functions.
To use the address alteration function again, press the [CHANGE ADRS] soft key while the
ladder edit functions are displayed.
- 1121 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
NOTE
1 When same address is used in both selected program and another program, the
status for selected program is displayed.
2 The mark of addresses used in other program is displayed in bit position.
3 When there are some addresses used in other program, the following statuses
are showed as “#”
*(used as bit or byte), S(symbol/comment is defined), a,- (Automatic assignment
address)
- 1122 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(2) Additional display line
Any symbol/comment of the address at the cursor position is displayed in the additional display line.
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.
(Memory-B)
3 The following addresses are not subject to unused address search: (Memory-B)
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 to the net in which the address at the cursor is in use. At this time, lap search is executed
in whole ladder program, regardless of the ladder screen settings. Addresses, which are showed
as “*” mark of bit or byte, can be jumped.
(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.
- 1123 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
NOTE
This operation is available to bit addresses only.
You cannot automatically input byte addresses.
- 1124 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Operation
This function is applicable to the first parameters of the following functional instructions.
SUB3 (TMR)
SUB5 (CTR)
SUB24 (TMRB)
SUB56 (CTRB)
SUB57 (DIFU)
SUB58 (DIFD)
SUB77 (TMRBF)
Moving the cursor to one of these parameters and pressing the [AUTO] soft key causes an unused
parameter number to be input.
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.
If you perform this operation with a parameter number already input, an unused parameter number
subsequent to that number will be set.
If an attempt is made to perform this operation on a function instruction to which this operation is not
applicable, the following error message will be displayed.
If no unused numbers for parameters are found, the following error message will be displayed.
Time to check
When you edit coils, this function always detects double coils.
When the check makes a hit, the following message is displayed:
Example)
R0100.0 IS USED IN NET 100 AS COIL.
Timing to check
When you edit parameter number of functional instructions, this function always detects duplication.
When the check makes a hit, the following message is displayed:
- The case of detecting duplication of parameter number of functional instructions in selected program
“INSTRUCTION” NUMBER IS USED(NET xxxx).
- The case of detecting duplication of parameter number of functional instructions in other program of
same PMC path
“Instruction name” NUMBER IS USED IN OTHER PROGRAM.
Example)
CTR NUMBER IS USED(NET 100).
- 1126 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
There are two area in which above functional instructions should check. One is that checking in whole
program of the PMC path and another is that checking in selected program only.
Whole program of the PMC path: SUB3 (TMR), SUB5 (CTR), SUB56 (CTRB)
Selected program: SUB24 (TMRB), SUB77 (TMRBF), SUB57 (DIFU), SUB58 (DIFD)
- 1127 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Moreover, you can check the overwriting for plural sequence programs.
- When using the ladder dividing management function, they are checked among main ladder program
and divided ladder programs.
- Common memories (E address) for two or more PMC paths are checked when using a multiple PMC
paths system.
- When using memory shared mode in the multi-path PMC, all of shared PMC memories and
instruction numbers are checked.
The result of check is displayed with a list of net numbers of a program that is using duplicated data.
You can display a selected ladder net by moving the cursor and pressing the [JUMP] soft key.
Screen structures
(1) ADDRESS
Duplicated PMC address of coil and Functional instruction's name and number are displayed. You
can also display it by symbol instead of PMC address by pressing the [SYMBOL] soft key.
- 1128 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(2) NET NO.
Some net numbers using the same coil or instruction number are displayed. The net number is
displayed in the following format by the configuration of PMC and the setting of the Ladder diagram
screen.
In the “PMC” field of the format above, PMC path number and divided ladder program number are
displayed.
In case of main ladder program, the following PMC path numbers are displayed. In case of divided
ladder program, the divided number is also displayed after PMC path number + “-“.
NOTE
In the address area and the additional information display line, symbols of current
sequence program are displayed.
Searching of a PMC address or a Functional instruction Switches PMC address display mode
When you cancel the searching, the check result display area is cleared. Operate the search function
again to re-display it.
- 1130 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
History 1 Step Screen Subprogram List State Display Ladder Screen Subprogram List Collective Monitor
[LIST]
Program List
[ZOOM]
History 2 Step Screen Subprogram List State Display Ladder Screen Subprogram List Collective Monitor
[SPLIST] [ZOOM]
[SWITCH]
History 3 Step Screen Subprogram List State Display Ladder Screen Subprogram List Collective Monitor
[JUMP]
History 4 Step Screen Subprogram List State Display Ladder Screen Subprogram List Collective Monitor
[SEARCH]
History 5 Step Screen Subprogram List State Display Ladder Screen Subprogram List Collective Monitor
History n Step Screen Subprogram List State Display Ladder Screen Subprogram List Collective Monitor
NOTE
When current program is switched from main program to divided program
with searching operation, the display history is recorded. However,
switching from divided program to other divided program clears recorded
display history.
- 1131 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
P203 P203
- 1132 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
SP area
History of the
displayed subprogram
Size area
Calling subprogram
- 1133 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
(2) Others
For details of screen structures and operation, see Section 8.1, "DISPLAYING A PROGRAM LIST
([LIST] SCREEN)".
- 1134 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
-Touch
“Touch” means to press a point on the screen momentarily.
- Long touch
“Long touch” means that a point on the screen is kept pressed for a second or longer and then a
pointer is released from same point on the screen.
Furthermore, you can operate a soft key using a touch panel on all screens.
CAUTION
When a point on the screen is kept pressed for a second or longer, "Long touch"
comes into effect. If CNC parameter 3192#2 is set to 1 and CNC parameter
3197, which means detection time of continuous pressing on touch panel, is set
to a short time, NC alarm " SR5303 TOUCH PANEL ERROR " might occur on
"Long touch".
When NC alarm occurred, operation of CNC is stopped.
When NC alarm occurred, adjust CNC parameter 3192#2 and 3197.
NOTE
1 To use a touch panel function, the “Touch panel control” or the “FANUC
PICTURE function” option is necessary.
2 An operation of touch panel is not recorded to the operation history.
3 See “8.12.1 Operation list of the touch panel” for available operations of touch
panel.
4 When display of the virtual MDI key overlaps with PMC screen, this function is
disabled because of taking precedence the virtual MDI key.
See "USER’S MANUAL of each CNC series for the virtual MDI key function
details.
5 When the one-touch menu displays on 10.4" display unit, this function is disabled
because of taking precedence the one-touch menu.
6 This function can be controlled using keep relay.
K931.0.
0: Enables the touch panel operation of PMC screens. (Initial value)
1: Disables the touch panel operation of PMC screens.
7 On series 30i/31i/32i/35i-B or Power Motion i-A, 0i-F with Personal Computer,
this function is not supported.
- 1135 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
NOTE
When you operate using touch panel on the ladder diagram screen and the
collective monitor screen, set "SHOW CURSOR" to "YES" on the ladder diagram
monitor screen (setting). If "SHOW CURSOR" is "NO", you can operate only the
page change on these screens.
- 1136 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Touch : Page up
Touch
- 1137 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Long touch
- 1138 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Touch
- 1139 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Long touch
Long touch
- 1140 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
On the instance of function block, long touch is available at "FB instance", "FB definition name","
Input parameter", "Output parameter", "Input/Output parameter" or "Instance monitor".
- 1141 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Touch : Page up
Touch
- 1142 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Touch
- 1143 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Touch : Page up
Touch
- 1144 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(3) Display the contents of subprogram [ZOOM]
When you long touch the program number, the cursor color becomes red and touched program is
displayed on ladder diagram editor screen. If you want to cancel "zoom" operation, move the
touched point after the cursor color is red. By the way, when the selected program is protected to
edit, you have to unlock the protection.
Long touch
- 1145 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Touch
- 1146 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
(3) Pick up ladder net [PICKUP]
When you long touch the bit address, the cursor color becomes red and the ladder net including the
coil with the touched bit address is picked up. If you want to cancel "pick up" operation, move the
touched point after the cursor color is red.
Long touch
Long touch
- 1147 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
On the instance of function block, long touch is available at "FB instance", "FB definition name",
"Input parameter", "Output parameter", "Input/Output parameter" or "Instance monitor".
- 1148 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Touch : Page up
Touch
- 1149 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
Long touch
On the instance of function block, long touch is available at "FB instance", "FB definition name",
"Input parameter", "Output parameter", "Input/Output parameter" or "Instance monitor".
- 1150 -
B-64513EN/03 8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER])
Operation
Pressing the [ADD TO TRACE] soft key adds the PMC address used for contact or coil into sampling
address for signal trace.
When adding, the message “ADDED TO TRACE SAMPLING ADDRESS.” is displayed.
Pressing
- 1151 -
8.LADDER DIAGRAM MONITOR AND EDITOR SCREENS ([PMC LADDER]) B-64513EN/03
NOTE
1. When there is a contact or a coil on cursor and pressing [ADD TO TRACE] after
entering PMC address, the PMC address is added to sampling address. PMC
address of the contact or the coil on the cursor is not added to sampling address.
2 PMC address to add to sampling address is only bit address. Byte address cannot
be added.
3 When cursor is located on the position on which the PMC address cannot be
added and press the [ADD TO TRACE], there is no reaction.
4 When entered strings are not correct symbol or PMC address, the error message
“INPUT INVALID” is displayed.
Result of adding
PMC address, which is added in ladder diagram monitor screen, is registered at the top of sampling
addresses.
The sampling addresses, which have already set, are moved down one step. When sampling addresses
exceeds the maximum number, last sampling address is deleted.
You can confirm the added address in the trace parameter setting screen.
- 1152 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
SYSTEM
- 1153 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
- 1154 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(3) Used memory
Using memory size for each data are displayed. The following information is displayed.
• All program size
• Ladder program size
• Symbol & Comment data size
• Message data size
You can switch the display of scan time by operating a soft key.
The detailed display of scan time is an execution period of 2nd level ladder, which is represented by
percentage (%). The 100% means the assigned time for execution of ladder for each PMC paths in
every ladder execution cycle.
The relation between the scan time and the detailed display of scan time is as follows.
Ladder execution cycle (4msec/8msec) Ladder execution cycle (4msec/8msec) Ladder execution cycle (4msec/8msec)
250%
- 1155 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
1 When the ladder is stopped, the maximum/minimum of scan time is cleared.
2 When the scan time exceeds 4-digit, "****" is displayed.
3 When the execution time at the 1st level of the ladder exceeds the time allocated
in each PMC paths, a detailed display of scan time is not displayed correctly.
4 When using the 1st level execution cycle in 1ms, 2ms, the detailed scan time
may be dramatically changed by the execution timing of the 1st level.
Screen operations
Switch to the editor screen Switch to the TITLE DATA (MESSAGE) screen
Change the scan mode Reset the scan time Switch PMC path
NOTE
1 The [EDIT] soft key appears when the Programmer Protection is released, and it
becomes effective.
2 The operation of changing scan time display by [SCAN MODE] is applied to all
PMC paths.
3 The operation of resetting maximum / minimum scan time display by [SCAN
RESET] is applied to each PMC path.
- 1156 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
Soft keys on the PMC Title Data Editor screen
Change the input mode Move to the PMC Title Data 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.
- 1157 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
- 1158 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
In this screen, the following items are displayed for message data for multi-language display.
• TITLE: Title information of the message data
• SERIES: Series of the title data
• EDITION: Edition of the title data
• MEMORY USED: Memory used status
• AVILABLE LANGUAGE: List of language IDs
Screen Operation
Soft key on the TITLE DATA (MESSAGE) screen
- 1159 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
This manual describes the procedure for displaying series/edition in the screen.
As for details for creating of message data for multi-language display, refer to
“FANUC LADDER-III OPERATOR’S MANUAL (B-66234EN)”.
・ Specify the series/edition directive line from the beginning of a line in title information enclosed in
double quotation marks.
・ To display the “xxxx” in the screen, specify a string within four characters.
Usable characters are half-width capital alphabet, digit characters, space and dot.
Useable characters
A to Z, 0 to 9, Space, . (dot)
Example)
The case of displaying “SERIES MS01” and “EDITION 01.0” in the TITLE DATA (MESSAGE)
screen
Specify “(2) Series directive line” and “(3) Edition directive line” in the title information of message
source file for multi-language display.
% Identification code
Convert the message source file for multi-language display to memory card format file and load the
file into CNC. Therefore, the series/edition directive line is not displayed in the title column and
specified strings are displayed in the series/edition column.
- 1160 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(1)
(2) (3)
NOTE
1 When no series/edition directive line is specified in the message source file of
multi-language message data, the column of series/edition of the screen
becomes blank.
2 When specifying characters which can not be used for string of series/edition,
space characters are displayed in the column of series/edition of the screen.
3 When loading the message data for multi-language display with series/edition
directive into CNC system which is not applied to this function, the series/edition
directive line is displayed in the title column as the string typed in the message
source file.
- 1161 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
For details of former type symbol and comment screen, see Subsection 9.2.1 to 9.2.4.
For details of extended type symbol and comment screen, see Subsection 9.2.5 to 9.2.7.
ADDRESS: Displays the byte or bit addresses for which a symbol or comment is registered.
SYMBOL: Displays the symbol for each address (16 characters).
COMMENT: Displays the comment for the address (30 characters).
Scroll bar: Indicates the position of the current displayed data.
Amount of occupied memory:
The amounts of memory occupied by symbol data and of that occupied by comment data,
and total amount of memory occupied by symbol and comment data are displayed under
the symbol and comment display.
- 1162 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
Switch to the editor screen Search for data Switch PMC path
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.
- 1163 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Screen operations
Soft keys on the SYMBOL & COMMENT DATA EDITOR screen
Fig. 9.2.2 Soft keys on the SYMBOL & COMMENT DATA EDITOR screen
- 1164 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(d) [DELETE ALL] Delete all data
Deletes all symbol and comment data.
(e) [SEARCH] Search for data
Searches for the address corresponding to the input string or an address for which symbol or
comment data containing the input string is defined and displays it on the screen. Both bit and
byte addresses can be searched for.
(f) [EXIT EDIT] Terminate editing
Switches to the SYMBOL & COMMENT DATA VIEWER screen.
Example 1:
Inputs an address, symbol, and comment. A slash “/” is used as a delimiter.
G0.4/*EMG/EMERGENCYSW/INPUT key
Example 2:
Omits a comment. A slash “/” is used as a delimiter.
G0.4/*EMG// INPUT key
G0.4/*EMG/ INPUT key
G0.4/*EMG INPUT key
To update symbol or comment data for an existing address, move the cursor to the target address and
enter symbol or comment data with omitting the address.
Example 3:
Omits an address and inputs symbol and comment data. A slash “/” is used as a delimiter.
/*EMG/EMERGENCYSW/INPUT key
In this case, when symbol or comment data is omitted, the displayed data is not changed.
- 1165 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Screen operations
Soft keys on the symbol & comment data entry editor screen
Change the input mode New entry Cancel edits Editing next entry
Fig. 9.2.3 Soft keys on the symbol & comment data entry editor screen
- 1166 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(1) Operations using the soft keys
(a) [INPUT MODE] Change the input mode
Pressing the [INPUT MODE] soft key changes the input mode. The selection cycles in the
following order. In the insert mode, "INSERT" appears on the screen; in the replace mode,
"ALTER" appears.
• 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.
(c) [ADD LINE] New entry
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.
(d) [DELETE] Delete characters
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.
(e) [CANCEL EDIT] Cancel edits
Cancels edits and switches to the SYMBOL & COMMENT DATA EDITOR screen. The data
is not updated.
(f) [PREV ENTRY] Editing previous entry
You can edit a symbol and comment on previous entry without leaving from editing mode.
(g) [NEXT ENTRY] Editing next entry
You can edit a symbol and comment on next entry without leaving from editing screen.
- 1167 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Screen operations
Symbol & comment data entry editor screen
Delete characters
Fig. 9.2.4 Soft keys on the symbol & comment data entry editor screen
- 1168 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(1) Operations using the soft keys
(a) [INPUT MODE] Change the input mode
Pressing the [INPUT MODE] soft key changes the input mode. The selection cycles in the
following order. In the insert mode, "INSERT" appears on the screen; in the replace mode,
"ALTER" appears.
Full-string Insert Replace
input mode mode
• 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
It deletes the string at the cursor.
• In the insert or replace mode
It deletes one character at the cursor.
(d) [CANCEL EDIT] Cancel edits
Cancels edits and switches to the SYMBOL & COMMENT DATA EDITOR screen. The data
is not updated.
(2) Screen operation using other keys
Cursor keys: Move the cursor.
(3) RETURN key operation
On the symbol & comment data entry editor screen, the return key operation is disabled. To
terminate editing of a symbol and comment data entry and return to the SYMBOL & COMMENT
DATA EDITOR screen, use the [ADD LINE] or [CANCEL EDIT] soft key.
- 1169 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Scroll bar
Fig. 9.2.5(a) Extended symbol and comment displaying screen (Outline mode, Symbol order)
Fig. 9.2.5(b) Extended symbol and comment displaying screen (Details mode, Symbol order)
Pressing the [ADRS ORDER] or [SYMBOL ORDER] soft key, you can sort entries by address or
characters of symbol.
- 1170 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Fig. 9.2.5(c) Extended symbol and comment displaying screen (Outline mode, Address order)
Fig. 9.2.5(d) Extended symbol and comment displaying screen (Details mode, Address order)
PROG.SYMBOL: Symbol is displayed. When a symbol is local symbol, this symbol is displayed as the
form “[PROGRAM NAME].[SYMBOL]”
ADDRESS: Address is displayed.
TYPE: Data type is displayed.
COMMENT: Comment is displayed. When multi comments are defined, you can see each
comment by pressing the soft key [SWITCH COMENT].
- 1171 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Operation
Soft keys on the SYMBOL & COMMENT DATA VIEWER screen
Search for data Switch to the address order display Change the display mode
Fig. 9.2.5(e) Soft key layout in extended symbol and comment displaying screen
- 1172 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Fig. 9.2.6(a) Extended symbol and comment editing screen (One comment display)
Pressing the [ALL COMENT] soft key changes a screen to the “All comment display” screen. In the “All
comment display” screen, you can refer to other comment sets in editing.
Fig. 9.2.6 (b) Extended symbol and comment editing screen (All comment display)
FREE:
Free memory size to store symbol and comment is shown. Editing various data such as sequence
program and message will change this free size.
- 1173 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Operation
Soft keys on the SYMBOL & COMMENT DATA EDITOR screen
Change displaying
Search for data Create a new entry
comment
Change the input mode Delete all data Delete characters Copy characters
Fig. 9.2.6 (c) Soft key layout in extended symbol and comment editing screen
- 1174 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(1) Operation by soft key
(a) [ALL COMMENT] / [ONE COMMENT] Changing the comment display mode
This soft key allows you to change the comment display mode. One mode is “All comment
display”. Another is “One comment display”. In the “All comment display” mode, you can edit
all comments in the same screen. In the “One comment display” mode, you can refer to another
symbol and comment.
(b) [SEARCH] Searching word
You can search entry by address expression, part characters of symbol or part characters of
comment.
(c) [PREV ENTRY] Editing previous entry
You can edit a symbol and comment on previous entry without leaving from editing mode.
(d) [NEXT ENTRY] Editing next entry
You can edit a symbol and comment on next entry without leaving from editing screen.
(e) [NEW ENTRY] Adding a new entry
You can add a new symbol and comment entry.
(f) [DELETE ENTRY] Deleting entry
You can delete a symbol and comment entry.
(g) [ADRS ORDER] / [SYMBOL ORDER] Changing a displaying order
You can change the displaying order. Pressing the [ADRS ORDER] soft key, all entries are
sorted by address. Pressing the [SYMBOL ORDER] soft key, entries are sorted by character of
symbols in each sub programs.
(h) [PROG. SYMBOL] / [PROG. NO.] Changing a display of program name
Pressing the [PROG.SYMBOL] soft key, all symbols defined to addresses P are displayed as a
name of sub program. When pressing the [PROG. NO.] soft key, addresses P are displayed as a
name of subprogram.
(i) [SWITCH COMENT] Changing a display of comment set.
Pressing the [SWITCH COMENT] soft key, current displaying comment set is changed to next
comment set.
(j) [EXIT EDIT] Terminating editing
Pressing the [EXIT EDIT] soft key, editing of symbol and comment is terminated. A screen is
changed to symbol and comment display screen.
(k) [INPUT MODE] Changing an input mode
Pressing the [INPUT MODE] soft key, input mode is changed as following. Current input
mode is displayed on right top of the screen.
WHOLE INSERT ALTER
• WHOLE
This mode is whole editing mode. Whole characters on the cursor are replaced.
• INSERT
The input characters are inserted before the cursor. On comment editing box, pressing the
INPUT key with no character inserts one white space before the cursor.
• ALTER
The characters on and after cursor are overwritten by input characters. On comment
editing box, pressing the INPUT key with no character overwrites a character on the
cursor by one white space.
(l) [LINE FEED] Inserting a new line code
On comment editing box, pressing the [LINE FEED] soft key inserts a new line code. When
you print a sequence program on FANUC LADDER-III, comment string starts new line at the
inserted new line code. New line code is only available in comment string.
(m) [DELETE ALL] Deleting all symbols and comments
Pressing the [DELETE ALL] soft key deletes all symbols and comments.
- 1175 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
1 The character which can be inputted from CNC screen are the alphabetic
character, number, and sign of ASCII. Refer to "1.2.7 (7) Available characters"
for the character which can be used.
2 Create the data of Japanese comment and multi-language comment (simplified
Chinese character, Korean, etc.) using FANUC LADDER-III.
3 The character which cannot be displayed on CNC screen is converted to a
space character, when compiled by FANUC LADDER-III.
- 1176 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Fig. 9.2.7 (a) Adding new entry of symbol and comment screen (One comment display)
Fig. 9.2.7 (b) Adding new entry of symbol and comment screen (All comment display)
- 1177 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Operation
Soft keys on the SYMBOL & COMMENT DATA EDITOR screen (New entry mode)
Change the input mode Select characters Cut characters Paste characters
Insert the line feed code (for comment) Delete characters Copy characters
Fig. 9.2.7 (c) Soft key layout in adding new entry of symbol and comment screen
As for the explanation of other soft keys, refer to "9.2.6 Editing Extended Symbol and Comment".
- 1178 -
B-64513EN/03 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.
- 1179 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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.
(c) [PREVIEW] Previewing message data
Displays a character code enclosed by at signs (@) with the corresponding character actually
displayed.
Example)
Japanese1: ”@B6C532@” →”カナ 2”
Japanese2: ”@0248733E6F44643B5F01@100”→”非常停止 100”
- 1180 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
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.
- 1181 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Screen operations
Soft keys on the PMC Message Data Editor screen
Delete an entry
- 1182 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(i) [PASTE] Paste an entry
Replaces data at the cursor with the entry transferred to the pasting buffer by the [CUT] or
[COPY] soft key. When the contents of the pasting buffer are pasted by pressing the [PASTE]
soft key, they are not erased. The contents of the pasting buffer are retained until the power to
the NC is turned off.
(j) [DELETE ALL] Delete all entries
Deletes all message data.
- 1183 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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.
- 1184 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
Soft keys on the message data entry editor screen
Delete characters
Editing previous entry Input an at sign (@)
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.
(c) [@] Input of an at sign (@)
To display Japanese, or special character, the character code of the character is enclosed by at
signs (@). To simplify the input of an at sign (@), this soft key adds an at sign (@) to the
string in the key input line. This soft key is enabled when the input mode is insert or replace.
In the full-string input mode, this soft key is not displayed.
(d) [PREVIEW] Previewing message data
Displays a character code enclosed by at signs (@) with the corresponding character actually
displayed.
The operation method conforms to that for [PREVIEW] on the MESSAGE DATA VIEWER
screen. For details, see "Screen operations" for the MESSAGE DATA VIEWER screen.
(e) [EXIT ZOOM] Switch to the editor screen
Terminates entry editing of message data and moves to the MESSAGE DATA EDITOR screen.
(f) [SELECT] Select characters
Use this key to specify multiple characters to be edited with a soft key such as [DELETE].
Pressing this soft key puts the screen into the mode for selecting multiple characters starting
- 1185 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
from the character being edited at that time. Move the cursor so that the characters to be edited
are selected. After the characters to be edited are selected, operate each edit soft key or enter
characters. This soft key is enabled when the input mode is insert or replace. In the full-string
input mode, this soft key is not displayed.
(g) [DELETE] Delete characters
Deletes selected characters.
(h) [CUT] Cut characters
Cuts selected characters. The cut characters are transferred to the pasting buffer and deleted
from message data. The contents of the pasting buffer before the characters are transferred are
erased. When you want to move characters, use this soft key together with the [PASTE] soft
key.
(i) [COPY] Copy characters
Transfers selected characters to the pasting buffer. The message data is not changed. The
contents of the pasting buffer before the characters are transferred are erased. When you want
to copy characters, use this soft key together with the [PASTE] soft key.
(j) [PASTE] Paste characters
Inserts the characters transferred to the pasting buffer by the [CUT] or [COPY] soft key at the
cursor in the insert input mode or replaces the data at the cursor with the characters in other
input modes. When the contents of the pasting buffer are pasted by pressing the [PASTE] soft
key, they are not erased. The contents of the pasting buffer are retained until the power to the
NC is turned off.
(k) [PREV ENTRY] Editing previous entry
You can edit a symbol and comment on previous entry without leaving from editing mode. And
the up cursor move key acts just like [PREV ENTRY] soft key.
(l) [NEXT ENTRY] Editing next entry
You can edit a symbol and comment on next entry without leaving from editing mode. And the
down cursor move key acts just like [NEXT ENTRY] soft key.
(m) [CANCEL EDIT] Cancel edits
Cancels edits made on this screen.
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)
- 1186 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
Switch to the allocation editor screen Change the channel Switch the PMC path
- 1187 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Screen operations
Soft keys in I/O MODULE EDITOR screen
- 1188 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
As to the allocation name of I/O Unit, see Tables 3.2.3 (a) to 3.2.3 (c) in section
“3.2.3”.
(c) The I/O Unit is allocated to address of the cursor position for the I/O Unit size.
In case of above example (b), I/O Unit is allocated at X10 and X11 like as follows.
- 1189 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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.
- 1190 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
[<]
PMC SETTING (GENERAL) screen Keep Relay
Page1 (K0-K99)
[NEXT]
The screen protection [PREV]
NOTE
You can also use the keep relay screen (for K900 and after) to set these setting
parameters.
Setting screen of multi-language display function, selectable I/O link assignment function and
OVERRIDE mode of the forced input/output function and System Keep Relay screen can be protected by
programmer protection function.
- 1191 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Page1 Page2
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.
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
- 1192 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(f) HIDE PMC PARAM (K902.6)
NO: Allows PMC parameter display.
YES: Prevents PMC parameter display.
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.
(n) I/O CONF EDIT ENABLE (K907.0) (only 1st PMC path)
NO: Disables editing of I/O configuration data (I/O Link i assignment data).
YES: Enables editing of I/O configuration data (I/O Link i assignment data).
NOTE
This setting effects some PMC functions.
For details, see Section 6.2.
- 1193 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
For details of the display condition for this screen, see Section 6.2.
NOTE
Data set for "MESSAGE SHIFT START ADDRESS" is valid only when the value
set for "MESSAGE SHIFT VALUE" is other than 0.
- 1194 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(3) Setting screens for the selectable I/O Link assignment function
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. Therefore, 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.
- 1195 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
The maximum number of X/Y address blocks of I/O Link per PMC is 4.
You can set these parameters of available X/Y address blocks of I/O Link.
To switch to another page, use the page keys.
- 1196 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(4) PMC SETTING (OVERRIDE) screen
On this screen, specify whether to enable the override function.
NOTE
For details of the display condition for this screen, see Section 6.2.
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.
WARNING
Special care must be exercised when using the Override function. If the Override
function is used incorrectly, the operation of the machine may be unpredictable.
Therefore, use the Override function after understood "7.1.1 Forced I/O function"
sufficiently. Moreover, When shipping the machine, disable the Override function
invariably.
- 1197 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
- 1198 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Title information
Ladder execution time
Alarm mark
This screen displays the status of up to five PMCs and dual check safety.
The status display for each PMC shows title information (REMARKS), ladder execution performance
monitor, current execution time of the ladder program, sequence program number, divided ladder
program number and edition corresponding to the title data, and alarm mark.
The ladder execution performance monitor shows the ratio of the execution of the level-1 and level-2
sequence sections of the ladder program on the monitor bar. The ratio of the execution of the level-1
sequence section of the ladder program is displayed with a numeric value next to the monitor bar. When
the ladder program is stopped, the monitor bar is not displayed.
When using the ladder dividing management function, the divided ladder program number is displayed.
No number is displayed when main ladder program is selected.
The alarm mark is displayed only when an alarm is issued on the PMC. Nothing is displayed when no
alarm is issued.
- 1199 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
CAUTION
When the programmer protection function is enabled, the [RUN]/[STOP] soft key
appears and is available. For details, see Section 6.2.
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 work piece or the machine.
Otherwise, there is an extreme risk of death or serious injury, as well as the
likelihood of the tool, the work piece, and the machine being damaged.
NOTE
In case of a fatal PMC alarm that prevents the program to start, even if you
press "YES" soft key, the program will not start.
Title information
Alarm mark
monitor bar
The ladder execution performance monitor shows the execution time ratio of the 1st level of execution
cycle in 1ms or 2ms. The maximum execution time is 100%. In case of 1ms of the execution cycle, the
maximum execution time is 0.5ms. In case of 2ms of the execution cycle, the maximum execution time is
1ms.
The information of the ladder program of the 1st level of ladder execution cycle in 1ms, 2ms is displayed
on the title information and divided ladder program number. And the alarm status of the PMC path of the
1st level execution cycle in 1ms, 2ms is displayed at the alarm mark.
In the PMC path in which 1ms or 2ms is not set to execution cycle of the 1st level, this information is
displayed as blank.
Fig. 9.6.2 (b) Soft keys on the PMC STATUS(1,2ms LADDER) screen
- 1201 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
CAUTION
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.
Even while you are monitoring signals, ladder program and PMC parameters, and editing PMC
parameters using the online function, you can monitor them also on following PMC screen.
- 1202 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
On these screens, if you start editing the sequence program by online edit or storing another sequence
program from FANUC LADDER-III or Ladder Editing Package to PMC, PMC will stop monitoring the
sequence program. When updating the sequence program is completed, PMC will start monitoring the
new program again.
However, on the following PMC screens, even if you start storing another sequence program from
FANUC LADDER-III or Ladder Editing Package to PMC, symbol and comment data displayed in the
screen will not be updated automatically.
When symbol and comment data are displayed again by page up/down key, etc, the updated symbol and
comment data will be displayed.
CAUTION
1 While communicating with online function, you can not move to following PMC
editor screens and an attempt will result in an error message "PROGRAM IS
BEING MODIFIED".
On the other hand, while one of the following PMC screens is displayed, a
demand to make connection with the online function of FANUC LADDER-III or
Ladder Editing Package will be rejected, and will issue a communication error
instead and you can not use online function.
Use the online function on the screen except following PMC screens.
- LADDER DIAGRAM EDITOR screen
- PROGRAM LIST EDITOR screen
- TITLE DATA EDITOR screen
- SYSTEM PARAMETER EDITOR screen
- I/O MODULE EDITOR screen
- SYMBOL & COMMENT DATA EDITOR screen
- MESSAGE DATA EDITOR screen
- PMC PARAMETER (DATA TABLE) screen (write enable)
(When data table control data is protected, the data table control data can not
be modified on the screen. For details, see section 6.2.1 and 6.2.2)
2 If you start storing a PMC parameter from FANUC LADDER-III or Ladder Editing
Package to PMC, while the PMC PARAMETER (DATA TABLE) screen is
displayed, data table is displayed according to the old data table control data
until you once exit and re-enter PMC PARAMETER (DATA TABLE) screen.
- 1203 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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.
(1) Setting of online connection using the PARAMETERS FOR ONLINE MONITOR screen
Press the [ONLINE] soft key to display the PARAMETERS FOR ONLINE MONITOR screen.
NOTE
When the programmer protection function is enabled, the online setting screen is
available. For details, see Section 6.2.
EMG STOP: Terminates communication forcibly. Use this key if communication becomes
abnormal and the connection cannot be terminated normally.
INIT: Initializes the parameters to their default values.
CAUTION
In case of configuration of CNC with which neither Ethernet nor HSSB is
available, the item of "HIGH SPEED " is not displayed.
- 1204 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(a) Case of connection by RS-232C (FANUC LADDER-III)
(i) Check that "NOT USE" is selected at the "RS-232C" item.
(ii) Set the parameter of "CHANNEL" and "BAUD RATE".
(iii) Move the cursor to the "RS-232C" item with Up or Down Cursor key.
(iv) Select "USE" with Left or Right Cursor key.
(b) Case of connection by Ethernet (FANUC LADDER-III, Ladder Editing Package)
(i) Move the cursor to the "HIGH SPEED" item with Up or Down Cursor key.
(ii) Select "USE" with Left or Right Cursor key.
(c) Case of connection by HSSB (Ladder Editing Package)
(i) Move the cursor to the "HIGH SPEED" item with Up or Down Cursor key.
(ii) Select "USE" with Left or Right Cursor key.
NOTE
1 When both "RS-232C = USE" and "HIGH SPEED = USE" are selected, the PMC
system will communicate with the application which is connected 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, setting Ethernet parameters of
CNC is necessary in advance.
- 1205 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
The display messages and the meanings are shown in the table of below.
- 1206 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(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.
- 1207 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
(c) Select the [Setting] tab, and add the IP Address to "Use device".
- 1208 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
- 1209 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
- 1210 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Display screen
Screen operation
- 1211 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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
Screen operation
CAUTION
After changing the data type, set the counter value again.
See Subsection 7.3.2.
- 1212 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Display screen
Screen operation
- 1213 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Setting screen
Screen operation
- 1214 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(2) Screen operations using other keys
Use the [↑] and [↓] cursor keys to change the item to be edited.
Use the [←] and [→] cursor keys to change the setting.
- 1215 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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.
- 1216 -
B-64513EN/03 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.
Screen operation
- 1217 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
- 1218 -
B-64513EN/03 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.
- 1219 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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.
- 1220 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
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
(2) PMC
Assign a PMC to each CNC-PMC interface block.
PMC1: First PMC
PMC2: Second PMC
PMC3: Third PMC
PMC4: Forth PMC
PMC5: Fifth PMC
- 1221 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
If an invalid value is set for the NC parameter, "ILLEGAL" is displayed as shown
below:
When values are set on the screen as shown in the figure above, the following settings are input for
the corresponding NC parameters:
NOTE
This screen can be protected from editing using the programmer protection
function.
- 1222 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operation
Soft keys on the CNC I/F screen
Initialize settings
Previous choice Delete the setting
To select a PMC
PREV NEXT
PMC1
PMC2
PMC3
PMC4
PMC5
This soft key is displayed and can be operated only when editing is allowed.
This soft key is displayed and can be operated only when editing is allowed.
- 1223 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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."
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, PMC4 or PMC5.
• Enter a numeric value 1, 2, 3, 4 or 5.
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"
- 1224 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
1 For details of input/output addresses of the I/O Link, see the description of
input/output addresses of the I/O Link in Subsection 2.4.3.
2 For details of input/output addresses for virtual channels of the I/O Link channel
split function, see the description of Input/output addresses of dual assignment
of I/O Link channel in Subsection 2.4.3.
X/Y addresses
I/O Link channels
PMC
Help message
(2) PMC
Displays each PMC.
PMC1: First PMC
PMC2: Second PMC
PMC3: Third PMC
PMC4: Forth PMC
PMC5: Fifth PMC
DCSPMC: Dual check safety ladder
- 1225 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
This screen can be protected from editing using the programmer protection
function.
Screen operation
Next choice Delete the setting Move to the PMC CONFIGRATION PARAMETER (MENU) screen
To select a PMC
PREV NEXT
PMC1
PMC2
PMC3
PMC4
PMC5
PMCDCS
This soft key is displayed and can be operated only when editing is allowed.
- 1226 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(b) [DUAL ASSIGN] Display of dual assignment
Setting items (BLOCK 2) of dual assignment of I/O link channel are displayed. They are
already displayed when they have been set. This soft key is displayed and can be operated only
when editing is allowed.
These settings reflect NC parameters of "I/O link input/output address" and "input/output address of
dual assignment of I/O link channel" as follows.
NC parameter number Setting Meaning
11910 100 Assign X/Y0 to X/Y127 of the first PMC to the first block of channel 1.
11915 200 Assign X/Y0 to X/Y127 of the second PMC to the second block of channel 1.
11911 101 Assign X/Y200 to X/Y327 of the first PMC to channel 2.
11916 0 Second block is not used in channel 2.
11912 102 Assign X/Y400 to X/Y527 of the first PMC to channel 3.
11917 0 Second block is not used in channel 3.
This soft key is displayed and can be operated only when editing is allowed.
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."
- 1227 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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, PMC4, PMC5 or DCSPMC.
• Enter a numeric value 1, 2, 3, 4, 5 or S.
NOTE
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"
- 1228 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
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 the NC parameter, "ILLEGAL" is displayed as shown
below:
CAUTION
If an invalid value is set for the NC parameter, the cursor is not displayed. Press
the [INIT] soft key to release the invalid state.
- 1229 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
This screen can be protected from editing using the programmer protection
function.
Screen operation
Soft keys for setting of ”EXEC PRIORITY”
Move the priority up Set the execution ratios automatically Initialize settings
Move the priority down Move to the PMC CONFIGRATION PARAMETER (MENU) screen
- 1230 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(d) [MENU] Switch to the MENU screen
Switches to the MENU screen.
When the first, second, third and forth PMCs are used
EXEC PRIORITY PMC EXEC RATIOS
1 PMC1 70%
2 PMC2 10%
3 PMC3 10%
4 PMC4 10%
When the first, second, third, forth and fifth PMCs are used
EXEC PRIORITY PMC EXEC RATIOS
1 PMC1 60%
2 PMC2 10%
3 PMC3 10%
4 PMC4 10%
5 PMC5 10%
NOTE
If an invalid value is set for the NC parameter, press the [INIT] soft key to
release the invalid state.
- 1231 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
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 (e) 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."
CAUTION
PMC nonvolatile memory must be initialized after changing PMC Memory Type.
Therefore, make a backup of PMC parameter before changing PMC Memory
Type. See "2.8 BATTERY BACKUP DATA" about the operation of initializing
PMC nonvolatile memory.
NOTE
1 The item of the menu differs by the constitution of software options.
2 Selectable PMC Memory Type differs for each PMC path. See the "2.1.3
Determination of PMC Memory Type" for the details of selectable types.
- 1232 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
Soft keys on the PMC CONFIGURATION PARAMETER (PMC MEMORY) screen
Select the PMC Memory-B Select the PMC Memory-D Switch to the menu screen
Fig. 9.9.5 (b) Soft keys on the PMC CONFIGURATION PARAMETER (PMC MEMORY) screen
- 1233 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
You are able to protect these screens by the programmer protection function.
For details, refer to subsection “6.2.1”.
Editor function
[ZOOM]
I/O CONFIGURATION EDITOR I/O CONFIGURATION EDITOR
(I/O Link i GROUP SETTING) SCREEN (I/O Link i SLOT SETTING) SCREEN
[EXIT ZOOM]
- 1234 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
NOTE
The [EDIT] soft key is available when the setting of “I/O CONF EDIT ENABLE” is
“YES” in the programmer protection function. The [SELECT ASSIGN] soft key is
available when the setting of “REGISTER I/O DEVICES” is “YES” in the
programmer protection function and the selectable assignment function is
enabled. For the details, refer to subsection “6.2.1” and “9.10.5”.
Channel display
Fig. 9.10.1(a) I/O CONFIGRATION VIEWER (I/O Link i GROUP SETTING) screen (Comment display mode)
- 1235 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Channel display
Fig. 9.10.1(b) I/O CONFIGRATION VIEWER (I/O Link i GROUP SETTING) screen (Attribute display mode)
NOTE
The data of “SEL” are displayed when the selectable assignment
function is enabled in the I/O CONFIGURATION EDITOR (I/O Link i
GROUP SETTING) screen.
- 1236 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
I/O CONFIGRATION VIEWER (I/O Link i GROUP SETTING) screen Display the TITLE screen
Display the SLOT SETTING screen Search for address Display the SELECT ASSIGN screen
Fig. 9.10.1 (c) Soft keys on I/O CONFIGRATION VIEWER (I/O Link i GROUP SETTING) screen
- 1237 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Channel display
Fig. 9.10.2(a) I/O CONFIGRATION VIEWER (I/O Link i SLOT SETTING) screen
Screen operations
I/O CONFIGRATION VIEWER (I/O Link i SLOT SETTING) screen
Fig. 9.10.2 (b) soft keys of I/O CONFIGRATION VIEWER (I/O Link i SLOT SETTING) screen
Screen operations
I/O CONFIGRATION VIEWER (I/O Link i TITLE) screen Display the VIEWER (GROUP SETTING)screen
- 1239 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
This manual describes the procedure for displaying series/edition in the screen.
As for details for creating of I/O Link i assignment data, refer to “FANUC
LADDER-III OPERATOR’S MANUAL (B-66234EN)”.
・ To display the “xxxx” in the screen, specify a string within four characters.
Usable characters are half-width capital alphabet, digit characters, space and dot.
Useable characters
A to Z, 0 to 9, Space, . (dot)
Example)
The case of displaying “SERIES ABCD” and “EDITION 01.0” in the I/O CONFIGURATION
VIEWER (I/O Link i TITLE) screen
Specify “(2) Series directive line” and “(3) Edition directive line” in the title in I/O Link i editing
screen of FANUC LADDER-III.
Compile the I/O Link i assignment data to memory card format file and load the file into CNC.
Therefore, the series/edition directive line is not displayed in the title column and specified strings
are displayed in the series/edition column.
- 1240 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(1)
(2) (3)
NOTE
1 When no series/edition directive line is specified in the I/O Link i assignment
data, the column of series/edition of the screen becomes blank.
2 When specifying characters which can not be used for string of series/edition,
space characters are displayed in the column of series/edition of the screen.
3 When loading the I/O Link i assignment data with series/edition directive into
CNC system which is not applied to this function, the series/edition directive line
is displayed in the title column as the string typed in FANUC LADDER-III.
- 1241 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Channel display
Fig. 9.10.4(a) I/O CONFIGRATION VIEWER (I/O Link i SELECTABLE I/O) screen
The “*” mark is displayed on the basic group which is set by pressing the [BASIC GROUP] soft key in
the I/O CONFIGURAITON EDITOR (I/O Link i GROUP SETTING) screen. This operation cannot be
performed on the basic group.
WARNING
If you modify this setting 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.
Screen operations
I/O CONFIGRATION EDITOR (I/O Link i SELECTABLE I/O) screen
Switch channel Search for address Display the VIEWER (GROUP SETTING) screen
Fig. 9.10.4 (b) Soft keys of I/O CONFIGRATION VIEWER (I/O Link i SELECTABLE I/O) screen
- 1242 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
(1) Operations using the soft keys
(d) [SWITCH CHANEL] Switching of channel
Switches the channels to display in order.
(e) [SEARCH] Search for address
Searches for address corresponding to the input character string input address and displays a
group that includes the address. In the message line, the detail information of slot is displayed.
The range for search are all of slots in whole channels.
(c) [ENABLE] Set to effective group
The assignment of the group is enabled.
(d) [DISABL] Set to invalid group
The assignment of the group is disabled.
(e) [EXIT] Display the GROUP SETTING screen
Moves to the I/O CONFIGRATION VIEWER (I/O Link i GROUP SETTING) screen.
- 1243 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Channel display
Fig. 9.10.5(a) I/O CONFIGRATION EDITOR (I/O Link i GROUP SETTING) screen (Comment display mode)
Channel display
Fig. 9.10.5(b) I/O CONFIGRATION EDITOR (I/O Link i GROUP SETTING) screen (Attribute display mode)
- 1244 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
I/O CONFIGRATION EDITOR (I/O Link i GROUP SETTING) screen
Display the SLOT SETTING screen Search for address Change the assignment data Exit editor
Change to attribute display mode Add new group Delete the group
Enable selectable assignment function Setting of basic group Delete all data
Fig. 9.10.5 (c) Soft keys of I/O CONFIGRATION EDITOR (I/O Link i GROUP SETTING) screen
NOTE
When the safety I/O mode is “DCSPMC”, the PMC path is set to
“DCSPMC” and pressing this key is invalid .
- 1245 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
• SAFETY
Changes the safety I/O mode in order.
Normal I/O PMC DCSPMC
• HIGH
Changes the update cycle in order.
Normal (2ms) High-speed (0.5ms)
• MPG
Changes existence/non-existence of manual pulse module.
Non-existence of MPG Existence of MPG
NOTE
When changing to “Non-existence of MPG”, the “MPG” in SLOT
disappears.
Example:
Before the editing:
GRP Group information Slot information SEL
01 GA SA ✓
02 GB SB ✓
03 GC SC (space)
Operation:
Pressing [NEW] when the cursor is on “GRP 02”.
- 1246 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Example:
Before the editing:
GRP Group information Slot information SEL
01 GA SA ✓
02 GB SB ✓
03 GC SC (space)
Operation:
Pressing [DELETE] when the cursor is on “GRP 02”.
NOTE
The operation of the group deletion deletes all of slot information which
belongs to the group.
NOTE
When changing to “Non-existence of MPG”, the “MPG” in SLOT
disappears.
- 1247 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
Fig. 9.10.6(a) I/O CONFIGRATION EDITOR (I/O Link i SLOT SETTING) screen
- 1248 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
I/O CONFIGRATION EDITOR (I/O Link i SLOT SETTING) screen
Switch input mode Delete the data Exit the slot editor Add new slot Delete slot
Fig. 9.10.6 (b) Soft keys of I/O CONFIGRATION EDITOR (I/O Link i SLOT SETTING) screen
NOTE
This key is valid for the comment data. For other data, this key is
invalid and input mode becomes the “WHOLE” mode.
NOTE
If once a free address is set by pressing this key, other address is
never searched by pressing this key again.
- 1249 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
The operation of the [DELETE SLOT] soft key never deletes the slot of
the “MPG”. When you want to delete the slot of the “MPG”, set the “MPG”
off in the I/O CONFIGURATION EDITOR (I/O Link i GROUP SETTING)
screen.
NOTE
When you set the “SAFETY” I/O mode to the “DCSPMC” for a group in the
I/O CONFIGURATION EDITOR (I/O Link i GROUP SETTING) screen,
you cannot change to the PMC path in the “PMC” item of the group.
Fig. 9.10.7(a) I/O CONFIGRATION EDITOR (I/O Link i SLOT SETTING) screen (NEW SLOT)
- 1250 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
Screen operations
I/O CONFIGRATION EDITOR (I/O Link i SLOT SETTING) screen (NEW SLOT)
Register the slot Register the slot and add next slot
Fig. 9.10.7 (b) I/O CONFIGRATION EDITOR (I/O Link i SLOT SETTING) screen (NEW SLOT)
- 1251 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
NOTE
Set keep relay K935.0 to 1 in order to display this screen by pressing [SWICH
PMC] in each PMC screen.
- 1252 -
B-64513EN/03 9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG])
・The case that the screen is displayed by the [PROG LIST] soft key
Selected program is switched.
・The case that the screen is displayed by the [SWITCH PMC] soft key
Selected program is switched and return to previous screen.
NOTE
[CANCEL] soft key is displayed only when the screen is displayed by [SWITCH
PMC] soft key.
- 1253 -
9.PMC CONFIGURATION DATA SETTING SCREENS ([PMC CONFIG]) B-64513EN/03
When pressing this soft key, [EXEC] and [CANCEL] soft keys appear. To output the file, press the
[EXEC] soft key.
You can select output device by the [IO DEVICE] soft key.
(b) Data
Program information, which are displayed on program list screen, are output.
Program information: Number, “Program”, “Program No.”, “Edition”, “Remarks”
- 1254 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
The greater the number of functions implemented by the PMC for a CNC system, the larger and the more
complicated the sequence program becomes. A large-scale system requires a larger program and a greater
number of processes, making it hard for the ladder method to control the overall process. This is because
the ladder method does not describe the order of control. While the ladder method is suitable for
describing partial control, it is hard to apply it to the description of the flow of control overall.
To overcome this problem, structured programming has been introduced into sequence control. A PMC
that supports the subprogram function enables the use of modular programs. As shown in Fig.10.1.1(b), a
large-scale program is divided into subprograms for each function, simplifying the unit of processing.
Since the programmer determines how to divide the main program into subprograms and the control flow
used to call the subprograms, however, the programs are not necessarily easy-to-understand by other
programmers.
CALL
CALL
Subprogram
Subprogram
Given these conditions, a step sequence method has been created to describe programs structurally. It is
well-suited to the control of entire processes and provides an easy-to-understand visualized flow of the
process. The step sequence programming features the direct representation of the control flow on a flow
chart, as shown in Fig. 10.1.1(c).
Each block of processing is described as a subprogram, using the ladder method. The entire program is
then created by combining these subprograms.
- 1255 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Step 1
Transition
Step 2
Drawing flow
Fig. 10.1.1(c) Step sequence method
- 1256 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Loading completed?
Transition D
→ Once loading has been completed
Machining completed?
Transition F
→ Once machining has been completed
Step G Unloads the workpiece to the pallet. (Process 4)
Unloading completed?
Transition H
→ Once unloading has been completed
As shown in this example, the program flow from process 1 through process 5 is expressed visually.
Detailed programs related to the movements performed as part of each process, and the signals used for
determining whether transition conditions for proceeding to the next step are satisfied, are not described
here. To program complicated control flows, many other functions are supported, such as divergence,
jump, and nesting functions. The details of these functions are described later.
Step sequence programming is suitable for creating programs which control processes sequentially.
Programs used for controlling a unit which operates according to a certain sequence, such as a loader,
ATC, and other peripheral units, are best suited to step sequence programming. For programs which
control units with no particular sequence, such as that of the operator’s panel which is always monitoring
the emergency stop signal or mode signals, however, are not well-suited to step sequence programming.
The PMC supports the advantages of both methods, ladder and step sequence programming, by calling
subprograms written according to a step sequence and those written as a ladder, from the main program.
- 1257 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Initial Step
[ ] Sn [ ] Sn [ ] Sn
Transition
Pn Pn Pn
Divergence of
Selective
Sequence
Convergence
of Selective
Sequence
Divergence of
Simultaneous
Sequence
Convergence
of
Simultaneous
Sequence
Jump
→ Ln -> Ln -> Ln
Label
← Ln <- Ln <- Ln
Block Step
] Sn ] Sn ] Sn
Initial Block
Step [ ] Sn [ ] Sn [ ] Sn
End of Block
Step
- 1258 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Table 10.1.3 indicates the step sequence functions usable on FANUC LADDER-III and the CNC.
- 1259 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
10.2.1 Terminology
A step sequence program is created using a variety of graphical symbols, as shown in Fig. 10.2.1(a). The
main terms used in the step sequence are described below.
(Block)
[ ] S1 (Initial Step)
P100 (Transition)
S2 (Step)
P101 (Transition)
L1 (Label)
S3
(Divergence of Selective
(Divergence of Simultaneous
Sequence)
(Convergence of
Simultaneous Sequence)
L1 (Jump)
(1) Step
Sn
(Pm)
A step indicates a process, which is the basic processing unit in a step sequence program. In a step,
specify the S address (Sn), which is a step number, and P address (Pm), which indicates a
subprogram (action program) specifying the details of processing in each step.
- 1260 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
(2) Step state transition
When a step sequence program is executed, the process proceeds as program processing advances,
the state of each step changes accordingly. Each step can assume any of the logical states listed in
Table 10.2.1, its state changes as shown in Fig. 10.2.1(b). Activation refers to the changing of a step
from the inactive state to the active state.
Inactivation refers to the changing of a step from the active state to the inactive state.
(3) Transition
Pn
A transition denotes the transition conditions. When these evaluate true, the step of the
corresponding state changes from the inactive to active state or vice the reverse. Specify the P
address (Pn), which indicates a subprogram describing the transition conditions in detail.
As shown in Fig. 10.2.1(c), step S2 changes its state from inactive to active when the conditions
described in transition P10 evaluate true, while step S2 changes its state from active to inactive when
the conditions described in transition P20 evaluate true.
- 1261 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Note that the step immediately before a transition must be active in order to switch the next step
from inactive to active when the conditions specified in the transition evaluate true. As shown in Fig.
10.2.1(d), step S3 does not change to the active state, even when transition P20 evaluates true, if step
S1 is active and step S2 is inactive. An active state passes from a certain step to the next step when
the corresponding transition conditions evaluate true, the execution of the step sequence program
advancing one step.
Executing step1 Executing step1
P10 P10
S2 (step2) S2 (step2)
S3 (step2) S3 (step2)
[ ] Sn
(Pm)
While a normal step can be activated by a transition, the initial step is activated automatically when
execution of the program starts, as shown in Fig. 10.2.1(e).
Stopping program (STOP) Executing program (RUN)
[ ] S1 (step1) [ ] S1 (step1)
P10 P10
S2 (step2) S2 (step2)
P20 P20
S3 (step3) S3 (step3)
- 1262 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Although the initial step, which is usually executed first, is often placed at the top of a program, it
can also be specified at some point within a program. It is always activated first. After being
deactivated once, it can be subsequently be activated again. In this case, it acts in the same way as a
normal step.
S1 S1 (step1)
(Divergence of selective sequence)
P21 P22 P23
S21 S22 S23
When transition P21 evaluates true When transition P22 evaluates true.
↓ ↓
S1 S2
(true) (true)
- 1263 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
S1
P10
(Divergence of simultaneous sequence)
S4
S1
P10 (true)
S4
L1 L1 (Label)
S1 (step1) S1 (step1)
P10 P10
S2 (step2) S2 (step2)
P20 P20
S3 (step3) S3 (step3)
L1 (Jump) L1
- 1264 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
(8) Block
A block refers to a group of consecutive steps and transitions. A block can be a step sequence
program. The more complicated the sequence becomes, the larger and more complex the block is. A
program can be divided into multiple blocks in the same way as for subprograms in ladder
programming, based on the concept of modular programming. Each block is identified by a P
address, which corresponds to the subprogram number in ladder programming.
A block is executed as the main program in a step sequence, or called from another step sequence
program as a subprogram.
Block 1(P1) Block 2 (P2)
[ ] [ ]
[ ]
CALLU P2
CALLU P3
Block3 (P3)
[ ]
- 1265 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Sn
( Pm )
To call a block from the step sequence program as a subprogram, specify a block step in the step
sequence program which calls the block, as shown in Fig. 10.2.1 (k). This is called bloc nesting.
Block 1 (P1) Block 2 (P2)
[ ] S1 [ ] S231
S232
S21 S22 ] S23
S233
(P2)
S3
The program shown in Fig. 10.2.1(k) is equivalent to in Fig. 10.2.1(l) which does not use a block
step.
Block (P1)
[ ] S1
S232
S233
S3
Use an end block step to terminate nested–block–step calling and to return to the calling sequence.
- 1266 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
First level
(Ladder diagram)
Second level
CALL
(Ladder diagram)
CALL
END2 (SUB 2) function
Third level
(Ladder diagram)
Subprogram P1
(Ladder diagram)
[ ] Subprogram P2
(Step sequence)
Subprogram P3
(Ladder diagram)
[ ]
Subprogram P4
(Step sequence)
Subprogram Pn
In the step sequence method, a program is created (edited) in units of subprograms. The edited source
program is compiled and converted to an executable ROM–format program, then linked, as shown in Fig.
10.2.2(a).
- 1267 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
A ROM–format program is a kind of a modular program, created using conventional subprograms. A step
sequence block is also a type of a subprogram. Step sequence blocks are linked to the end of the first level
to third level ladder programs, together with other ladder subprograms.
In the same way as in the ladder method, a program is activated at certain intervals.
Refer to section 1.4.3 “Processing Priority (1st Level, 2nd Level, and 3rd Level) “ for details
All subprograms, created using either the ladder or step sequence method, are called from the second
level ladder. Hence, the execution time of the second level ladder includes those of ladder subprograms,
step sequence programs (blocks), steps, and transitions. Since only the activated step and the transition
which checks the transition condition from the step to the next step are executed in a step sequence
program, the second level ladder is executed much more frequently than may be expected from the total
number of steps.
CALLU P2
R0. 0
CALL P1
P1 (Ladder diagram)
P2 (Step sequence)
L1
[ ]
S1 (P3)
P4
S2 (P5)
P6
L1
P4 (Ladder diagram)
P3 (Ladder diagram)
- 1268 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
In the step sequence program shown in Fig. 10.2.2(b), when step S1 is activated, subprograms are
executed according to the timing illustrated in Fig. 10.2.2(c).
8 msec or 4 msec
LEVEL1
First level
LEVEL2
Second level
Subprogram
P2 P1
Step P3 P4
Transition
In this case, step sequence program P2, step P3, transition P4, and ladder subprogram P1 are executed.
Step P5 and transition P6 are not executed.
- 1269 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
10.3.1 Step
A step is a unit of processing in a program.
Display
Sn
(Pm)
Contents
• Define a step number (Sn), necessary for controlling execution, and subprogram number (Pm)
specifying actual processing, for a step.
• Assign a step number to a step.
• The same step number cannot be used twice in a program.
• A step has three logical states: the execution, transition to halt, and halt states. The execution state is
also called the active state. The transition to halt and halt states are collectively called the inactive
state.
Transition A
Inactivate (halt state)
Step B
Transition A
- 1270 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Example
After the M7 code is decoded, control is transferred to the next step using a DEC functional
instruction.
S1
(P1) Subprogram P1
MF R0.0
F0
DEC
F7.0 711
- 1271 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Display
[ ] Sn
(Pm)
Contents
• Define a step number (Sn), necessary for controlling execution, and subprogram number (Pm)
specifying the actual processing, for an initial step.
• All initial steps are activated when the other steps are not activated.
• Each block must contain at least one initial step. No limit is applied to the number of initial steps
contained in a block.
• A block having no initial step cannot be executed if called.
• Assign a step number to an initial step.
• The same step number cannot be used more than once in a program.
• In parallel branch, one initial step is required for each path. (See example 2.)
Example 1
L1
When a program is executed, step P1, specified by an
[ ] S1 initial step, is activated first.
P102
L1
Example 2
L1
When a program is executed, steps S3 and S4,
S1
specified by an initial step, are activated first.
S2 [ ] S3
P102 P103
[ ] S4 S5
P110
L1
- 1272 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
10.3.3 Transition
A transition specifies the conditions governing the transition from the step to the next step.
Display
Pn
Contents
• Only one transition is required between steps.
• Transition between steps is performed as described below.
While S1 is activate, only S1 and P101 are
S1
executed.
Other steps and transition are not executed.
P101 When the transition P102 evaluates true unless
S2 is not being executed, the state is ignored.
• When a signal is set to 1 in a transition, it remains the state even if the control is transferred to the
subsequent step. To set the signal to 0, use another subprogram to do so.
Example
Refer an example described on the Step function (Sub sec. 10.3.1).
Display
Contents
• Transitions are placed after a divergence of selective sequence.
• The step connected to the transition for which the conditions are true is first activated.
• When the conditions for any transition are true simultaneously, the leftmost step is activated.
• A selective sequence can create up to 16 paths.
Example
[ ] S1
When the conditions for P101 are satisfied
earlier than those of P102, step S3 is
P100 P101 activated.
S2 S3
- 1273 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Display
Contents
The number of divergent paths must match that of the convergent paths.
Example
S4
- 1274 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Display
Contents
• A transition must be placed before a divergence of simultaneous sequence.
• All branched steps are activated simultaneously, then executed.
• A simultaneous sequence can create up to 32 paths.
Example
[ ] S1
When the transition P101 evaluates true, step
P101 S2 and S3 are activated simultaneously.
S2 S3
Display
Contents
• A convergence of simultaneous sequence is processed as follows.
S21
- 1275 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
S20
Case 2)
S20
- 1276 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
10.3.8 Jump
A jump controls the execution of steps non–sequentially, together with a transition.
Display
Ln
Contents
• Specify a jump destination label (Ln).
• The step to which control is transferred (jumped) is activated.
• The jump destination must be within the same program.
• A jump cannot be performed from outside a simultaneous sequence to within the simultaneous
sequence, or from within a simultaneous sequence to outside.
• A jump cannot be performed between parallel–branched paths.
Example
L1
When steps S4 and S5 are executed and the
[ ] S1
transition P110 evaluates true, the program is
repeated from initial step S1.
P101
S2 S3
P102 P103
S4 S5
P110
L1
- 1277 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
10.3.9 Label
A label specifies the jump destination.
Display
Ln
Contents
Specify the jump destination label (Ln).
Example
Refer to an example described on the jump function (Subsec. 10.3.8).
- 1278 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Display
] Sn
(Pm)
Contents
Define a step number (Sn), which controls the execution of a block step, and a subprogram (Pm)
specifying the actual process, for a block step.
CAUTION
1 Assign a step number to a block step.
2 The same step number cannot be used twice in a program.
3 A transition must be placed after a block step.
Example)
S1 S1
P101 P101
] S2
(P2) P2
S20 S20
equal
P120 P120
S21 S21
P121 P121
P102
S3 S3
4 Transition P102 cannot be omitted due to the syntax of the step sequence
method. Specify a dummy transition, which becomes always true, for transition
P102.
5 Transition P121 must specify the transition condition for the termination of the
step S21.
6 When the conditions of transitions P102 and P121 are switched, step S21 will
not be correctly executed.
- 1279 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Display
[ ] Sn
(Pm)
Contents
• Define a step number (Sn), necessary for controlling execution, and subprogram number (Pm)
specifying the actual processing, for an initial step.
• This step has the same function and graphical symbol as an initial step.
Display
Contents
• Use this step to terminate a block step.
• Each block requires at least one end block step. No limit is applied to the number of end block steps.
Example
[ ] S1
P100 P103
S2
P102
- 1280 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Format
ACT
TRSET
(SUB122)
Example 1
This address is used to reference the activation states of steps in a step in which this address has been
specified, and performs complicated wait processing in a program including a simultaneous
sequence.
- 1281 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
S1 S4
P1 P4 Subprogram P1
S2.0
S2 S5 TRSET
P2 P1
S3 S6
Example 2
The section between JMP and JMPE in the following example is executed only once after the
specific step (The following example is in the case of S100.) transits in the activated state from the
inactivated state.
- 1282 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
10.5.1 Specification
Item Description
Number of subprogram Up to 5000 (P1 to P5000)
Number of step Up to 2000 (S1 to S2000)
Number of label Up to 9999 (L1 to L9999)
Maximum number of jumps per block Up to 256
Nesting depth of block step Up to 8 levels
Size of block 192 lines × 48 columns
Number of paths Up to 32 paths
....
....
....
Up to 32 paths
....
....
Up to 32 paths
S1 S1
Subprogram
(P10) (P10)
Correct CALL P10
P1 or S1 CALL P11
S2 S2
(P11) (P11) The step S1 calls
subprogram P10, P11.
- 1283 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
• The transition shall never be repeated even at the point of the divergence and the convergence.
S1 S1
P1 Correct
P2 P10 P1 P10
S3 S10 S3 S10
S2 S10 S2 P10
P12
S12 S12
• When a simultaneous sequence is specified in another simultaneous sequence, one convergence must not
be used for each sequence.
S1 S2 S1 S2
P2 P2
S3 S4 S3 S4
Correct
P3
P1
S5 S5
(dummy)
Correct
P1
S6
- 1284 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
• When a selective sequence is specified in a simultaneous sequence, dummy steps must be required
both after the divergence and before convergence.
S1 P2 P4 S1 S2 (dummy)
S2 S3
P2 P4
P3 P5
S3 S4
Correct
P3 P5
P1
S5 (dummy)
S4
P1
S6
• In case of branching again immediately after the convergence, a step/transition is required between
the divergence and convergence.
S1 S2 S1 S2
Correct
P1 P10
S3 S10
S2 S10 S2 S10
S12 S13
- 1285 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
• Immediately after the block step, a dummy transition which is always true is needed.
S10
P10 When block step S11 is used,
[ ] S100
transition P11 and P101 cannot be
P10 omitted
P100
] S11 Note) P11 is a dummy transition.
S101 The transition condition of
P11 must always be true.
P11
P101
S12
P2 P4 P2 P4
Correct
S2 S3 S2 S3
P3 P5 P3 P5
P2 P2
Correct
S2 S3 S2 S3
P3
P3
P1 P2 P1 P2
S2 S3 L1 Correct S2 S3 L1
P3 P3
S4 S4
- 1286 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
• The number of convergences must match that of divergences, even at the end of a block step.
P1 P2 P1 P2
S2 S2
P3 P3
Correct
P1
S2 S10
P2 P10
S3 L1
P3
← L1
S4
- 1287 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
← L1
S1
P1
S2 S10 S20
P2 P10 P20
S3 S11 L1
- 1288 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Example
While multiple CTR functional instructions are used, when control passes from S1 to S2 with
ACT of CTR not set to off, CTR is not counted when called from step S2.
S1 Subprogram P100
(P100) R0.0
( )
CTR 1
P1
S2
(P100)
X1.0
Subprogram P1
X1.0
TRSET
- 1289 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Correct program
Divide the subprogram so that ACT of CTR is called after it is set to off.
S1 Subprogram P100
(P100)
R0.0
CTR 1 ( )
P101
S2
(P102)
X1.0
P103
S3
(P100) Subprogram P101
X1.0
P101 TRSET
S4
(P102) Subprogram P102
R0.0
P103 CTR 1 ( )
R9091.0
Subprogram P103
R9091.1
TRSET
- 1290 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Example
S1 Subprogram P100
(P100) R9091.1
WINDR R10 R0.0
P1 ( )
S2
(P101) Subprogram P1
R0.0
TRSET
Subprogram P101
R9091.0
WINDR R10 R0.0
( )
Correct program
Correct the program so that ACT is set to on and off within one subprogram.
S1 Subprogram P100
(P100) R9091.1
R0.1
P1 ( )
S2 CALLU P2
(P101)
Subprogram P1
R0.0
TRSET
Subprogram P101
R9091.0 R0.1
( )
CALLU P2
Subprogram P2
R0.1
WINDR R10 R0.0
( )
- 1291 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
SYSTEM
Pressing the [LADDER] soft key displays a sequence program dynamically to enable operation
monitoring. On the editor screen, modifications can be made to relays and function instructions of a
sequence program to change the operation of the sequence program.
The ladder diagram display/edit function consists of the following screens:
(1) Ladder diagram display screen (ladder diagram monitor screen)
Displays a ladder diagram and monitors the current state of relays/coils.
(2) Selection monitor screen
Displays a selected ladder net only and monitors the current state of relays/coils.
(3) Ladder diagram editor screen
Used to edit a ladder on a net-by-net basis.
(4) Net editor screen
Used to edit the contents of a net in a ladder.
(5) Program list display screen
Used to select a subprogram to be displayed on the ladder diagram display screen.
(6) Program list editor screen
Used to edit a ladder program on a subprogram-by-subprogram basis and select a subprogram to be
edited on the ladder diagram editor screen.
(7) Function instruction data table display screen
Enables the data table of a function instruction to be referenced.
(8) Function instruction data table editor screen
Enables the data table of a function instruction to be edited.
(9) Step sequence display screen
Displays a step sequence diagram and monitors the current step/transition state.
(10) Subprogram list display screen
Used to select a subprogram used with a step sequence.
- 1292 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
(11) Step sequence state display screen
Displays the execution state of each step of a step sequence.
NOTE
These screens can be protected using the programmer protection function.
Fig. 10.6.1 Transition of step sequence display and ladder display/editing screen
NOTE
1 Pressing the [PMC LADDER] soft key displays one of the ladder diagram display
screen, selection monitor screen, step sequence display screen or the program
list display screen which was displayed most recently.
2 The [EDIT] soft key on the ladder diagram display screen is displayed only when
the programmer function is enabled. (To enable the programmer function, set
the setting item "PROGRAMMER ENABLE" on the PMC parameter setting
screen to "Yes" or set K900.1 to 1.) Alternatively, set "EDIT ENABLE" to "Yes" or
set K901.6 to 1.
- 1293 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
On the program list display screen, a subprogram of a step sequence is marked with or in the
"SP" display area. Pressing the [ZOOM] soft key when the cursor is placed on a subprogram, the screen
display switches to the step sequence display screen.
For details of the program list display screen, see Section 8.1, "DISPLAYING THE PROGRAM LIST
("LIST" SCREEN)".
- 1294 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Subprogram displayed
Activated step
Additional
information
When the cursor is placed on a step, the information displayed changes according to the setting of
"STEP NOTATION" described in Subsection 10.6.5, "Setting the Step Sequence Diagram Screen".
• When "S-ADDRESS" is set in "STEP NOTATION"
[P-address] S-address: symbol information of the S-address (comment information of the
S-address)
• When "P-ADDRESS" is set in "STEP NOTATION"
[S-address] P-address: symbol information of the P-address (comment information of the
P-address)
When the cursor is placed on a transition, jump, or label, detail information is displayed in the
following format:
When a step sequence diagram is displayed, the screen can display 16 elements vertically and 8
elements horizontally.
- 1295 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Display specified subprogram Switch to state display screen Subprogram search Switch to program list screen
- 1296 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
- 1297 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
Initialization of setting
(a) [INIT]
Initializes all settings.
(b) [EXIT]
Returns the screen display to the step sequence display screen.
- 1298 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
For details of the subprogram list display screen, see Section 8.11, " DISPLAYING A SUBPROGRAM
LIST ([SPLIST] SCREEN)".
- 1299 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
[STATE] [LIST]
Step sequence state Program list display
display screen screen
Time (global)
[MONIT] [STATE]
monitor
setting [LIST] [ZOOM]
screen
[STATE] [STEP]
Step sequence Step sequence
state display screen display screen
[MONIT] (subprogram)
[STATE]
[STATE] [SPLIST] [STEP] [SPLIST]
- 1300 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
(1) Screen configuration
(a) STEP NO.
Displays a step number. In parentheses, the symbol of the address of a step number is
displayed.
(b) STATUS
When "EXEC" is displayed, it means the active state. When "EXEC" is not displayed, it means
the inactive state.
(c) ELAPSE(MS)
Indicates the period of time of the active state. In the active state, the time indication changes.
(d) MONITOR
Shows assigned time monitor information.
• T(x) : Timer number for monitoring
• OVER : Monitor time exceeded
The message display line displays a message such as an error message and inquiry, depending on the
situation.
- 1301 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
The message display line displays a message such as an error message and inquiry, depending on the
situation.
- 1302 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
(2) Operations using soft keys
Soft keys for subprogram list display screen
st
For 1 level
Switch to subprogram list screen Program search Abnormal state reset
Switch to program list screen Switch to step sequence display screen Switch to time monitor setting
nd
For 2 level and after
(a) [LIST] or [BACK] Switch to the program list screen or one level higher
Switches the screen display to the step sequence display screen one level higher. If one of
these soft keys is pressed on the step sequence display screen on the first level, the screen
display returns to the program list display screen.
(b) [SPLIST] Switch to the subprogram list screen
Switches the screen display to the subprogram list display screen.
(c) [STEP] Switch to the step sequence display screen
Switches the screen display to the step sequence display screen.
(d) [SEARCH] Step search
Searches for a step. When you press the [SEARCH] soft key after entering a step number or
symbol name, the step corresponding to the entered character string is found, and the display is
updated so that the found step is placed at the start.
(e) [RESET] Abnormal state reset
Resets abnormal states that have occurred in all time monitoring operations.
For individual resetting, reset a desired monitoring operation on the time monitor setting
screen.
(f) [MONIT] Switch to the time monitor setting screen
Switches the screen display to the time monitor setting screen.
(g) [<]
Switches the screen display to the PMC main menu.
(3) Screen operations using other keys
(a) Page keys
The page keys can be used to switch from one display page to another. A program can be
searched using the down cursor key following the step number or symbol name entered.
- 1303 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
(1) The bit of R9118 or Z118 corresponding to a monitor timer number is turned on. By monitoring
R9118 or Z118 with the ladder program, error processing can be programmed.
- 1304 -
B-64513EN/03 10.STEP SEQUENCE FUNCTION
Step sarch
- 1305 -
10.STEP SEQUENCE FUNCTION B-64513EN/03
(a) Move the cursor to an input field then enter a step number (or symbol) to set.
(b) Move the cursor to the corresponding input field then set the monitor time.
• Up to eight monitor time values can be set.
• The cursor can be moved to a step number field and monitor time field.
• The maximum settable monitor time is 214748367 msec. If a greater value is entered, an
error occurs.
• If a monitor time is entered when the corresponding step number is not entered, an error
occurs.
• The same step number must not be set more than once.
- 1306 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
Function
block FUNC2
FUNC
IN1 OUT1
IN2 OUT2
Function block definition
NOTE
To use the Function Block function on the series 30i/31i/32i/35i-B or the Power
Motion i-A, its option is necessary.
NOTE
Programming using function blocks requires FANUC LADDER-III, a PMC
programmer that runs on PC. You can also use PMC screens built into the CNC
to display the function block monitor and to change addresses and other items that
are set as parameters.
- 1307 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
Instance name
Input section
An “instance name” is a name that uniquely identifies each instance of a function block. Each instance
has different name with each other.
A “function block name” is the name of the source function block definition of each instance. The
instances that call the same function block have the same function block name.
“Input parameters” receive input signals to a function block. Specify the value passed to each input
parameter with an address or constant in the “input section”. For a bit signal, specify its address on the
relevant contact.
“Output parameters” are output signals from a function block. In the “output section”, specify the
address for receiving each output parameter value to fetch the output of the function block. For a bit
signal, specify its address on the relevant coil.
“Input/output parameters” functions as both input and output of a function block. It is represented as
the two same parameter names in the input and output parameter positions connected by a line.
- 1308 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted into
CNC. (See “11.1.4 Assignment of FB variable” for details.)
NOTE
1 While the data of input/output parameters are passed by reference, the data of
other parameters are passed by value.
2 A value of 2 or larger can be specified to pass multiple contiguous data items of
the same data type.
- 1309 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted into
CNC. (See “11.1.4 Assignment of FB variable” for details.)
NOTE
1 A value of 2 or larger can be specified to allocate contiguous areas for multiple
data items of the same data type.
- 1310 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(4) Program in a function block(FB body program)
Item Specification Remarks
Programming language Ladder language can call another function
block (up to 4 nested levels).
Maximum number of steps 8000 steps per function block
Available addresses Defined parameters, and internal and
external variables (NOTE 1)
Fixed PMC addresses (NOTE 2)
Available instructions Basic and functional instructions available
with the PMC for 30i/31i/32i/35i-B, Power
Motion i-A or 0i-F. The following instructions
cannot be used, however:
END1, END2, END3, END
SP, SPE, CALL, CALLU, JMPC
CS, CM, CE
The following instructions cannot be used in
any function block for which more than one
instance is to be created:
TMR
CTR, CTRB
For the following instructions, the automatic
number assignment function must be used:
TMRB, TMRBF
DIFU, DIFD
Call of another function block Other function block can be called up to 4
levels deep.
NOTE
1 They are programmed not with actual addresses, but with symbols.
2 Any addresses (including X, Y, F, G, R, D, and so on) available in the ladder
language of the PMC for 30i/31i/32i/35i-B, Power Motion i-A or 0i-F can be
directly specified.
- 1311 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
In PMC Memory-B/C/D up to 5000 instances can be used. In PMC Memory-A,
and DCS PMC up to 512 instances can be used.
- 1312 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
NOTES
1 In addition to the memory usage listed in the table, some amount of memory may
be used to adjust the memory allocation.
2 These items are required for each type of function block used in the program.
3 To enable function block definitions to be restored at decompilation, include the
function block definition data in the object. In this case, the memory usage varies
depending on the contents of the function block definition. Generally the memory
usage of a function block consisting of 8000 steps may be about 7K to 10K bytes.
4 The size of FB body program is added for each instance.
5 The memory usage in following cases is 8 bytes.
- Case of input side of input/output parameter
- Case of omitted output side of output parameter and input/output parameter.
6 The size of FB body program is calculated in the same way as for conventional
ladder programs as the memory usage listed in the table below.
Type of instruction Memory usage
Basic instruction 4 bytes
Functional instruction 4 bytes
Functional instruction parameter 4 bytes
See “2.1.4” for details.
7 One double-byte character uses 2 bytes.
8 One definition of symbol and comment data uses 16 to 23 bytes of memory. In
addition, memory is used based on the lengths of the symbol and comment
character strings.
9 This memory is required for each function block call.
- 1313 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
When updating sequence program to the one by the following operations, FB variable area will be
initialized.
(a) When changing a FB definition (except for editing FB body program only)
(b) When adding / deleting / moving a FB instance
(c) When changing an address of input / output parameter
(d) When changing a symbol / comment data referred as an external variable
(e) When changing the setting of “Assignment Address of FB” in the system parameter
NOTE
1 Depending on how you modify the sequence program, the updated sequence
program may run safety without initializing FB variable area.
2 By setting 1 to K903.4 of system keep relay, you can choose not initialize FB
variable area when changing the address of FB variable. (See “2.2.11 System
Keep Relay Addresses (K)” for details)
- 1314 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
• Alphabetic characters (A to Z)
• Numeric characters (0 to 9)
• Underscore (_)
NOTE
1 A function block name must not begin with a numeric character. When an
underscore is specified as the first character, it must be followed by an
alphanumeric character.
2 A name character string can consist of up to 40 characters.
In addition to the name, you can define an arbitrary character string as a comment for a function block.
- 1315 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
• Parameter
• Internal variable
• External variable
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted
into CNC. (See “11.1.4 Assignment of FB variable” for details.)
The following table lists the maximum number of variables of each type that can be used in a function
block.
NOTE
1 Different addresses are assigned for parameters and internal variables in
different function block instances.
2 You can directly specify an actual address in the FB body program. In this case,
the address has an effect equivalent to an external variable. The address is not
included in the above number because it is not assumed to be an external
variable.
Each type of variable definition consists of the following information. Each variable type has its features
and restrictions. For details, see the explanation of each type of variable.
(a) Symbol
Each variable is identified by a symbol represented by a character string consisting of the following
characters (identifier conforming to IEC61131-3):
• Alphabetic characters (A to Z)
• Numeric characters (0 to 9)
• Underscore (_)
NOTE
1 A symbol must not begin with a numeric character. When an underscore is
specified as the first character, it must be followed by an alphanumeric character.
2 A symbol character string can consist of up to 40 characters.
3 The following symbols are reserved and not available for other purpose:
• EN
• ENO
For details of these symbols, see “(1) EN input and ENO output”.
- 1316 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
In addition to the symbol, you can define an arbitrary character string as a comment for each
variable.
You cannot use the same symbol for more than one variable in a function block definition.
NOTE
1 A constant is also displayed in the monitor format listed above if given to an input
parameter.
2 BCD data is correctly displayed in hexadecimal notation.
NOTE
The larger value is specified as the number of input or output parameters, the
larger amount of data must be copied during the execution of each relevant
function block instance, resulting in worse performance. In this case, memory
allocated for each instance is also increased. If you require input or output
parameters that use a large amount of PMC memory (R, D), you can use
input/output parameters to efficiently pass the large data.
Parameter
Parameters are variables used to exchange values between a function block and the circuit outside the
function block.
• EN input
• ENO output
The EN input and ENO output are special input and output parameters that control the execution of the
function block. For details, see “(1) EN input and ENO output” below.
For each parameter, specify an address for exchanging a value or a constant. While a constant or address
can be specified for an input parameter, only an address can be specified for an input/output parameter or
output parameter.
NOTE
A parameter having the name of EN or ENO is always treated as the EN input or
ENO output. You cannot define a parameter or variable other than the EN input
or ENO output with the name of EN or ENO.
(a) EN input
The EN input controls whether to execute the function block. It functions as follows:
• When the EN input is ON, the FB body program is executed. When the FB has ENO
output, the ENO is set to ON before the program is executed.
• When the EN input is OFF, the FB body program is not executed and control is passed to
the execution of the subsequent program with the status at that point kept. When the FB
has ENO output, the ENO is set to OFF.
When the FB has no EN input, the FB body program is executed in the same way as when it is
ON.
NOTE
You can also use common line control (COM instruction) to control execution,
which is similar to using the EN input. Common line control is also valid for a
function block for without EN input.
- 1318 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(b) ENO output
The ENO output indicates whether operation of a function block terminates normally. The
value of the ENO output is set to ON before the FB body program is executed. If an error
occurs in the FB body program and the output is invalid, the ENO output should be set to OFF.
When the EN input is OFF or when ACT of common line control (COM instruction) is OFF,
the ENO output is automatically set to OFF.
NOTE
You cannot write to an input parameter in the FB body program.
- 1319 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
If a value is not set for an output parameter in the FB body program, the previous
value is remained.
For an input/output parameter, you can specify an address in each of the left input and right output
sections. You can omit an address in the output section, but cannot omit one in the input section.
When an input/output parameter is accessed in the FB body program, the address specified in the
input section is referenced directly. The value of the input/output parameter is copied to the address
specified in the output section after function block processing terminates.
For input/output parameter “Current Value” in the figure above, the address specified in the input
section is “R0120” and that specified in the output section is “R1020.”
- 1320 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(a) Feature of input/output parameters
For an input parameter, the given constant or the value at the specified address is stored in the
variable assigned as the input parameter before the start of FB body program processing. For an
output parameter, the value of the output parameter is written at the specified address after the
termination of function block processing.
In contrast, for an input/output parameter, the program in the function block directly accesses
the address specified in the input section. Therefore, writing an input/output parameter by the
FB body program means directly writing a value at the address specified in the input section for
that input/output parameter.
You can use this feature of input/output parameters when the order to access signals must
strictly be controlled in a function block or when a large amount of data such as table data
needs to be passed.
Internal variables
An internal variable is used only in the function block.
(2) Arrangement
Internal variables are arranged in contiguous memory areas in the order in which they are defined.
Nonvolatile and volatile variables are arranged in different areas.
- 1321 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
1 When internal variables of different data types are arranged, any variable of a
data type such as INT or DWORD that occupies at least 2 bytes is not aligned
based on the data type, but is arranged on a byte boundary. To avoid affect
performance, try to adjust the order of variable definitions so that variables of
these data types are arranged at even addresses. (The start of an internal
variable is always arranged at an even address.)
2 When a non-BOOL variable is arranged following a BOOL variable, any unused
bit address is not assigned to other BOOL variable after that. For example,
BOOL, SINT, BOOL, and SINT variables defined in this order use 4 byte area. A
used memory can be reduced to define the BOOL variables contiguously.
#7 #6 #5 #4 #3 #2 #1 #0
Unused BOOL uses 1 bit.
SINT uses 1 byte.
Unused BOOL uses 1 bit.
SINT uses 1 byte.
- 1322 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
External variables
An external variable is used in a function block to refer a symbol defined in advance in ladder program
outside the function block. The entity (address) to be accessed is the same even from different function
block instances.
If a symbol definition of the same name as an external variable is not found during compilation, an error
occurs.
NOTE
1 Details (including the real address) of an external variable are defined not by an
external variable declaration in the function block definition, but by symbol data of
the used ladder program. An external variable declaration in a function block
definition is used for referencing a variable defined in the ladder program.
2 The name of an external variable is an identifier conforming to IEC61131-3, so
only a symbol defined as an identifier conforming to IEC61131-3 can be
referenced. For details of a variable name, see Section 11.2.2, “Variable
Information”
3 The symbol and data type of a declared external variable must be consistent
within the whole program. For example, if a program registers symbol “ABC” of
the bit type, and a function block declares “ABC” as a byte external variable, a
compilation error occurs because the data type of the variable indicated by
symbol “ABC” is inconsistent.
4 A fixed address can be referenced by writing not a symbol, but a specific address
directly in the FB body program. In this case, the address does not need to be
counted as an external variable.
- 1323 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
Creating more than one instance of a function block which writes data at a fixed
address causes duplicate writing.
NOTE
1 An ordinary subprogram cannot be called from a function block.
2 A function block call is independent of the nesting of subprogram call using the
CALL or CALLU instruction in the ladder language. Therefore, you do not have to
count a function block call in the number of nested subprogram call levels, or a
subprogram call in the number of nested function block call levels.
3 The depth of nested function block calls is not determined based on not the
number of nested function blocks actually called during execution, but the number
of nested function block calls defined in the program. That is, a function block call
that is programmed not to call actually is also counted. Therefore, any function
block cannot be called recursively.
4 For each of function block calls (instances) in a function block, a number is
automatically added to its instance name during compilation on FANUC
LADDER-III so that they have different names.
(2) Restrictions
There are some restrictions at creating the FB body program comparing with an ordinary ladder
program.
Do not use the following functional instructions in a function block of which more than one
instance is to be created because they cannot perform independent operations for different
function block instances:
• TMR
• CTR, CTRB
When the following functional instructions are used in a function block, set 0 to the timer
number, and rising and falling numbers with FANUC LADDER-III so that the automatic
number assignment function assigns different numbers for different function block instances:
- 1324 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
• TMRB, TMRBF
• DIFU, DIFD
NOTE
If these functional instructions are used in a program without using the automatic
number assignment function, these instructions may not work correctly because
more than one functional instruction having the same number may operate
simultaneously.
When the following functional instructions are used in a FB body program, time is integrated
only while the FB body program is called:
• TMRST, TMRSS
The following functional instructions are executed in plural ladder scans. Do not cancel calling
a FB body program when the status of instruction is not completed (executing). Executing of
instruction means that from the execution start (ACT) is set to 1 and transfer completion (coil)
becomes 1 until the ACT is set to 0 and the coil becomes 0:
• DISPB
• EXIN
• WINDR (low-speed type only)
• WINDW (low-speed type only)
• AXCTL
NOTE
1 When the FB body program call is canceled in executing one of the above
functional instructions, other EXIN, WINDR, WINDW and AXCTL may not work
correctly. Operation of instruction is not also guaranteed.
2 As for AXCTL instruction, use the reset request(RST) = 0 normally. Do not cancel
the FB body program call when the reset request(RST) = 1. When canceled,
other AXCTL may not work correctly and operation of instruction is not
guaranteed.
For the example, see Subsection 1.4.4.3, " Notes on using subroutines".
- 1325 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
• Version information
• Protection information
• Character string indicating the user definition version (character string consisting of up to 16
desired characters)
• Last update time stamp
These information items are used for managing the function block in a library. They are also used as
criteria at an identity check function for function blocks during recompilation on FANUC
LADDER-III.
NOTE
FANUC LADDER-III automatically records the last update time stamp. You do not
need specific setting or operation.
• Editing protection
• Browsing and editing protection
Select editing or browsing and editing protection and set a password to protect the function block
definition. You can use a character string consisting of up to any 16 desired characters for the
password.
According to the selected type of protection, the relevant operations are prohibited as listed in the
table below.
- 1326 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
Each protection setting prohibits the following operations.
NOTE
The FB body program can be displayed and monitored on both the PMC screens
and FANUC LADDER-III, but can be edited only on FANUC LADDER-III in the
offline mode.
Protection with a password can be released by entering the password to enable the relevant operation
temporarily.
- 1327 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
CAUTION
When editing FB definitions and FB instances by the offline editing function on
FANUC LADDER-III, the addresses assigned to the parameters and variables of
function block will be changed. Therefore, the parameters and variables of all
function blocks will be initialized by 0 when the sequence program is inputted into
CNC. (See “11.1.4 Assignment of FB variable” for details.)
NOTE
A total of function block instance which can be created in a program is as follows.
• Up to 5000, in the case of PMC Memory-B,C and D
• Up to 512, in the case of PMC Memory-A, DCS PMC
This number includes function blocks called from other function blocks.
- 1328 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(1) Name of a function block instance
To insert an instruction which calls a function block in a ladder program, a name must be assigned to
the instance to be created at that time. Instance names are assigned to distinguish individual
instances when the same function block is called plurally in a program. The same name cannot be
assigned to more than one instance.
For the name of a function block instance, specify a character string consisting of the following
characters (identifier conforming to IEC61131-3):
• Alphabetic characters (A to Z)
• Numeric characters (0 to 9)
• Underscore (_)
NOTE
1 A function block instance name must not begin with a numeric character. When
an underscore is specified as the first character, it must be followed by an
alphanumeric character.
2 A name character string can consists of up to 40 characters.
3 When a function block contains a function block call instance, underscore (_) +
4-digit number is automatically added to the instance name in the function block
definition during compilation on FANUC LADDER-III so that the name uniquely
identifies the instance. For this reason, 5 characters (“_nnnn”) are added to a
function block instance name in a function block definition and the maximum
number of characters of the instance name becomes 35. If a name to which a
number is added is the name of another symbol, a compilation error occurs. Do
not use any similar symbols.
FB definition containing FB calls PARENT1
PARENT_FB PARENT_FB
CHILD1 CHILD1_0001
CHILD_FB CHILD_FB
CHILD_FB CHILD_FB
- 1329 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
For a non-BOOL parameter, specify an address to the right or left side of the parameter name. For an
input parameter, you can also specify a constant.
Fig.11.3.2 (a) Specifying an address (upper) and a constant (lower) for parameters
For a BOOL parameter, a contact is displayed in the input section. Specify an address on the contact.
And, you can add coils, contacts and connection lines if needed.
For an input/output parameter, no contact is displayed in the input section even when the data type is
BOOL. Directly specify an address in the same way as for other data types of parameters.
For the output section for an output parameter or input/output parameter, you can omit the address
specification if the output value does not need to be saved.
NOTE
The consistency of the data type between the symbol set to the parameter and the
parameter itself is basically not checked. Combination of the BOOL and non-
BOOL types causes an error. Any combination of a numeric type (such as INT or
DINT) and a bit set type (such as BYTE) is available.
When a symbol of a different type is set for an input or output parameter, data of
the size which suites to the type of parameter is actually input or output. Note that
if data is input and output in different sizes, the program may not work as
expected.
- 1330 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
1. Input process
2. Execution of the FB body program
3. Output process
1. The signal status of R0000.0 is copied into input parameter “count signal”.
2. The signal status of R0000.1 is copied into input parameter “reset signal”.
3. The value 10000 is copied into input parameter “setting value”.
The address of input/output parameter “current value” itself will be R0120 and the value is not
copied.
NOTE
When a function block to be executed has the EN input and the EN input is OFF,
value is set for the subsequent input parameters but the subsequent execution
step of the FB body program is skipped. For details of the EN input, see Section
11.2.2, “Variable Information”.
- 1331 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
When a function block to be executed has the EN input and the EN input is OFF,
the FB body program is not executed. For details of the EN input, see Section
11.2.2, “Variable Information”.
1. The signal status of output parameter “count up” is copied into R0001.0.
2. The value of input/output parameter “current value” is copied into R1020.
NOTE
1 Output process is performed in the order in which parameters are arranged. When
the order in which values are set is important, change the order of parameters or
use input/output parameters to adjust the timing to set values.
2 When a value is set to an input/output parameter in the FB body program, the
value is set directly to the address specified in the input section of the input/output
parameter. Then the value of output and input/output parameter is set to an
address in the output section at output process.
- 1332 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
FB instance name
FB definition name
Output parameter
Input parameter
The following table lists whether each PMC function related to function blocks is available.
NOTE
Any address in the input section assigned to an input/output parameter cannot be
changed.
- 1333 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
SP area
Size area
Any function block is not displayed in the program list of this screen.
When pressing the [ZOOM] soft key after inputting the function block instance name, the screen display
switches to the FB body program of the specified function block instance.
For details of the screen, see Section 8.1, "DISPLAYING A PROGRAM LIST ([LIST] SCREEN)".
NOTE
The size of FB body program is not included in the program size of GLOBAL and
each subprogram displayed in the list.
- 1334 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
Fig.11.5.2 (a) Function block displayed on the ladder diagram monitor screen
- 1335 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
PMC address
• Net number
Number of the net at the cursor position
• PMC address
4-digit byte address + bit address
• Symbol
Symbol set for the function block parameter
• Comment
Comment set for the function block parameter
• Value
Value of the parameter at the cursor position according to its data type
• When the type is BOOL: “ON” or “OFF”
• When the type is not BOOL: Decimal or hexadecimal number
NOTE
When the cursor is positioned on a constant or an omitted parameter in the output
section, only the net number is displayed.
When the cursor position is on the function block definition name or instance name.
• Function block definition name
Net number Function block definition name Comment
- 1336 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(2) Function block display
On the ladder diagram monitor screen, you can monitor the signal status and current value of each
parameter of a function block in the ladder program being executed. The parameter is displayed in
the format corresponding to its data type.
1 4
2
5
3
6
1. For a BOOL parameter in the input section, contact instructions are connected.
NOTE
No constant can be set for a BOOL parameter.
NOTE
For an input/output parameter, no constant can be set in the input section. Set a
PMC address.
4. For a BOOL parameter in the output section, coil instructions are connected. And, you can
connect a contact instruction before the coil instruction.
5. Displays the PMC address defined as the copy destination of the output parameter.
6. Displays a blank when output section for a parameter is omitted.
- 1337 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
- WORD
- DWORD
- 1338 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(4) Operation with Soft keys
The soft key operations to function block are described below. About the other operation with soft
keys, see Subsection 8.2.1, "Operating on the LADDER DIAGRAM MONITOR Screen".
Main soft keys of LADDER Diagram Monitor screen Switch PMC paths
Exit
Search soft keys Search Write Coil Search previous Search next
- 1339 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
1 When search function find the target and attempt to zoom in a function block for
which browsing and editing protection is set, you are asked to enter the
password. When pressing the [SKIP] key in this case, the target address is
skipped and the next target is searched.
2 When a GLOBAL program is displayed and you search for an internal variable of
a function block, the FB body program is displayed and the cursor moves to the
target address.
3 When a subprogram is displayed and you search for an internal variable of a
function block in the global search mode, the cursor also moves to the target
address in the FB body program.
NOTE
1 The FB body program is not included in the GLOBAL program. To display an FB
body program, zoom in the function block from the section in which the relevant
function block instance is used.
2 When K903.2=1, you will not be asked to enter the password.
Example)
Version Date Protection status
01 2007/09/03 PROT = P
Protection status
P : browsing and editing protection
R : editing protection
- 1340 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(i) [SPLIST] Switch to the subprogram list screen
Switches the screen display to the subprogram list display screen.
(j) [SWITCH PMC] Switching PMC path or divided ladder programs
Switches PMC path or divided ladder program. For details of the operation, refer to “6.3”.
By setting keep relay K935.0 to 1, you can display PMC program list screen. For details, refer
to ”2.2.11”.
(k) [SCREEN SETING] Screen settings
Goes to setting screen for LADDER DIAGRAM MONITOR screen.
- 1341 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
Internal and external variables with the monitor display attribute are listed under the monitor display of
parameters. You can also change the value of each variable displayed in the monitor.
You can display or hide the FB instance monitor by the screen setting. See Subsection 11.5.5 " Setting the
Display Format of the LADDER DIAGRAM MONITOR Screen".
The variables to be displayed in the FB instance monitor can be defined in the function block definition
on FANUC LADDER-III.
NOTE
1 You can monitor variables in the bit string display of BYTE and WORD only in the
FB instance monitor.
2 The 32-bit bit string monitor format is not available.
- 1342 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
Function block definition name Function block instance name Function block instance comment Net number
- 1343 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
About other settings, see Subsection 8.2.2 "Setting the Display Format of the LADDER DIAGRAM
MONITOR Screen".
- 1344 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
The display format in each setting value is shown below.
- 1345 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
- 1346 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(2) ADDRESS NOTATION IN FB
Determines whether the bit / byte address in FB body program is displayed in a corresponding
symbol or it is always displayed in an address.
SYMBOL (default)
The address with a symbol is displayed by the symbol. The address with no symbol is
displayed by the address.
ADDRESS
The address with a symbol is also displayed by the address.
- 1347 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
- 1348 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
Table11.5.6 (a) Whether the input and output sections can be edited
Input section Output section
Input parameter Can be edited. (NOTE)
Input/output parameter Cannot be edited. Can be edited. (NOTE)
Output parameter Can be edited. (NOTE)
NOTE
The following operations are not possible in the LADDER DIAGRAM EDITOR
Screen. Use the NET EDITOR Screen instead.
• Adding or deleting a contact or a coil in the input section or the output section
of BOOL type parameter.
• Omitting the address set in the output section.
• Setting the address in the output section which is omitted.
Fig.11.5.6 (a) Function block displayed on the ladder diagram editor screen
- 1349 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
Program List
Select net Copy net
Change to Search soft keys
NOTE
Even if a net of function block instance is deleted, the FB body program
remains. To delete unused FB body program, you have to delete a net of FB
instance by the offline editing function on FANUC LADDER-III.
- 1351 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
The input and output parameters of a function block instance and the PMC
address used in the FB body program cannot be changed by this function. To
change these addresses, use FANUC LADDER-III.
Switch the cursor position Check the address usage Exit from the address alteration function
Move a symbol Search in the forward direction Specify the area subject to search and alteration
PMC addresses used in the input and output section of the function block can be changed. The
following explains address conversion function operations related to function blocks. For details, see
Section 8.5, "ADDRESS ALTERATION FUNCTION".
• [ALTER]
You can position the cursor on an address in the input or output section of a function block,
enter a desired PMC address for “Alter address”, and press the [ALTER] soft key to replace a
PMC address.
• [ALTER ALL]
You can set a PMC address set in the input or output section of a function block for “OLD
ADDRESS” and a PMC address after conversion for “NEW ADDRESS”, and press the
[ALTER ALL] soft key to convert the address in the input and output sections of the function
block that is set for “OLD ADDRESS”.
• [USE CHECK]
Checks to see if the address specified in the "NEW ADDRESS" field is in use by searching for
the address through the ladder diagram. The address used in the function block instance and FB
body program is the subject of the use check, too.
- 1352 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
• [PICKUP ADRS]
You can fetch a PMC address set in the input or output or input/output section of a function
block for “OLD ADDRESS” or “NEW ADDRESS”.
NOTE
When trying to alter an address assigned in the input section for an
input/output parameter, the following error message is displayed.
"CANNOT EDIT INPUT/OUTPUT PARAM ADDRESS"
- 1353 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
An asterisk (*) is marked also to the address which is used in the FB body program and function block
instance when using a function block function.
Symbol and comment (s) is marked to the address of internal and external variables that are not used
actually in the FB body program and function block instance but defined in function block.
The “a” mark (for byte) and the “-“ mark (for bit) is marked for the automatic assignment address.
NOTE
1 Non-BOOL parameters of function block are handled as addresses in use with a
length of one byte, regardless of the data length of the parameters.
2 It does not jump to the address used in the FB body program because it cannot
be edited.
For details of the Address Map Display Screen, see Subsection 8.6.1, "Address Map Display Screen".
- 1354 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
For details of the Duplicate Coil Check, see Section 8.10, "CHECKING OF DUPLICATE COIL ([DUP.
CHECK] SCREEN)".
NOTE
Do not delete the symbol for the function block instance name on the symbol and
comment editor screen. When it is deleted, jump function for FB body program
become unavailable.
- 1355 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
History of the
SP area
displayed subprogram
and function block
Size area
Called subprogram
- 1356 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
(2) Function block display of browsing and editing protection
When you preview a FB body program for which browsing and editing protection is set, the
following contents are displayed.
FB PROGRAM IS PROTECTED BY PASSWORD.
Comment of function block
Version
Date
NOTE
Do not delete the symbol for the function block instance name on the symbol and
comment editor screen. When it is deleted, displaying the screen in order of
symbols may not work correctly.
For details of the Subprogram List Display Screen, see Section 8.11, "DISPLAYING A SUBPROGRAM
LIST ([SPLIST] SCREEN)".
- 1357 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
For details of the Title Screen, see Section 9.1, "DISPLAYING AND EDITING TITLE DATA ([TITLE]
SCREENS)".
- 1358 -
B-64513EN/03 11.FUNCTION BLOCK FUNCTION
There are the following symbol and comment data definitions related to function block.
(1) Symbol and comment definition of function block instance name
PROG.SYMBOL: Displayed as the form “[PROGRAM NAME].[SYMBOL]”
ADDRESS: This column is blank.
TYPE: “FB_I” is displayed.
(2) Symbol and comment definition of internal and external variables in the function block
PROG.SYMBOL: Local symbol to the function block
• When a symbol is defined for the function block instance:
“function-block-instance-name.symbol”
• When a symbol is not defined for the function block instance:
“function-block-definition-name.symbol”
NOTE
The symbol for a function block cannot be changed or added. Available
operations are line deletion in entry units and all deletion only.
- 1359 -
11.FUNCTION BLOCK FUNCTION B-64513EN/03
NOTE
When multiple symbol and comment are defined to the same address, you can
search it by each symbol name. On the other hand the symbol displayed for the
address on PMC screen is one of these symbol names. So if you search such a
symbol, displayed symbol name on searched position may be different from the
symbol searched.
- 1360 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1361 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
ER36 TOO MUCH INPUT Reduce the input data count of group xx. The input data count of I/O Link
DATA IN GROUP(CHn Gxx) group xx exceeds the upper limit
(Note1)(Note3) (33 bytes).
Or the input data count of I/O Link
i group “xx” exceeds the upper
limit (65 bytes for the normal I/O,
29 bytes for the safety I/O). The
superfluous data is regarded as
invalid.
ER37 TOO MUCH SLOT IN Correct the slot number to a value of 10 or less. The slot number for the I/O Link
BASE(CHn) exceed the upper limit (10). The
(Note3) slot number larger than 11 is
regarded as invalid.
ER38 MAX SETTING <1> In case of I/O Link, reduce the total amount The I/O area for the I/O Link is
OUTPUT DATA OVER(CHn of output data of all groups to 128 bytes or insufficient.
Gxx) less. (The area allocated to the group
(Note1)(Note3) <2> In case of I/O Link i, reduce the total “xx” and later on the output side is
amount of output data of all groups to 256 regarded as invalid.)
bytes or less. In case of I/O Link i, The I/O area
is insufficient in the normal update
cycle mode.
ER39 MAX SETTING INPUT <1> In case of I/O Link, reduce the total amount The I/O area for the I/O Link is
DATA OVER(CHn xx) of input data of all groups to 128 bytes or insufficient.
(Note1)(Note3) less. (The area allocated to the group
<2> In case of I/O Link i, reduce the total “xx” and later on the input side is
amount of input data of all groups to 256 regarded as invalid.)
bytes or less. In case of I/O Link i, The I/O area
is insufficient in the normal update
cycle mode.
ER43 PROGRAM DATA <1> Store sequence program which is compiled The sequence program is invalid.
ERROR(PT/NT) again after recompilations using FANUC
LADDER-III.
<2> If you see the same alarm again after <1>,
contact us.
ER45 NO OPTION Add a required function block option. No function block option is
(FUNCTION BLOCK) specified.
- 1362 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1363 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1364 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1365 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1366 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1367 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
NOTE
1 The displayed group number in ER34, ER35, ER36, ER38, ER39, ER61, ER68,
ER71, ER97, WN69 and WN70 is wiring number of I/O device.
2 The group number displayed in ER69 is the number of I/O Link i assignment
data.
3 When some PMC alarms related to I/O Link and I/O Link i occur, all of I/O
devices in all of channels do not be liked with the CNC.
4 This alarm may occur even if 256 or less I/O modules are connected with the
channel. It depends on situation of composition of I/O devices.
- 1368 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1369 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1370 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1371 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1372 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1373 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
NOTE
1 When an unknown unit is connected, the hardware ID is displayed.
2 For some I/O devices, one unit such as a safety I/O unit may consist of two
groups. If a connection failure occurs between groups containing units of the
same type, PC058 instead of PC056 indicating a connection failure occurs as a
unit failure.
- 1374 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1376 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1377 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1378 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1379 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1380 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
Error messages that may be displayed on the PMC NET EDITOR screen
Message Faulty location/corrective action Contents
ILLEGAL FUNCTIONAL Specify the name of an available The entered name of functional
INSTRUCTION NAME functional instruction. instruction is invalid.
TOO MANY FUNCTION IN ONE Only one functional instruction is Too many functional instructions are in
NET allowed to constitute a net. If one net.
necessary, divide the net into plural
nets.
TOO LARGE NET Divide the net into plural nets so that Net is too large. When a net is
step number in a net may become converted into the object, the net
small. exceeds 256 steps.
NO INPUT FOR OPERATION Coil without input, or coil connected to No signal is provided for logical
output of functional instruction that has operation.
no output, causes this error. If coil is
not necessary, remove it. If necessary,
connect it to meaningful input.
OPERATION AFTER FUNCTION Output of functional instruction can not No logical operation with functional
IS FORBIDDEN be connected to a contact, nor to instruction output is permitted, except
conjunction with other signal that will write coils.
be implemented by logical-or
operation.
WRITE COIL IS EXPECTED Write coil is not found even if it is Write coil is expected, but not found.
expected. Add proper write coil to the
net.
BAD COIL LOCATION Coil can be located only at rightmost Coil is located in bad position.
column. Any coil located at other place
must be erased once, and place
necessary coils in correct place.
SHORT CIRCUIT Find contact with terminals connected Some contacts are connected with
by short circuit, and correct short circuit. CTR has a parameter
connections. number that is out of the range.
FUNCTION AFTER Functional instruction can not be used Functional instruction is used in output
DIVERGENCE IS FORBIDDEN in output section of net. If necessary, section of net.
divide the net into plural nets.
ALL COIL MUST HAVE SAME Left terminals of all coils in a net must When a net contains more than one
INPUT be connected to same input point. coil, the coils should not have any
contact beside them affects only of the
coils.
BAD CONDITION INPUT Check the connection of all condition Some condition input of functional
inputs of the functional instruction. instruction is not connected correctly.
Especially for functional instruction that
has more than one condition input,
check if connections to condition
inputs interfere with each other.
NET IS TOO COMPLICATED Examine every connection, and find Net is too complicated to analyze.
unnecessarily bending connection, or
coils that are connected to different
point.
PARAMETER IS NOT SUPPLIED Enter all of the relay addresses, and Relay with blank address, or blank
parameters of functional instructions. parameter of functional instruction, is
found.
TOO LARGE DATA FOR NET- Change for being to modify net by The net data in net editor screen is too
EDITOR [NEXT NET] soft key. large.
TOO MANY FUNCTIONS FOR Change for being to modify net by There are too many functional
NET-EDITOR [NEXT NET] soft key. instructions in net editor screen.
- 1381 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
Error messages that may be displayed on the TITLE DATA EDITOR screen
Message Faulty location/corrective action Contents
TOO MANY Make sure that the entered character string The number of characters in the entered
CHARACTERS is within the allowable input length. character string exceeds the allowable
input length. Some of the characters are
discarded.
PROGRAM IS BEING Disconnect the online communication with The title data cannot be displayed
MODIFIED FANUC LADDER-III. Stop other because online communication with
applications from accessing the title data. FANUC LADDER-III is in progress or
another application is accessing the title
data.
THIS FUNCTION IS Cancel the protection by the programmer This function is protected by the
PROTECTED protection function or 8-level protection programmer protection function or 8-level
function. protection function.
- 1382 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
Error messages that may be displayed on the SYMBOL & COMMENT DATA
EDITOR screen
Message Faulty location/corrective action Contents
TOO MANY Make sure that the entered address is The number of characters in the entered
CHARACTERS within the allowable input length. address exceeds the allowable address
input length.
ADDRESS IS REQUIRED Enter data in a batch correctly, as instructed No address was entered during the batch
in "Editing a set of symbol and comment input of address, symbol, and comment
data" in Subsection 9.2.2. data using the SYMBOL & COMMENT
EDITOR screen.
ILLEGAL PMC ADDRESS Enter an address correctly. The specified address is invalid, or the
entered address character string contains
a space or spaces.
THE ADDRESS Specify another address. An already registered address was
ALREADY HAS AN entered.
ENTRY
THE SYMBOL NAME IS Specify another symbol. An already registered symbol was
ALREADY USED entered.
PMC ADDRESS MUST Enter a PMC address in the ADDRESS No PMC address was entered when new
BE ENTERED field. symbol/comment data is registered.
TOO LONG COMMENT Make sure that the comment consists of 30 The entered comment exceeds the
STRING characters or less. specified number of characters.
THE STRING IS NOT Specify another character string for the The search was done for the specified
FOUND search. character string but did not find it.
OUT OF SPACE Create free space for the sequence The symbol/comment editing area has no
program, by deleting unnecessary ladder or free space.
message data.
PROGRAM IS BEING Disconnect the online communication with The symbol/comment data cannot be
MODIFIED FANUC LADDER-III. Stop other displayed because online communication
applications from accessing the with FANUC LADDER-III is in progress or
symbol/comment data. another application is accessing the
symbol/comment data.
THIS FUNCTION IS Cancel the protection by the programmer This function is protected by the
PROTECTED protection function or 8-level protection programmer protection function or 8-level
function. protection function.
BAD SYMBOL NAME Change the symbol name. The symbol name is invalid.
CANNOT EDIT Use FANUC LADDER-III to change the The symbol whose PMC address is
ADDRESS AUTO symbol. assigned automatically by compiling
ASSIGNED SYMBOL FANUC LADDER-III, can not edit.
ILLEGAL DATA TYPE Enter a correct data type. The specified data type is invalid.
ILLEGAL PROGRAM Enter a correct program name. The specified program is invalid.
NAME
LINE FEED IS NOT Line feed code can be entered in comment Line feed code cannot be entered in this
AVAILABLE IN THIS data only. Do not enter it in other data. data.
DATA
LINE FEED IS NOT Enter Line feed code in the insert or Line feed code cannot be entered in this
AVAILABLE IN THIS overwrite mode. mode.
MODE
NO SYMBOL. PROGRAM Symbol name is required for local symbol. The specified program is ignored because
SETTING IS IGNORED no symbol is specified.
NOTHING TO PASTE You need to copy or cut character strings You try to paste character strings without
before you paste them. copying or cutting ones.
TOO LARGE DATA TO Shorten the character string to copy or cut. The character strings is too long to copy
PASTE or cut.
UNAVAILABLE Do not copy or cut characters which cannot The characters which can not be used at
CHARACTERS WAS be used at pasted position. pasted position, were omitted.
OMITTED.
- 1383 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1384 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
Error messages that may be displayed on the I/O MODULE EDITOR screen
Message Faulty location/corrective action Contents
GROUP NUMBER IS TOO Specify 15 or a smaller value as the The entered group number is too
LARGE group number. large.
BASE NUMBER IS TOO LARGE Specify base number 0 for I/O Unit-B The entered base number is too
(##, #1 - #10). large.
SLOT NUMBER IS TOO LARGE Specify 30 or a smaller value as the slot The entered slot number is too large.
number for I/O Unit-B (##, #1 - #10).
For other I/O units, specify 10 or a
smaller value.
SLOT NUMBER IS TOO SMALL Specify 0 or a large value as the slot The entered slot number is too small.
number for I/O Unit-B (##, #1 - #10).
For other I/O units, specify 1 or a larger
value.
I/O UNIT NAME MISMATCH Check the I/O unit name or address. The input I/O unit is assigned to the
Y address, or the output I/O unit is
assigned to the X address.
ILLEGAL I/O UNIT NAME Enter an I/O unit that is listed in Tables The entered I/O unit name is invalid.
3.2 (a) to 3.2 (c) in Chapter 3.
NOT ENOUGH SPACE Enter the data again after creating free There is not enough free address
space by deleting the data allocated space for the size of the I/O unit you
behind the current cursor position or by are going to assign.
other adequate means. This error also occurs if you attempt
to assign the I/O unit to an already
allocated address space.
PROGRAM IS BEING MODIFIED Disconnect the online communication The I/O module data cannot be
with FANUC LADDER-III. Stop other displayed because online
applications from accessing the I/O communication with FANUC
module data. LADDER-III is in progress or another
application is accessing the I/O
module data.
THIS FUNCTION IS Cancel the protection by the This function is protected by the
PROTECTED programmer protection function or 8- programmer protection function or 8-
level protection function. level protection function.
- 1386 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1387 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1388 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1389 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1390 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1391 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
FOLDER CANNOT BE SPECIFIED. <1> The specified number indicates <1> The specified number indicates
a folder. Enter an appropriate a folder.
number. <2> An attempt was made to select
<2> No folder can be selected in the a folder in the file list screen.
file list screen.
THIS FILE CANNOT BE SPECIFIED. <1> The file name corresponding to <1> The file name corresponding to
the specified file number consists the specified file number consists
of more than 32 characters. Enter of more than 32 characters.
an appropriate number. <2> An attempt was made to select
<2> No file having a file name a file having a file name
consisting of more than 32 consisting of more than 32
characters can be selected in the characters.
file list screen.
USB HARDWARE ERROR Replace the USB memory with This error occurs due to a USB
(xxxxxxxxxx) another one. If this error still occurs hardware failure. An error code is
after replacement, contact us, and indicated in parentheses.
report the displayed message
correctly.
INTERNAL ERROR (xxxxxxxxxx) Contact us, and report the displayed This error occurs due to an internal
message correctly. factor. An error code is indicated in
parentheses.
- 1392 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
- 1393 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1394 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
In this message format, CHn (where n is 1 or a higher number) represents the number of the channel that
has caused the communication error. “GRa” represents a group number in which a problem may occur.
“bb” means internal code.
However, correct group number may not be shown depend on cause or condition of the communication
error. Please note that it is difficult to identify the cause of the error or the location of the fault with these
values alone, for the following reasons.
(1) If the communication error has resulted from a hardware fault or noise, these register values
themselves may not be correct.
(2) Different register values may be presented for the same cause depending on the timing of the error
occurrence.
- 1395 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
- 1396 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
(10) Restart of the slave at the time of the CNC restart
When the master I/O Link device is restarted, the slave needs to be restarted as well. Particular care
must be exercised about intelligent-type slaves (those that exert standalone control independently,
such as FS0-C, Power Mate, β amplifier, and spindle monitor unit) because, when the power of the
master is turned off, a system alarm is generated in the slave. If the CNC alone is restarted in this
situation, the system alarm in the slave causes another system alarm to be generated in the master.
(11) System alarm in the slave
In cases where intelligent-type slaves are used, if a system alarm occurs in any of the slaves, the
master also generates a system alarm. Similarly, if a system alarm occurs in the master, the slave
generates a system alarm as well. Therefore, when such slaves are used, it is important to know
which device (master or slave) has generated a system alarm first.
If only the master is experiencing a system alarm while no such alarm is occurring in the slave, the
likely cause is that the power of the slave was turned off instantaneously, causing a system alarm in
the master, and then the slave was restarted.
(12) Failure to connect the optical I/O Link adapter to ground
The optical I/O Link adapter, which accomplishes conversion between electrical cable and optical
cable, uses its own case as a grounding body. Therefore, the case of the adapter must be connected
to ground.
(13) CNC or I/O device malfunction or failure
A communication error may stem from a hardware malfunction or failure. Try replacing boards
having an I/O Link connector (master PCB and PMC boards), the PMC control module (which may
be attached directly to the master PCB in some PMC types), back panel, individual slaves, or other
adequate components.
(14) Operation mistake
If the error has occurred only once, it may be due to an operation mistake, such as turning off the
power of the slave inadvertently.
- 1397 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
"Had the machine been operating normally before the error occurred?"
If the machine suddenly starts to experience problems while it has been operating normally all along,
one potential cause of those problems is noise, loose connector connection, or insufficient power
capacity due to such factors as modifications to machine design and/or the factory facilities.
Another highly likely cause is a hardware failure.
If the machine is still in the startup phase and has no operation records, you need to begin your
investigation by checking the assignment data and hardware connections.
Examine the actual I/O Link configuration (types of the master and slaves and their connections) and
the assignment data.
Based on "Connection Manual (Hardware)", check whether the assignment data matches the actual
I/O Link configuration, whether the I/O Link point count is within the limit, whether terminal
resistors and other connectors are properly connected, whether a power cable is properly connected
to each master and slave, whether the power-on or power-off procedure has been performed
normally, and so on.
(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.
- 1398 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
(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.
The communication error may be due to another alarm event that occurred before the I/O Link
system alarm. Check the alarm history and system alarm history records for any such alarm.
If the slave also has alarm history and system alarm history data, check those history records as well.
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.
In response to an error that has occurred singly, the I/O Link attempts to retransmit data. If the error
cannot be avoided by this retransmission attempt, then a system alarm is generated.
Every time such a retransmission takes place, one of the register values is incremented by 1. The
addresses of these registers are the same regardless of the type of the PMC system.
By checking these register values, you can know whether the communication had been unstable all
along or a communication error occurred suddenly after a reasonable period of stable operation.
In cases where a communication error repeats intermittently and the values of these registers are
frequently updated, try replacing adequate hardware components. If the register values come to stay
unchanged after you replace a certain hardware component, then you can tell that particular
hardware component is the cause of the error.
These registers are volatile memory, and their values are cleared to 0 at the time of powering on.
- 1399 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
NC
Optical I/O link Optical I/O link
adapter adapter
Optical cable
<Cause>
Groups 0 and 1 were connected using a cable to which a +5 V power wire was attached.
<Explanation>
The cable to which a +5V power wire is attached is intended to connect optical I/O Link adapters.
When not using optical I/O Link adapters, use a cable to which a +5V power wire is not attached.
Note that, when this troubleshooting work (replacing the cable) was done, the operator's panel I/O
module was replaced as well. Therefore, the direct cause of the error might have been the operator's
panel I/O module.
NC
<Cause>
The cable between groups 2 and 3 had a short circuit inside it.
<Explanation>
Because the alarm had been occurring with relatively high frequency (two or three times a day), the
cause of the error was located by removing the salve devices sequentially starting with the one
having the largest group number.
- 1400 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
A system alarm occurs if you execute "I/O Link startup" after storing the
ladder program using the online monitor.
<Category>
Assignment data mismatch
<Register>
83:41
<Configuration>
NC
<Cause>
The groups and bases had been set mistakenly.
(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
<Explanation>
If the base numbers are mistakenly assigned, the error almost always occurs when the power of the
CNC is turned on.
A system alarm is prone to occur when the feeder starts to operate after the
machining process.
<Category>
Noise
<Configuration>
NC
- 1401 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
<Cause>
None of the masters, slaves, or communication cables were properly grounded to earth.
<Explanation>
If a system alarm is prone to occur in response to a specific operation, it is highly likely that a drop
in voltage, noise interference, loose cable connection, or short circuit results from that operation.
A system alarm occurs almost every time the automatic operation begins.
<Category>
Noise
<Configuration>
NC
Group 0 Group 1
<Cause>
The communication cables and power cables were installed in the same bundle.
<Explanation>
The error no longer occurred after the communication cables and power cables were installed in
separate bundles. In this case, too, noise is considered to be the cause of the error. Note, however,
that such noise-caused errors do not necessarily occur in response to one specific operation. In
many cases, they emerge as intermittent errors that occur with extremely low frequency and it is
difficult to identify any particular condition for them to arise. Therefore, if an error is occurring
intermittently and if you have potential error factors, such as any hardware component not connected
to ground, poor grounding, and cables installed near a noise source, you need to take necessary
measures for each of those error factors and see if the error will be corrected.
NC
<Cause>
DO was short-circuited due to a wiring mistake on the operator's panel.
- 1402 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
<Explanation>
Some operator's panel I/O modules cause a system alarm if the DO output is connected to ground.
In this case, we were able to identify the faulty component by checking the signal which is turned on
at a cycle start on the operator's panel.
A system alarm occurs once every five times the feeder is moved.
<Category>
Insufficient power capacity or drop in voltage
<Configuration>
NC
I/O Unit-A
Group 0
<Cause>
The power voltage of the slave dropped from 24 volts to 17 volts when the feeder was moved.
<Explanation>
If a system alarm is prone to occur in response to a specific operation, it is highly likely that a drop
in voltage, noise interference, or loose cable connection results from that operation.
NC
Group 0 Group 1
<Cause>
A flashing lamp was lit when an alarm occurred, which caused the power voltage of the slave to
drop from 24 volts to 10 volts.
<Explanation>
We checked the LED of group 0 (β amplifier) and found that an NMI had occurred. As a result of
examining the power supply of the β amplifier, we were able to confirm that its voltage would drop
when its flashing lamp was lit.
- 1403 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
NC
<Cause>
The cable was loosely connected to the terminal block of the slave power unit; it was merely in
touch of the block. We conducted a voltage measurement and found that the voltage of the slave
sometimes dropped from the 24-volt level.
<Explanation>
At the time when this measurement was conducted, the voltage of the slave dropped only by 2 volts
or so and no system alarm occurred. However, when the voltage level is unstable, any instantaneous
yet substantial change in voltage can lead to an error. To prevent this, check that each cable is
connected firmly, replace the power supply unit, or use a stable power supply.
A system alarm occurs when data is written using the BOOT screen.
<Category>
Restart of the slave at the time of the CNC restart
<Configuration>
(Unknown)
<Cause>
When a macro was to be written using the BOOT screen, only the power of the CNC was turned off
and then on while the power of the slaves remained on.
<Explanation>
When the master I/O Link device is restarted, all the slaves need to be restarted as well.
- 1404 -
B-64513EN/03 12.PMC ALARM MESSAGES AND ACTIONS TO TAKE
NC
<Cause>
A RAM parity error had occurred in Power Mate-E of group 2.
<Explanation>
Since group 2 was Power Mate-E, we checked the alarm using the DPL and MDI and confirmed that
a RAM parity error had occurred in the device.
System alarms began to occur after the machine had been in operation for
about one year.
<Category>
Failure to connect the optical I/O Link adapter to ground
<Configuration>
(Unknown)
<Cause>
The connection between the optical I/O Link adapter case and the inside of the optical I/O Link
adapter was loose.
<Explanation>
The case of the optical I/O Link adapter is not painted and serves as a grounding body as well.
Therefore, the optical I/O Link adapter must be connected to ground. In this case, the adapter was
properly grounded but, because it was installed in a position subject to vibration, the connection
between the adapter case and the inside of the adapter had been lost.
- 1405 -
12.PMC ALARM MESSAGES AND ACTIONS TO TAKE B-64513EN/03
NC
<Cause>
The basic connector panel I/O module of group 5 was faulty.
<Explanation>
Since the alarm had occurred every time the power was turned on, we removed the devices
sequentially, starting with the one having the largest group number, and checked whether an alarm
would arise. As a result, we found out that the system would start normally when group 5 was
removed. We then conducted a test with the basic module of group 5 attached to another CNC and
discovered that the error was due to the malfunction of that individual module.
- 1406 -
APPENDIX
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
A1A0 、 。 · ˉ ˇ ¨ 〃 々 — ~ ‖ … ‘ ’
A1B0 “ ” 〔 〕 〈 〉 《 》 「 」 『 』 〖 〗 【 】
A1C0 ± × ÷ ∶ ∧ ∨ ∑ ∏ ∪ ∩ ∈ ∷ √ ⊥ ∥ ∠
A1D0 ⌒ ⊙ ∫ ∮ ≡ ≌ ≈ ∽ ∝ ≠ ≮ ≯ ≤ ≥ ∞ ∵
A1E0 ∴ ♂ ♀ ° ′ ″ ℃ $ ¤ ¢ £ ‰ § № ☆ ★
A1F0 ○ ● ◎ ◇ ◆ □ ■ △ ▲ ※ → ← ↑ ↓ 〓
A2A0
A2B0 ⒈ ⒉ ⒊ ⒋ ⒌ ⒍ ⒎ ⒏ ⒐ ⒑ ⒒ ⒓ ⒔ ⒕ ⒖
A2C0 ⒗ ⒘ ⒙ ⒚ ⒛ ⑴ ⑵ ⑶ ⑷ ⑸ ⑹ ⑺ ⑻ ⑼ ⑽ ⑾
A2D0 ⑿ ⒀ ⒁ ⒂ ⒃ ⒄ ⒅ ⒆ ⒇ ① ② ③ ④ ⑤ ⑥ ⑦
A2E0 ⑧ ⑨ ⑩ ㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
A2F0 Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅻ
A3A0 ! " # ¥ % & ' ( ) * + , - . /
A3B0 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
A3C0 @ A B C D E F G H I J K L M N O
A3D0 P Q R S T U V W X Y Z [ \ ] ^ _
A3E0 ` a b c d e f g h i j k l m n o
A3F0 p q r s t u v w x y z { | }  ̄
A4A0 ぁ あ ぃ い ぅ う ぇ え ぉ お か が き ぎ く
A4B0 ぐ け げ こ ご さ ざ し じ す ず せ ぜ そ ぞ た
A4C0 だ ち ぢ っ つ づ て で と ど な に ぬ ね の は
A4D0 ば ぱ ひ び ぴ ふ ぶ ぷ へ べ ぺ ほ ぼ ぽ ま み
A4E0 む め も ゃ や ゅ ゆ ょ よ ら り る れ ろ ゎ わ
A4F0 ゐ ゑ を ん
A5A0 ァ ア ィ イ ゥ ウ ェ エ ォ オ カ ガ キ ギ ク
A5B0 グ ケ ゲ コ ゴ サ ザ シ ジ ス ズ セ ゼ ソ ゾ タ
A5C0 ダ チ ヂ ッ ツ ヅ テ デ ト ド ナ ニ ヌ ネ ノ ハ
A5D0 バ パ ヒ ビ ピ フ ブ プ ヘ ベ ペ ホ ボ ポ マ ミ
A5E0 ム メ モ ャ ヤ ュ ユ ョ ヨ ラ リ ル レ ロ ヮ ワ
A5F0 ヰ ヱ ヲ ン ヴ ヵ ヶ
- 1409 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
A6A0 Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο
A6B0 Π Ρ Σ Τ Υ Φ Χ Ψ Ω
A6C0 α β γ δ ε ζ η θ ι κ λ μ ν ξ ο
A6D0 π ρ σ τ υ φ χ ψ ω
A6E0
A6F0
A7A0 А Б В Г Д Е Ё Ж З И Й К Л М Н
A7B0 О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э
A7C0 Ю Я
A7D0 а б в г д е ё ж з и й к л м н
A7E0 о п р с т у ф х ц ч ш щ ъ ы ь э
A7F0 ю я
A8A0 ā á ǎ à ē é ě è ī í ǐ ì ō ó ǒ
A8B0 ò ū ú ǔ ù ǖ ǘ ǚ ǜ ü ê
A8C0 ㄅ ㄆ ㄇ ㄈ ㄉ ㄊ ㄋ ㄌ ㄍ ㄎ ㄏ
A8D0 ㄐ ㄑ ㄒ ㄓ ㄔ ㄕ ㄖ ㄗ ㄘ ㄙ ㄚ ㄛ ㄜ ㄝ ㄞ ㄟ
A8E0 ㄠ ㄡ ㄢ ㄣ ㄤ ㄥ ㄦ ㄧ ㄨ ㄩ
A8F0
A9A0 ─ ━ │ ┃ ┄ ┅ ┆ ┇ ┈ ┉ ┊ ┋
A9B0 ┌ ┍ ┎ ┏ ┐ ┑ ┒ ┓ └ ┕ ┖ ┗ ┘ ┙ ┚ ┛
A9C0 ├ ┝ ┞ ┟ ┠ ┡ ┢ ┣ ┤ ┥ ┦ ┧ ┨ ┩ ┪ ┫
A9D0 ┬ ┭ ┮ ┯ ┰ ┱ ┲ ┳ ┴ ┵ ┶ ┷ ┸ ┹ ┺ ┻
A9E0 ┼ ┽ ┾ ┿ ╀ ╁ ╂ ╃ ╄ ╅ ╆ ╇ ╈ ╉ ╊ ╋
A9F0
B0A0 啊 阿 埃 挨 哎 唉 哀 皑 癌 蔼 矮 艾 碍 爱 隘
B0B0 鞍 氨 安 俺 按 暗 岸 胺 案 肮 昂 盎 凹 敖 熬 翱
B0C0 袄 傲 奥 懊 澳 芭 捌 扒 叭 吧 笆 八 疤 巴 拔 跋
B0D0 靶 把 耙 坝 霸 罢 爸 白 柏 百 摆 佰 败 拜 稗 斑
B0E0 班 搬 扳 般 颁 板 版 扮 拌 伴 瓣 半 办 绊 邦 帮
B0F0 梆 榜 膀 绑 棒 磅 蚌 镑 傍 谤 苞 胞 包 褒 剥
B1A0 薄 雹 保 堡 饱 宝 抱 报 暴 豹 鲍 爆 杯 碑 悲
B1B0 卑 北 辈 背 贝 钡 倍 狈 备 惫 焙 被 奔 苯 本 笨
B1C0 崩 绷 甭 泵 蹦 迸 逼 鼻 比 鄙 笔 彼 碧 蓖 蔽 毕
B1D0 毙 毖 币 庇 痹 闭 敝 弊 必 辟 壁 臂 避 陛 鞭 边
B1E0 编 贬 扁 便 变 卞 辨 辩 辫 遍 标 彪 膘 表 鳖 憋
- 1410 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
B1F0 别 瘪 彬 斌 濒 滨 宾 摈 兵 冰 柄 丙 秉 饼 炳
B2A0 病 并 玻 菠 播 拨 钵 波 博 勃 搏 铂 箔 伯 帛
B2B0 舶 脖 膊 渤 泊 驳 捕 卜 哺 补 埠 不 布 步 簿 部
B2C0 怖 擦 猜 裁 材 才 财 睬 踩 采 彩 菜 蔡 餐 参 蚕
B2D0 残 惭 惨 灿 苍 舱 仓 沧 藏 操 糙 槽 曹 草 厕 策
B2E0 侧 册 测 层 蹭 插 叉 茬 茶 查 碴 搽 察 岔 差 诧
B2F0 拆 柴 豺 搀 掺 蝉 馋 谗 缠 铲 产 阐 颤 昌 猖
B3A0 场 尝 常 长 偿 肠 厂 敞 畅 唱 倡 超 抄 钞 朝
B3B0 嘲 潮 巢 吵 炒 车 扯 撤 掣 彻 澈 郴 臣 辰 尘 晨
B3C0 忱 沉 陈 趁 衬 撑 称 城 橙 成 呈 乘 程 惩 澄 诚
B3D0 承 逞 骋 秤 吃 痴 持 匙 池 迟 弛 驰 耻 齿 侈 尺
B3E0 赤 翅 斥 炽 充 冲 虫 崇 宠 抽 酬 畴 踌 稠 愁 筹
B3F0 仇 绸 瞅 丑 臭 初 出 橱 厨 躇 锄 雏 滁 除 楚
B4A0 础 储 矗 搐 触 处 揣 川 穿 椽 传 船 喘 串 疮
B4B0 窗 幢 床 闯 创 吹 炊 捶 锤 垂 春 椿 醇 唇 淳 纯
B4C0 蠢 戳 绰 疵 茨 磁 雌 辞 慈 瓷 词 此 刺 赐 次 聪
B4D0 葱 囱 匆 从 丛 凑 粗 醋 簇 促 蹿 篡 窜 摧 崔 催
B4E0 脆 瘁 粹 淬 翠 村 存 寸 磋 撮 搓 措 挫 错 搭 达
B4F0 答 瘩 打 大 呆 歹 傣 戴 带 殆 代 贷 袋 待 逮
B5A0 怠 耽 担 丹 单 郸 掸 胆 旦 氮 但 惮 淡 诞 弹
B5B0 蛋 当 挡 党 荡 档 刀 捣 蹈 倒 岛 祷 导 到 稻 悼
B5C0 道 盗 德 得 的 蹬 灯 登 等 瞪 凳 邓 堤 低 滴 迪
B5D0 敌 笛 狄 涤 翟 嫡 抵 底 地 蒂 第 帝 弟 递 缔 颠
B5E0 掂 滇 碘 点 典 靛 垫 电 佃 甸 店 惦 奠 淀 殿 碉
B5F0 叼 雕 凋 刁 掉 吊 钓 调 跌 爹 碟 蝶 迭 谍 叠
B6A0 丁 盯 叮 钉 顶 鼎 锭 定 订 丢 东 冬 董 懂 动
B6B0 栋 侗 恫 冻 洞 兜 抖 斗 陡 豆 逗 痘 都 督 毒 犊
B6C0 独 读 堵 睹 赌 杜 镀 肚 度 渡 妒 端 短 锻 段 断
B6D0 缎 堆 兑 队 对 墩 吨 蹲 敦 顿 囤 钝 盾 遁 掇 哆
B6E0 多 夺 垛 躲 朵 跺 舵 剁 惰 堕 蛾 峨 鹅 俄 额 讹
B6F0 娥 恶 厄 扼 遏 鄂 饿 恩 而 儿 耳 尔 饵 洱 二
B7A0 贰 发 罚 筏 伐 乏 阀 法 珐 藩 帆 番 翻 樊 矾
B7B0 钒 繁 凡 烦 反 返 范 贩 犯 饭 泛 坊 芳 方 肪 房
B7C0 防 妨 仿 访 纺 放 菲 非 啡 飞 肥 匪 诽 吠 肺 废
B7D0 沸 费 芬 酚 吩 氛 分 纷 坟 焚 汾 粉 奋 份 忿 愤
- 1411 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
B7E0 粪 丰 封 枫 蜂 峰 锋 风 疯 烽 逢 冯 缝 讽 奉 凤
B7F0 佛 否 夫 敷 肤 孵 扶 拂 辐 幅 氟 符 伏 俘 服
B8A0 浮 涪 福 袱 弗 甫 抚 辅 俯 釜 斧 脯 腑 府 腐
B8B0 赴 副 覆 赋 复 傅 付 阜 父 腹 负 富 讣 附 妇 缚
B8C0 咐 噶 嘎 该 改 概 钙 盖 溉 干 甘 杆 柑 竿 肝 赶
B8D0 感 秆 敢 赣 冈 刚 钢 缸 肛 纲 岗 港 杠 篙 皋 高
B8E0 膏 羔 糕 搞 镐 稿 告 哥 歌 搁 戈 鸽 胳 疙 割 革
B8F0 葛 格 蛤 阁 隔 铬 个 各 给 根 跟 耕 更 庚 羹
B9A0 埂 耿 梗 工 攻 功 恭 龚 供 躬 公 宫 弓 巩 汞
B9B0 拱 贡 共 钩 勾 沟 苟 狗 垢 构 购 够 辜 菇 咕 箍
B9C0 估 沽 孤 姑 鼓 古 蛊 骨 谷 股 故 顾 固 雇 刮 瓜
B9D0 剐 寡 挂 褂 乖 拐 怪 棺 关 官 冠 观 管 馆 罐 惯
B9E0 灌 贯 光 广 逛 瑰 规 圭 硅 归 龟 闺 轨 鬼 诡 癸
B9F0 桂 柜 跪 贵 刽 辊 滚 棍 锅 郭 国 果 裹 过 哈
BAA0 骸 孩 海 氦 亥 害 骇 酣 憨 邯 韩 含 涵 寒 函
BAB0 喊 罕 翰 撼 捍 旱 憾 悍 焊 汗 汉 夯 杭 航 壕 嚎
BAC0 豪 毫 郝 好 耗 号 浩 呵 喝 荷 菏 核 禾 和 何 合
BAD0 盒 貉 阂 河 涸 赫 褐 鹤 贺 嘿 黑 痕 很 狠 恨 哼
BAE0 亨 横 衡 恒 轰 哄 烘 虹 鸿 洪 宏 弘 红 喉 侯 猴
BAF0 吼 厚 候 后 呼 乎 忽 瑚 壶 葫 胡 蝴 狐 糊 湖
BBA0 弧 虎 唬 护 互 沪 户 花 哗 华 猾 滑 画 划 化
BBB0 话 槐 徊 怀 淮 坏 欢 环 桓 还 缓 换 患 唤 痪 豢
BBC0 焕 涣 宦 幻 荒 慌 黄 磺 蝗 簧 皇 凰 惶 煌 晃 幌
BBD0 恍 谎 灰 挥 辉 徽 恢 蛔 回 毁 悔 慧 卉 惠 晦 贿
BBE0 秽 会 烩 汇 讳 诲 绘 荤 昏 婚 魂 浑 混 豁 活 伙
BBF0 火 获 或 惑 霍 货 祸 击 圾 基 机 畸 稽 积 箕
BCA0 肌 饥 迹 激 讥 鸡 姬 绩 缉 吉 极 棘 辑 籍 集
BCB0 及 急 疾 汲 即 嫉 级 挤 几 脊 己 蓟 技 冀 季 伎
BCC0 祭 剂 悸 济 寄 寂 计 记 既 忌 际 妓 继 纪 嘉 枷
BCD0 夹 佳 家 加 荚 颊 贾 甲 钾 假 稼 价 架 驾 嫁 歼
BCE0 监 坚 尖 笺 间 煎 兼 肩 艰 奸 缄 茧 检 柬 碱 硷
BCF0 拣 捡 简 俭 剪 减 荐 槛 鉴 践 贱 见 键 箭 件
BDA0 健 舰 剑 饯 渐 溅 涧 建 僵 姜 将 浆 江 疆 蒋
BDB0 桨 奖 讲 匠 酱 降 蕉 椒 礁 焦 胶 交 郊 浇 骄 娇
BDC0 嚼 搅 铰 矫 侥 脚 狡 角 饺 缴 绞 剿 教 酵 轿 较
- 1412 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
BDD0 叫 窖 揭 接 皆 秸 街 阶 截 劫 节 桔 杰 捷 睫 竭
BDE0 洁 结 解 姐 戒 藉 芥 界 借 介 疥 诫 届 巾 筋 斤
BDF0 金 今 津 襟 紧 锦 仅 谨 进 靳 晋 禁 近 烬 浸
BEA0 尽 劲 荆 兢 茎 睛 晶 鲸 京 惊 精 粳 经 井 警
BEB0 景 颈 静 境 敬 镜 径 痉 靖 竟 竞 净 炯 窘 揪 究
BEC0 纠 玖 韭 久 灸 九 酒 厩 救 旧 臼 舅 咎 就 疚 鞠
BED0 拘 狙 疽 居 驹 菊 局 咀 矩 举 沮 聚 拒 据 巨 具
BEE0 距 踞 锯 俱 句 惧 炬 剧 捐 鹃 娟 倦 眷 卷 绢 撅
BEF0 攫 抉 掘 倔 爵 觉 决 诀 绝 均 菌 钧 军 君 峻
BFA0 俊 竣 浚 郡 骏 喀 咖 卡 咯 开 揩 楷 凯 慨 刊
BFB0 堪 勘 坎 砍 看 康 慷 糠 扛 抗 亢 炕 考 拷 烤 靠
BFC0 坷 苛 柯 棵 磕 颗 科 壳 咳 可 渴 克 刻 客 课 肯
BFD0 啃 垦 恳 坑 吭 空 恐 孔 控 抠 口 扣 寇 枯 哭 窟
BFE0 苦 酷 库 裤 夸 垮 挎 跨 胯 块 筷 侩 快 宽 款 匡
BFF0 筐 狂 框 矿 眶 旷 况 亏 盔 岿 窥 葵 奎 魁 傀
C0A0 馈 愧 溃 坤 昆 捆 困 括 扩 廓 阔 垃 拉 喇 蜡
C0B0 腊 辣 啦 莱 来 赖 蓝 婪 栏 拦 篮 阑 兰 澜 谰 揽
C0C0 览 懒 缆 烂 滥 琅 榔 狼 廊 郎 朗 浪 捞 劳 牢 老
C0D0 佬 姥 酪 烙 涝 勒 乐 雷 镭 蕾 磊 累 儡 垒 擂 肋
C0E0 类 泪 棱 楞 冷 厘 梨 犁 黎 篱 狸 离 漓 理 李 里
C0F0 鲤 礼 莉 荔 吏 栗 丽 厉 励 砾 历 利 傈 例 俐
C1A0 痢 立 粒 沥 隶 力 璃 哩 俩 联 莲 连 镰 廉 怜
C1B0 涟 帘 敛 脸 链 恋 炼 练 粮 凉 梁 粱 良 两 辆 量
C1C0 晾 亮 谅 撩 聊 僚 疗 燎 寥 辽 潦 了 撂 镣 廖 料
C1D0 列 裂 烈 劣 猎 琳 林 磷 霖 临 邻 鳞 淋 凛 赁 吝
C1E0 拎 玲 菱 零 龄 铃 伶 羚 凌 灵 陵 岭 领 另 令 溜
C1F0 琉 榴 硫 馏 留 刘 瘤 流 柳 六 龙 聋 咙 笼 窿
C2A0 隆 垄 拢 陇 楼 娄 搂 篓 漏 陋 芦 卢 颅 庐 炉
C2B0 掳 卤 虏 鲁 麓 碌 露 路 赂 鹿 潞 禄 录 陆 戮 驴
C2C0 吕 铝 侣 旅 履 屡 缕 虑 氯 律 率 滤 绿 峦 挛 孪
C2D0 滦 卵 乱 掠 略 抡 轮 伦 仑 沦 纶 论 萝 螺 罗 逻
C2E0 锣 箩 骡 裸 落 洛 骆 络 妈 麻 玛 码 蚂 马 骂 嘛
C2F0 吗 埋 买 麦 卖 迈 脉 瞒 馒 蛮 满 蔓 曼 慢 漫
C3A0 谩 芒 茫 盲 氓 忙 莽 猫 茅 锚 毛 矛 铆 卯 茂
C3B0 冒 帽 貌 贸 么 玫 枚 梅 酶 霉 煤 没 眉 媒 镁 每
- 1413 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
C3C0 美 昧 寐 妹 媚 门 闷 们 萌 蒙 檬 盟 锰 猛 梦 孟
C3D0 眯 醚 靡 糜 迷 谜 弥 米 秘 觅 泌 蜜 密 幂 棉 眠
C3E0 绵 冕 免 勉 娩 缅 面 苗 描 瞄 藐 秒 渺 庙 妙 蔑
C3F0 灭 民 抿 皿 敏 悯 闽 明 螟 鸣 铭 名 命 谬 摸
C4A0 摹 蘑 模 膜 磨 摩 魔 抹 末 莫 墨 默 沫 漠 寞
C4B0 陌 谋 牟 某 拇 牡 亩 姆 母 墓 暮 幕 募 慕 木 目
C4C0 睦 牧 穆 拿 哪 呐 钠 那 娜 纳 氖 乃 奶 耐 奈 南
C4D0 男 难 囊 挠 脑 恼 闹 淖 呢 馁 内 嫩 能 妮 霓 倪
C4E0 泥 尼 拟 你 匿 腻 逆 溺 蔫 拈 年 碾 撵 捻 念 娘
C4F0 酿 鸟 尿 捏 聂 孽 啮 镊 镍 涅 您 柠 狞 凝 宁
C5A0 拧 泞 牛 扭 钮 纽 脓 浓 农 弄 奴 努 怒 女 暖
C5B0 虐 疟 挪 懦 糯 诺 哦 欧 鸥 殴 藕 呕 偶 沤 啪 趴
C5C0 爬 帕 怕 琶 拍 排 牌 徘 湃 派 攀 潘 盘 磐 盼 畔
C5D0 判 叛 乓 庞 旁 耪 胖 抛 咆 刨 炮 袍 跑 泡 呸 胚
C5E0 培 裴 赔 陪 配 佩 沛 喷 盆 砰 抨 烹 澎 彭 蓬 棚
C5F0 硼 篷 膨 朋 鹏 捧 碰 坯 砒 霹 批 披 劈 琵 毗
C6A0 啤 脾 疲 皮 匹 痞 僻 屁 譬 篇 偏 片 骗 飘 漂
C6B0 瓢 票 撇 瞥 拼 频 贫 品 聘 乒 坪 苹 萍 平 凭 瓶
C6C0 评 屏 坡 泼 颇 婆 破 魄 迫 粕 剖 扑 铺 仆 莆 葡
C6D0 菩 蒲 埔 朴 圃 普 浦 谱 曝 瀑 期 欺 栖 戚 妻 七
C6E0 凄 漆 柒 沏 其 棋 奇 歧 畦 崎 脐 齐 旗 祈 祁 骑
C6F0 起 岂 乞 企 启 契 砌 器 气 迄 弃 汽 泣 讫 掐
C7A0 恰 洽 牵 扦 钎 铅 千 迁 签 仟 谦 乾 黔 钱 钳
C7B0 前 潜 遣 浅 谴 堑 嵌 欠 歉 枪 呛 腔 羌 墙 蔷 强
C7C0 抢 橇 锹 敲 悄 桥 瞧 乔 侨 巧 鞘 撬 翘 峭 俏 窍
C7D0 切 茄 且 怯 窃 钦 侵 亲 秦 琴 勤 芹 擒 禽 寝 沁
C7E0 青 轻 氢 倾 卿 清 擎 晴 氰 情 顷 请 庆 琼 穷 秋
C7F0 丘 邱 球 求 囚 酋 泅 趋 区 蛆 曲 躯 屈 驱 渠
C8A0 取 娶 龋 趣 去 圈 颧 权 醛 泉 全 痊 拳 犬 券
C8B0 劝 缺 炔 瘸 却 鹊 榷 确 雀 裙 群 然 燃 冉 染 瓤
C8C0 壤 攘 嚷 让 饶 扰 绕 惹 热 壬 仁 人 忍 韧 任 认
C8D0 刃 妊 纫 扔 仍 日 戎 茸 蓉 荣 融 熔 溶 容 绒 冗
C8E0 揉 柔 肉 茹 蠕 儒 孺 如 辱 乳 汝 入 褥 软 阮 蕊
C8F0 瑞 锐 闰 润 若 弱 撒 洒 萨 腮 鳃 塞 赛 三 叁
C9A0 伞 散 桑 嗓 丧 搔 骚 扫 嫂 瑟 色 涩 森 僧 莎
- 1414 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
C9B0 砂 杀 刹 沙 纱 傻 啥 煞 筛 晒 珊 苫 杉 山 删 煽
C9C0 衫 闪 陕 擅 赡 膳 善 汕 扇 缮 墒 伤 商 赏 晌 上
C9D0 尚 裳 梢 捎 稍 烧 芍 勺 韶 少 哨 邵 绍 奢 赊 蛇
C9E0 舌 舍 赦 摄 射 慑 涉 社 设 砷 申 呻 伸 身 深 娠
C9F0 绅 神 沈 审 婶 甚 肾 慎 渗 声 生 甥 牲 升 绳
CAA0 省 盛 剩 胜 圣 师 失 狮 施 湿 诗 尸 虱 十 石
CAB0 拾 时 什 食 蚀 实 识 史 矢 使 屎 驶 始 式 示 士
CAC0 世 柿 事 拭 誓 逝 势 是 嗜 噬 适 仕 侍 释 饰 氏
CAD0 市 恃 室 视 试 收 手 首 守 寿 授 售 受 瘦 兽 蔬
CAE0 枢 梳 殊 抒 输 叔 舒 淑 疏 书 赎 孰 熟 薯 暑 曙
CAF0 署 蜀 黍 鼠 属 术 述 树 束 戍 竖 墅 庶 数 漱
CBA0 恕 刷 耍 摔 衰 甩 帅 栓 拴 霜 双 爽 谁 水 睡
CBB0 税 吮 瞬 顺 舜 说 硕 朔 烁 斯 撕 嘶 思 私 司 丝
CBC0 死 肆 寺 嗣 四 伺 似 饲 巳 松 耸 怂 颂 送 宋 讼
CBD0 诵 搜 艘 擞 嗽 苏 酥 俗 素 速 粟 僳 塑 溯 宿 诉
CBE0 肃 酸 蒜 算 虽 隋 随 绥 髓 碎 岁 穗 遂 隧 祟 孙
CBF0 损 笋 蓑 梭 唆 缩 琐 索 锁 所 塌 他 它 她 塔
CCA0 獭 挞 蹋 踏 胎 苔 抬 台 泰 酞 太 态 汰 坍 摊
CCB0 贪 瘫 滩 坛 檀 痰 潭 谭 谈 坦 毯 袒 碳 探 叹 炭
CCC0 汤 塘 搪 堂 棠 膛 唐 糖 倘 躺 淌 趟 烫 掏 涛 滔
CCD0 绦 萄 桃 逃 淘 陶 讨 套 特 藤 腾 疼 誊 梯 剔 踢
CCE0 锑 提 题 蹄 啼 体 替 嚏 惕 涕 剃 屉 天 添 填 田
CCF0 甜 恬 舔 腆 挑 条 迢 眺 跳 贴 铁 帖 厅 听 烃
CDA0 汀 廷 停 亭 庭 挺 艇 通 桐 酮 瞳 同 铜 彤 童
CDB0 桶 捅 筒 统 痛 偷 投 头 透 凸 秃 突 图 徒 途 涂
CDC0 屠 土 吐 兔 湍 团 推 颓 腿 蜕 褪 退 吞 屯 臀 拖
CDD0 托 脱 鸵 陀 驮 驼 椭 妥 拓 唾 挖 哇 蛙 洼 娃 瓦
CDE0 袜 歪 外 豌 弯 湾 玩 顽 丸 烷 完 碗 挽 晚 皖 惋
CDF0 宛 婉 万 腕 汪 王 亡 枉 网 往 旺 望 忘 妄 威
CEA0 巍 微 危 韦 违 桅 围 唯 惟 为 潍 维 苇 萎 委
CEB0 伟 伪 尾 纬 未 蔚 味 畏 胃 喂 魏 位 渭 谓 尉 慰
CEC0 卫 瘟 温 蚊 文 闻 纹 吻 稳 紊 问 嗡 翁 瓮 挝 蜗
CED0 涡 窝 我 斡 卧 握 沃 巫 呜 钨 乌 污 诬 屋 无 芜
CEE0 梧 吾 吴 毋 武 五 捂 午 舞 伍 侮 坞 戊 雾 晤 物
CEF0 勿 务 悟 误 昔 熙 析 西 硒 矽 晰 嘻 吸 锡 牺
- 1415 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
CFA0 稀 息 希 悉 膝 夕 惜 熄 烯 溪 汐 犀 檄 袭 席
CFB0 习 媳 喜 铣 洗 系 隙 戏 细 瞎 虾 匣 霞 辖 暇 峡
CFC0 侠 狭 下 厦 夏 吓 掀 锨 先 仙 鲜 纤 咸 贤 衔 舷
CFD0 闲 涎 弦 嫌 显 险 现 献 县 腺 馅 羡 宪 陷 限 线
CFE0 相 厢 镶 香 箱 襄 湘 乡 翔 祥 详 想 响 享 项 巷
CFF0 橡 像 向 象 萧 硝 霄 削 哮 嚣 销 消 宵 淆 晓
D0A0 小 孝 校 肖 啸 笑 效 楔 些 歇 蝎 鞋 协 挟 携
D0B0 邪 斜 胁 谐 写 械 卸 蟹 懈 泄 泻 谢 屑 薪 芯 锌
D0C0 欣 辛 新 忻 心 信 衅 星 腥 猩 惺 兴 刑 型 形 邢
D0D0 行 醒 幸 杏 性 姓 兄 凶 胸 匈 汹 雄 熊 休 修 羞
D0E0 朽 嗅 锈 秀 袖 绣 墟 戌 需 虚 嘘 须 徐 许 蓄 酗
D0F0 叙 旭 序 畜 恤 絮 婿 绪 续 轩 喧 宣 悬 旋 玄
D1A0 选 癣 眩 绚 靴 薛 学 穴 雪 血 勋 熏 循 旬 询
D1B0 寻 驯 巡 殉 汛 训 讯 逊 迅 压 押 鸦 鸭 呀 丫 芽
D1C0 牙 蚜 崖 衙 涯 雅 哑 亚 讶 焉 咽 阉 烟 淹 盐 严
D1D0 研 蜒 岩 延 言 颜 阎 炎 沿 奄 掩 眼 衍 演 艳 堰
D1E0 燕 厌 砚 雁 唁 彦 焰 宴 谚 验 殃 央 鸯 秧 杨 扬
D1F0 佯 疡 羊 洋 阳 氧 仰 痒 养 样 漾 邀 腰 妖 瑶
D2A0 摇 尧 遥 窑 谣 姚 咬 舀 药 要 耀 椰 噎 耶 爷
D2B0 野 冶 也 页 掖 业 叶 曳 腋 夜 液 一 壹 医 揖 铱
D2C0 依 伊 衣 颐 夷 遗 移 仪 胰 疑 沂 宜 姨 彝 椅 蚁
D2D0 倚 已 乙 矣 以 艺 抑 易 邑 屹 亿 役 臆 逸 肄 疫
D2E0 亦 裔 意 毅 忆 义 益 溢 诣 议 谊 译 异 翼 翌 绎
D2F0 茵 荫 因 殷 音 阴 姻 吟 银 淫 寅 饮 尹 引 隐
D3A0 印 英 樱 婴 鹰 应 缨 莹 萤 营 荧 蝇 迎 赢 盈
D3B0 影 颖 硬 映 哟 拥 佣 臃 痈 庸 雍 踊 蛹 咏 泳 涌
D3C0 永 恿 勇 用 幽 优 悠 忧 尤 由 邮 铀 犹 油 游 酉
D3D0 有 友 右 佑 釉 诱 又 幼 迂 淤 于 盂 榆 虞 愚 舆
D3E0 余 俞 逾 鱼 愉 渝 渔 隅 予 娱 雨 与 屿 禹 宇 语
D3F0 羽 玉 域 芋 郁 吁 遇 喻 峪 御 愈 欲 狱 育 誉
D4A0 浴 寓 裕 预 豫 驭 鸳 渊 冤 元 垣 袁 原 援 辕
D4B0 园 员 圆 猿 源 缘 远 苑 愿 怨 院 曰 约 越 跃 钥
D4C0 岳 粤 月 悦 阅 耘 云 郧 匀 陨 允 运 蕴 酝 晕 韵
D4D0 孕 匝 砸 杂 栽 哉 灾 宰 载 再 在 咱 攒 暂 赞 赃
D4E0 脏 葬 遭 糟 凿 藻 枣 早 澡 蚤 躁 噪 造 皂 灶 燥
- 1416 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
D4F0 责 择 则 泽 贼 怎 增 憎 曾 赠 扎 喳 渣 札 轧
D5A0 铡 闸 眨 栅 榨 咋 乍 炸 诈 摘 斋 宅 窄 债 寨
D5B0 瞻 毡 詹 粘 沾 盏 斩 辗 崭 展 蘸 栈 占 战 站 湛
D5C0 绽 樟 章 彰 漳 张 掌 涨 杖 丈 帐 账 仗 胀 瘴 障
D5D0 招 昭 找 沼 赵 照 罩 兆 肇 召 遮 折 哲 蛰 辙 者
D5E0 锗 蔗 这 浙 珍 斟 真 甄 砧 臻 贞 针 侦 枕 疹 诊
D5F0 震 振 镇 阵 蒸 挣 睁 征 狰 争 怔 整 拯 正 政
D6A0 帧 症 郑 证 芝 枝 支 吱 蜘 知 肢 脂 汁 之 织
D6B0 职 直 植 殖 执 值 侄 址 指 止 趾 只 旨 纸 志 挚
D6C0 掷 至 致 置 帜 峙 制 智 秩 稚 质 炙 痔 滞 治 窒
D6D0 中 盅 忠 钟 衷 终 种 肿 重 仲 众 舟 周 州 洲 诌
D6E0 粥 轴 肘 帚 咒 皱 宙 昼 骤 珠 株 蛛 朱 猪 诸 诛
D6F0 逐 竹 烛 煮 拄 瞩 嘱 主 著 柱 助 蛀 贮 铸 筑
D7A0 住 注 祝 驻 抓 爪 拽 专 砖 转 撰 赚 篆 桩 庄
D7B0 装 妆 撞 壮 状 椎 锥 追 赘 坠 缀 谆 准 捉 拙 卓
D7C0 桌 琢 茁 酌 啄 着 灼 浊 兹 咨 资 姿 滋 淄 孜 紫
D7D0 仔 籽 滓 子 自 渍 字 鬃 棕 踪 宗 综 总 纵 邹 走
D7E0 奏 揍 租 足 卒 族 祖 诅 阻 组 钻 纂 嘴 醉 最 罪
D7F0 尊 遵 昨 左 佐 柞 做 作 坐 座
D8A0 亍 丌 兀 丐 廿 卅 丕 亘 丞 鬲 孬 噩 丨 禺 丿
D8B0 匕 乇 夭 爻 卮 氐 囟 胤 馗 毓 睾 鼗 丶 亟 鼐 乜
D8C0 乩 亓 芈 孛 啬 嘏 仄 厍 厝 厣 厥 厮 靥 赝 匚 叵
D8D0 匦 匮 匾 赜 卦 卣 刂 刈 刎 刭 刳 刿 剀 剌 剞 剡
D8E0 剜 蒯 剽 劂 劁 劐 劓 冂 罔 亻 仃 仉 仂 仨 仡 仫
D8F0 仞 伛 仳 伢 佤 仵 伥 伧 伉 伫 佞 佧 攸 佚 佝
D9A0 佟 佗 伲 伽 佶 佴 侑 侉 侃 侏 佾 佻 侪 佼 侬
D9B0 侔 俦 俨 俪 俅 俚 俣 俜 俑 俟 俸 倩 偌 俳 倬 倏
D9C0 倮 倭 俾 倜 倌 倥 倨 偾 偃 偕 偈 偎 偬 偻 傥 傧
D9D0 傩 傺 僖 儆 僭 僬 僦 僮 儇 儋 仝 氽 佘 佥 俎 龠
D9E0 汆 籴 兮 巽 黉 馘 冁 夔 勹 匍 訇 匐 凫 夙 兕 亠
D9F0 兖 亳 衮 袤 亵 脔 裒 禀 嬴 蠃 羸 冫 冱 冽 冼
DAA0 凇 冖 冢 冥 讠 讦 讧 讪 讴 讵 讷 诂 诃 诋 诏
DAB0 诎 诒 诓 诔 诖 诘 诙 诜 诟 诠 诤 诨 诩 诮 诰 诳
DAC0 诶 诹 诼 诿 谀 谂 谄 谇 谌 谏 谑 谒 谔 谕 谖 谙
DAD0 谛 谘 谝 谟 谠 谡 谥 谧 谪 谫 谮 谯 谲 谳 谵 谶
- 1417 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
DAE0 卩 卺 阝 阢 阡 阱 阪 阽 阼 陂 陉 陔 陟 陧 陬 陲
DAF0 陴 隈 隍 隗 隰 邗 邛 邝 邙 邬 邡 邴 邳 邶 邺
DBA0 邸 邰 郏 郅 邾 郐 郄 郇 郓 郦 郢 郜 郗 郛 郫
DBB0 郯 郾 鄄 鄢 鄞 鄣 鄱 鄯 鄹 酃 酆 刍 奂 劢 劬 劭
DBC0 劾 哿 勐 勖 勰 叟 燮 矍 廴 凵 凼 鬯 厶 弁 畚 巯
DBD0 坌 垩 垡 塾 墼 壅 壑 圩 圬 圪 圳 圹 圮 圯 坜 圻
DBE0 坂 坩 垅 坫 垆 坼 坻 坨 坭 坶 坳 垭 垤 垌 垲 埏
DBF0 垧 垴 垓 垠 埕 埘 埚 埙 埒 垸 埴 埯 埸 埤 埝
DCA0 堋 堍 埽 埭 堀 堞 堙 塄 堠 塥 塬 墁 墉 墚 墀
DCB0 馨 鼙 懿 艹 艽 艿 芏 芊 芨 芄 芎 芑 芗 芙 芫 芸
DCC0 芾 芰 苈 苊 苣 芘 芷 芮 苋 苌 苁 芩 芴 芡 芪 芟
DCD0 苄 苎 芤 苡 茉 苷 苤 茏 茇 苜 苴 苒 苘 茌 苻 苓
DCE0 茑 茚 茆 茔 茕 苠 苕 茜 荑 荛 荜 茈 莒 茼 茴 茱
DCF0 莛 荞 茯 荏 荇 荃 荟 荀 茗 荠 茭 茺 茳 荦 荥
DDA0 荨 茛 荩 荬 荪 荭 荮 莰 荸 莳 莴 莠 莪 莓 莜
DDB0 莅 荼 莶 莩 荽 莸 荻 莘 莞 莨 莺 莼 菁 萁 菥 菘
DDC0 堇 萘 萋 菝 菽 菖 萜 萸 萑 萆 菔 菟 萏 萃 菸 菹
DDD0 菪 菅 菀 萦 菰 菡 葜 葑 葚 葙 葳 蒇 蒈 葺 蒉 葸
DDE0 萼 葆 葩 葶 蒌 蒎 萱 葭 蓁 蓍 蓐 蓦 蒽 蓓 蓊 蒿
DDF0 蒺 蓠 蒡 蒹 蒴 蒗 蓥 蓣 蔌 甍 蔸 蓰 蔹 蔟 蔺
DEA0 蕖 蔻 蓿 蓼 蕙 蕈 蕨 蕤 蕞 蕺 瞢 蕃 蕲 蕻 薤
DEB0 薨 薇 薏 蕹 薮 薜 薅 薹 薷 薰 藓 藁 藜 藿 蘧 蘅
DEC0 蘩 蘖 蘼 廾 弈 夼 奁 耷 奕 奚 奘 匏 尢 尥 尬 尴
DED0 扌 扪 抟 抻 拊 拚 拗 拮 挢 拶 挹 捋 捃 掭 揶 捱
DEE0 捺 掎 掴 捭 掬 掊 捩 掮 掼 揲 揸 揠 揿 揄 揞 揎
DEF0 摒 揆 掾 摅 摁 搋 搛 搠 搌 搦 搡 摞 撄 摭 撖
DFA0 摺 撷 撸 撙 撺 擀 擐 擗 擤 擢 攉 攥 攮 弋 忒
DFB0 甙 弑 卟 叱 叽 叩 叨 叻 吒 吖 吆 呋 呒 呓 呔 呖
DFC0 呃 吡 呗 呙 吣 吲 咂 咔 呷 呱 呤 咚 咛 咄 呶 呦
DFD0 咝 哐 咭 哂 咴 哒 咧 咦 哓 哔 呲 咣 哕 咻 咿 哌
DFE0 哙 哚 哜 咩 咪 咤 哝 哏 哞 唛 哧 唠 哽 唔 哳 唢
DFF0 唣 唏 唑 唧 唪 啧 喏 喵 啉 啭 啁 啕 唿 啐 唼
E0A0 唷 啖 啵 啶 啷 唳 唰 啜 喋 嗒 喃 喱 喹 喈 喁
E0B0 喟 啾 嗖 喑 啻 嗟 喽 喾 喔 喙 嗪 嗷 嗉 嘟 嗑 嗫
E0C0 嗬 嗔 嗦 嗝 嗄 嗯 嗥 嗲 嗳 嗌 嗍 嗨 嗵 嗤 辔 嘞
- 1418 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
E0D0 嘈 嘌 嘁 嘤 嘣 嗾 嘀 嘧 嘭 噘 嘹 噗 嘬 噍 噢 噙
E0E0 噜 噌 噔 嚆 噤 噱 噫 噻 噼 嚅 嚓 嚯 囔 囗 囝 囡
E0F0 囵 囫 囹 囿 圄 圊 圉 圜 帏 帙 帔 帑 帱 帻 帼
E1A0 帷 幄 幔 幛 幞 幡 岌 屺 岍 岐 岖 岈 岘 岙 岑
E1B0 岚 岜 岵 岢 岽 岬 岫 岱 岣 峁 岷 峄 峒 峤 峋 峥
E1C0 崂 崃 崧 崦 崮 崤 崞 崆 崛 嵘 崾 崴 崽 嵬 嵛 嵯
E1D0 嵝 嵫 嵋 嵊 嵩 嵴 嶂 嶙 嶝 豳 嶷 巅 彳 彷 徂 徇
E1E0 徉 後 徕 徙 徜 徨 徭 徵 徼 衢 彡 犭 犰 犴 犷 犸
E1F0 狃 狁 狎 狍 狒 狨 狯 狩 狲 狴 狷 猁 狳 猃 狺
E2A0 狻 猗 猓 猡 猊 猞 猝 猕 猢 猹 猥 猬 猸 猱 獐
E2B0 獍 獗 獠 獬 獯 獾 舛 夥 飧 夤 夂 饣 饧 饨 饩 饪
E2C0 饫 饬 饴 饷 饽 馀 馄 馇 馊 馍 馐 馑 馓 馔 馕 庀
E2D0 庑 庋 庖 庥 庠 庹 庵 庾 庳 赓 廒 廑 廛 廨 廪 膺
E2E0 忄 忉 忖 忏 怃 忮 怄 忡 忤 忾 怅 怆 忪 忭 忸 怙
E2F0 怵 怦 怛 怏 怍 怩 怫 怊 怿 怡 恸 恹 恻 恺 恂
E3A0 恪 恽 悖 悚 悭 悝 悃 悒 悌 悛 惬 悻 悱 惝 惘
E3B0 惆 惚 悴 愠 愦 愕 愣 惴 愀 愎 愫 慊 慵 憬 憔 憧
E3C0 憷 懔 懵 忝 隳 闩 闫 闱 闳 闵 闶 闼 闾 阃 阄 阆
E3D0 阈 阊 阋 阌 阍 阏 阒 阕 阖 阗 阙 阚 丬 爿 戕 氵
E3E0 汔 汜 汊 沣 沅 沐 沔 沌 汨 汩 汴 汶 沆 沩 泐 泔
E3F0 沭 泷 泸 泱 泗 沲 泠 泖 泺 泫 泮 沱 泓 泯 泾
E4A0 洹 洧 洌 浃 浈 洇 洄 洙 洎 洫 浍 洮 洵 洚 浏
E4B0 浒 浔 洳 涑 浯 涞 涠 浞 涓 涔 浜 浠 浼 浣 渚 淇
E4C0 淅 淞 渎 涿 淠 渑 淦 淝 淙 渖 涫 渌 涮 渫 湮 湎
E4D0 湫 溲 湟 溆 湓 湔 渲 渥 湄 滟 溱 溘 滠 漭 滢 溥
E4E0 溧 溽 溻 溷 滗 溴 滏 溏 滂 溟 潢 潆 潇 漤 漕 滹
E4F0 漯 漶 潋 潴 漪 漉 漩 澉 澍 澌 潸 潲 潼 潺 濑
E5A0 濉 澧 澹 澶 濂 濡 濮 濞 濠 濯 瀚 瀣 瀛 瀹 瀵
E5B0 灏 灞 宀 宄 宕 宓 宥 宸 甯 骞 搴 寤 寮 褰 寰 蹇
E5C0 謇 辶 迓 迕 迥 迮 迤 迩 迦 迳 迨 逅 逄 逋 逦 逑
E5D0 逍 逖 逡 逵 逶 逭 逯 遄 遑 遒 遐 遨 遘 遢 遛 暹
E5E0 遴 遽 邂 邈 邃 邋 彐 彗 彖 彘 尻 咫 屐 屙 孱 屣
E5F0 屦 羼 弪 弩 弭 艴 弼 鬻 屮 妁 妃 妍 妩 妪 妣
E6A0 妗 姊 妫 妞 妤 姒 妲 妯 姗 妾 娅 娆 姝 娈 姣
E6B0 姘 姹 娌 娉 娲 娴 娑 娣 娓 婀 婧 婊 婕 娼 婢 婵
- 1419 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
E6C0 胬 媪 媛 婷 婺 媾 嫫 媲 嫒 嫔 媸 嫠 嫣 嫱 嫖 嫦
E6D0 嫘 嫜 嬉 嬗 嬖 嬲 嬷 孀 尕 尜 孚 孥 孳 孑 孓 孢
E6E0 驵 驷 驸 驺 驿 驽 骀 骁 骅 骈 骊 骐 骒 骓 骖 骘
E6F0 骛 骜 骝 骟 骠 骢 骣 骥 骧 纟 纡 纣 纥 纨 纩
E7A0 纭 纰 纾 绀 绁 绂 绉 绋 绌 绐 绔 绗 绛 绠 绡
E7B0 绨 绫 绮 绯 绱 绲 缍 绶 绺 绻 绾 缁 缂 缃 缇 缈
E7C0 缋 缌 缏 缑 缒 缗 缙 缜 缛 缟 缡 缢 缣 缤 缥 缦
E7D0 缧 缪 缫 缬 缭 缯 缰 缱 缲 缳 缵 幺 畿 巛 甾 邕
E7E0 玎 玑 玮 玢 玟 珏 珂 珑 玷 玳 珀 珉 珈 珥 珙 顼
E7F0 琊 珩 珧 珞 玺 珲 琏 琪 瑛 琦 琥 琨 琰 琮 琬
E8A0 琛 琚 瑁 瑜 瑗 瑕 瑙 瑷 瑭 瑾 璜 璎 璀 璁 璇
E8B0 璋 璞 璨 璩 璐 璧 瓒 璺 韪 韫 韬 杌 杓 杞 杈 杩
E8C0 枥 枇 杪 杳 枘 枧 杵 枨 枞 枭 枋 杷 杼 柰 栉 柘
E8D0 栊 柩 枰 栌 柙 枵 柚 枳 柝 栀 柃 枸 柢 栎 柁 柽
E8E0 栲 栳 桠 桡 桎 桢 桄 桤 梃 栝 桕 桦 桁 桧 桀 栾
E8F0 桊 桉 栩 梵 梏 桴 桷 梓 桫 棂 楮 棼 椟 椠 棹
E9A0 椤 棰 椋 椁 楗 棣 椐 楱 椹 楠 楂 楝 榄 楫 榀
E9B0 榘 楸 椴 槌 榇 榈 槎 榉 楦 楣 楹 榛 榧 榻 榫 榭
E9C0 槔 榱 槁 槊 槟 榕 槠 榍 槿 樯 槭 樗 樘 橥 槲 橄
E9D0 樾 檠 橐 橛 樵 檎 橹 樽 樨 橘 橼 檑 檐 檩 檗 檫
E9E0 猷 獒 殁 殂 殇 殄 殒 殓 殍 殚 殛 殡 殪 轫 轭 轱
E9F0 轲 轳 轵 轶 轸 轷 轹 轺 轼 轾 辁 辂 辄 辇 辋
EAA0 辍 辎 辏 辘 辚 軎 戋 戗 戛 戟 戢 戡 戥 戤 戬
EAB0 臧 瓯 瓴 瓿 甏 甑 甓 攴 旮 旯 旰 昊 昙 杲 昃 昕
EAC0 昀 炅 曷 昝 昴 昱 昶 昵 耆 晟 晔 晁 晏 晖 晡 晗
EAD0 晷 暄 暌 暧 暝 暾 曛 曜 曦 曩 贲 贳 贶 贻 贽 赀
EAE0 赅 赆 赈 赉 赇 赍 赕 赙 觇 觊 觋 觌 觎 觏 觐 觑
EAF0 牮 犟 牝 牦 牯 牾 牿 犄 犋 犍 犏 犒 挈 挲 掰
EBA0 搿 擘 耄 毪 毳 毽 毵 毹 氅 氇 氆 氍 氕 氘 氙
EBB0 氚 氡 氩 氤 氪 氲 攵 敕 敫 牍 牒 牖 爰 虢 刖 肟
EBC0 肜 肓 肼 朊 肽 肱 肫 肭 肴 肷 胧 胨 胩 胪 胛 胂
EBD0 胄 胙 胍 胗 朐 胝 胫 胱 胴 胭 脍 脎 胲 胼 朕 脒
EBE0 豚 脶 脞 脬 脘 脲 腈 腌 腓 腴 腙 腚 腱 腠 腩 腼
EBF0 腽 腭 腧 塍 媵 膈 膂 膑 滕 膣 膪 臌 朦 臊 膻
ECA0 臁 膦 欤 欷 欹 歃 歆 歙 飑 飒 飓 飕 飙 飚 殳
- 1420 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
ECB0 彀 毂 觳 斐 齑 斓 於 旆 旄 旃 旌 旎 旒 旖 炀 炜
ECC0 炖 炝 炻 烀 炷 炫 炱 烨 烊 焐 焓 焖 焯 焱 煳 煜
ECD0 煨 煅 煲 煊 煸 煺 熘 熳 熵 熨 熠 燠 燔 燧 燹 爝
ECE0 爨 灬 焘 煦 熹 戾 戽 扃 扈 扉 礻 祀 祆 祉 祛 祜
ECF0 祓 祚 祢 祗 祠 祯 祧 祺 禅 禊 禚 禧 禳 忑 忐
EDA0 怼 恝 恚 恧 恁 恙 恣 悫 愆 愍 慝 憩 憝 懋 懑
EDB0 戆 肀 聿 沓 泶 淼 矶 矸 砀 砉 砗 砘 砑 斫 砭 砜
EDC0 砝 砹 砺 砻 砟 砼 砥 砬 砣 砩 硎 硭 硖 硗 砦 硐
EDD0 硇 硌 硪 碛 碓 碚 碇 碜 碡 碣 碲 碹 碥 磔 磙 磉
EDE0 磬 磲 礅 磴 礓 礤 礞 礴 龛 黹 黻 黼 盱 眄 眍 盹
EDF0 眇 眈 眚 眢 眙 眭 眦 眵 眸 睐 睑 睇 睃 睚 睨
EEA0 睢 睥 睿 瞍 睽 瞀 瞌 瞑 瞟 瞠 瞰 瞵 瞽 町 畀
EEB0 畎 畋 畈 畛 畲 畹 疃 罘 罡 罟 詈 罨 罴 罱 罹 羁
EEC0 罾 盍 盥 蠲 钅 钆 钇 钋 钊 钌 钍 钏 钐 钔 钗 钕
EED0 钚 钛 钜 钣 钤 钫 钪 钭 钬 钯 钰 钲 钴 钶 钷 钸
EEE0 钹 钺 钼 钽 钿 铄 铈 铉 铊 铋 铌 铍 铎 铐 铑 铒
EEF0 铕 铖 铗 铙 铘 铛 铞 铟 铠 铢 铤 铥 铧 铨 铪
EFA0 铩 铫 铮 铯 铳 铴 铵 铷 铹 铼 铽 铿 锃 锂 锆
EFB0 锇 锉 锊 锍 锎 锏 锒 锓 锔 锕 锖 锘 锛 锝 锞 锟
EFC0 锢 锪 锫 锩 锬 锱 锲 锴 锶 锷 锸 锼 锾 锿 镂 锵
EFD0 镄 镅 镆 镉 镌 镎 镏 镒 镓 镔 镖 镗 镘 镙 镛 镞
EFE0 镟 镝 镡 镢 镤 镥 镦 镧 镨 镩 镪 镫 镬 镯 镱 镲
EFF0 镳 锺 矧 矬 雉 秕 秭 秣 秫 稆 嵇 稃 稂 稞 稔
F0A0 稹 稷 穑 黏 馥 穰 皈 皎 皓 皙 皤 瓞 瓠 甬 鸠
F0B0 鸢 鸨 鸩 鸪 鸫 鸬 鸲 鸱 鸶 鸸 鸷 鸹 鸺 鸾 鹁 鹂
F0C0 鹄 鹆 鹇 鹈 鹉 鹋 鹌 鹎 鹑 鹕 鹗 鹚 鹛 鹜 鹞 鹣
F0D0 鹦 鹧 鹨 鹩 鹪 鹫 鹬 鹱 鹭 鹳 疒 疔 疖 疠 疝 疬
F0E0 疣 疳 疴 疸 痄 疱 疰 痃 痂 痖 痍 痣 痨 痦 痤 痫
F0F0 痧 瘃 痱 痼 痿 瘐 瘀 瘅 瘌 瘗 瘊 瘥 瘘 瘕 瘙
F1A0 瘛 瘼 瘢 瘠 癀 瘭 瘰 瘿 瘵 癃 瘾 瘳 癍 癞 癔
F1B0 癜 癖 癫 癯 翊 竦 穸 穹 窀 窆 窈 窕 窦 窠 窬 窨
F1C0 窭 窳 衤 衩 衲 衽 衿 袂 袢 裆 袷 袼 裉 裢 裎 裣
F1D0 裥 裱 褚 裼 裨 裾 裰 褡 褙 褓 褛 褊 褴 褫 褶 襁
F1E0 襦 襻 疋 胥 皲 皴 矜 耒 耔 耖 耜 耠 耢 耥 耦 耧
F1F0 耩 耨 耱 耋 耵 聃 聆 聍 聒 聩 聱 覃 顸 颀 颃
- 1421 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
F2A0 颉 颌 颍 颏 颔 颚 颛 颞 颟 颡 颢 颥 颦 虍 虔
F2B0 虬 虮 虿 虺 虼 虻 蚨 蚍 蚋 蚬 蚝 蚧 蚣 蚪 蚓 蚩
F2C0 蚶 蛄 蚵 蛎 蚰 蚺 蚱 蚯 蛉 蛏 蚴 蛩 蛱 蛲 蛭 蛳
F2D0 蛐 蜓 蛞 蛴 蛟 蛘 蛑 蜃 蜇 蛸 蜈 蜊 蜍 蜉 蜣 蜻
F2E0 蜞 蜥 蜮 蜚 蜾 蝈 蜴 蜱 蜩 蜷 蜿 螂 蜢 蝽 蝾 蝻
F2F0 蝠 蝰 蝌 蝮 螋 蝓 蝣 蝼 蝤 蝙 蝥 螓 螯 螨 蟒
F3A0 蟆 螈 螅 螭 螗 螃 螫 蟥 螬 螵 螳 蟋 蟓 螽 蟑
F3B0 蟀 蟊 蟛 蟪 蟠 蟮 蠖 蠓 蟾 蠊 蠛 蠡 蠹 蠼 缶 罂
F3C0 罄 罅 舐 竺 竽 笈 笃 笄 笕 笊 笫 笏 筇 笸 笪 笙
F3D0 笮 笱 笠 笥 笤 笳 笾 笞 筘 筚 筅 筵 筌 筝 筠 筮
F3E0 筻 筢 筲 筱 箐 箦 箧 箸 箬 箝 箨 箅 箪 箜 箢 箫
F3F0 箴 篑 篁 篌 篝 篚 篥 篦 篪 簌 篾 篼 簏 簖 簋
F4A0 簟 簪 簦 簸 籁 籀 臾 舁 舂 舄 臬 衄 舡 舢 舣
F4B0 舭 舯 舨 舫 舸 舻 舳 舴 舾 艄 艉 艋 艏 艚 艟 艨
F4C0 衾 袅 袈 裘 裟 襞 羝 羟 羧 羯 羰 羲 籼 敉 粑 粝
F4D0 粜 粞 粢 粲 粼 粽 糁 糇 糌 糍 糈 糅 糗 糨 艮 暨
F4E0 羿 翎 翕 翥 翡 翦 翩 翮 翳 糸 絷 綦 綮 繇 纛 麸
F4F0 麴 赳 趄 趔 趑 趱 赧 赭 豇 豉 酊 酐 酎 酏 酤
F5A0 酢 酡 酰 酩 酯 酽 酾 酲 酴 酹 醌 醅 醐 醍 醑
F5B0 醢 醣 醪 醭 醮 醯 醵 醴 醺 豕 鹾 趸 跫 踅 蹙 蹩
F5C0 趵 趿 趼 趺 跄 跖 跗 跚 跞 跎 跏 跛 跆 跬 跷 跸
F5D0 跣 跹 跻 跤 踉 跽 踔 踝 踟 踬 踮 踣 踯 踺 蹀 踹
F5E0 踵 踽 踱 蹉 蹁 蹂 蹑 蹒 蹊 蹰 蹶 蹼 蹯 蹴 躅 躏
F5F0 躔 躐 躜 躞 豸 貂 貊 貅 貘 貔 斛 觖 觞 觚 觜
F6A0 觥 觫 觯 訾 謦 靓 雩 雳 雯 霆 霁 霈 霏 霎 霪
F6B0 霭 霰 霾 龀 龃 龅 龆 龇 龈 龉 龊 龌 黾 鼋 鼍 隹
F6C0 隼 隽 雎 雒 瞿 雠 銎 銮 鋈 錾 鍪 鏊 鎏 鐾 鑫 鱿
F6D0 鲂 鲅 鲆 鲇 鲈 稣 鲋 鲎 鲐 鲑 鲒 鲔 鲕 鲚 鲛 鲞
F6E0 鲟 鲠 鲡 鲢 鲣 鲥 鲦 鲧 鲨 鲩 鲫 鲭 鲮 鲰 鲱 鲲
F6F0 鲳 鲴 鲵 鲶 鲷 鲺 鲻 鲼 鲽 鳄 鳅 鳆 鳇 鳊 鳋
F7A0 鳌 鳍 鳎 鳏 鳐 鳓 鳔 鳕 鳗 鳘 鳙 鳜 鳝 鳟 鳢
F7B0 靼 鞅 鞑 鞒 鞔 鞯 鞫 鞣 鞲 鞴 骱 骰 骷 鹘 骶 骺
F7C0 骼 髁 髀 髅 髂 髋 髌 髑 魅 魃 魇 魉 魈 魍 魑 飨
F7D0 餍 餮 饕 饔 髟 髡 髦 髯 髫 髻 髭 髹 鬈 鬏 鬓 鬟
F7E0 鬣 麽 麾 縻 麂 麇 麈 麋 麒 鏖 麝 麟 黛 黜 黝 黠
- 1422 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +A +B +C +D +E +F
F7F0 黟 黢 黩 黧 黥 黪 黯 鼢 鼬 鼯 鼹 鼷 鼽 鼾 齄
- 1423 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
- 1424 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
- 1425 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
- 1426 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
- 1427 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
- 1428 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
- 1429 -
A.CHARACTER CODE TABLE APPENDIX B-64513EN/03
- 1430 -
B-64513EN/03 APPENDIX A.CHARACTER CODE TABLE
- 1431 -
B. LIST OF CNC FUNCTIONS
USING PMC SIGNALS
OTHER THAN G/F ADDRESS APPENDIX B-64513EN/03
B LANGUAGE ID TABLE
Language ID used for Extended symbol and comment function and PMC message multi-language display
function is as follows.
Language ID Language
0 English
1 Japanese
2 German
3 French
4 Chinese (Traditional)
5 Italian
6 Korean
7 Spanish
8 Dutch
9 Danish
10 Portuguese
11 Polish
12 Hungarian
13 Swedish
14 Czech
15 Chinese (Simplified)
16 Russian
17 Turkish
18 Bulgarian
19 Rumanian
20 Slovak
21 Finnish
22 Hindi
23 Vietnamese
- 1432 -
C.LIST OF CNC FUNCTIONS
USING PMC SIGNALS OTHER
B-64513EN/03 APPENDIX THAN G/F ADDRESS
- 1433 -
C. LIST OF CNC FUNCTIONS
USING PMC SIGNALS
OTHER THAN G/F ADDRESS APPENDIX B-64513EN/03
- 1434 -
B-64513EN/03 INDEX
INDEX
Automatic Start of Trace Setting ............................... 1030
<Number> AUTOMATICALLY INPUTTING UNUSED
1st LEVEL EXECUTION CYCLE of LADDER in PARAMETER NUMBERS ................................... 1125
1ms/2ms ..................................................................... 59 AXCTL (Axis Control by PMC SUB 53).................... 530
AXIS INFORMATION ............................................... 676
<A>
About Connection Log of Ethernet ............................ 1209 <B>
About Ethernet Communication Parameters .............. 1207 Basic Configuration of PMC ........................................... 1
ABSSB (Absolute Value (1 Byte Length) SUB 340) Basic Instructions .......................................................... 78
ABSSW (Absolute Value (2 Bytes Length) SUB 341) BASIC INSTRUCTIONS ............................................ 232
ABSSD (Absolute Value (4 Bytes Length) SUB 342) Basic Screen Operations .............................................. 908
.................................................................................. 501 Basic Specifications....................................................... 68
ADD (BCD Addition SUB 19) .................................... 476 BATTERY BACKUP DATA ...................................... 171
ADDB (Binary Addition SUB 36) ............................... 468 BCNTB (Bit Count (1 Byte Length) SUB 309) BCNTW
Adding an Extended Symbol and Comment .............. 1177 (Bit Count (2 Bytes Length) SUB 310) BCNTD (Bit
Adding of Sampling Address of Signal Trace ............ 1151 Count (4 Bytes Length) SUB 311) ........................... 443
Adding of Slot Information of I/O Link i Assignment BCNTN (Bit Count
Data ........................................................................ 1250 (Arbitrary Bytes Length) SUB 312)......................... 445
Adding/Updating/Deleting Divided Ladder Program .... 45 BIT OPERATION ....................................................... 374
Address Alteration Function ...................................... 1352 Block Step ................................................................. 1279
ADDRESS ALTERATION FUNCTION................... 1119 BPOSB (Bit Search (1 Byte Length) SUB 305) BPOSW
Address Map Display Screen ........................... 1122, 1354 (Bit Search (2 Bytes Length) SUB 306) BPOSD (Bit
Addresses for Multi-path PMC Interface (M, N) ......... 118 Search (4 Bytes Length) SUB 307).......................... 439
Addresses for Signals Between the PMC and CNC BPOSN (Bit Search
(F, G) .......................................................................... 92 (Arbitrary Bytes Length) SUB 308)......................... 441
Addresses of Signals Between the PMC and Machine BRSTB (Bit Reset (1 Byte Length) SUB 297) BRSTW
(X, Y) ......................................................................... 93 (Bit Reset (2 Bytes Length) SUB 298) BRSTD (Bit
ADDSB (Addition (1 Byte Length) SUB 319) ADDSW Reset (4 Bytes Length) SUB 299)............................ 431
(Addition (2 Bytes Length) SUB 320) ADDSD BRSTN (Bit Reset (Arbitrary Bytes Length) SUB 300)433
(Addition (4 Bytes Length) SUB 321)...................... 487 BSETB (Bit Set (1 Byte Length) SUB 293) BSETW
ALARM MESSAGE LIST ........................................ 1361 (Bit Set (2 Bytes Length) SUB 294) BSETD (Bit Set
AND (Logical AND SUB 60) ...................................... 382 (4 Bytes Length) SUB 295) ..................................... 427
AND Instruction ........................................................... 240 BSETN (Bit Set (Arbitrary Bytes Length) SUB 296).. 429
AND.NOT Instruction .................................................. 241 BTSTB (Bit Test (1 Byte Length) SUB 301) BTSTW
AND.STK Instruction .................................................. 246 (Bit Test (2 Bytes Length) SUB 302) BTSTD (Bit
ANDB (Logical AND (1 Byte Length) SUB 268) Test (4 Bytes Length) SUB 303).............................. 435
ANDW (Logical AND (2 Bytes Length) SUB 269) BTSTN (Bit Test (Arbitrary Bytes Length) SUB 304) 437
ANDD (Logical AND (4 Bytes Length) SUB 270).. 395
ANDNT Instruction ..................................................... 258 <C>
ANDPT Instruction ...................................................... 253 CALL (Conditional Subprogram Call SUB 65) .......... 559
Assignment Method ............................................. 178, 206 CALLU (Unconditional Subprogram Call SUB 66) .... 560
Assignment Method for a Handy Machine Operator's Causes of Communication Errors .............................. 1396
Panel ......................................................................... 195 Cautions for Reading from/Writing to Nonvolatile
Assignment Method for an AS-i Converter Unit .......... 196 Memory ................................................................... 120
Assignment Method for Distribution I/O Connection CE (End of Case Call SUB 76).................................... 568
Panel I/O Modules and Distribution I/O Operator's Changing of Slot Information of I/O Link i Assignment
Panel I/O Modules .................................................... 187 Data ........................................................................ 1248
Assignment Method for I/O Link Connection Units .... 193 CHARACTER CODE TABLE ................................. 1409
Assignment Method for I/O Unit-MODEL A .............. 183 Check Items ............................................................... 1398
Assignment Method for I/O Unit-MODEL B .............. 185 Check of I/O Link Connection .................................. 1018
Assignment Method for the Power Mate...................... 192 CHECKING OF DUPLICATE COIL ([DUP. CHECK]
Assignment Method of I/O Link i ................................ 225 SCREEN) ............................................................... 1128
Assignment of FB Variable ........................................ 1314 CHECKING PMC ALARMS ([PMC ALARM]
ASSIGNMENT OF NETWORK DEVICES TO X/Y SCREEN) ................................................................. 942
ADDRESS ................................................................ 231 Checking Sequence Program ......................................... 13
i-1
INDEX B-64513EN/03
Clearing Tool Life Management Data (Tool Life Compatibility between PMC Memory-B and PMC
Counter and Tool Information) (Low-speed Memory-C/D............................................................ 150
Response) ................................................................. 815 Compatibility between Power Motion i-A PMC and
CM (Sub Program Call in Case Call SUB 75) ............. 567 PMC-SB5/SB6 for Power Mate i-H ......................... 159
CNC INFORMATION ................................................. 592 Compatibility with Conventional Models.................... 589
CNC Parameters Related to the PMCs ......................... 132 COMPATIBILITY WITH CONVENTIONAL
COD (Code Conversion SUB 7) .................................. 448 MODELS ................................................................. 152
CODB (Binary Code Conversion SUB 27) .................. 451 Compatibility with PMC Memory-C and PMC
CODE CONVERSION ................................................ 447 Memory-D ............................................................... 151
COIN (Coincidence Check SUB 16) ............................ 372 Compatibility with series 0i-D PMC ........................... 156
Collective Monitor Function ...................................... 1115 Compatibility with Series 30i/31i/32i-A PMC ............ 152
Collective Monitor Screen ............................... 1116, 1299 Compatibility with the PMCs for the 15i-A/B ............. 155
COM (Common Line Control SUB 9) ......................... 547 Compatibility with the PMCs for the 16i/18i/21i-B .... 153
COME (Common Line Control End SUB 29) ............. 550 COMPB (Comparison Between Binary Data SUB 32) 367
Command for Changing the Interference Object for 3D CONFIGURATION AND OPERATION OF
Interference Check Function (Low-speed Response)672 STEP–SEQUENCE PROGRAMS ......................... 1270
Comment .......................................................................... 6 Configuration of an I/O Link ....................................... 176
Common PMC Memory mode of Multi-path PMC...... 519 Configuration of I/O Link i.......................................... 218
Common PMC Memory Mode of Multi-Path PMC ....... 53 Convergence of Selective Sequence .......................... 1274
COMMUNICATION METHOD for EXTERNAL I/O Convergence of Simultaneous Sequence ................... 1275
DEVICE ..................................................................... 55 COUNTER .................................................................. 281
Communication Status ............................................... 1206 Counter Addresses (C)................................................. 107
COMMUNICATION WITH I/O DEVICE .................. 174 Creating a Function Block Call Section .................... 1328
COMP (Comparison SUB 15) ...................................... 370 Creating Ladder Diagram .............................................. 11
Comparing I/O Configuration data with Flash ROM CS (Case Call SUB 74) ............................................... 564
Files ........................................................................ 1010 CTR (Counter SUB 5) ................................................. 282
Comparing I/O Configuration data with Memory Card CTRB (Fixed Counter SUB 56)................................... 288
Files or USB Memory Files .................................... 1008 CTRC (Counter SUB 55)............................................. 290
Comparing Message Data for Multi-Language Display CTRD (Counter (4 Bytes Length) SUB 223) .............. 292
with Flash ROM Files ............................................ 1003
Comparing Message Data for Multi-Language Display <D>
with Memory Card Files or USB Memory Files .... 1000 DATA INPUT/OUTPUT ([I/O] SCREEN) ................ 960
Comparing PMC Parameters with Files of Other Data Table Addresses (D) ............................................ 115
Devices (via the RS-232C Port) .............................. 996 DATA TRANSFER ..................................................... 295
Comparing PMC Parameters with FLOPPY Files ....... 993 DCNV (Data Conversion SUB 14) .............................. 454
Comparing PMC Parameters with Memory Card Files DCNVB (Extended Data Conversion SUB 31) ........... 456
or USB Memory Files .............................................. 990 DEC (Decode SUB 4).................................................. 458
Comparing Sequence Programs with Files of Other DECB (Binary Decoding SUB 25) .............................. 460
Devices (via the RS-232C Port) ............................... 986 DECSB (Decrement (1 Byte Length) SUB 337)
Comparing Sequence Programs with Flash ROM Files980 DECSW (Decrement (2 Bytes Length) SUB 338)
Comparing Sequence Programs with FLOPPY Files ... 983 DECSD (Decrement (4 Bytes Length) SUB 339) .... 499
Comparing Sequence Programs with Memory Card Defining characters not found in the CNC MDI keys . 512
Files or USB Memory Files ...................................... 976 Deleting Memory Card/USB memory Files or
COMPARISON............................................................ 352 Formatting a Memory Card ................................... 1011
Compatibility between 0i-D DCSPMC and Deleting One or All FLOPPY Files ........................... 1012
30i/31i/32i/35i-B DCSPMC ..................................... 156 Deleting Tool life Management Data (Tool Data)
Compatibility between 0i-F DCSPMC and (Low-speed Response) ............................................. 814
30i/31i/32i/35i-B DCSPMC ..................................... 161 Deleting Tool life Management Data (Tool Group)
Compatibility between 0i-F PMC and 30i/31i/32i/35i-B (Low-speed Response) ............................................. 813
PMC ......................................................................... 161 Deleting Tool Management Data (Low-speed
Compatibility between 30i/31i/32i-A DCSPMC and Response) ................................................................. 835
30i/31i/32i/35i-B, 0i-F DCSPMC ............................. 153 Deleting Tool Management Data by Specified Data
Compatibility between 35i-B PMC and PMC-SB5/SB6 (Low-speed Response) ............................................. 861
for Power Mate i-D................................................... 157 Details of the Basic Instructions .................................. 234
COMPATIBILITY BETWEEN PMC MEMORY DETECTION OF DOUBLE COILS ......................... 1126
TYPE ........................................................................ 150 Determination of PMC Memory Type........................... 72
Compatibility between PMC Memory-A and PMC Determining Specification ............................................. 11
Memory-B ................................................................ 150 DIFD (Falling Edge Detection SUB 58) ...................... 378
i-2
B-64513EN/03 INDEX
Difference Between Relay Sequence Circuit and Displaying of Slot Information of I/O Link i
Ladder Sequence Program ............................................ 7 Assignment Data .................................................... 1238
DIFU (Rising Edge Detection SUB 57) ....................... 376 Displaying of Title Information of I/O Link i
Directions for Use of I/O Link i in Dual Check Safety Assignment Data .................................................... 1239
Function .................................................................... 228 Displaying Symbol and Comment Data .................... 1162
DISPB (Display Message SUB 41) .............................. 506 Displaying the FB Body Program.............................. 1343
DISPLAY AND OPERATION CONDITIONS FOR DISPLAYING THE STATUS OF PMCS AND
SCREENS ................................................................ 910 CHANGING THE TARGET PMC ([PMC STATUS]
Display Format for Parameters................................... 1065 SCREENS) ............................................................ 1199
Display history of a Subprogram ............................... 1131 Displaying the status of the 1st level execution cycle in
DISPLAY OF DIVIDED LADDER PROGRAM ........ 927 1ms/2ms
Display of European Characters ................................... 168 ([PMC STATUS(1,2ms LADDER)] screen) ......... 1201
Display of Simplified Chinese and Korean (Hangul Displaying Title Data ................................................ 1154
Characters) ............................................................... 169 Displaying Title Data (Message) ............................... 1159
Displaying a File List ([LIST] Screen)......................... 968 DIV (BCD Division SUB 22) ...................................... 482
DISPLAYING A PROGRAM LIST DIVB (Binary Division SUB 39)................................. 474
([LIST] SCREEN) .................................................. 1048 Divergence of Selective Sequence............................. 1273
Displaying a Step Sequence Diagram ........................ 1292 Divergence of Simultaneous Sequence ...................... 1275
DISPLAYING A SUBPROGRAM LIST ([SPLIST] Divided Ladder Program ............................................... 37
SCREEN) ............................................................... 1131 DIVSB (Division (1 Byte Length) SUB 328) DIVSW
DISPLAYING AND CHANGING PMC SETTINGS (Division (2 Bytes Length) SUB 329) DIVSD
([SETING] SCREENS) .......................................... 1191 (Division (4 Bytes Length) SUB 330) ..................... 493
DISPLAYING AND EDITING A FUNCTION DMAXB (Maximum Data (1 Byte Length) SUB 259)
BLOCK .................................................................. 1333 DMAXW (Maximum Data (2 Bytes Length) SUB
DISPLAYING AND EDITING I/O MODULE 260) DMAXD (Maximum Data (4 Bytes Length)
ALLOCATION DATA ([MODULE] SCREENS) . 1187 SUB 261) ................................................................. 346
DISPLAYING AND EDITING MESSAGE DATA DMINB (Minimum Data (1 Byte Length) SUB 262)
([MESAGE] SCREENS) ........................................ 1179 DMINW (Minimum Data (2 Bytes Length) SUB 263)
DISPLAYING AND EDITING OF I/O Link i DMIND (Minimum Data
ASSIGNMENT ([I/O LINK I] SCREEN) .............. 1234 (4 Bytes Length) SUB 264) ..................................... 349
DISPLAYING AND EDITING SYMBOL AND DSCH (Data Search SUB 17) ...................................... 327
COMMENT............................................................ 1359 DSCHB (Binary Data Search SUB 34) ....................... 324
DISPLAYING AND EDITING SYMBOL AND DSEQB(Searching Data from Table(=)(1 Byte Length)
COMMENT DATA ([SYMBOL] SCREENS)....... 1162 SUB 241) DSEQW(Searching Data from Table(=)(2
DISPLAYING AND EDITING TITLE DATA Bytes Length) SUB 242) DSEQD(Searching Data
([TITLE] SCREENS) ............................................. 1154 from Table(=)(4 Bytes Length) SUB 243)
DISPLAYING AND SETTING CONFIGURATION DSNEB(Searching Data from Table(≠)(1 Byte
PARAMETERS ([CONFIG PARAM] SCREENS)1219 Length) SUB 244) DSNEW(Searching D ................ 342
Displaying and Setting Parameters for an FS0 Dual Assignment of I/O Link Channel ........................ 206
Operator's Panel...................................................... 1213 Duplicate Coil Check Screen ..................................... 1355
DISPLAYING AND SETTING PARAMETERS FOR DUPLICATION DETECTION IN LADDER
THE ONLINE FUNCTION ([ONLINE] SCREEN)1202 EDITING ............................................................... 1126
Displaying and Setting Parameters for the Selectable DUPLICATION DETECTION OF PARAMETER
I/O Link Assignment Function ............................... 1216 NUMBER OF FUNCTIONAL INSTRUCTIONS. 1126
DISPLAYING AND SETTING SYSTEM
PARAMETERS ([SYSTEM PARAM] SCREENS)1211 <E>
Displaying and Setting the Counter Data Type .......... 1211 Editing and Debugging Step Sequence Programs...... 1259
Displaying Extended Symbol and Comment ... 1170, 1360 Editing Desired Message Data................................... 1184
DISPLAYING EXTENDED SYMBOL AND Editing Extended Symbol and Comment ................... 1173
COMMENT.............................................................. 930 Editing I/O Module Allocation Data ......................... 1188
DISPLAYING I/O DEVICES CONNECTION EDITING LADDER PROGRAMS ........................... 1079
STATUS ([I/O DEVICE] SCREEN) ...................... 1013 Editing Message Data ................................................ 1181
Displaying I/O Module Allocation Data .................... 1187 Editing of Group Information of I/O Link i Assignment
Displaying Internal and External Variables in the Data ........................................................................ 1243
Monitor (FB Instance Monitor Display) ................. 1342 Editing Sequence Program ............................................ 11
Displaying Message Data ........................................... 1179 Editing Symbol and Comment Data .......................... 1164
Displaying of Group Information of I/O Link i Editing Title Data ...................................................... 1156
Assignment Data .................................................... 1235 END (End of a Ladder Program SUB 64) ................... 564
i-3
INDEX B-64513EN/03
i-4
B-64513EN/03 INDEX
<J> MOVBT (Bit Transfer SUB 224) ................................ 314
JMP (Jump SUB 10) .................................................... 551 MOVD (Transfer of 4 Bytes SUB 47) ......................... 298
JMPB (Label Jump 1 SUB 68) ..................................... 554 MOVE (Logical Product Transfer SUB 8) .................. 301
JMPC (Label Jump 2 SUB 73) ..................................... 556 Moving Tool Management Data Numbers in a
JMPE (Jump End SUB 30) ........................................... 553 Magazine Management Table
Jump ........................................................................... 1277 (Low-speed Response) ............................................. 889
MOVN (Transfer of an Arbitrary Number of Bytes
<K> SUB 45) ................................................................... 299
Keep Relay Addresses (K) ........................................... 107 MOVOR (Data Transfer After Logical Sum SUB 28) 303
Korean character code table ....................................... 1424 MOVW (Transfer of 2 Bytes SUB 44) ........................ 297
MUL (BCD Multiplication SUB 21) ........................... 480
<L> MULB (Binary Multiplication SUB 38) ...................... 472
Label .......................................................................... 1278 MULSB (Multiplication (1 Byte Length) SUB 325)
Label Number Addresses (L) ....................................... 118 MULSW (Multiplication (2 Bytes Length) SUB 326)
LADDER DIAGRAM EDITOR Screen .................... 1349 MULSD (Multiplication (4 Bytes Length) SUB 327)491
Ladder Diagram Format ................................................... 5 Multi-Language Display .............................................. 166
LADDER DIAGRAM MONITOR AND EDITOR MULTI-PATH PMC FUNCTION ................................ 47
SCREENS ([PMC LADDER]) ............................... 1046 Multi-Path PMC Interface ............................................. 52
Ladder Diagram Monitor Screen ................................ 1299 MULTI-PMC DISPLAY ............................................. 928
LADDER DIAGRAM MONITOR Screen ................ 1335
Ladder dividing management function ......................... 519 <N>
LADDER DIVIDING MANAGEMENT FUNCTION .. 36 NEGSB (Sign Inversion (1 Byte Length) SUB 343)
LADDER LANGUAGE............................................... 232 NEGSW (Sign Inversion (2 Bytes Length) SUB 344)
Ladder that is not programmable................................ 1105 NEGSD (Sign Inversion (4 Bytes Length) SUB 345)503
LANGUAGE ID TABLE........................................... 1432 NET EDITOR Screen ...................................... 1090, 1352
LBL (Label SUB 69) .................................................... 558 Nonvolatile Memory Control Address (K) .................. 107
Line Number and Net Number ......................................... 6 NOP (No Operation SUB 70) ...................................... 564
LIST OF CNC FUNCTIONS USING PMC SIGNALS NOT (Logical NOT SUB 62) ...................................... 386
OTHER THAN G/F ADDRESS............................. 1433 NOTB (Logical NOT (1 Byte Length) SUB 274)
LIST OF WINDOW FUNCTIONS .............................. 582 NOTW (Logical NOT (2 Bytes Length) SUB 275)
List of Window Functions (Function Code Order)....... 586 NOTD (Logical NOT (4 Bytes Length) SUB 276) .. 401
List of Window Functions (Function Group Order) ..... 582 Note on Inputting of Sequence Program ...................... 972
LOW-SPEED RESPONSE AND HIGH-SPEED NOTE ON PROGRAMMING ..................................... 577
RESPONSE .............................................................. 580 Note on the Programming of a Low-speed Response
Window Instruction ................................................. 581
<M> Notes............................................................................ 216
Making Method of Divided Ladder Program ................. 44 Notes on I/O Signals Updated by Other Than PMC ...... 34
Maximum execution time............................................... 62 Notes on using subroutines ............................................ 28
Maximum Number of Message .................................... 167 Notes when this functional instruction is used in
Memory Card and USB Memory ................................. 965 subroutine ................................................................ 516
Memory Usage Related to Function Blocks ............... 1313 Notice in programming of the 1st level ......................... 63
Menu for Setting Configuration Parameters ............... 1219 Numbers of Input Points and of Output Points of the I/O
Message Display Addresses (A)................................... 106 Link .......................................................................... 177
Message Display Function (DISPB instruction) when NUME (BCD Definition of Constant SUB 23) ........... 486
Using Ladder Dividing Management Function .......... 43 NUMEB (Definition of Binary Constants SUB 40) .... 484
Message shift function ................................................. 516 Numerical data display ................................................ 511
Messages That May Be Displayed on the PMC Alarm
Screen ..................................................................... 1361 <O>
MODSB (Remainder (1 Byte Length) SUB 331) Operating on the FUNCTIONAL INSTRUCTION
MODSW (Remainder (2 Bytes Length) SUB 332) DATA TABLE EDITOR Screen ........................... 1110
MODSD (Remainder (4 Bytes Length) SUB 333) ... 495 Operating on the LADDER DIAGRAM EDITOR
MONITORING I/O DIAGNOSIS ([I/O DGN] Screen .................................................................... 1081
SCREEN) ............................................................... 1035 Operating on the LADDER DIAGRAM MONITOR
MONITORING LADDER DIAGRAMS ([LADDER] Screen .................................................................... 1054
SCREEN) ............................................................... 1051 Operating on the Screen .................................. 1120, 1123
MONITORING PMC SIGNAL STATUS ([STATUS] OPERATING THE PMC SCREEN ............................ 905
SCREEN) ................................................................. 933 Operation after Execution of Trace ........................... 1028
MOVB (Transfer of 1 Byte SUB 43) ........................... 296 OPERATION BY TOUCH PANEL .......................... 1135
i-5
INDEX B-64513EN/03
i-6
B-64513EN/03 INDEX
Reading a P-CODE Macro Variable Reading the Current Program Number (8-digits
(High-speed Response) ............................................. 645 Program Numbers) (High-speed Response) ............. 653
Reading a Real Type Parameter Reading the Current Program Number
(High-speed Response) ............................................. 606 (High-speed Response) ............................................ 628
Reading a Skip Position (Stop Coordinates of Skip Reading the Current Sequence Number
Operation (G31)) of Controlled Axes (High-speed Response) ............................................ 630
(High-speed Response) ............................................. 681 Reading the Estimate Disturbance Torque Data
Reading a Tool Geometry Data (Low-speed Response)885 (High-speed Response) ............................................ 711
Reading a Tool Offset (High-speed Response) ............ 594 Reading the Feed Motor Load Current Value (A/D
Reading a Workpiece Origin Offset Value Conversion Data) (High-speed Response) ............... 687
(High-speed Response) ............................................. 598 Reading the Machine Position (Machine Coordinates)
Reading Actual Spindle Speeds of Controlled Axes (High-speed Response) ............. 679
(High-speed Response) ............................................. 696 Reading the machine position of controlled axes ........ 731
Reading analog monitor unit data Reading the Pitch Error Compensation Value
(High-speed Response) ............................................. 744 (High-speed Response) ............................................ 662
Reading Clock Data (Date and Time) Reading the Position of Controlled Axes..................... 731
(High-speed Response) ............................................. 656 Reading the Relative Position on a Controlled Axis
Reading CNC ID Number (Low-speed Response) ....... 673 (High-speed Response) ............................................ 690
Reading CNC Status Information Reading the remaining travel ....................................... 735
(High-speed Response) ............................................. 651 Reading the Remaining Travel (High-speed Response)692
Reading CNC System Information Reading the Servo Delay for Controlled Axes
(High-speed Response) ............................................. 592 (High-speed Response) ............................................ 683
Reading Detailed Information of CNC Alarm ............. 667 Reading the Three-Dimensional Error Compensation
Reading Diagnosis Data (High-speed Response) ......... 643 Data (Low-Speed Response) .................................... 726
Reading Diagnosis Data (Low-speed Response) .......... 641 Reading The Tool Life Management Data (Tool Group
Reading Edge Data (Low-speed Response) ................. 897 Number) (High-speed Response) ............................. 749
Reading free number of Multi edge group / Tool offset Reading The Tool Life Management Data (Tool Group
(High-speed Response) ............................................. 892 Number) (High-speed Response) (8-digits Tool
Reading Load Information of the Spindle Motor (Serial Number) ................................................................... 797
Interface) (High-speed Response) ............................ 701 Reading the Tool Life Management Data (Tool Life
Reading Magazine Property Data Counter Type) (High-speed Response) .................... 773
(Low-speed Response) ............................................. 876 Reading the Total Tool Life Data (Low-speed
Reading main gear angle of the Control function for link Response) ................................................................. 853
type press (High-speed Response) ............................ 742 Reading the Total Tool Life Data of an Edge
Reading Modal Data (High-speed Response) .............. 631 (Low-speed Response) ............................................. 903
Reading position of lower dead point of the Control Reading Tool Life Management Data (Cutter Radius
function for link type press (High-speed Response) . 740 Compensation Number (1) Tool Number)
Reading Pot Property Data (Low-speed Response)...... 880 (High-speed Response) (8-digits Tool Number) ...... 805
Reading Setting Data (High-speed Response).............. 614 Reading Tool Life Management Data (Number of Tool
Reading slider position of the Control function for link Groups) (High-speed Response) .............................. 751
type press (High-speed Response) ............................ 738 Reading Tool Life Management Data
Reading the Absolute Position (Absolute Coordinates) (Number of Tools) (High-speed Response) ............. 753
of Controlled Axes (High-speed Response) ............. 677 Reading Tool Life Management Data
Reading the absolute position of controlled axes ......... 733 (Tool Information (1) Tool Number)
Reading the Acceleration/Deceleration Delay on (High-speed Response) ............................................ 767
Controlled Axes (High-speed Response) .................. 685 Tool Number) (High-speed Response)
Reading the Actual Speed of Servo Motor (8-digits Tool Number) ............................................ 799
(High-speed Response) ............................................. 706 Reading Tool Life Management Data
Reading the Actual Spindle Speed (Tool Information (2) Tool Order Number)
(High-speed Response) ............................................. 689 (High-speed Response) ............................................ 769
Reading the Actual Velocity of Controlled Axes Reading Tool Life Management Data
(High-speed Response) ............................................. 676 (Tool Length Compensation Number (1) Tool
Reading the Actual Velocity of each Controlled Axis Number) (High-speed Response) ............................ 759
(High-speed Response) ............................................. 694 Tool Number) (High-speed Response)
Reading the Axes Command Value (8-digits Tool Number) ............................................ 803
(High-speed Response) ............................................. 746 Reading Tool Life Management Data (Cutter Radius
Reading the CNC Alarm Status Compensation Number (1) Tool Number)
(High-speed Response) ............................................. 626 (High-speed Response) ............................................ 763
i-7
INDEX B-64513EN/03
Reading Tool Life Management Data (Cutter Radius Searching for Tool Management Data (Low-speed
Compensation Number (2) Tool Order Number) Response) ................................................................. 846
(High-speed Response) ............................................. 765 Selectable I/O Link Assignment Function ................... 210
Reading Tool Life Management Data (Tool Length SELECTING AND DISPLAYING THE NECESSARY
Compensation Number (2) Tool Order Number) LADDER NET ([SWITCH] SCREEN]) ................ 1115
(High-speed Response) ............................................. 761 SEQUENCE PROGRAM CREATION PROCEDURE 11
Reading Tool Life Management Data (Tool Life SET Instruction ............................................................ 249
Counter) (High-speed Response) .............................. 757 SETNB (Data Setting (1 Byte Length) SUB 225)
Reading Tool Life Management Data (Tool Life) SETNW (Data Setting (2 Bytes Length) SUB 226)
(High-speed Response) ............................................. 755 SETND (Data Setting (4 Bytes Length) SUB 227) .. 317
Reading Tool Life Management Data (Tool Number) Setting an I/O Target PMC .......................................... 970
(High-speed Response) ............................................. 771 Setting and Displaying Counter Values ([COUNTR]
Reading Tool Management Data (Low-speed Screen) ..................................................................... 947
Response) ................................................................. 837 Setting and Displaying Data Tables ([DATA] Screen) 951
Reading Tool Management Data by Specified Data Setting and Displaying Keep Relays ([KEEP RELAY]
(Low-speed Response) ............................................. 863 Screen) ..................................................................... 949
Registering New Symbol and Comment Data ............ 1168 SETTING AND DISPLAYING PMC PARAMETERS943
Registering New Tool Management Data (Low-speed Setting and Displaying Timers ([TIMER] Screen) ...... 944
Response) ................................................................. 825 Setting I/O Address for I/O Link ................................... 57
Registering Tool Life Management Data (Tool Group Setting I/O Address For I/O Link Channel .................. 205
Number) (Low-speed Response) (8-digits Tool Setting I/O Address for I/O Link i ................................. 56
Number) ................................................................... 801 Setting of Effective Group of I/O Link i Assignment
Registering Tool Life Management Data (Tool Group) Data (Selectable Assignment Function) ................. 1241
(Low-speed Response) ............................................. 775 Setting of Trace Parameter ([TRACE SETING] Screen)
Registration of I/O Devices Configuration................. 1017 ............................................................................... 1022
Repetitive Operation ...................................................... 16 Setting Parameters ....................................................... 129
ROLB (Bit Rotation Left (1 Byte Length) SUB 285) Setting Parameters for the Online Function ............... 1204
ROLW (Bit Rotation Left (2 Bytes Length) SUB 286) SETTING Screen of I/O DIAGNOSIS ...................... 1043
ROLD (Bit Rotation Left (4 Bytes Length) SUB 287) Setting Subprogram List Screen ...................... 1134, 1299
.................................................................................. 415 Setting the CNC-PMC Interface ................................ 1221
ROLN (Bit Rotation Left (Arbitrary Bytes Length) Setting the Communication Port ([PORT SETING]
SUB 288) .................................................................. 418 Screen) ..................................................................... 966
RORB (Bit Rotation Right (1 Byte Length) SUB 289) Setting the Display Format of the LADDER
RORW (Bit Rotation Right (2 Bytes Length) SUB DIAGRAM MONITOR Screen ................... 1058, 1344
290) RORD (Bit Rotation Right (4 Bytes Length) Setting the LADDER DIAGRAM EDITOR Screen .. 1084
SUB 291) .................................................................. 421 Setting the Machine Signal Interface ......................... 1225
RORN (Bit Rotation Right (Arbitrary Bytes Length) Setting the Parameters Related to Ladder Execution . 1229
SUB 292) .................................................................. 424 Setting the PMC Memory Type ................................. 1232
ROT (Rotation Control SUB 6).................................... 570 Setting the PROGRAM LIST EDITOR Screen ......... 1114
ROTATION CONTROL.............................................. 569 Setting the Program List Screen ................................ 1050
ROTB (Binary Rotation Control SUB 26) ................... 573 Setting the Step Sequence Diagram Screen ............... 1297
RST Instruction ............................................................ 250 SFT (Shift Register SUB 33) ....................................... 390
Russian (Cyrillic) character code table ...................... 1430 Shifting Tool Management Data
(Low-speed Response) ............................................. 848
<S> SHLB (Bit Shift Left (1 Byte Length) SUB 277) SHLW
Safety I/O ..................................................................... 222 (Bit Shift Left (2 Bytes Length) SUB 278) SHLD (Bit
Sample Cases ............................................................. 1400 Shift Left (4 Bytes Length) SUB 279) ..................... 403
Saving I/O Configuration data to the Flash ROM ...... 1009 SHLN (Bit Shift Left (Arbitrary Bytes Length)
Saving Message Data for Multi-Language Display to SUB 280) ................................................................. 406
the Flash ROM ....................................................... 1001 SHRB (Bit Shift Right (1 Byte Length) SUB 281)
Saving Sequence Programs to the Flash ROM ............. 977 SHRW (Bit Shift Right (2 Bytes Length) SUB 282)
Screen Structures........................................................ 1119 SHRD (Bit Shift Right (4 Bytes Length) SUB 283) 409
Searching for a Free Pot (Low-speed Response).......... 823 SHRN (Bit Shift Right (Arbitrary Bytes Length)
Searching for a Free Pot (Oversize Tools Supported) SUB 284) ................................................................. 412
(Low-speed Response) ............................................. 850 Signal Name (Symbol Name) .......................................... 5
Searching for a Free Pot by Specified Data Signal Trace Function ([TRACE] Screen) ................. 1021
(Low-speed Response) ............................................. 882
i-8
B-64513EN/03 INDEX
Signed Binary Comparison (() GEB (1 Byte Length <T>
SUB 212) GEW (2 Bytes Length SUB 213) GED (4 TABLE DATA ............................................................ 329
Bytes Length SUB 214)............................................ 361 TBCDB (Binary to BCD Conversion (1 Byte Length)
Signed Binary Comparison (() LEB (1 Byte Length SUB 313) TBCDW (Binary to BCD Conversion (2
SUB 215) LEW (2 Bytes Length SUB 216) LED (4 Bytes Length) SUB 314) TBCDD (Binary to BCD
Bytes Length SUB 217)............................................ 363 Conversion (4 Bytes Length) SUB 315) .................. 463
Signed Binary Comparison (() NEB (1 Byte Length TBLRB (Reading Data from Table (1 Byte Length)
SUB 203) NEW (2 Bytes Length SUB 204) NED (4 SUB 233) TBLRW (Reading Data from Table (2
Bytes Length SUB 205)............................................ 355 Bytes Length) SUB 234) TBLRD (Reading Data
Signed Binary Comparison (<) LTB (1 Byte Length from Table (4 Bytes Length) SUB 235) ................... 330
SUB 209) LTW (2 Bytes Length SUB 210) LTD (4 TBLRN (Reading Data from Table (Arbitrary Bytes
Bytes Length SUB 211)............................................ 359 Length) SUB 236) .................................................... 333
Signed Binary Comparison (=) EQB (1 Byte Length TBLWB (Writing Data to Table (1 Byte Length) SUB
SUB 200) EQW (2 Bytes Length SUB 201) EQD (4 237) TBLWW (Writing Data to Table (2 Bytes
Bytes Length SUB 202)............................................ 353 Length) SUB 238) TBLWD (Writing Data to Table
Signed Binary Comparison (>) GTB (1 Byte Length (4 Bytes Length) SUB 239) ..................................... 336
SUB 206) GTW (2 Bytes Length SUB 207) GTD (4 TBLWN (Writing Data to Table (Arbitrary Bytes
Bytes Length SUB 208)............................................ 357 Length) SUB 240) .................................................... 339
Signed Binary Comparison (Range) RNGB (1 Byte Terminology .............................................................. 1260
Length SUB 218) RNGW (2 Bytes Length SUB 219) The Convert Method of Source Program Using FANUC
RNGD (4 Bytes Length SUB 220) ........................... 365 LADDER-III ............................................................ 162
Simplified chinese character code table (GB2312 code)1409 TIME MONITOR FUNCTION ................................. 1304
SP (Subprogram SUB 71) ............................................ 561 Time Monitor Setting Screen..................................... 1305
SPE (End of a Subprogram SUB 72) ........................... 562 TIMER......................................................................... 267
Specification............................................................... 1283 Timer Addresses (T) .................................................... 106
Specification of Extended Symbol and Comment ............ 8 Title Screen................................................................ 1358
SPECIFICATION OF STEP SEQUENCE ................ 1283 TMR (On-delay Timer SUB 3).................................... 268
SPECIFICATIONS ........................................................ 68 TMRB (Fixed On-delay Timer SUB 24) ..................... 270
Starting and Stopping Sequence Programs ................. 1200 TMRBF (Fixed Off-delay Timer SUB 77) .................. 272
Step ............................................................................ 1270 TMRC (On-delay Timer SUB 54) ............................... 274
STEP SEQUENCE BASICS ...................................... 1260 TMRST (Stop Watch Timer (1ms Accuracy) SUB 221)
Step Sequence Display Screen ................................... 1295 TMRSS (Stop Watch Timer (1sec Accuracy) SUB
STEP SEQUENCE FUNCTION ................................ 1255 222) .......................................................................... 277
Step Sequence Method ............................................... 1255 Tool Figure Making Instruction for 3D Interference
STEP SEQUENCE SCREEN OPERATION ............. 1292 Check Function (Low-speed Response) ................... 665
Step Sequence State Display Screen (Global) ............ 1300 TOOL LIFE MANAGEMENT FUNCTION............... 749
Step Sequence State Display Screen (Subprogram) ... 1302 TOOL MANAGEMENT FUNCTIONS ...................... 820
Storage and Management of Sequence Program ............ 13 Total Ladder Steps of Multi-path PMC ......................... 70
Structure of extended type net.................................... 1100 Trace Result Output ................................................... 1031
Structure of standard type net..................................... 1099 TRACING AND DISPLAYING PMC SIGNAL
Structure of Valid Net ................................................ 1099 STATUS ................................................................ 1021
Structured Sequence Program ........................................ 19 Transferring and Writing Sequence Program to PMC ... 12
SUB (BCD Subtraction SUB 20) ................................. 478 Transition................................................................... 1273
Sub Program in Divided Ladder ..................................... 42 Transition of the PMC Screens .................................... 907
Sub programming and nesting ........................................ 24 Turkish character code table ...................................... 1431
SUBB (Binary Subtraction SUB 37) ............................ 470
Subprogram List Display Screen ............ 1133, 1299, 1356 <U>
Subprogram Number Addresses (P) ............................. 118 Update Cycle of Signals .............................................. 220
SUBSB (Subtraction (1 Byte Length) SUB 322) Usage of PMC Message Multi-Language Display
SUBSW (Subtraction (2 Bytes Length) SUB 323) Function ................................................................... 164
SUBSD (Subtraction (4 Bytes Length) SUB 324) .... 489 Used Memory Size of Sequence Program ..................... 75
SWAPW (Data Swap (2 Bytes Length) SUB 231)
SWAPD (Data Swap (4 Bytes Length) SUB 232).... 321 <V>
Synchronization Processing of I/O Signals .................... 30 Variable Information ................................................. 1316
System Keep Relay Addresses (K) .............................. 108
System Relay Addresses (R9000, Z0) ............................ 95 <W>
WHAT IS I/O Link i ? ................................................. 217
WHAT IS LADDER LANGUAGE? ............................... 5
i-9
INDEX B-64513EN/03
WHAT IS PMC? .............................................................. 1 Writing Tool Life Management Data (Tool Length
WHAT IS THE I/O LINK? .......................................... 175 Compensation Number (1)
WINDOW FUNCTIONS ............................................. 578 Tool Number) (Low-speed Response) (8-digits Tool
WINDR (Reading CNC Window Data SUB 51) ......... 526 Number) ................................................................... 807
WINDW (Writing CNC Window Data SUB 52) ......... 528 Writing Tool Life Management Data (Arbitrary Group
Writing a Custom Macro Variable (Low-speed Number) (Low-speed Response).............................. 816
Response) ................................................................. 620 Writing Tool Life Management Data (Cutter Radius
Writing a Custom Macro Variable (Variable Number Compensation Number (1)
Extension) (Low-speed Response) ........................... 624 Tool Number) (Low-speed Response) ......................... 787
Writing a Parameter (Low-speed Response) ................ 604 Writing Tool Life Management Data (Cutter Radius
Writing a P-CODE Macro Variable (Low-speed Compensation Number (2)
Response) ................................................................. 648 Tool Order Number) (Low-speed Response)............... 789
Writing a Real Type Parameter (Low-speed Response)610 Writing Tool Life Management Data (Remaining Tool
Writing a Specified Type of Tool Management Data Life) (Low-speed Response) .................................... 818
(Low-speed Response) ............................................. 841 Writing Tool Life Management Data (Tool Length
Writing a Tool Geometry Data (Low-speed Response)887 Compensation Number (1)
Writing a Tool Offset (Low-speed Response) .............. 596 Tool Number) (Low-speed Response) ......................... 783
Writing a Workpiece Origin Offset Value (Low-speed Writing Tool Life Management Data (Tool Length
Response) ................................................................. 600 Compensation Number (2)
Writing Clock Data (Date and Time) (Low-speed Tool Order Number) (Low-speed Response)............... 785
Response) ................................................................. 658 Writing Tool Life Management Data (Tool Life
Writing Each Edge Data (Low-speed Response) ......... 900 Counter Type) (Low-speed Response)..................... 781
Writing Each Tool Management Data by Specified Data Writing Tool Life Management Data (Tool Life
(Low-speed Response) ............................................. 868 Counter) (Low-speed Response) .............................. 779
Writing Edge Data (Low-speed Response) .................. 894 Writing Tool Life Management Data (Tool Life)
Writing Magazine Property Data (Low-speed (Low-speed Response) ............................................. 777
Response) ................................................................. 874 Writing Tool Life Management Data (Tool Number)
Writing Pot Property Data (Low-speed Response) ...... 878 (Low-speed Response) ............................................. 795
Writing Setting Data (Low-speed Response) ............... 616 Writing Tool Management Data (Low-speed Response)
Writing the Pitch Error Compensation Value ................................................................................. 830
(Low-speed Response) ............................................. 663 Writing Tool Management Data by Specified Data
Writing the Three-Dimensional Error Compensation (Low-speed Response) ............................................. 855
Data (Low-Speed Response) .................................... 728 WRT Instruction .......................................................... 238
Writing the Tool Life Management Data (Tool WRT.NOT Instruction ................................................. 239
Information (1) Tool Number) (Low-speed
Response) (8-digits Tool Number) ........................... 811 <X>
Tool Number) (Low-speed Response) ......................... 791 XCHGB (Data Exchange (1 Byte Length) SUB 228)
Writing the Tool Management Data (Tool Information XCHGW (Data Exchange (2 Bytes Length) SUB
(2) 229) XCHGD (Data Exchange (4 Bytes Length) SUB
Tool Order Number) (Low-speed Response) .............. 793 230) .......................................................................... 319
Writing Tool Life Management Data (Cutter Radius XMOV (Indexed Data Transfer SUB 18) .................... 312
Compensation Number (1) XMOVB (Binary Index Modifier Data Transfer SUB
Tool Number) (Low-speed Response) (8-digits Tool 35) ............................................................................ 304
Number) ................................................................... 809
i-10
B-64513EN/03 REVISION RECORD
REVISION RECORD
Edition Date Contents
• PMC function for 0i -MODEL F
• Improvement of Window function
03 Nov., 2014
• Displaying series/edition of I/O link i assignment data and Multi-language PMC message
• Correction of errors
• Ladder Dividing Management Function
• Modification of file names in PMC [I/O] screen
• PMC function for Power Motion i -MODEL A
• PSGN2/PSGNL functional instruction using actual machine position
• The 1st level execution cycle 1ms/2ms of ladder
02 Jul., 2013 • Improvement of Data Table Control Data Screen
• Assignment of network devices to X/Y address
• Multi-language display of signal comment
• Setting of sampling address for PMC signal trace on the PMC Ladder monitor screen
• Improvement of Window function
• Correction of errors
01 Jul., 2010
r-1
FANUC Series 30i/31i/32i/35i-MODEL B
FANUC Power Motion i-MODEL A
FANUC Series 0i-MODEL F
PMC Supplemental Programming Manual
Summary of Change
New, Add,
Group Name/Outline Applied Date
Correct, Delete
Optional
Function
Unit
Maintenance
Parts
Notice
Correction
Another
Contents
1 SUMMARY ···················································································································· 3
2 APPLIED SOFTWARE····································································································· 3
3 WINDOW FUNCTIONS ···································································································· 3
3.1 Reading Modal Data (High-speed Response) ······································································ 4
4 APPENDIX B LANGUAGE ID TABLE ············································································ 15
Manual Spec.
FANUC Series 30i/31i/32i/35i-MODEL B B-64513EN / 03
FANUC Power Motion i-MODEL A
FANUC Series 0i-MODEL F PMC Programming Manual
2 APPLIED SOFTWARE
The new features will be applied to the following software.
3 WINDOW FUNCTIONS
The following window function has been improved.
(1) Reading modal information of G-function (Data number=0 to 33, -1, -3)
Using this function, you can read modal information of G-function.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=0 to 33: Reading each data (See. Table 3.1 (a) to
Data type (d))
N=-1: Reading 32 groups (Group No.0 to 31)
N=-3: Reading all groups
+8 (Data attribute M) M=0: Current block
Specified block M=1: Next block
M=2: (reserved)
+10 (Data area)
-
(Need not to be set)
NOTE
1 The modal information for a block after the next block cannot be read.
2 When reading 32 groups, the read modal information of groups are from No. 0 to
No.31. To read modal information of over No. 31 group, set over 31 to the data
number N or set “-3 (reading 32 all groups)” to the data number N.
3 When reading all groups, the modal information of 50 groups can be read
including some reserve groups. In the reserve group, the value “0” is set.
CAUTION
When using “N=-3” (reading all groups), ensure 100 byte area for the data area,
that is 110 bytes area for the input data area. If the data area is insufficient, a new
group data would be written to non-secured area when CNC new features will be
added in the future. As a result, the sequence program is not executed correctly
and the machine may behave an unexpected working.
Completion codes
0 Completed successfully
3 The data number is invalid
4 The data attribute is invalid
+2 (Completion code)
?
(See above description)
+4 (Data length L)
2
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information of G-function See "Fig. 3.1 (a) Modal information of G-function".
(2 bytes)
+11
Code in a group
0 : Not specified in the group
1 : Specified in the group
7 6 5 4 3 2 1 0
Top Address +11 0
+2 (Completion code)
?
(See above description)
+4 (Data length L)
64
+6 (Data number N)
-1
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information of G-function See "Fig. 3.1 (a) Modal information of G-function".
group No.0
(2 bytes)
+12 Modal information of G-function See "Fig. 3.1 (a) Modal information of G-function".
group No.1
(2 bytes)
~ ~
+72 Modal information of G-function See "Fig. 3.1 (a) Modal information of G-function".
group No.31
+73 (2 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
100
+6 (Data number N)
-3
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information of G-function See "Fig. 3.1 (a) Modal information of G-function".
group No.0
(2 bytes)
+12 Modal information of G-function See "Fig. 3.1 (a) Modal information of G-function".
group No.1
(2 bytes)
~ ~
+108 Modal information of G-function
group No.49
+109 (2 bytes)
NOTE
The modal information of 50 groups can be read including some reserve groups.
In the reserve group, the value “0” is set.
+2 (Completion code)
-
(Need not to be set)
+4 (Data length L)
-
(Need not to be set)
+6 (Data number N) N=100 to 126: Each data reading (See Table 3.1(e))
Data type N=-2: Collective read (No.100 to 126)
NOTE
A modal information for a block after the next block cannot be read.
Completion codes
0 Completed successfully
3 The data number is invalid
4 The data attribute is invalid
+2 (Completion code)
?
(See above description)
+4 (Data length L)
6
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information See "Fig. 3.1 (b) Modal information of other than
G-function".
+15 (6 bytes)
+2 (Completion code)
?
(See above description)
+4 (Data length L)
174
+6 (Data number N)
Data type
(Same as input data)
+8 (Data attribute M)
Specified block
(Same as input data)
+10 Modal information of See "Fig. 3.1 (b) Modal information of other than
Data type No.100 G-function".
(6 bytes)
+16 Modal information of See "Fig. 3.1 (b) Modal information of other than
Data type No.101 G-function".
(6 bytes)
~ ~
+166 Modal information of See "Fig. 3.1 (b) Modal information of other than
Data type No.126 G-function".
(6 bytes)
+172 Reserved
FLAG1 1 byte
FLAG2 1 byte
7 6 5 4 3 2 1 0
0 : Positive
1 : Negative
0 : A decimal point not specified
1 : A decimal point specified
0 : Not specified in the current block
1 : Specified in the current block
7 6 5 4 3 2 1 0
NOTE
1 The specification of whether a decimal point is specified or not in FLAG1, and the
specification of the number of decimal places in FLAG2, are valid only for F code.
Even if a decimal point is not specified, the number of decimal places may not be
0.
2 PMC-SB7 outputs the number of input digits to bits 0 to 3 of FLAG1, however
30i/31i/32i/35i-B, Power Motion i-A, 0i-F PMC does not. If you need to have the
number of input digits output as with the former specification, read the CNC
parameters of the following numbers, by using the window function for reading a
parameter (function code 17 or 154).
• For the M function:
No.3030(allowable number of digits of the M code)
• For the S function:
No.3031(allowable number of digits of the S code)
• For the T function:
No.3032(allowable number of digits of the T code)
• For the B function:
No.3033(allowable number of digits of the B code)
Language ID used for Extended symbol and comment function and PMC message multi-language display
function is as follows.
Language ID Language
0 English
1 Japanese
2 German
3 French
4 Chinese (Traditional)
5 Italian
6 Korean
7 Spanish
8 Dutch
9 Danish
10 Portuguese
11 Polish
12 Hungarian
13 Swedish
14 Czech
15 Chinese (Simplified)
16 Russian
17 Turkish
18 Bulgarian
19 Rumanian
20 Slovak
21 Finnish
22 (reserved)
23 Vietnamese
24 Indonesian
Summary of Change
New, Add,
Group Name/Outline Applied Date
Correct, Delete
・ Addition of 0i-F PMC/L.
・ Addition of PMC Memory Type-E.
Basic Function ・ Addition of PID control instruction. Add Apr. 2015
・ Expansion of PMC PROGRAM NO. and
EDITION NO. of title data.
Optional
Function
Unit
Maintenance
Parts
Notice
Correction
Addition of notes.
Another
Contents
1 SUMMARY ···················································································································· 4
2 APPLIED SOFTWARE····································································································· 5
3 OVERVIEW OF PMC ······································································································· 7
3.1 LADDER DIVIDING MANAGEMENT FUNCTION ··································································· 7
3.2 MULTI-PATH PMC FUNCTION ··························································································· 7
3.2.1 Interface between CNC and PMC ··············································································· 7
4 PMC SPECIFICATIONS ································································································· 10
4.1 SPECIFICATIONS ··········································································································· 10
4.1.1 Basic Specifications ································································································· 10
4.1.2 Total Ladder Steps of Multi-path PMC ······································································· 14
4.1.3 Determination of PMC Memory Type ········································································· 15
4.1.4 Program Capacity ··································································································· 16
4.1.5 Used Memory Size of Sequence Program ···································································· 17
4.1.6 PMC Addresses ······································································································· 19
4.1.7 Basic Instructions ··································································································· 23
4.1.8 Functional Instructions (Arranged in Sequence of Instruction Group) ····························· 24
4.1.9 Functional Instructions (Arranged in Sequence of SUB No.) ·········································· 32
4.2 PMC SIGNAL ADDRESSES ······························································································ 39
4.2.1 Addresses for Signals Between the PMC and CNC (F, G) ·············································· 39
4.2.2 Addresses of Signals Between the PMC and Machine (X, Y) ·········································· 40
4.2.3 Internal Relay Addresses (R) ···················································································· 41
4.2.4 System Relay Addresses (R9000, Z0) ·········································································· 41
4.2.5 Extra Relay Addresses (E) ························································································ 42
4.2.6 Message Display Addresses (A) ················································································· 42
4.2.7 Timer Addresses (T) ································································································ 43
4.2.8 Counter Addresses (C) ····························································································· 43
4.2.9 Keep Relay Addresses (K) ························································································· 44
4.2.10 System Keep Relay Addresses (K) ·············································································· 44
4.2.11 Data Table Addresses (D) ························································································· 45
4.2.12 Addresses for Multi-path PMC Interface (M, N) ··························································· 46
4.2.13 Subprogram Number Addresses (P) ··········································································· 46
4.2.14 Label Number Addresses (L) ····················································································· 47
4.3 PMC PARAMETERS········································································································ 48
4.3.1 PMC Parameter Format ··························································································· 48
4.4 PARAMETERS FOR THE PMC SYSTEM············································································· 53
4.4.1 CNC Parameters Related to the PMCs ······································································· 53
4.5 COMPATIBILITY BETWEEN PMC MEMORY TYPE ······························································· 66
4.5.1 Compatibility between PMC Memory-D and PMC Memory-E ········································ 66
4.6 COMPATIBILITY WITH CONVENTIONAL MODELS ······························································ 67
(4) Expansion of PMC PROGRAM NO. and EDITION NO. of title data.
At title data, PMC PROGRAM NO. has been expanded to 8 characters from 4 characters, and EDITION
NO. has been expanded to 8 characters from 2 characters.
About this function, refer to the following chapter.
● 9. PMC CONFIGURATION DATA SETTING SCREEN ([PMC CONFIG])
(4) Expansion of “PMC PROGRAM NO.” and “EDITION NO.” of title data.
Same as ‘(3) Addition of PID control instruction’.
NOTE
To enable the ladder dividing management function, set 1 to the NC parameter
11931#5. For details, refer to “2.4.3”
In the following example, F/G0 to F/G767 and F/G1000 to F/G1767 of the CNC are assigned to F/G0 to
F/G767 and F/G1000 to F/G1767 of the first PMC, and F/G2000 to F/G2767 of the CNC are assigned to
F/G0 to F/G767 of the second PMC:
NOTE
1 This PMC is used for Dual Check Safety function (option) and handles the safety
related signals.
2 PMC Memory Type-E is enabled only on a special series of CNC software.
3 The Step Sequence is available in the main ladder of 1st PMC.
4 A program can be created on level 3 to maintain source-level compatibility with
programs for other models, but it is not executed.
For the multi-path PMC system, you can specify a ladder step option by the total step of all of PMCs.
Table 4.1.2 (a) Ladder step options of 30i/31i/32i/35i-B, Power Motion i-A, 0i-F PMC
Option name Specification Maximum ladder size
PMC Ladder Function 24,000 Steps Basic 102 KB
PMC Ladder Function 32,000 Steps H990#32K 136 KB
PMC Ladder Function 64,000 Steps H990#64K 272 KB
PMC Ladder Function 100,000 Steps H990#100K 425 KB
PMC Ladder Function 300,000 Steps (Note) H990#300K 1,275 KB
NOTE
The option is not supported for the Series 0i-F.
For the details of the PMC memory type, refer to subsection “2.1.1”. As for the CNC parameter for the PMC
memory type, refer to subsection “2.4.3”.
The following is the selectable PMC memory types in each PMC path.
NOTE
PMC Memory Type-E is enabled only on a special series of CNC software.
Table 4.1.3 (a) Data table number of each PMC memory type
PMC memory type Data Table Basic nonvolatile area
PMC memory-A 3,000 bytes 3,000 bytes
PMC memory-B 10,000 bytes 10,000 bytes
PMC memory-C 20,000 bytes 20,000 bytes (In case of using one path of PMC-memory C)
10,000 bytes (In case of using two or more paths of PMC-memory C)
PMC memory-D 60,000 bytes 10,000 bytes
PMC memory-E
NOTE
To use two or more paths of PMC memory-C or one path of PMC memory-D or E,
specify the option “Nonvolatile PMC data table area expansion (40KB)”. If this
option is not specified, the data at D10000 and subsequent addresses is not
saved.
All of the memory size, to which save the sequence program and multi-language PMC message data for all
PMC paths, is specified as the combination of the following two options. The size of each data is calculated
per 128KB.
Minimum unit of the size of divided ladder program is also 128KB. You can make up to 40(Note1) programs
of main ladder and divided ladder within specified total memory size.
(1) PMC Ladder step option (30i/31i/32i/35i-B, Power Motion i-A, 0i-F PMC)
Option name Memory size
PMC Ladder Function 24,000 Steps (Basic) 256 KB
PMC Ladder Function 32,000 Steps 384 KB
PMC Ladder Function 64,000 Steps 768 KB
PMC Ladder Function 100,000 Steps 1 MB (1,024 KB)
PMC Ladder Function 300,000 Steps (Note2) 3 MB (3,072 KB)
(2) PMC Ladder step option (0i-F PMC/L)
Option name Memory size
PMC Ladder Function 5,000 Steps (Basic) 128 KB
PMC Ladder Function 8,000 Steps 128 KB
PMC Ladder Function 24,000 Steps 256 KB
(3) PMC Symbol, Comment and Message capacity expansion option (30i/31i/32i/35i-B, Power Motion i-A,
0i-F PMC)
Option name Memory size
PMC Symbol, Comment and Message capacity expansion (512KB) 512 KB
PMC Symbol, Comment and Message capacity expansion (1MB) 1MB (1,024 KB)
PMC Symbol, Comment and Message capacity expansion (2MB) (Note2) 2MB (2,048 KB)
(4) PMC Symbol, Comment and Message capacity expansion option (0i-F PMC/L)
Option name Memory size
PMC Symbol, Comment and Message capacity expansion (512KB) 512 KB
CAUTION
When using 0i-F PMC/L, create message data in sequence program and
message data for multi-language display, so that total size of those data
becomes less than 128KB. If total size exceeds 128KB, PMC alarm "ER59
MESSAGE DATA SIZE OVER" occurs, and the sequence program does not
start.
NOTE
1 Up to 16 programs are available for 0i-F PMC. And, up to 6 programs are
available for 0i-F PMC/L.
2 These options are not supported by the Series 0i-F.
The following table lists the memory capacity used by sequence programs. When creating the sequence
programs, keep their total size within this memory capacity.
Table 4.1.6 (a) PMC Address list(30i/31i/32i/35i-B, Power Motion i-A, 0i-F PMC) (1)
1st to 5th path PMC
PMC Memory-D
Signals Symbol
PMC Memory-A PMC Memory-B PMC Memory-C PMC Memory-E
(Note 2)
Input signal to the PMC X X0 ~ X127 X0 ~ X127 X0 ~ X127 X0 ~ X127
from the machine X200 ~ X327 X200 ~ X327 X200 ~ X327 X200 ~ X327
X400 ~ X527 X400 ~ X527 X400 ~ X527 X400 ~ X527
X600 ~ X727 X600 ~ X727 X600 ~ X727 X600 ~ X727
X1000 ~ X1127 X1000 ~ X1127 X1000 ~ X1127 X1000 ~ X1127
(Note 3) (Note 3) (Note 3) (Note 3)
Output signal from the Y Y0 ~ Y127 Y0 ~ Y127 Y0 ~ Y127 Y0 ~ Y127
PMC to the machine Y200 ~ Y327 Y200 ~ Y327 Y200 ~ Y327 Y200 ~ Y327
Y400 ~ Y527 Y400 ~ Y527 Y400 ~ Y527 Y400 ~ Y527
Y600 ~ Y727 Y600 ~ Y727 Y600 ~ Y727 Y600 ~ Y727
Y1000 ~ Y1127 Y1000 ~ Y1127 Y1000 ~ Y1127 Y1000 ~ Y1127
(Note 3) (Note 3) (Note 3) (Note 3)
Input signal to the PMC F F0 ~ F767 F0 ~ F767 F0 ~ F767 F0 ~ F767
from the CNC F1000 ~ F1767 F1000 ~ F1767 F1000 ~ F1767 F1000 ~ F1767
F2000 ~ F2767 F2000 ~ F2767 F2000 ~ F2767 F2000 ~ F2767
F3000 ~ F3767 F3000 ~ F3767 F3000 ~ F3767 F3000 ~ F3767
F4000 ~ F4767 F4000 ~ F4767 F4000 ~ F4767 F4000 ~ F4767
F5000 ~ F5767 F5000 ~ F5767 F5000 ~ F5767 F5000 ~ F5767
F6000 ~ F6767 F6000 ~ F6767 F6000 ~ F6767 F6000 ~ F6767
F7000 ~ F7767 F7000 ~ F7767 F7000 ~ F7767 F7000 ~ F7767
F8000 ~ F8767 F8000 ~ F8767 F8000 ~ F8767 F8000 ~ F8767
F9000 ~ F9767 F9000 ~ F9767 F9000 ~ F9767 F9000 ~ F9767
Below is only for
PMC Memory-E
F10000 ~ F10767
F11000 ~ F11767
F12000 ~ F12767
F13000 ~ F13767
F14000 ~ F14767
8 To save all area of the data table, the “Nonvolatile PMC data table area expansion
(40KB)” option may be necessary. See “2.1.3 Determination of PMC Memory
Type” for details.
Required memory
Instruction name 1st to 5th path PMC 0i-F PMC/L DCSPMC (Note)
size
RD 4 bytes
RD.NOT 4 bytes
WRT 4 bytes
WRT.NOT 4 bytes
AND 4 bytes
AND.NOT 4 bytes
OR 4 bytes
OR.NOT 4 bytes
RD.STK 4 bytes
RD.NOT.STK 4 bytes
AND.STK 4 bytes
OR.STK 4 bytes
SET 4 bytes
RST 4 bytes
RDPT 12 bytes ● ● ●
ANDPT 12 bytes ● ● ●
ORPT 12 bytes ● ● ●
RDPT.STK 12 bytes ● ● ●
RDNT 12 bytes ● ● ●
ANDNT 12 bytes ● ● ●
ORNT 12 bytes ● ● ●
RDNT.STK 12 bytes ● ● ●
PUSH 4 bytes ● ● ●
POP 4 bytes ● ● ●
(: Usable. ●: The Extended PMC Ladder Instruction Function. ×: Unusable.)
NOTE
This PMC is used for Dual Check Safety function (option). See “Dual Check
Safety Connection Manual” of each CNC series for details.
Table 4.1.8 (a) Functional instruction list (arranged in sequence of instruction group) (1)
Required
1st to DCS
Instruction Instruction SUB memory 0i-F
Processing 5th PMC
group name No. size PMC/L
PMC (Note1)
(byte)
Timer 1 TMR 3 On-delay timer 8
2 TMRB 24 Fixed on-delay timer 12
3 TMRBF 77 Fixed off-delay timer 12
4 TMRC 54 On-delay timer 16
5 TMRST 221 Stop watch timer (1 ms accuracy) 20 ● ● ●
6 TMRSS 222 Stop watch timer (1 sec accuracy) 20 ● ● ●
Counter 1 CTR 5 Counter processing 8
2 CTRB 56 Counter processing 12
3 CTRC 55 Counter processing 12
4 CTRD 223 Counter processing (4 byte length) 12 ● ● ●
Data 1 MOVB 43 1-byte transfer 12
transfer 2 MOVW 44 2-byte transfer 12
3 MOVD 47 4-byte transfer 12
4 MOVN 45 Transfer of arbitrary number of bytes 16
5 MOVE 8 Data transfer after logical product 20
6 MOVOR 28 Data transfer after logical sum 16
7 XMOVB 35 Index modification binary data transfer 24
8 XMOV 18 Index modification data transfer 20
9 MOVBT 224 Bit transfer 24 ● ● ●
10 SETNB 225 Data setting (1 byte length) 20 ● ● ●
11 SETNW 226 Data setting (2 byte length) 20 ● ● ●
12 SETND 227 Data setting (4 byte length) 20 ● ● ●
13 XCHGB 228 Data exchange (1 byte length) 12 ● ● ●
14 XCHGW 229 Data exchange (2 byte length) 12 ● ● ●
15 XCHGD 230 Data exchange (4 byte length) 12 ● ● ●
16 SWAPW 231 Data swap (2 byte length) 16 ● ● ●
17 SWAPD 232 Data swap (4 byte length) 16 ● ● ●
18 DSCHB 34 Binary data search 24
19 DSCH 17 Data search 20
(: Usable, ●: The Extended PMC Ladder Instruction Function, ∆: Executed as NOP instruction (Note 2), ×: Unusable.)
Table 4.1.9 (a) Functional instruction list (arranged in sequence of SUB No.) (1)
Required 1st to DCS
Instruction SUB 0i-F
Processing memory 5th PMC
name No. PMC/L
size (byte) PMC (Note1)
END1 1 End of first-level program 4
END2 2 End of second-level program 4
TMR 3 Timer processing 8
DEC 4 Decoding 12
CTR 5 Counter processing 8
ROT 6 Rotation control 20
COD 7 Code conversion 16+n
(Note5)
MOVE 8 Data transfer after logical product 20
COM 9 Common line control 8
JMP 10 Jump 12
PARI 11 Parity check 8
DCNV 14 Data conversion 12
COMP 15 Comparison 16
COIN 16 Coincidence check 16
DSCH 17 Data search 20
XMOV 18 Index modification data transfer 20
ADD 19 Addition 20
SUB 20 Subtraction 20
MUL 21 Multiplication 20
DIV 22 Division 20
NUME 23 Constant definition 12
TMRB 24 Fixed-timer processing 12
DECB 25 Binary decoding 20
ROTB 26 Binary rotation control 24
CODB 27 Binary code conversion 20+n
(Note5)
MOVOR 28 Data transfer after logical sum 16
COME 29 End of common line control 4
JMPE 30 End of jump 4
DCNVB 31 Extended data conversion 16
COMPB 32 Binary comparison 20
SFT 33 Shift register 8
DSCHB 34 Binary data search 24
XMOVB 35 Index modification binary data transfer 24
ADDB 36 Binary addition 20
SUBB 37 Binary subtraction 20
MULB 38 Binary multiplication 20
DIVB 39 Binary division 20
(: Usable, ●: The Extended PMC Ladder Instruction Function, ∆: Executed as NOP instruction (Note 2), ×: Unusable.)
4.2.1 Addresses for Signals Between the PMC and CNC (F, G)
Change “2.2.1 Addresses for Signals Between the PMC and CNC (F, G)” as follows.
These addresses are interface areas between PMC and CNC. Refer to the applicable CNC connection manual
for details.
NOTE
1 See "I/O Link input/output addresses" in subsection "2.4.3" for details.
2 See subsection "3.3.6" for details.
3 X/Y addresses can be also used for network devices. As for details, refer to “The
input/output address used by network device” in subsection "2.4.3".
NOTE
This address is not synchronized in the 2nd level ladder. A value of a signal in
this address may change during the execution of 2nd level ladder same as 1st
and 3rd level ladder when it is written by other program (Ex. Network function, C
language executor).
These addresses are a system information area. The area cannot be written from sequence programs.
NOTE
1 The address conversion of the System Relays is necessary when a Sequence
Program is changed between PMC Memory-A/B and PMC Memory-C/D/E.
These addresses are a work area used in sequence programs. When using the multi-path PMC function, the
area becomes a common memory. The same value can be read and written in sequence programs of each
PMC path.
Extra relays can be used in the same manner as for internal relays.
Signals that interface with other control units can be assigned to these bytes over the FA network. It can also
be used as the interface with the C language executor and FOCAS2 functions.
Turning on the power clears this area to 0. (Note2)
NOTE
1 These addresses are not synchronized in the 2nd level ladder. A value of a signal
in these addresses may change during the execution of 2nd level ladder same as
1st and 3rd level ladder when it is written in other program (Ex. Network function,
C language executor).
2 The extra relay addresses (E) can be optionally configured as nonvolatile.
When they are nonvolatile, turning off the power does not erase the memory
contents. (exclude 0i-F PMC/L)
These addresses are areas used for requesting a message display and outputting a message status.
See descriptions about the DISPB functional instruction in Chapter 4 for explanations about how to use this
area.
Turning on the power clears this area to 0.
These addresses are areas for setting values and the precision of variable timers (the TMR instruction).
The memory contents are kept even if turning off the power.
These addresses are areas used for variable counters (the CTR instruction) and fixed counters (the CTRB
instruction).
The memory contents are kept even if turning off the power.
These addresses are a work area in which data are kept even if turning the power off.
These addresses are work areas in which data are kept even if turning the power off.
PMC sequence control sometimes requires a sizable amount of numeric data (hereinafter referred to as data
table). If the contents of a data table can be set or read freely, they can be used as various PMC sequence
control data, such as tool numbers of tools on the ATC magazine.
Each table can have an arbitrary size as long as it fits the data table memory, and 1-, 2-, and 4-byte binary and
BCD data can be used for each table separately; so it is possible to configure efficient, easy-to-use tables.
Data in a data table can be set or displayed on the DATA TABLE screen.
Data set in data tables can also be easily read and written with the sequence program using functional
instructions such as data search (DSCHB) and index modification data transfer (XMOVB).
The following table lists the number of bytes that can be used.
Signals that interface with other control units can be assigned to these bytes over the FA network. It can also
be used as the interface with the C language executor and FOCAS2 functions.
NOTE
These addresses are not synchronized in the 2nd level ladder. A value of a signal
in these addresses may change during the execution of 2nd level ladder same as
1st and 3rd level ladder when it is written in other program (Ex. Network function,
C language executor).
NOTE
The basic nonvolatile area is 10,000bytes. To make a nonvolatile area of D10000
or more, you should specify the option “Nonvolatile PMC Data Table Area
Expansion (40KB)”. Refer to subsection “2.1.3” for details.
NOTE
These interfaces cannot be used in 4th and 5th path PMC.
These addresses are label number for specifying the label (LBL instruction).
The label number is used in the JMPB and JMPC instructions and jumps to applied LBL instruction.
The same label number can be specified for different instructions as long as the instructions are not within the
same program unit (main program or subprogram).
This subsection describes the format used in outputting the contents of the PMC parameter to an external
device. As for the operation of output, refer to section 7 “sequence program and PMC parameter I/O”.
[Format]
%
(PMC = xxx, MSID = n)
[Data Contents]
N60xxxx or N600xxxx : parameter number
Specify the sum of the timer address (T) offset and 600000 or 6000000. The number in the
following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC 0i-F PMC/L DCSPMC
Memory-A Memory-B Memory-C Memory-D, E
Timer setting value N600000 N600000 N600000 N6000000 N600000 N600000
to to to to to to
N600078 N600498 N600998 N6000998 N600078 N600078
Timer accuracy N609000 N609000 N609000 N6009000 N609000 N609000
to to to to to to
N609078 N609498 N609998 N6009998 N609078 N609078
[Data Contents]
N61xxxx or N610xxxx; parameter number
Specify the sum of the counter address (C) offset and 610000 or 6100000. The number in the
following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC 0i-F PMC/L DCSPMC
Memory-A Memory-B Memory-C Memory-D, E
Variable counter N610000 N610000 N610000 N6100000 N610000 N610000
(CTR) to to to to to to
N610078 N610398 N610798 N6101198 N610078 N610078
Fixed counter N615000 N615000 N615000 N6105000 N615000 N615000
(CTRB) to to to to to to
N615038 N615198 N615398 N6105598 N615038 N615038
[Data Contents]
N62xxxx or N620xxxx Parameter number
Specify the sum of the keep relay address (K) offset and 620000 or 6200000. The number in
the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC 0i-F PMC/L DCSPMC
Memory-A Memory-B Memory-C Memory-D, E
User area N620000 N620000 N620000 N6200000 N620000 N620000
to to to to to to
N620019 N620099 N620199 N6200299 N620099 N620019
System area N620900 N620900 N620900 N6200900 N620900 N620900
to to to to to to
N620999 N620999 N620999 N6200999 N620999 N620999
[Data Contents]
[Data Contents]
N64xxxx or N64xxxxx Parameter number
Specify the sum of the data table address (D) offset and 640000 or 6400000. The number in
the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC 0i-F PMC/L DCSPMC
Memory-A Memory-B Memory-C Memory-D, E
Data table N640000 N640000 N640000 N6400000 N640000 N640000
to to to to to to
N642999 N649999 N659999 N6459999 N642999 N642999
[Data Contents]
N69xxxx or N690xxxx Parameter number
Specify the sum of the offset number of the extra relay and 690000 or 6900000. The number
in the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC 0i-F PMC/L DCSPMC
Memory-A Memory-B Memory-C Memory-D, E
Extra relay N690000 N690000 N690000 N6900000 N690000 N690000
to to to to to to
N699999 N699999 N699999 N6909999 N699999 N699999
[Data Contents]
N69xxxx or N690xxxx Parameter Number
Specify the sum of the offset number of the extra relay and 690000 or 6900000. The number
in the following table can be used.
1st to 5th path PMC
PMC PMC PMC PMC 0i-F PMC/L DCSPMC
Memory-A Memory-B Memory-C Memory-D, E
Data table N690000 N690000 N690000 N6900000 N690000 N690000
to to to to to to
N699999 N699999 N699999 N6909999 N699999 N699999
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.
The following table summaries the CNC parameters related to the PMCs.
Table 4.4.1 (a) Summary of the CNC parameters related to the PMC
No. Use Remarks
24 Setting up communication with ladder development tools PMC online connection function
11900 to 11904 Execution sequence for multiple PMCs 1st to 5th path PMC (Note2)
11905 to 11909 Percent execution time for multiple PMCs 1st to 5th path PMC (Note2)
11910 to 11912 I/O Link input/output address Channels 1 to 3 (Note2)
11914 2nd, 3rd level execution cycle of ladder Common to 1st to 5th path PMC
(Note1, Note2)
11915 to 11917 Input/output address of dual assignment of I/O Link Second Block of Channels 1 to 3
channel (Note2)
11920 to 11929 CNC interface control address CNC 10 paths (Note2)
11930 Ladder 1st level execution period Common to 1st to 5th path PMC
(Note2)
11931#0 Run/stop of Ladder 1st to 5th path PMC (Note2)
11931#1 The display number of external alarms/operator External data input, External
messages message
11931#5 Ladder dividing management function Common to 1st to 5th path PMC
11931#7 Clearing of PMC nonvolatile memory
11932 Multi path PMC interface (Note2)
11933#0,#1 I/O Link communication method Channel 1, 2
11933#5 Running/stopping of ladder program when updating
11936 The number of PMC paths (Note2)
11937 to 11939 The input / output address used by network devices 1st to 5th path PMC, X/Y0 to 727
11940 to 11944 PMC Memory Type 1st to 5th path PMC (Note2)
11945 The PMC path that the 1st level execution cycle in 1ms or 1st to 5th path PMC
2ms is applied when using multi-path PMC function. (Note1, Note2)
11946 The divided ladder that the 1st level execution cycle in Divided ladder program 1 to 99
1ms or 2ms is applied when using ladder dividing (Note1, Note2)
management function.
NOTE
1 These parameters are unavailable for 0i-F PMC.
2 These parameters are unavailable for 0i-F PMC/L.
NOTE
1 Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
2 This parameter is unavailable for 0i-F PMC/L.
11905 Percent execution time for the PMC having the first priority in execution sequence
11906 Percent execution time for the PMC having the second priority in execution sequence
11907 Percent execution time for the PMC having the third priority in execution sequence
11908 Percent execution time for the PMC having the fourth priority in execution sequence
11909 Percent execution time for the PMC having the fifth priority in execution sequence
NOTE
1 Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
2 This parameter is unavailable for 0i-F PMC/L.
NOTE
1 Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
2 This parameter is unavailable for 0i-F PMC/L.
NOTE
1 Once this parameter is set, it is necessary to turn off and on the
power.
2 This parameter is unavailable for 0i-F PMC and 0i-F PMC/L.
NOTE
1 Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
2 This parameter is unavailable for 0i-F PMC/L.
NOTE
1 Once any of these parameters is re-set, it is necessary to turn the
power off and on again.
2 This parameter is unavailable on the following composition. In this
case, F/G address of PMC is the same as F/G address of CNC.
● 0i-F PMC/L
● PMC Memory Type-E
Second PMC
Third PMC
If all these parameters are 0, the standard setting is used, that is, “CNC F/G address = 1st
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.
NOTE
1 Once this parameter is re-set, it is necessary to turn the power off
and on again.
2 This parameter is unavailable for 0i-F PMC/L.
Setting Meaning
1 (Note2,3) Executed at a 1ms cycle.
2 (Note2,3) Executed at a 2ms cycle.
4 Executed at a 4-msec interval.
0, 8 Executed at an 8-msec interval.
NOTE
1 The level 1 execution period cannot be set for each PMC path
independently.
2 Refer to “1.8” when this parameter is set to a value “1” or “2”.
3 These values are unavailable for 0i-F PMC.
CAUTION
1 Setting this parameter to an unsupported value results in the PMC
alarm “ER55 LEVEL1 EXECUTION CYCLE ERROR”, and all PMCs
are not executed.
NOTE
1 Once this parameter is re-set, it is necessary to turn the power off
and on again.
2 When using the Common PMC Memory mode, those programs are
started or stopped together regardless of this parameter.
3 This parameter is unavailable for 0i-F PMC/L.
NOTE
1 Once this parameter is re-set, it is necessary to turn the power off
and on again.
2 This parameter is unavailable for 0i-F PMC/L.
NOTE
Once these parameters are re-set, it is necessary to turn the power
off and on again.
NOTE
1 When you set the channel to “use I/O Link”, set the parameter
no.11910 to 11912, also.
2 On 0i-F PMC and 0i-F PMC/L, the default value of these
parameters is “1”.
3 The parameter C2T(No.11933#1) is unavailable for 0i-F PMC/L.
NOTE
1 Once this parameter is re-set, it is necessary to turn the power off
and on again.
2 This parameter is unavailable for 0i-F PMC/L.
NOTE
1 Once these parameters are set, it is necessary to turn off and on the power.
2 For 0i-F PMC, P11 and P12 and P21 and P22 and P31 and P32(No.11937#0, #1,
#4, #5, No.11938#0, #1) are available only.
3 For 0i-F PMC/L, P11(No.11937#0) is available only.
4 This parameter should be set only for the X /Y address area to which the network
device is assigned, because this parameter may affect the ladder execution
performance.
5 Network devices cannot be assigned to the X/Y address area to which any I/O
Link and I/O Link i are assigned.
6 In case of using I/O Link i, assign network devices to the X/Y address area to
which any I/O Link i devices are not assigned, then set this parameter for
corresponding area.
7 In case of using I/O Link and the parameter No.11910-11912 are set to 0 (default
setting), I/O Link devices are assigned to X0-X127/Y0-Y127,
X200-X327/Y200-Y327 and X400-X527/Y400-Y527 area of 1st PMC path. In this
case for 1st PMC path, network devices can only be assigned to
X600-X727/Y600-Y727 area.
If all parameters are not set to 0, network devices can be assigned to the X/Y
address area to which any I/O Link channels are not assigned, and set this
parameter for corresponding area accordingly.
Example) When I/O Link channel 1 is assigned to X0-X127/Y0-Y127 of 1st PMC
path, and network device can be assigned to X200-327/Y200-327,
set the parameter No.11910=100, No.11911=0, No.11912=0, No.11937#1=1.
NOTE
1 Once this parameters is re-set, it is necessary to turn the power off
and on again.
2 This parameter is unavailable for 0i-F PMC/L.
Select a PMC Memory Type of each PMC path. Refer to “Table 2.1.1 Basic specification of
each PMC Memory Type” for details of each PMC Memory Type.
Setting Meaning
0 Use standard setting of PMC Memory Type.
1 Use PMC Memory-A.
2 Use PMC Memory-B.
3 Use PMC Memory-C.
4 Use PMC Memory-D.
5 Use PMC Memory-E.(Note1)
-1 The 2nd to 5th paths PMC share the PMC Memory with 1st path PMC.
The following is the selectable PMC memory types in each PMC path.
NOTE
1 PMC Memory Type-E is enabled only on a special series of CNC
software.
2 To use all data table area as nonvolatile memory with PMC
Memory-C/D/E, specify the option “Nonvolatile PMC data table area
expansion (40KB)”. If this option does not be specified, the
expanded data table area (D10000 or more) does not keep the
memory after rebooting CNC.
11945 The PMC path that the 1st level execution cycle in 1ms or 2ms is applied
when using multi-path PMC function
NOTE
1 Once this parameter is set, it is necessary to turn off and on the
power.
2 This parameter is unavailable for 0i-F PMC and 0i-F PMC/L..
The divided ladder that the 1st level execution cycle in 1ms or 2ms is applied when
using ladder dividing management function
11946 The divided ladder that the 1st level execution cycle in 1ms or 2ms is applied
when using ladder dividing management function
NOTE
1 Once this parameter is set, it is necessary to turn off and on the
power.
2 This parameter is unavailable for 0i-F PMC and 0i-F PMC/L..
The sequence program for the PMC Memory-E has highly compatibility of the source program with the one
for the PMC Memory-D.
You can convert a sequence program for the PMC Memory-D to one for the PMC Memory-E by using the
conversion function of FANUC LADDER-III.
WARNING
A little difference of execution timing may exist between PMC Memory Types.
Therefore, you should check again whether the program works correctly after
changing the PMC Memory Types even if the program worked fine before
changing the PMC Memory Type.
Kind of data File name of 0i/0i Mate-D PMC/L File name of 0i-F PMC/L
Sequence program PMC1_LAD.xxx PMC1.xxx
Message data for multi-language PMC1_MSG.xxx M1PMCMSG.xxx
display
There are two communication methods for the high-speed serial interface which transmits input/output
signals between the PMC and I/O devices. They are the FANUC I/O Link i and the FANUC I/O Link.
You can use up to three channels for the serial interface. The communication method for channel 1 and
channel 2 can be specified by the CNC parameter. The channel 3 can be used only for the I/O Link.
For the details of the setting of the CNC parameter, see subsection “2.4.3”.
CNC
I/O Link i
Switched by CNC parameter
Channel 1
11933#0
I/O Link
I/O Link i
Channel 2 Switched by CNC parameter
11933#1
I/O Link
The maximum I/O points of the I/O Link i are 2048 poins/2048 points for each channel. The maximum I/O
points of the I/O Link are 1024 points/1024 points for each channel. The maximum I/O points for a PMC
system are 4096 points/4096 points (0i-F: 2048 points/2048 points, 0i-F PMC/L: 1024 points/1024 points).
You can use one or more channels of the I/O Link i and the I/O Link however the total points cannot exceed
the maximum points of the PMC system.
[Example of the selectable case of the I/O Link i and the I/O Link]
Channel 1 Channel 2 Channel 3 Total points (DI / DO)
I/O Link i I/O Link i - 4096 / 4096 (Note1, Note2)
I/O Link i I/O Link I/O Link 4096 / 4096 (Note1, Note2)
I/O Link i I/O Link - 3072 / 3072 (Note1, Note2)
I/O Link I/O Link I/O Link 3072 / 3072 (Note1, Note2)
I/O Link i - - 2048 / 2048 (Note2)
I/O Link I/O Link - 2048 / 2048 (Note2)
I/O Link - I/O Link 2048 / 2048 (Note2)
I/O Link - - 1024 / 1024
For the multi-path PMC, the DI/DO of one channel can be assigned to plural PMC paths efficiently using the
I/O Link i. The connect position of I/O devices can be defined as group/slot number.
As for the transmission cycle of the signals from the I/O Link i, there are two modes of the normal mode
(2msec) and the high-speed mode (0.5msec). You can specify the mode for each group of I/O devices.
For details, refer to subsection “3.3.3”.
CAUTION
1 For an I/O Link i channel, You should use I/O devices applied to the I/O Link i. Or
for an I/O Link channel, you should use I/O devices applied to the I/O Link. If you
use an inadaptable I/O device, all of I/O devices after the device cannot be
connected.
2 In case of using the dual check safety function, you can build the system by using
only devices of the I/O Link i or only devices of the I/O Link. You cannot build the
system by using both the I/O Link i and the I/O Link. If you use I/O Link, I/O
devices for DCSPMC must be connected to channel 3.
The FANUC I/O Link i is one of the serial interfaces which transmits input/output signals at a high speed
between the PMC and I/O devices.
Available channels are two channels and for each channel, up to 2048 DI points and up to 2048 DO points
can be connected and controlled from the PMC.
As for the transmission cycle of the signals from I/O Link i, there are two modes of the normal mode (2msec)
and the high-speed mode (0.5msec). You can specify the mode for each group of I/O devices.
NOTE
1 You can select a communication method from either the I/O Link i or the I/O Link
for each channel by setting the CNC parameter “Communication method of I/O
Device”. The default setting is the I/O Link mode (0i-F: I/O Link i mode). For
details of the parameter, refer to subsection “2.4.3”. For example, you can use
the channel 1 as the I/O Link i, and the channel 2 as the I/O Link. In this case, the
total I/O points are 3072 points / 3072 points (0i-F: 2048 points / 2048 points, 0i-F
PMC/L: 1024 points /1024 points).
2 You can select an update cycle mode from either the normal mode or the
high-speed mode for each group. You can make use of two modes in one
channel. For details, refer to subsection “3.3.3”.
3 The Inside of “( )” is the specification of dual check safety.
4 If you build the dual check safety system using the I/O Link i, you can make use
of up to 4 groups for DCSPMC. If you use two channels of the I/O Link i, the
maximum number of available groups is 4 groups. For details of the directions for
the dual check safety of I/O Link i, refer to subsection “3.3.7”.
WARNING
This instruction cannot be used in some version of PMC software. Executing this
instruction on the unsupported version of PMC software will raise the warning
“WN58 UNSUPPORTED FUNCTION” on PMC alarm screen, and the ladder
program is executed excluding this instruction.
PID control
The PID control calculates the manipulated value to operate the controlled object from the preset setting
value and the process variable which are measured by sensors and so on. This control method is used for
controlling temperature, pressure, flow rate, and so on. By combining a proportional action (P), an integral
action (I), and a derivative action (D), it calculates the manipulated value to make the process variable agree
with the preset setting value soon and precisely.
+
Preset + 1 +
Manipulated Manipulated
setting ∫ edt Controlled
TI KP value limit value object
value - +
1
de
de TD
1 +ηTD dt
dt
Process
variable Sensor
1 1 de
MV = K P (e + ∫ edt + T )
TI TD de D dt
1+
K D dt
Proportional Integral Derivative action
action action
MV : Manipulated value
e: Deviation
- Positive action Process variable (PV) - Preset setting value (SV)
- Reverse action Preset setting value (SV) - Process variable (PV)
Kp : Proportional gain
TI : Integral time
t: Sampling period
TD : Derivative time
KD : Derivative gain
ACT W1
SUB 460 ○○○○ PID control data address
PID ○○○○ Preset setting value (address or constant)
○○○○ Process variable input address
○○○○ Manipulated value output address
○○○○ Work memory address
ACT ACT2
Functional
SUB 460 ○○○○ instruction
PID ○○○○
○○○○
○○○○
○○○○
ACT
CAUTION
If you change the PID control data while ACT = 1, the operation result may be
incorrect.
NOTE
When the result of PID operation is out of the range of the manipulated value
output address, output the maximum value or the minimum value which can be
stored in the address.
CAUTION
1 If the instruction starts working with the work memory that is not initialized to
“0”, the result of the PID operation will be incorrect.
2 Do not modify the contents of the work memory while the instruction is active.
3 If you change the work memory address by ladder editor, the new work memory
has to be initialized before starting the PID operation. In this case, the PID
operation starts from the initial state.
OUTPUT (W1)
W1=1: The operation works normally.
W1=0: The operation is not executed (ACT=0).
Some of the PID control data is out of range.
Or, the relation of “minimum manipulated value ≥ maximum manipulated value” is not satisfied
when the manipulated value limit is “1”.
Or, invalid data is found in the work memory.
Sampling period
Specify the execution period of the PID operation by 10 ms unit.
Example) The scan time of the ladder program = 16 ms; the sampling period = 50 ms;
Scan time
16ms 16ms 16ms 16ms 16ms 16ms
PID control PID control PID control PID control PID control PID control PID control
execution execution execution execution execution execution execution
Sampling time 0ms 16ms 16+16=32ms 32+16=48ms 48+16=64ms 14+16=30ms 30+16=48ms
64-50=14
Every time the PID control instruction is executed, it adds up each scan time. The PID operation is processed
when the total of scan time reaches the sampling period. The excess of scan time total over the sampling
period will be carried over into the next scan time total.
NOTE
1 The PID operation is processed at the timing of execution of PID control
instruction. Therefore, the processing timing of the operation may have a time lag
up to one scan time of the ladder program.
2 If the scan time of the ladder program is longer than the sampling period, the PID
operation is processed every scan of the ladder.
Example of air-conditioning
Manipulated Preset setting value (SV)
Temperature
value (MV)
Positive action
Preset
setting
value (SV)
Process variable (PV)
Fig.6.1.1 (c) Example of relationship diagram of MV, PV, and SV, and temperature control
Memory card
The memory card, which is used for inputting/outputting the sequence program in the I/O screen, can also be
used to access to the programmer (FANUC LADDER-III).
As for the memory card, you need use the compact flash adapter, which is attached a compact flash card (CF
card) purchased from FANUC.
NOTE
If a CF card other than that purchased from FANUC is used, the operation is not
guaranteed.
For the details, refer to "APPENDIX E" in the "CONNECTION MANUAL (HARDWARE)" of each CNC
series.
USB memory
You can input/output some data to/from a USB memory with a USB port beside a display unit.
CAUTION
1 While the control unit is accessing the USB memory, do not turn off the power to the
control unit or do not remove the USB memory.
2 Close the cover of the USB port when no USB memory is inserted.
NOTE
1 It is not guaranteed that every commercially available USB memory can operate
normally. A USB memory with a security function does not operate. Some
commercially available USB memories may not be designed for the use in an FA
environment.
2 To use the USB slot of iPendant with a PMC screen, set bit 0 (PCM) of parameter
No. 300 to 1 and select MEMORY card to the device.
For the details, refer to section 5.6 in the "CONNECTION MANUAL (HARDWARE)" of each CNC series.
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.
Besides, the following operation is available in the TITLE DATA screen.
Series and edition of PMC system software PMC type and PMC memory type
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 EDIT]
On the PMC CONFIGURATION PARAMETER (PMC MEMORY) screen, you can change the PMC
Memory Type of each PMC path.
The setting is saved to the CNC parameter and becomes effective after rebooting CNC. See the “2.4.3 CNC
Parameters Related to the PMCs” for the details of the CNC parameter.
CAUTION
PMC nonvolatile memory must be initialized after changing PMC Memory Type.
Therefore, make a backup of PMC parameter before changing PMC Memory
Type. See “2.8 BATTERY BACKUP DATA” about the operation of initializing
PMC nonvolatile memory.
NOTE
1 Selectable PMC Memory Type differs for each PMC path. See the “2.1.3
Determination of PMC Memory Type” for the details of selectable types.
2 The soft-key [MEM-E] is displayed only on a special series of CNC software.
Fig. 9.2.1 (b) Soft keys on the PMC CONFIGURATION PARAMETER (PMC MEMORY) screen
In case of using multi-path PMC or ladder dividing management function, you can confirm the information of
main ladder programs or divided ladder programs for all PMC paths installed in CNC system.
In PMC program list screen, you can confirm all main programs and divided programs of all PMC paths.
By selecting a program in the list, displayed program can be switched. PMC program list screen appears by
pressing the [PROG LIST] soft key or pressing the [SWITCH PMC] soft key in each PMC screen.
For maintenance of machines, there are cases where you want to get the information of ladder programs
installed in CNC system. In case of using multi-path PMC or ladder dividing management function, you can
confirm the information on the PMC program list screen. You can get the information of the screen as a
bitmap file. To use this function, however, you can output a text file of the screen information. The text file is
output as “CSV” format. Therefore, you can manage it using application software such as EXCEL on PC.
When pressing this soft key, [EXEC] and [CANCEL] soft keys appear. To output the file, press the [EXEC]
soft key.
You can select output device by the [IO DEVICE] soft key.
NOTE
For view comfort, tabs are inserted in several places. In actual data, however, no tab
is inserted.
Error messages that may be displayed on the PMC LADDER DIAGRAM VIEWER
screen
Message Faulty location/corrective action Contents
NET IS TOO COMPLICATED Divide the net that is not displayed There is a net exceeding the limit
into some smaller nets with FANUC size for displaying on ladder diagram
LADDER-III. monitor screen.