Documente Academic
Documente Profesional
Documente Cultură
2001
General Manager of
Software Laboratory
FANUC PMC-MODEL SA1/SB7 Supplemental Programming Manual (LADDER Language)
1. Communicate this report to:
O
GE Fanuc-N, GE Fanuc-E
FANUC Robotics
CINCINNATI MILACRON
IDE
Person in
Charge
Summary of Change
Group
Name/Outline
Basic Function
New, Add,
Correct,
Delete
Applied Date
Add
February,
2001
Optional
Function
Unit
Maintenance
Parts
Notice
Correction
Another
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
1/144
SUMMARY.............................................................................................................................4
APPLIED SOFTWARE...........................................................................................................4
PMC-SA1/SB7 .......................................................................................................................5
3.1. Specifications of PMC .....................................................................................................5
3.2. PMC Addresses ..............................................................................................................7
3.3. Functional Instructions ....................................................................................................9
3.4. Memory Size of Sequence Program..............................................................................23
3.5. Compatibility with Series 16i/18i/21i-MODEL A(PMC-SB7) ...........................................24
3.6. RUN to STOP Transition Signal, STOP to RUN Transition Signal and RUN Status Signal
(PMC-SB7) ..............................................................................................................................28
4. SCREEN OPERATION FOR PMC-SA1/SB7 .......................................................................32
4.1. Screen Operation for PMC-SA1 ....................................................................................32
4.2. Screen Operation for PMC-SB7 ....................................................................................33
5. SETTING FUNCTION ..........................................................................................................35
5.1. Setting Screen ..............................................................................................................35
5.2. Programmer Protection Function ..................................................................................37
5.3. Example for Setting Parameters ...................................................................................41
6. LADDER DIAGRAM MONITOR (PMC-SB7) ........................................................................43
6.1. LADDER Diagram Monitor Screen ................................................................................45
6.2. Functional Instruction Data Table Viewer Screen..........................................................66
6.3. Program List Viewer Screen..........................................................................................69
7. COLLECTIVE MONITOR FUNCTION (PMC-SB7)...............................................................78
7.1. Calling Screen ..............................................................................................................78
7.2. Screen Configuration ....................................................................................................80
7.3. Screen Operations ........................................................................................................81
7.4. Alarm Message and Countermeasure...........................................................................85
8. LADDER DIAGRAM EDITOR FUNCTION (PMC-SB7) ........................................................86
8.1. Ladder Diagram Editor Screen......................................................................................86
8.2. Screen Configuration ....................................................................................................88
8.3. Screen Operations ........................................................................................................89
8.4. Setting Screen ..............................................................................................................93
8.5. Net Editor Screen..........................................................................................................95
8.6. Structure of valid net ...................................................................................................103
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
2/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
3/144
1. Summary
This document contains specifications of the PMC-MODEL SA1/SB7 for the Series 16i/18i/21iMODEL B and programming method of ladder program. The PMC-SB7 ladder source has upper
compatibility with the PMC-SB6 ladder source for Series 16i/18i/21i-MODEL A. It can be
converted as easy procedure. Please refer to following manual, too.
Manual
FANUC PMC-MODEL PA1/PA3/
SA1/SA2/SA3/SA5/SB/SB2/SB3/SB4/SB5/SB
6/SC/SC3/SC4/NB/NB2/NB6
Ladder Language Programming Manual
Spec.
B-61863E
Reference item
Common Specifications as
PMC-SA1/SB6
(Basic Instructions, Functional
Instructions, PMC window, etc)
Abbr.
PMC-SA1
PMC-SB7
2. Applied Software
The information contained in this document is applicable to the following software.
Software
PMC-SA1 Control software
PMC-SB7 Control software
FAPT LADDER-III*1
Series
406H
406G
Version
01 or later
01 or later
2.0 or later
Note
1
FAPT LADDER-III is required for programming of the PMC-SB7 ladder.
FAPT LADDER and FAPT LADDER-II do not support PMC-SB7.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
4/144
3. PMC-SA1/SB7
3.1. Specifications of PMC
The basic specifications of PMC-SA1/SB7 are as following table.
Series 21i-B
PMC-SA1
Control type
Method of Programming
Ladder Levels
Level 1 Sweep Interval
Basic Instruction Execution
Time
Program Capacity
- Ladder
Ladder
2
8ms
5.0sec/step
Maximum of
Approx. 5,000 step
PMC-SA1
Loader Control
Ladder
2
8ms
5.0sec/step
Series 16i/18i/21i-B
PMC-SB7
Ladder
3
8 ms
0.033sec/step
Maximum of
*1,2
Approx. 64,000step
Maximum of
Approx.
12,000
step
1KB to 128KB
8KB to 64KB
12
48
1KB 8KB 14
69
1,100byte
-
8,500byte
8,000byte
*2
*2
200points (25byte)
200points (25byte)
1,860byte
40points (80byte)
100points
20points (80byte)
20byte
-
1,860byte
40points (80byte)
100points
20points (80byte)
20byte
-
10,000byte
250points (1,000byte, 4byte/point)
500points (Timer number specify)
100points (400byte, 4byte/point)
100points (200byte, 2byte/point)
120 byte
2000
Labels
I/O Link
- Input
9999
Maximum of
1,024 points
Maximum of
1,024 points
Flash ROM
128KB
Maximum of
1,024 points
Maximum of
1,024 points
Flash ROM
128KB
*3
*3
(L)
- Output
Sequence Program Storage
Flash ROM
128KB(16,000steps option or less)
256KB(24,000steps option)
384KB(32,000/40,000steps option)
512KB(48,000steps option)
768KB(64,000steps option)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
5/144
Note
1. This is the number of ladder steps for the program only with basic instructions.
The use of functional instructions may vary the number of ladder steps.
2. These have no limit of size for each. However, the total size of sequence program
(the sum total of ladder, symbols/comments, messages, etc.) never exceed the
storage size of sequence program. The size of them influences the capacity of
others.
3. Maximum of basic input/output points are 1024/1024 points. I/O Link expansion
option extends the maximum to 2048/2048 points.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
6/144
Type of signal
Y
F
Internal relay
E
A
C
Extra relay*7
Message request
Message display state*8
Counter
Keep relay
Variable timer
D
L
P
Date table
Label number
Subprogram number
Control type
Series 16i/18i/21i-B
PMC-SA1
PMC-SB7
X0 to X127
X0 to X127
X200 to X327*1
X1000 to X1127*2
Y0 to Y127
Y0 to Y127
Y200 to Y327*1
Y1000 to Y1127*2
F0 to F255
F0 to F767*3
F1000 to F1767*4
F2000 to F2767*4
F3000 to F3767*5
G0 to G255
G0 to G767*3
G1000 to G1767*4
G2000 to G2767*4
G3000 to G3767*5
R0 to R999
R0 to R7999
R0 to R9099
R9000 to R9499*6
E0 to E7999
A0 to A24
A0 to A249
A9000 to A9249
C0 to C79
C0 to C399
C5000 to C5199*9
K0 to K19
K0 to K99
K900 to K919*10
T0 to T79
T0 to T499
T9000 to T9499*11
D0 to D1859
D0 to D9999
L1 to L9999
P1 to P2000
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
7/144
Note
1 These addresses are used for channel 2 of I/O Link. I/O link expansion option is
necessary.
2 This area is reserved for PMC. I/O can not be assigned in it.
Dont use it in sequence program.
3 This area contains PMC reserve. Actual available addresses depend on the configuration
of CNC system.
4 This area is used for multi path system. It contains PMC reserve. Actual available
addresses depend on the configuration of CNC system.
5 This area is for PMC reserve. Dont use it in sequence program.
6 This area is used for PMC system software as special relay. Please use these according
to the explanation of each address.
7 This area can be used equally as internal relay(R).
These relays (E) are non-volatile type. However, these can be input/output to/from
memory card, etc, as PMC parameter.
8 These addresses are message display state signals that have one-to-one correspondence
to message display request signal. It is impossible to write into these addresses
9 This area is used for counter instruction (CTRB) that requires preset value as fixed
number.
10 This area is used for PMC control software. Please use these signals according to each
explanation.
11 This area is for PMC reserve. Dont use it in sequence program.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
8/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
9/144
Type
PMC-SA1
PMC-SB7
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
X
X*3
O
O*2
O
O
X
X*3
O
O
O
O
O
O
X
O*4
X
X*3
X
X*3
O
O
O
O
X
X*3
X
X*3
X
O
X
O
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
10/144
Type
PMC-SB7
PMC-SB7
X
O
X
O
X
O
X
O
X
O
X
O
X
O
X
O
X
O
O
O
Note
1. These are new functions that are added to PMC-SB7.Refer to following description.
2. These specifications are improved for PMC-SB7.Refer to following description.
3. These are ignored like NOP if these are programmed in ladder. Therefore, you can use
these functions to keep compatibility of your ladder program for several machines. You
must certainly keep ACT=0 in case of some functions that need ACT input.
4. This is effective when you use PMC C language option.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
11/144
PMC-SB7
O
CTRB is used as a counter. Numerical data such as preset values and count values can be
used with binary format. This counter has the following functions to meet various applications.
(a) Preset counter
Preset the count value. If the count reaches this preset value, outputs to show that.
(b) Ring counter
This is the ring counter which is reset to the initial value when the count signal is input after
the count reaches the preset value.
(c) Up/down counter
This is the reversible counter to be used as both up counter and down counter.
(d) Selection of initial value
Either 0 or 1 can be selected as the initial value.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
12/144
(1) Format
CN0
UPDOWN
CTRB
(SUB56)
RST
OOOO.O
Counter
Number
O....O
Preset Value
W1
ACT
Step
number
1
2
3
4
5
6
7
8
RD
RD.STK
RD.STK
RD.STK
SUB
(PRM)
(PRM)
WRT
OOOO.O
OOOO.O
OOOO.O
OOOO.O
56
OOO
O...O
OOOO.O
Remark
CN0
UPDOWN
RST
ACT
CTRB command
Counter Number
Preset Value
W1
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
13/144
0,1,2,3,.......,,n
1,2,3,4.........,n
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
14/144
PMC-SB7
O
(1)Function
The MOVD instruction transfers 4 bytes data from a specified source address to a specified
destination address.
(2)Format
ACT
MOVD
(SUB47)
Transfer
source
address
OOOO.O
Transfer
destinati
on
address
Control condition
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
15/144
PMC-SB7
O
(1) Function
TMRB is used as a fixed on-delay timer.
Time preset in this fixed timer is written to the ROM file together with the sequence program,
so the timer time once set cannot be changed unless the ROM file is exchanged.
(2) Format
ACT
TMRB
(SUB24)
OOOO.O OOOO.O
Timer
Preset
Number
time
OOOO.O
W1
OOOO.O
Control condition
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
16/144
PMC-SB7
O
(1) Function
TMRC is on-delay timer.
The setting time of the timer can be set at any addresses. The switch of between the fixed
timer and the variable timer depends on the address. The number of the timer has no limit if
there are enough space to set the parameters in the area.
(2) Format
ACT
TMRC
(SUB54)
O
Timer
accuracy
OOOO.O
OOOO.O
Time
setting
address
OOOO.O
Time
Register
address
W1
OOOO.O
Control condition
Instruction
RD
SUB
(PRM)
(PRM)
(PRM)
WRT
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
17/144
Margin of error
0
0
0
0
0
0
0
0
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
18/144
3.3.5 DISPB
PMC-SA1
O
PMC-SB7
O
(1) Function
This instruction displays messages on CNC screen. You can also specify the message number
to generate an alarm in the CNC. This instruction supports special functions (numerical data
display and Chinese character display in addition to the same basic functions as those of the
message display instruction (DISP).
You can program up to 2000(PMC-SA1:200) messages. You must use the special message
addresses in your program to simplify use of the messages. The following are the features of
this function.
(a)In the program you define the total number of messages to use in DISPB and set ACT to 1. It
does not matter if ACT is already set to 1. If, however, ACT is set to 0, DISPB is never
performed. When ATC is set to 1, messages are displayed according to the contents of the
message display request memory (address A) and the message data table. When multiple
messages are requested simultaneously, all the messages may not be displayed. The display
of messages depends on the number of messages which can be displayed in CNC screen.
In PMC-SB7, the status of the messages which is displayed actually in CNC screen is shown
in the message display status memory. The message display request memory address, the
message display status memory address and the message data table correspond as shown in
Fig 3.3.5.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
19/144
7 6 5 4 3 2 1 0
A0
0 0 0 0 0 0 1 1
A1
0 0 0 0 0 0 0 0
A2
0 0 0 0 0 0 0 0
|
| =============================
|
A249
A000.0
A000.1
==========================
0
A249.7
6
0
0
0
5
0
0
0
4
0
0
0
3
0
0
0
2
0
0
0
1
1
0
0
0
1
0
0
A9000
A9001
A9002
|
|
` `` ` ` ` ` `` ` `` ` ` ` `` `
|
A9249
NC message screen
xxxx:(Message of A000.0)
yyyy:(Message of A000.1)
zzzz:(Message of A249.7)
][
][
][
][
Fig. 3.3.5 Message display request memory, message display status memory and
Message data table in PMC-SB7
(i) Message display request memory
This memory locates at the address A0 to A249 (PMC-SA1: A0 to A24) and has 2000bits
(PMC-SA1: 200bits). Each bit corresponds to a message. When displaying a message on the
NC screen, set the corresponding bit to 1. When erasing the message, set the corresponding
bit to 0.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
20/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
21/144
(2) Format
ACT
DISPB
(SUB 41)
number of
messages
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
22/144
Ladder*2
Symbols/Comments*2
Messages*2
Others
item
Basic instructions
Functional instructions
The parameter of functional
instructions
Symbols/Comments 1 point
1 letter of comment
1 letter of message
System reserve area
used memory*1
4 byte
4 byte
4 byte
24 byte
1 byte*3
1 byte
About 15Kbyte
Note
1 The total size of sequence program (the sum total of ladder, symbols/comments,
message, etc.) never exceed the storage size of sequence program. The size of
them influences the capacity of others.
2 PMC programmer may optimize the location of these objects. So, the reserve
memory of up to 1Kbyte may be added to size of each object.
3 2-byte character has double size.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
23/144
16i/18i/21i-A
SA5
SB5
SB6
F0 to F255
- F511
G0 to G255
- G511
X0 to X127
X200 Y0 to Y127
Y200 K17 to K19
K900 to K909
PMC
address
PMC/CNC
interface(F,G)
PMC/Machine
interface(X,Y)
Keep relay(K)
for system
software
Basic instruction
Functional END3
instruction CTRB
MOVD
DISP
16i/18i/21i-B
SB7
- F767
- G767
Compatible
K900 to K919
Compatible
Not available
Available
Available
Not available
Note)
This list does not contain the addition of reserved area of PMC address.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
24/144
(2) The conversion of ladder from PMC-SA5/SB5/SB6 into PMC-SB7 (source program)
When you want to change ladder from PMC- SA5/SB5/SB6 to PMC-SB7, you can convert
the source program using FAPT LADDER-III. Please refer to following manual for details.
FAPT LADDER-III OPERATORS MANUAL B-66234EN
10.3 CONVERTING SEQUENCE PROGRAM BETWEEN PMC MODELS
The sequence of the conversion is as follows.
i) Convert a source program into the mnemonic file by FAPT LADDER-III.
ii) Change the system parameters in the mnemonic file for PMC-SB7 by text editor.
iii) Create a new source program for PMC-SB7 by FAPT LADDER-III.
If you want to change the model PMC-SA5/SB5/SB6 to model PMC-SB7, change the
item PMC TYPE to PMC-SB7.
If the mnemonic file has insufficient parameters for PMC-SB7, the initial values are
set with conversion for the source program.
The mnemonic file format of the system parameter for PMC-SB7 is as follows.
%@0
2 BINARY
3 NO
4 PMC-SB7
7 150
%
2. Counter type
(BINARY or BCD)
3.Operator panel
(YES or NO)
4. PMC type
7. Ladder execution ratio
(150%)*
Note
The default value is 150. The meaning is described in (7) Addition of LADDER
EXEC in the system parameter (PMC-SB7)
iv) Convert the mnemonic file to the source program and overwrite it on the new source
program for PMC-SB7.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
25/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
26/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
27/144
3.6. RUN to STOP Transition Signal, STOP to RUN Transition Signal and RUN Status
Signal (PMC-SB7)
3.6.1. Overview
(1) "RUN to STOP transition signal" and "STOP to RUN transition signal"
The "RUN to STOP transition signal" and the "STOP to RUN transition signal" for
LADDER program execution are to handle these events in a LADDER program.
(2) "RUN status signal"
RUN status signal" is to notify the status of LADDER and PMC C program execution to
other systems or programs, such a network board, C executor program, FOCAS1
Ethernet or HSSB library etc.
3.6.2. Address
7
R9015
R9015.0:STOP to RUN transition signal
(LADDER program use only)
R9015.1:RUN to STOP transition signal
(LADDER program use only)
7
R9091
R9091.2:RUN status signal
0 : LADDER is stopping.
1 : LADDER is running.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
28/144
3.6.3. Behavior
LADDER execution
RUN
STOP
R9015.0
STOP to RUN signal
1
0
R9015.1
RUN to STOP signal
1
0
R9091.2
RUN status signal
1
0
One Scan
of LADDER
(1)
One Scan
of LADDER
Referring this signal in a LADDER program, you can recognize and handle a "STOP to
RUN" transition event. You can program a pre-processing for LADDER execution.
Note
This signal is available only in LADDER program. Don't refer this signal on other
systems or programs, such a network board, C executor program, FOCAS1 Ethernet or
HSSB liberally etc. because this signal has individual status in each LADDER
execution level.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
29/144
Referring this signal in a LADDER program, you can recognize and handle a "RUN to
STOP" transition event. You can program a post-processing for LADDER execution (i.e.
pre-processing for stopping of LADDER execution). For example, set or reset any
appropriate signals into certain condition for the safety.
Notes
1. This signal is available only in LADDER program. Don't refer this signal on other systems or
programs, such a network board, C executor program, FOCAS1 Ethernet or HSSB liberally
etc. because this signal has individual status in each LADDER execution level.
2. You can not handle this event using this signal at a power off sequence and system alarm of
CNC in which the execution of LADDER and I/O scanning are completely shut down.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
30/144
R9015.1
SUB65
CALL
Pxxxx
(2) Forcing off a specified output signal programmed in 1st level at RUN to STOP transition.
Any input
R9015.1
Any output
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
31/144
[PMCLAD]
[PMCDGN]
[PMCPRM]
TITLE DATA
[STATUS]
SIGNAL STATUS
[ALARM]
ALARM
[TRACE]
SIGNAL TRACE
[IOCHK]
[TIMER]
TIMER
[COUNTR]
COUNTER
[KEEPRL]
KEEP RELAY
[DATA]
[G.DATA]
[SETING]
[RUN]/[STOP]
[EDIT]
DATA TABLE
SETTING
START AND STOP OF SEQUENCE PROGRAM
[TITLE]
[LADDER]
[SYMBOL]
[MESAGE]
[MODULE]
[CROSS]
CROSS REFERENCE
[CLEAR]
[I/O]
PMC PARAMETER
[SYSPRM]
[MONIT]
SYSTEM PARAMETER
[ONLINE]
ONLINE SETTING
PMC-SA1
K18.6
K19.2
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
32/144
[PMCLAD]
[EDIT]
[PMCDGN]
[PMCPRM]
Refer to chapter 7
Refer to chapter 8
TITLE DATA
[STATUS]
SIGNAL STATUS
[ALARM]
ALARM
[TRACE]
SIGNAL TRACE
Refer to chapter 9
[IOCHK]
[TIMER]
TIMER
[COUNTR]
COUNTER
[KEEPRL]
KEEP RELAY
[G.DATA]
[SETING]
[RUN]/[STOP]
DATA TABLE
SETTING SCREEN
Refer to chapter 5
[SYMBOL]
[MESAGE]
[MODULE]
[CROSS]
CROSS REFERENCE
[CLEAR]
[I/O]
PARAMETER
[SYSPRM]
[MONIT]
Refer to chapter 6
[TITLE]
[DATA]
[EDIT]
SYSTEM PARAMETER
[ONLINE]
ONLINE SETTING
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
33/144
PMC-SB7
K901.6
K902.2
K906.5
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
34/144
5. SETTING FUNCTION
5.1. Setting Screen
TRACE START(PMC-SB7:K906.5)
MANUAL(0): Executes the tracing with [EXEC] soft-key.
AUTO (1): Starts the tracing automatically after the power turns on.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
35/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
36/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
37/144
Caution
Set this setting to NO(0) before shipment of the machine. If this setting is left as
YES(1), the operator may stop execution of the ladder program by mistake. If you
want to protect this setting, please make a sequence that always writes 0 in this bit by
your ladder. Or please control the machine to force to translate into safety state by
sequence program using the way described in 3.3 when the ladder stops.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
38/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
39/144
Caution
Set this setting to NO(0) before shipment of the machine. If this setting is left as
YES(1), the operator may stop execution of the ladder program by mistake. If you want
to protect this setting, please make a sequence that always writes 0 in this bit by your
ladder. Or please control the machine to force to translate into safety state by sequence
program using the way described in 3.3 when the ladder stops.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
40/144
NO
NO
NO
NO
Note
Please use the password function of sequence program for particular operator. Please refer
to FAPT LADDER-III operators manual B-66234EN 5.4 PROTECING LADDER
PROGRAMS BY PASSWORD
iii) If you want to allow operator monitoring and editing the sequence program;
NO
PROGRAMMER ENABLE(PMC-SB7:K900.1, PMC-SA1:K17.1)
NO
HIDE PMC PROGRAM(PMC-SB7:K900.0, PMC-SA1:K17.0)
YES
EDIT ENABLE(PMC-SB7:K901.6, PMC-SA1:K18.6)
NO
ALLOW PMC STOP(PMC-SB7:K902.2, PMC-SA1:K19.2)
Note
Please use the password function of sequence program for particular operator. Please
refer to FAPT LADDER-III operators manual B-66234EN 5.4 PROTECING LADDER
PROGRAMS BY PASSWORD.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
41/144
iv) If you want to allow operator monitoring and editing the sequence program which requires
stop of ladder;
NO
PROGRAMMER ENABLE(PMC-SB7:K900.1, PMC-SA1:K17.1)
NO
HIDE PMC PROGRAM(PMC-SB7:K900.0, PMC-SA1:K17.0)
YES
EDIT ENABLE(PMC-SB7:K901.6, PMC-SA1:K18.6)
YES
ALLOW PMC STOP(PMC-SB7:K902.2, PMC-SA1:K19.2)
Note
Please use the password function of sequence program for particular operator. Please
refer to FAPT LADDER-III operators manual B-66234EN 5.4 PROTECING LADDER
PROGRAMS BY PASSWORD.
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.
v) The case that operator who familiar with the machine and the ladder sequence operate all
the PMC programmer functions;
YES
PROGRAMMER ENABLE(PMC-SB7:K900.1, PMC-SA1:K17.1)
NO
HIDE PMC PROGRAM(PMC-SB7:K900.0, PMC-SA1:K17.0)
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.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
42/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
43/144
[PMCLAD]
NOTE 1
Program List
Viewer screen
Monitor
Function
[LIST]
[ZOOM]
[LIST]
[ZOOM]
[SWITCH]
Ladder Diagram
Monitor screen
[<]
Collective Monitor
screen
[SWITCH]
[EDIT]
[LIST]
Editor
Function
Ladder Diagram
Editor screen
[<]
Program List
Editor screen
[ZOOM], [<]
[CREATE], [MODIFY]
Notes
1. When [PMCLAD] soft key is pressed, the screen which was displayed last time among
Ladder Diagram Monitor screen, Collective Monitor screen and Program List Viewer
screen is displayed. When [PMCLAD] soft key is pressed at first time after CNC power is
on, Program List Viewer screen is displayed. Changing the ladder program by I/O function
will also make Program List Viewer screen appears at [PMCLAD] soft key again. See
Program List Viewer screen for more detail.
2. [EDIT] soft key in Ladder Diagram Monitor screen appears only when Programmer
function is enabled. To enable Programmer function, set PROGRAMMER ENABLE to
YES at GENERAL screen of PMC Settings or set keep relay K900.1 to 1. Or, set EDIT
ENABLE to YES or set K901.6 to 1. While Online Monitor function is active, you can not
reach Ladder Diagram Editor screen. To use Ladder Diagram Editor function, you have to
disable Online Monitor function at RS-232C and F-BUS on PARAMETERS FOR
ONLINE MONITOR: choose NOT USE.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
44/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
45/144
Current subprogram
Current position
Range to search
Message line
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
46/144
3
4
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
47/144
(c) Monitor
1 Contacts and coils are displayed in different colors according to the status of the
signal. The status of power flow is not displayed.
2 The contents of address parameters of functional instructions are not shown in
default setting. With the extended functional instruction format, you can see the
contents of the parameters. See Setting Screen for the detail.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
48/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
49/144
6.1.2. Operations
Soft keys of LADDER Diagram Monitor screen on PMC-SB7
Main soft keys of LADDER
Diagram Monitor screen
Program List
Jump to
Top/Bottom
Screen Settings
Pick UP
Search Functional
Instruction
Search next
Search previous
Switch range
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
50/144
searched for.
When cursor is hidden, the net that has the specified net number or contains the
specified address will be shown at the top of the screen.
When cursor is shown, the cursor moves to the relay or the parameter to show
the found address directly.
[WRITE SEARCH] Search Write Coil
Searches for the write coils with the address that entered string means. Any
contacts with the address are ignored.
[FUNC SEARCH] Search Functional Instruction
Searches for the functional instructions by its SUB number or its mnemonic
name such as TMR or END2.
[PICKUP] Taking of ladder net into collective monitor screen
The ladder net which executes the monitor is taken into the collective monitor
screen.
[PREV] Search previous
Repeats to search the same thing backward (upward).
[NEXT] Search next
Repeats to search the same thing forward (downward).
5
6
To enable Programmer function, go to GENERAL screen of PMC Settings, and choose YES at item
PROGRAMMER ENABLE.
2
To deactivate Online Monitor function, go to ONLIEN screen of PMC Settings, and choose NOT
USE at settings of RS-232C and F-BUS (if appears).
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
51/144
Goes to setting screen for LADDER Diagram Monitor screen. You can change
various settings for LADDER Diagram Monitor screen at the screen. Use Return
key [<] to return to LADDER Diagram Monitor screen. See Settings for LADDER
Diagram Monitor section for the detail.
(b) Other operations
1 Cursor move keys, Page change keys
With cursor hidden, you can move diagram in the screen by up/down Cursor move
keys and Page change keys.
Operations of the cursor movement keys when the cursor is not displayed
Upward search
PAGE
PAGE
Scrolling
Downward search
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.
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.
Warnings
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
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
52/144
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.
Notes
1.
Forced I/O function is enabled when RAM WRITE ENABLE setting is set to YES in GENERAL
screen of PMC Settings. If the setting is NO, INPUT key will be just ignored.
2.
Parameters of timer functional instructions, TMR, TMRB, and TMRC, which have special monitor
formats, are not supported by Forced I/O function.
In this case, you can still search the byte address D0 by entering D00. The excess 0 avoids the
conflict with the symbol D0.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
53/144
2
3
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
54/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
55/144
FUNCTION STYLE
Change the shape of functional instructions. There are three options as below. You
have to choose other than COMPACT to show the current values of address
parameters of functional instructions.
COMPACT
Occupies least space in diagram. Monitors of current values of address
parameters are omitted.
WIDE (default)
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.
Display styles of functional instructions
CMPACT
WIDE
TALL
The displays of current values of address parameters change their format according
to each parameter. Refer to the table in Display Format for Parameters for detail.
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).
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
56/144
15 halfsize characters
(7 Japaneselanguage
characters)
2 lines of 15 halfsize
characters each (2 lines
of 7 Japaneselanguage)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
57/144
SHOW CURSOR
Determines whether to show cursor.
YES (default)
Cursor is displayed. Cursor move keys will move the cursor. When the cursor
is placed on bit or byte addresses, the information of the address is displayed at
Additional Information Line. When you search something with the cursor
displayed, the cursor goes directly where it is found.
This option is
recommended for search operation with LADDER program that contains many
large nets.
NO
Cursor is not displayed. Up/down cursor move keys will scroll the contents of
screen directly. When you search something with the cursor hidden, the net,
which contains it, will appear at the top of the screen.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
58/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
59/144
LOCAL
GLOBAL
1
2
3
1
2
3
|
48
49
50
1
Current
Subprogram
19
1
Current
Subprogram
51
|
69
70
|
98
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
60/144
[PREV]
[NEXT]
[PREV]
[NEXT]
Not found
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
61/144
No.
Name
Parameter
Monitor Format
4-digits BCD
Special
4-digits BCD
2-digits BCD
Constant
Constant
4-digits BCD
Special
4-digits BCD
Constant
Constant
4-digits BCD
4-digits BCD
4-digits BCD
4-digits BCD
4-digits BCD
4-digits BCD
Constant
Constant
2-DIGITS BCD
4-digits BCD
4-digits BCD
4-digits BCD
Constant
4-digits BCD
Constant
Constant
2-digits HEX
4-digits BCD
2-digits HEX
4-digits BCD
END2
TMR
DEC
CTR
COD *
MOVE
Monitor Format
Constant
END1
ROT
Parameter
Name
No.
15
16
17
18
19
COMP
COIN
DSCH
XMOV
ADD
COM
Constant
4-digits BCD
10
JMP
Constant
Constant
11
PARI
1-byte binary
4-digits BCD
No monitor
4-digits BCD
DCNV
14
No monitor
4-digits BCD
20
SUB
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
62/144
No.
21
22
Name
MUL
DIV
23
NUME
24
TMRB
25
26
27
28
DECB
ROTB
CODB *
MOVOR
Parameter
Monitor Format
No.
Name
Parameter
Monitor Format
Constant
29
COME
4-digits BCD
30
JMPE
4-digits BCD
4-digits BCD
Constant
No monitor
Constant
No monitor
4-digits BCD
Constant
4-digits BCD
4-digits BCD
Constant
4-digits BCD
31
32
DCNVB
COMPB
Constant or
Variable binary
Variable binary
4-digits HEX
Special
Constant
Constant
Variable binary
Constant
Variable binary
variable binary
Variable binary
Constant
Variable binary
2-digits HEX
Constant
Constant
Variable binary
variable binary
Variable binary
variable binary
Variable binary
variable binary
Variable binary
variable binary
Constant
Constant
Variable binary
Constant
1-byte binary
variable binary
2-digits HEX
2-digits HEX
2-digits HEX
33
34
35
36
SFT
DSCHB
XMOVB
ADDB
3
4
Constant or
Variable binary
Variable binary
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
63/144
No.
37
38
39
40
Name
SUBB
MULB
DIVB
NUMEB
Parameter
Monitor Format
Constant
Variable binary
No.
Parameter
Name
Monitor Format
4-bytes binary
4-bytes binary
47
MOVD
Constant or
48
END3
Variable binary
51
WINDR
2-bytes binary
Variable binary
52
WINDW
2-bytes binary
Constant
Constant
Variable binary
AXCTL
53
8-digits HEX
Constant
Special
Special
2-bytes binary
2-bytes binary
Constant
Special
Constant
Constant or
Variable binary
Variable binary
Constant
Variable binary
Constant or
Variable binary
54
TMRC
55
CTRC
56
CTRB
58
DIFD
Variable binary
Constant
Constant
Constant
Variable HEX
Variable binary
59
EOR
Constant or
41
DISPB*
Constant
42
EXIN*
8-digits HEX
Variable HEX
43
MOVB
1-byte binary
Constant
1-byte binary
Variable HEX
44
MOVW
2-bytes binary
2-bytes binary
Constant
4-bytes binary
4-bytes binary
45
MOVN
60
AND
3
4
Variable HEX
Constant or
Variable HEX
Variable HEX
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
64/144
No.
Parameter
Name
61
OR
62
No.
Name
Parameter
Monitor Format
-
Constant
64
END
Variable HEX
65
CALL
No monitor
Constant or
66
CALLU
No monitor
Variable HEX
68
JMPB
No monitor
Variable HEX
69
LBL
No monitor
Constant
70
NOP
Constant
Variable HEX
71
SP
No monitor
Variable HEX
72
SPE
73
JMPC
NOT
Monitor Format
No monitor
TMR
Displays in Current/Preset format by BCD or binary according to the Counter Type setting in
CTR
LADDER Program.
TMRB
nd
rd
parameter shows preset value, and the 3 parameter shows current value as their
monitor displays.
st
These two monitor displays changes their format according to the 1 parameter as below:
1st Parameter
0
1
2
3
4
5
6
7
TMRC
CNTB
Precision
8 ms
48 ms
1 second
10 seconds
1 minute
1 ms
10ms
100ms
Display Format
by seconds
by seconds
HH:MM:SS
HH:MM:SS
HH:MM:SS
by seconds
by seconds
by seconds
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
65/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
66/144
Number of data
Data length
Data type
Message line
1.
The functional instruction name, the number of data table, data length and data
types are displayed above the Data Table.
2. In the message line, error messages or inquiry messages will be displayed
depending on the situation.
3. In case of functional instruction COD, the data of 6 lines and 14 columns can be
displayed in the area for Data table.
In case of functional instruction CODB, the data of 4 lines and 14 columns can be
displayed in the area for Data table.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
67/144
6.2.2. Operations
Soft keys of Functional Instruction Data Table Viewer screen of functional instruction COD.
Search for
data value
Display
BCD2
Display BCD4
digits
Soft keys of Functional Instruction Data Table Viewer screen of functional instruction CODB.
Search for
data value
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
68/144
Message line
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
69/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
70/144
Title information
(REMARKS)
Message line
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
71/144
In additional information line near the bottom of the screen, the following
information is displayed for the program under the cursor.
program name
symbol, comment
program size
total number of nets
First global net number of the program in the whole Ladder program.
4. In the Program List area, the programs 14 lines and 5 columns can be displayed in
maximum.
(b) Area of Program List
The following items are displayed in Program List area of Program List Viewer screen.
The meanings of these items are the same as the items of Program List Viewer screen
(Detail).
Program type.
Status of protection
Program name or symbol. (See Screen Setting for Program List Viewer screen
section for selecting this item.)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
72/144
6.3.3. Operations
Soft key of Program List Viewer screen
Search for program
Screen Settings
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
73/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
74/144
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
75/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
76/144
It determines whether the frame net in the LADDER Diagram Monitor/Editor screen
are displayed or not, when you selected the program and press [ZOOM] soft key in
the Program List Viewer/Editor screen.
SHOW (default)
The frame net is displayed in the LADDER Diagram Monitor/Editor screen.
HIDE
The frame net is not displayed in the LADDER Diagram Monitor/Editor screen.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
77/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
78/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
79/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
80/144
Switches to Ladder
Diagram Monitor screen.
Delete a net
Screen setting
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
81/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
82/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
83/144
Fig. 7.3(c) Ladder Diagram Viewer screen (Soft key for search)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
84/144
Contents
Specify the address used with write Specified address was not used for the write
coil
coil.
SYMBOL UNDEFINED
Not all the nets of picking up object All nets were not picked up because there
can be picked up. Select the net of were the nets of picking up object more than
picking up on Ladder Diagram 128 nets.
Viewer screen and pick up the net
manually.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
85/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
86/144
Notes
1.You can edit a ladder regardless of whether the ladder is running/stopping. But,
when you are going to execute the edited ladder, it is necessary to update the
ladder. By exiting Ladder Editor screen, or pressing [UPDATE] soft key, update the
edited ladder. As for the protection of the editing operation, please refer to 5.3
Example for setting parameters.
2.If the power is turned off before the edited sequence program is written to flash
ROM, the result of the edit is erased.
Use the input/output screen to write the sequence program to flash ROM. When
K902#0 is set to 1, a confirmation message appears at the termination of editing,
asking whether to write the sequence program to flash ROM.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
87/144
Displayed subprogram
Cursor
Display position
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
88/144
Program List
Edit net
Cut net
Delete net
Abandon changes
Paste net
Copy net
Setting screen
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
89/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
90/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
91/144
Warning
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 reaction of the machine. You have to make it sure that
modifications you make on the ladder program is appropriate, machine is in proper
status, and nobody is near the machine, when you update the ladder program.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
92/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
93/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
94/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
95/144
8.5.1.
Screen configuration
Displayed subprogram
Edit mode
Cursor
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
96/144
width is expanded over screen width, attempt to move cursor out of screen will scroll net
image to the direction. 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.
8.5.2.
Screen operations
Soft keys on the Net Editor screen
A contact
B contact
Inverted coil
Set coil
Functional
instructions
Normal coil
Horizontal
connection
Go to
next net
Right vertical
connection
Delete
Insert line
Append column
Insert column
Abandon changes
Reset coil
Left vertical
connection
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
97/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
98/144
5.
[
],[
] Draw and erase vertical connection
Draw vertical connection line upward from right or left edge of relay or horizontal line
under cursor. Or erase existing vertical lines. If the relay or line under the cursor has no
vertical line upward, these soft keys have solid arrows, and indicate that pressing them
means drawing lines. On the other hand, if a vertical line already exists under the cursor,
arrows in these soft keys become pale ([
],[
]), and indicate that pressing
them means erasing lines.
[
Net 3
Net 4
Editing
Net 2a
Net 1
Net 2a
[NXTNET]
Net 3
Net 4
Editing
Net 3a
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
99/144
Net 1
Net 2
Net 3
Net 4
[CREATE]
Editing
Net A
Net 1
[NXTNET]
Net 2
Editing
Net A
Net 3
Net B
Net 4
:
:
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
100/144
[INSCLM]
[APPCLM]
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
101/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
102/144
Output
section
Input section
Input section
Convergence point
Output section
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
103/144
Input section consists at least one relay or functional instruction, however, output section
may contain nothing.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
104/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
105/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
106/144
8.8.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
107/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
108/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
109/144
You can select Detail viewer format or Brief viewer format on Program List Editor screen.
The default viewer format is Detail viewer format.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
110/144
Screen Settings
Delete a program
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
111/144
under the cursor is deleted. If you entered program name or symbol and press
[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.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
112/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
113/144
- SORT BY
Default : PROGRAM NUMBER
Specifies whether to display each subprograms on Program List Editor screen in order of
program numbers or symbols. When ADDRESS NOTATION is SYMBOL, programs
without symbols are displayed in order of program number after programs with the
symbols. GLOBAL, LEVEL1, LEVEL2, LEVEL3 are out of target of sort.
- PROTECTED PROGRAM
Default : SHOW
Specifies whether to display protected programs. The protected program for this setting
means programs which cannot be edited on Program List Editor screen.
- FRAME NET IN SUBPROGRAM MODE
Default : SHOW
Frame net means functional instruction END1, 2 and 3 on LEVEL1, 2, 3, and functional
instruction SP and SPE on subprogram. This setting specifies whether to display these
frame nets when the contents of a program are displayed by pressing [ZOOM] soft key on
Program List Editor screen.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
114/144
END IN COM
END1 IN COM
END2 IN COM
JMPE IN COM
SP/SPE IN COM
Contents
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
115/144
Alarm number
NO END
NO END1
NO END2
NO END3
DUPLICATE END1
DUPLICATE END2
DUPLICATE END3
GARBAGE AFTER END
GARBAGE AFTER END2
GARBAGE AFTER END3
OVERLAPPED JMP
COME IN JMP
Contents
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
116/144
Alarm number
END IN JMP
END1 IN JMP
END2 IN JMP
END3 IN JMP
SP/SPE IN JMP
Contents
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
117/144
Alarm number
DUPLICATE LBL
OVERLAPPED SP
SPE WITHOUT SP
END IN SP
DUPLICATE P ADDRESS
Contents
JMPC jumps to LBL between COM and
COME.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
118/144
Alarm number
DUPLICATE TMR NUMBER
(WARNING)
NO SUCH SUBPROGRAM
UNAVAILABLE INSTRUCTION
SP IN BAD LEVEL
NO WRITE COIL
CALL/CALLU IN BAD LEVEL
SP IN LEVEL3
Contents
SP is found in level 3.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
119/144
Messages that may be displayed during net editing on PMC program editor screen
Alarm number
SHORT CIRCUIT
Contents
Too many functional instructions are in one
net.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
120/144
Alarm number
NO CONNECTION
Contents
There is signal connected to nowhere.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
121/144
On the trace screen, you can trace specified signals. The result of the trace is displayed as the
time chart of signals. There are two tracing modes.
- Time Cycle mode:
Samples the state of the signals at every specified cycle time.
(Same specification as the signal wave form display for PMCSA5/SB5/SB6)
- Signal Transition mode:
Samples the status of the signals when the signals that are
watched at every specified time are changed.
(Same specification as the trace function for PMCSA5/SB5/SB6)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
122/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
123/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
124/144
c)SAMPLING/ TIME
This parameter is displayed when TIME CYCLE is set on SAMPLING MODE. The
execution time of trace is inputted. The value of SAMPLING RESOLUTION or the
number of specified signal address changes the range of the value that is able to input.
The range is displayed on the right side.
d)SAMPLING/ FRAME
This parameter is displayed when SIGNAL TRANSITION is set on SAMPLING MODE.
The number of sampling is inputted. The value of SAMPLING RESOLUTION or the
number of specified signal addresses changes the range of the value that is able to input.
The range is displayed on the right side.
e)STOP CONDITION
Determines the condition to stop the trace.
- NONE
: Does not stop the tracing automatically.
- BUFFER FULL : Stops the tracing when the buffer becomes full.
- TRIGGER
: Stops the tracing by trigger.
f)STOP CONDITION/ TRIGGER/ ADDRESS
When TRIGGER is set on STOP CONDITION, this parameter is enabled. Input signal
address or symbol name as stop trigger.
g)STOP CONDITION/ TRIGGER/ MODE
When TRIGGER is set on STOP CONDITION, this parameter is enabled. Determine the
trigger mode when the trace is stopped.
- RISING EDGE : Stops the tracing automatically by rising up of the trigger signal.
- FALLING EDGE : Stops the tracing automatically by falling down of the trigger signal.
- BOTH EDGE
: Stops the tracing automatically by rising up or falling down of the
trigger signal.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
125/144
Trigger position
<-- 1sec -><----|
|
-1
9sec
------>
|
9 (SEC)
i)SAMPLING CONDITION
When SIGNAL TRANSITION is set on TRACE MODE, this parameter is enabled.
Determine the sampling condition.
- TRIGGER
: Samples the status of specified signals when the specified sampling
condition is on.
- ANY CHANGE : Samples the status of specified signals when the signals change.
j)SAMPLING CONDITION/ TRIGGER/ ADDRESS
When SIGNAL TRANSITION is set on TRACE MODE, and TRIGGER is set on
SAMPLING CONDITION, this parameter is enabled. Input signal address or symbol
name as sampling trigger.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
126/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
127/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
128/144
In case of inputting discrete bit addresses, any bit address can be inputted. Moreover, when
you input byte address, all bits of the address (bit0-bit7) are set automatically. Maximum 32
points of signal address can be inputted.
Note) 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 COUNT.
b)Soft keys
Soft keys on the Setting screen of sampling address are as follows
- DELETE : Clears the value of the edit box on the cursor.
- SYMBOL : Changes the address display to the symbol display. However, display of the
address that is not defined the symbol does not change. This soft key also
changes to ADDRESS. The following soft keys are displayed.
- MV.UP : Exchanges the signal indicated the cursor for the signal above one line.
- MV.DWN : Exchanges the signal indicated the cursor for the signal below one line.
- DELALL : Clears all of the value of the edit box.
c)Trigger setting
When SIGNAL TRANSITION is set on TRACE MODE and ANY CHANGE is set on
SAMPLING CONDITION, it can be set whether to use the setting address as the signals
that should trigger the sampling in the setting signals. As for the signal address where the
trigger was set, is displayed right. Soft keys on the Trigger setting screen are as
follows
- TRGON
: Sets the Trigger on.
- TRGOFF
: Sets the Trigger off.
The default setting is trigger on for all signals.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
129/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
130/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
131/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
132/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
133/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
134/144
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
135/144
#6
#5
#4
#3
#2
#1
#0
K906
#5
This PMC parameter is set by the following item on the Setting screen of PMC Parameter.
- SIGNAL TRACE START = 0 (0: MANUAL 1: AUTO)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
136/144
Contents
1) Reduce the sequence program. The sequence program exceeds the size
2) Contact FANUC to have a larger specified by the number-of-Ladder-steps
number-of-Ladder-steps option option.
specified.
ER07 NO OPTION(LADDER
STEP)
1) Press and hold down the O and With a change in the PMC type, for
Z key combination, and turn the example, the retention-type memory of the
CNC back on.
PMC must be initialized.
2) Replace the backup battery.
3) Replace the master printed
circuit board.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
137/144
match.)
ER14 OPTION AREA VERSION
ERROR (xxxx)
Display the Ladder edit screen again During Ladder editing, the system was
forcibly switched to the CNC screen with a
and exit from editing by using the
function key.
[<<] key.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
138/144
Reduce the amount of output data in The amount of output data in I/O Link group
group xx.
xx exceeds the limit (33 bytes). The excess
data is nullified.
ER36 TOO MUCH INPUT DATA IN Reduce the amount of input data in
GROUP (xx)
group xx.
ER39 MAX SETTING INPUT DATA Modify the total amount of input data The I/O Link I/O area is insufficient.
OVER (xx)
in each group to 128 bytes or less.
(The allocation of any group after group xx
on the input side is nullified.)
ER40 I/O LINK-II SETTING
ERROR (CHx)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
139/144
To restart a user task that has been When a PMC C board is used, a user task
stopped, stop the sequence program has been stopped due to a break by a
and then execute it again.
debug function.
WN17 NO OPTION(LANGUAGE)
1) Restore
the
backed
up When a PMC C board is used, no PMC C
program option is found.
parameter data.
2) Check the data sheet and reinput the parameters.
3) Contact FANUC to specify a
PMC C program option of the
necessary size.
1) On the PMC system parameter When a PMC C board is used, the PMC
screen, press [ORIGIN].
system parameter, LANGUAGE ORIGIN, is
2) Set the PMC system parameter, invalid.
LANGUGE ORIGIN, to the
address
indicated
by
the
RC_CTLB_INIT in the map file.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
140/144
ERROR
1) Check that the USER GDT When a PMC C board is used, the memory
ADDRESS in the link control area for data, stacks, and others cannot be
statement and the start address reserved.
of the code segment in the build
file are correct.
2) Change the PMC system
parameter, MAX LADDER AREA
SIZE, to a minimum.
3) Change the stack size in the link
control state to a minimum.
1) Check that the address of When a PMC C board is used, link control
RC_CTLNB_INIT is set for the statement (program control) data is invalid.
PMC
system
parameter,
LANGUAGE ORIGIN.
2) Create the link control statement
again.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
141/144
1) On the PMC system parameter When a PMC C board is used, the PMC
screen, click [ORIGIN].
parameter, LANGUAGE ORIGIN, is not set.
2) Set the PMC system parameter,
LANGUGE ORIGIN, to the
address
indicated
by
the
RC_CTLB_INIT in the map file.
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
142/144
Contents
1) Replace the master printed A RAM parity error occurred in the PMC.
aa and bb are internal error codes.
circuit board.
2) If the error recurs even after the
replacement, contact FANUC to
report the status (displayed
message, system configuration,
operation, when the error occurs,
occurrence frequency, etc.) and
the above internal error codes.
PC050 NMI SLC
aa:bb
1) Check that the I/O allocation A communication error occurred in the I/O
data matches the actual I/O LINK.
PC050 I/O LINK(CH1) aa:bb aa:bb
aa, bb and cc are internal error codes.
device connection.
PC050 IOLINK CH1 aaaa2) Check that the cable is If this alarm is generated, probable causes
bbbb:cccc
include the following:
connected properly.
1) Although the base expansion is assigned
3) Check the cable specifications.
when the I/O Unit A is used, the base is
4) Replace the I/O device interface
not connected.
module, cable, master printed
2)
A cable is not connected securely.
circuit board, etc.
3) Cabling is faulty.
4) I/O equipment (I/O unit, Power Mate, etc.)
is faulty.
5) Power failure of Master or Slave device
on I/O Link
6) Short circuit of DO terminal on I/O device
7) The motherboard is faulty.
PC030 RAM PARITY
aa:bb
1) Replace the
circuit board.
master
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
143/144
PC093 INT(SYS)
1) Replace the master printed An interrupt with an unknown cause
occurred in the PMC management software.
xxxxxxxx:yyyyyyyy
circuit board.
PC094 INT(TRAP)
2) If the error recurs even after the
xxxxxxxx:yyyyyyyy
replacement, contact FANUC to
report the status (displayed
PC095 INT(EX) xxxxxxxx:yyyyyyyy
message, system configuration,
PC096 INT(IN) xxxxxxxx:yyyyyyyy
operation, when the error occurs,
occurrence frequency, etc.).
PC087 PARITY ERR (LADDER-2)
PC097 PARITY ERR (LADDER)
PC098 PARITY ERR (DRAM)
Series 16i/18i/21i-MODEL B
PMC-SA1/SB7
Supplemental Programming Manual
(LADDER Language)
01
01.01.31
Nagashima
EDIT
DATE
DESIG.
New registration
DESCRIPTION
DRAW.NO.
B-61863E/13-5
144/144