Fanuc Pmc-Model Sa1/Sb7 Supplemental Programming Manual (LADDER Language)
Fanuc Pmc-Model Sa1/Sb7 Supplemental Programming Manual (LADDER Language)
Fanuc Pmc-Model Sa1/Sb7 Supplemental Programming Manual (LADDER Language)
Summary of Change
New, Add,
Applicable
Group Name/Outline Correct,
Date
Delete
• Compatibility of PMCs for Series 16i/18i/21i-
Basic MODEL A and B
• PMC Parameter Format Add Aug., 2001
Function
Optional
Function
Unit
Maintenance
Parts
Notice
Correction
Another
TITLE
Contents
1 Summary............................................................................................................................................... 3
2 Applied Software .................................................................................................................................. 3
3 Compatibility of PMCs for Series 16i/18i/21i-MODEL A and B ........................................................ 4
4 PMC Parameter Format ...................................................................................................................... 14
TITLE
Other specifications and operations about PMC- SA1/SB7 are described in the following manual.
Manual Spec. Reference item
FANUC PMC-MODEL PA1/PA3/ B-61863E PMC-SA1/SB7
SA1/SA2/SA3/SA5/SB/SB2/SB3/SB4/SB5/SB6/
SC/SC3/SC4/NB/NB2/NB6
Ladder Language Programming Manual
2 Applied Software
The information contained in this document is applicable to the following software.
Software Series Version
PMC-SB7 Control Software 406G 03 or later
PMC-SA1 Control Software 406H 02 or later
TITLE
The following list shows the difference of each PMC models. It is possible to convert ladder for PMC-SA5,
PMC-SB5, and PMC-SB6 into PMC-SB7. As for opposite compatibility, there are some restrictions such
as the range of PMC address. The ladder for PMC-SB7 therefore cannot be converted into other PMC
models.
Note)
This list does not contain the addition of reserved area of PMC address.
TITLE
• 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 2. Counter type (BINARY or BCD)
3 NO 3.Operator panel (YES or NO)
4 PMC-SB7 4. PMC type
7 150 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.
TITLE
The extra relay address (E) is available as PMC address. The PMC parameters for PMC-SB7 contain the E
addresses. When the PMC parameters for PMC-SB7 are input, the E addresses are overwritten.
TITLE
“LADDER EXEC”
“Ladder execution time of level1 and level2” = 5msec x
100
“Ladder execution time of level3” = 7.5msec – “Ladder execution time of level1 and level2”.
For example, in case that “100” is set to the parameter, the ladder execution time of level1 and levle2 is
assigned 5msec in ladder execution cycle(8msec) and the ladder execution time of level3 is assigned
2.5msec.
TITLE
The meanings of the following keep relays are changed for the improvement of the signal trace function.
Keep relay 16i/18i/21i-A 16i/18i/21i-B Applied Software
PMC-SA5/SB5/SB6 PMC-SB7
K900.5/K17.5 Signal trace function Signal trace function for offline 406G/01or later
starts automatically. programmer starts automatically.
K900.6/K17.6 Signal Analysis function Signal analysis function for 406G/01or later
starts automatically. offline programmer starts
automatically.
K906.5 - Signal trace function for 406G/01or later
embedded screen starts
automatically.
The meanings of the following setting parameters/keep relays are changed for the reinforcement of the
programmer protection function.
Keep relay 16i/18i/21i-A 16i/18i/21i-B Applied software
PMC- PMC-SB7
SA1/SA5/SB5/SB6
K900.0/K17.0 Hide ladder program. Hide PMC program 406G/01or later
TITLE
As for the details of the each setting parameter, refer to “V.2. Setting Function”
TITLE
Note
All I/O devices connected with the channel on which this alarm occurs are not linked.
And the sequence program runs regardless of this alarm.
Caution
When the I/O devices are linked on the several abnormal status, for example, a failure of the I/O devices,
a failure of the I/O device’s connection and a change of the setting of the I/O devices by unintentional
operation, there is possibility that the machine may not work normally. If this function is effective, it is
possible to inspect the abnormality of the I/O devices in power on. It is recommended that this setting is
set to initial value (0) to troubleshoot the I/O devices easily.
TITLE
To keep the compatibility of source program according to each PMC model having the different PMC
addresses, it is recommended to use above functions from 5.4 to 5.6.
TITLE
TITLE
NC
Parameter Meaning on 16i/18i/21i-A Meaning on 16i/18i/21i-B
No.24
Disables “RS-232C” and enables “HIGH The settings on the online monitor setting screen
SPEED I/F”. are effective.
0 However, enables “HIGH SPEED I/F” if the
LADDER EDITING PACKAGE or the
Ethernet option exists.
Enables “Channel 1 of RS-232C” and Enables “Channel 1 of RS-232C” and disables
1
disables “HIGH SPEED I/F”. “HIGH SPEED I/F”.
Enables “Channel 2 of RS-232C” and Enables “Channel 2 of RS-232C” and disables
2
disables “HIGH SPEED I/F”. “HIGH SPEED I/F”.
Disables “RS-232C” and enables “HIGH SPEED
I/F”.
10 Reserve (Don’t use this setting.) However, enables “HIGH SPEED I/F” if the
LADDER EDITING PACKAGE or the Ethernet
option exists.
Enables “Channel 1 of RS-232C” and “HIGH Enables “Channel 1 of RS-232C” and “HIGH
11
SPEED I/F”. SPEED I/F”.
Enables “Channel 2 of RS-232C” and “HIGH Enables “Channel 2 of RS-232C” and “HIGH
12
SPEED I/F”. SPEED I/F”.
3∼10
Reserve (Don’t use this setting.) Reserve (Don’t use this setting.)
13∼254
Terminates communication forcibly. Terminates communication forcibly.
255
It is the same effect as soft key [EMG ST]. It is the same effect as soft key [EMG ST].
TITLE
4.1 General
This is the specification for the format to output the PMC nonvolatile parameter to I/O device.
4.2 Format for PMC-MODEL SA1/SA5/SB5/SB6
(1) Timer(T)
[Format]
N60xxx Pnnnnn; Setting value of timer
N: The numbers of timer address plus 60000.
The range:
PMC-SA1/SA5/SB5: N60000 to N60078
PMC-SB6: N60000 to N60298
P: The timer value with decimal numeric. The effective values are from 0 to 32767.
(Example)
N60000 P1; Timer Number 1 T0
N60002 P20; Timer Number 2 T2
……..
N60078 P32767; Timer Number 40 T78
(2) Counter(C)
[Format]
N61xxx Pnnnnn; Counter Reset Value, Counter Current Value
N: The numbers of counter address plus 61000.
The range:
PMC-SA1/SA5/SB5: N61000 to N61078
PMC-SB6: N61000 to N61198
P: The counter value with decimal numeric. The effective values are from 0 to 32767. Counter
Preset value and Counter Current value are output alternately. Binary data are always
output regardless of the setting of BCD format or binary format.
(Example)
TITLE
(Example)
N620000 P00000000; K0
N620001 P11111111; K1
……
N620019 P10101010; K19
(4) Data(D)
(i) Data Table Control
[Format]
N63000 Pnn; Number of Table group (1 to 100)
N63002 Pnnnnnnnn; Parameter of the group 1(Binary format)
N63003 Pn; Data type of the group 1 (0,1,2)
N63004 Pnnnn; Data number in the group 1 (PMC-SA1/SA5: 1 to 1860, PMC-SB5:
1 to 3000, PMC-SB6: 1 to 8000)
N63006 Pnnnn; Top address of the data in the group 1 (PMC-SA1/SA5: 0 to 1859,
PMC-SB5: 0 to 2999, PMC-SB6: 0 to 7999)
N63010 Pnnnnnnnn; Parameter of the group 2(Binary format)
N63011 Pn; Data type of the group 2 (0,1,2)
TITLE
N: The numbers of data table control address plus 63000. The range is from N63000 to
N63800.
P: The values of the data table control.
• Total number of the table group Range: 1 to 100
• Table parameter Range: 00000000 to 11111111
• Data type Range: 0 to 2
• Data number in group Range: PMC-SA1/SA5: 1 to 10000
PMC-SB5: 1 to 3000
PMC-SB6: 1 to 8000
• Top address of data in group Range: 0 to 9999
TITLE
(ii)Data Table
[Format]
N64xxx Pnnnnn;
N: The offset of the Data Table address plus 64000.
The range:
PMC-SA1/SA5: N64000 to N65859
PMC-SB5: N64000 to N66999
PMC-SB6: N64000 to N71999
P: The value of the Data Table address with signed decimal numeric. The ranges of the value
depend on the data type of the Data Table and are from -128 to 127 with the 1-byte type,
from -32768 to 32767 with the 2-byte type, from -2147483648 to 2147483647 with the 4-
byte type.
(Example)
N64000 P-128;
N64001 P100;
N64002 P0;
…….
N64010 P1000;
N64012 P-1;
…….
N64992 P50000000;
N64996 P50000000;
TITLE
(2) Timer(T)
[Format]
N60xxxx Pnnnnn; Setting value of timer
N: The numbers of timer address plus 600000. The ranges are from N600000 to N600498 and
from N609000 to N609498.
P: The timer value with decimal numeric. The effective values from N600000 to N600498 are
from 0 to 32767. The effective values from N609000 to N609498 are from 0 to 5.
(Example)
N600000 P1; Timer Number 1 T0
N600002 P20; Timer Number 2 T2
……
N600498 P32767; Timer Number 250 T498
TITLE
(Example)
N610000 P7; Counter Number 1 C0
N610002 P7; C2
……
N610396 P9999; Counter Number 100 C396
N610398 P0; C398
(Example)
N620000 P00000000; K0
N620001 P11111111; K1
TITLE
TITLE
(Example)
N630000 P2;
N630002 P00000000;
N630003 P0;
N630004 P10;
N630006 P0;
N630010 P00000001;
N630011 P0;
N630012 P10;
N630014 P10;
TITLE
(Example)
N640000 P-128;
N640001 P100;
N640002 P0;
……
N640010 P1000;
N640012 P-1;
……
N649992 P50000000;
N649996 P50000000;
(Example)
N690000 P-128;
N690001 P100;
.......
N697998 P127;
N697999 P0;
%
TITLE
*Note: The meaning of the value with “P” has not been changed.
TITLE