Fanuc PM
Fanuc PM
1 System Configuration....................................................................................................... 3
2 Selection of External Device ............................................................................................ 7
3 Example of Communication Setting ................................................................................. 8
4 Setup Items .................................................................................................................... 11
5 Cable Diagram ............................................................................................................... 14
6 Supported Device........................................................................................................... 22
7 Device Code and Address Code.................................................................................... 25
8 Error Messages.............................................................................................................. 26
1
Power Mate Series Driver
Introduction
This manual describes how to connect the Display and the External Device (target PLC).
In this manual, the connection procedure will be described by following the below sections:
1 System Configuration
)"1 System Configuration" (page 3)
This section shows the types of External
Devices which can be connected and SIO
type.
4 Setup Items
)"4 Setup Items" (page 11)
This section describes communication
setup items on the Display.
Set communication settings of the Display
with GP-Pro Ex or in off-line mode.
5 Cable Diagram
)"5 Cable Diagram" (page 14)
This section shows cables and adapters
for connecting the Display and the
External Device.
Operation
1 System Configuration
The system configuration in the case when the External Device of FANUC LTD. and the Display are connected is
shown.
• Be sure to inform the Fanuc Corporation clearly that the system will be connected
with Display.
Setting Cable
Series CPU Link I/F SIO Type
Example Diagram
Setting Cable
Fanuc Power Power Mate- RS422/485
Port on CPU Unit*1 Example 1 Diagram 1
Mate Series MODEL D (4wire)
(page 8) (page 14)
Power Mate
i-MODEL D Setting Cable
Fanuc Power RS422/485
Port on CPU Unit*1 Example 1 Diagram 4
Mate i Series (4wire)
Power Mate (page 8) (page 19)
i-MODEL H
Setting Cable
16-Model C Port2 on CPU Unit *1 RS232C Example 2 Diagram 2
(page 9) (page 17)
16-Model C
18-Model C
16i-Model A
Fanuc Series 16i-Model B
18i-Model A Setting Cable
18i-Model B Port2 on CPU Unit*1 RS232C Example 2 Diagram 3
21i-Model A (page 9) (page 18)
21i-Model B
30i-Model A
31i-Model A
32i-Model A
*1 The serial port used for the connection is different according to CPU. The serial port that can be used is
as follows.
CPU Serial port
PowerMate-MODEL D JD14
16-Model C JD5B
18-Model C
16i-Model A
16i-Model B
18i-Model A JD36B
18i-Model B
21i-Model A
21i-Model B
30i-Model A
31i-Model A JD36A or JD54
32i-Model A
i-Model D
JD40
i-Model H
Connection Configuration
• 1:1 Connection
Display External Device
Usable port
Usable port
Series
RS-232C RS-422/485(4 wire) RS-422/485(2 wire)
*1
COM1 , COM2,
PS-2000B - -
COM3*1, COM4
PS-3450A, PS-3451A COM1, COM2*1*2 COM2*1*2 COM2*1*2
PS-3650A, PS-3651A COM1*1 - -
PS-3700A (Pentium®4-M) COM1*1, COM2 , *1
COM3*2 COM3*2
PS-3710A COM3*2 , COM4
PS-3711A COM1*1, COM2*2 COM2*2 COM2*2
COM1*1*2, COM2*1,
PL-3000B COM1*1*2 COM1*1*2
COM3, COM4
*1 The RI/5V can be switched. Please switch with the change switch of IPC.
*2 It is necessary to set up the SIO type with the Dip switch. Please set up as follows according to SIO
type to be used.
Examples of communication settings of the Display and the External Device, recommended by Pro-face, are
shown.
Procedure
The setting method of speed is explained to an example for 30i-Model A.
1 Permit the parameter writing.
Press the [OFFSET] key of an External Device operation board, and select the [Stting].
Change "0" of parameter writing into "1", and press the [INPUT] key.
2 Setting the parameter for display connection.
Press the [MDI] key of External Device operation board, and shift to MDI mode.
Press the [SYSTEM] key in MDI mode and the parameter screen is displayed.
Press the [Next page] and the parameter input screen is displayed.
Input the "3119" into parameter No. and the 3rd (3119. 3) bit is set to 0.
3 Setting the speed.
Setting the 1st (13101. 1) bit of parameter No.13101 to 1, and the setting value is written in parameter No.123.
• When the 1st bit of parameter No.13101 is 0, a transfer rate is 19200bps fixation. When
communicating by 19200bps, operation of Procedure 3 is unnecessary.
4 Turn off the power supply of External Device, and turn on the power supply again.
4 Setup Items
Set communication settings of the Display with GP-Pro EX or in off-line mode of the Display.
The setting of each parameter must be identical to that of External Device.
)"3 Example of Communication Setting" (page 8)
4.1 Setup Items in GP-Pro EX
Communication Settings
To display the setting screen, select [Device/PLC Settings] from [System setting window] in workspace.
Communication Settings
To display the setting screen, touch [Device/PLC Settings] from [Peripheral Settings] in off-line mode. Touch the
External Device you want to set from the displayed list.
To make the communication settings correctly, confirm the serial interface specifications of
SIO Type Display unit for [SIO Type].
We cannot guarantee the operation if a communication type that the serial interface does
not support is specified.
For details concerning the serial interface specifications, refer to the manual for Display
unit.
Speed Select speed between the External Device and the Display.
Data Length Display data length.
Parity Select how to check parity.
Stop Bit Select stop bit length.
Select the communication control method to prevent overflow of transmission and
Flow Control
reception data.
Use an integer from 1 to 127 to enter the time (s) for which the Display waits for the
Timeout
response from the External Device.
In case of no response from the External Device, use an integer from 0 to 255 to enter how
Retry
many times the Display retransmits the command.
Use an integer from 0 to 255 to enter standby time (ms) for the Display from receiving
Wait To Send
packets to transmitting next commands.
Option
To display the setting screen, touch [Device/PLC Settings] from [Peripheral Settings]. Touch the External Device
you want to set from the displayed list, and touch [Option].
5 Cable Diagram
The cable diagram shown below may be different from the cable diagram recommended by FANUC LTD.. Please
be assured there is no operational problem in applying the cable diagram shown in this manual.
• The FG pin of the External Device body must be D-class grounded. Please refer to the manual of the External
Device for more details.
• SG and FG are connected inside the Display. When connecting SG to the External Device, design the system
not to form short-circuit loop.
• Connect the isolation unit, when communication is not stabilized under the influence of a noise etc..
Cable Diagram 1
Display
Cable Notes
(Connection Port)
COM port conversion adapter by Pro-face
CA3-ADPCOM-01
GP*1 (COM1) +
AGP-3302B (COM2) A Terminal block conversion adapter by Pro-face
ST*2 (COM2) CA3-ADPTRM-01
IPC*3 +
Your own cable
B Your own cable
Online adapter by Pro-face *4
CA4-ADPONL-01
+
C Terminal block conversion adapter by Pro-face
CA3-ADPTRM-01
GP*5 (COM2) +
Your own cable
Online adapter by Pro-face
CA4-ADPONL-01
D
+
Your own cable
*1 All GP models except AGP-3302B
*2 All ST models except AST-3211A
*3 Only the COM port which can communicate by RS-422/485 (4 wire) can be used.
) COM Port of IPC (page 5)
*4 Check the cable length with Fanuc Motion Controller PLC's users manual.
It is necessary to connect the terminal resistance 100 Ω in RDA and RDB of JD15 of Motion Controller.
*5 All GP models except GP-3200 series and AGP-3302B
A) When using the COM port conversion adapter (CA3-ADPCOM-01), the terminal block conversion adapter
(CA3-ADPTRM-01) by Pro-face and your own cable
Terminal block
External Device (JD14)
Signal name Shield Half-pitch 20pin (socket)
Display CA3-ADPCOM-01
TERM Pin Signal name
RDA 4 SDA
RDB 3 SDB
CA3-ADPTRM-01
SDA 2 RDA
SDB 1 RDB
SG 11 0V
FG
C) When using the online adapter (CA4-ADPONL-01), the terminal block conversion adapter (CA3-ADPTRM-
01) by Pro-face and your own cable
Terminal block
External Device (JD14)
Signal name Shield Half-pitch 20pin (socket)
Display CA4-ADPONL-01
TERM Pin Signal name
RDA 4 SDA
RDB 3 SDB
CA3-ADPTRM-01
SDA 2 RDA
SDB 1 RDB
SG 11 0V
FG
D) When using the online adapter (CA4-ADPONL-01) by Pro-face and your own cable
Display
D-Sub 9pin (Plug) Shield
External Device (JD14)
Pin Signal name Half-pitch 20pin (socket)
Display
1 TERMRX Pin Signal name
2 RDA 4 SDA
CA4-ADPONL-01
7 RDB 3 SDB
3 SDA 2 RDA
8 SDB 1 RDB
5 SG 11 0V
9 TERMTX
Shell FG
Cable Diagram 2
Display
Cable Notes
(Connection Port)
GP (COM1) Your own cable
ST (COM1) + The cable length must be
IPC*1 Fanuc's converting cable 15m or less.
PC/AT A02B-0120-C19
*1 Only the COM port which can communicate by RS-232C can be used.
) COM Port of IPC (page 5)
When using your own cable and the Fanuc's converting cable A02B-0120-C19
Cable Diagram 3
Display
Cable Notes
(Connection Port)
GP (COM1)
ST (COM1) The cable length must be
Your own cable
IPC*1 15m or less.
PC/AT
*1 Only the COM port which can communicate by RS-232C can be used.
) COM Port of IPC (page 5)
Display 3 SD(TXD) 1 RD
4 ER(DTR) 8*1 SG
5 SG 3 DR
6 DR(DSR) 7 CD
7 RS(RTS) 13 ER
8 CS(CTS) 5 CS
Shell FG 15 RS
*1 When connecting with 30i-Model A, 31i-Model A or 32i-Model A, The pin number of SG changes with
ports to be used.
Cable Diagram 4
Display
Cable Notes
(Connection Port)
COM port conversion adapter by Pro-face
CA3-ADPCOM-01
GP*1 (COM1) +
AGP-3302B (COM2) A Terminal block conversion adapter by Pro-face
ST*2 (COM2) CA3-ADPTRM-01
IPC*3 +
Your own cable
B Your own cable
Online adapter by Pro-face Cable length:
CA4-ADPONL-01 1200m or less
+
C Terminal block conversion adapter by Pro-face
CA3-ADPTRM-01
GP*4 (COM2) +
Your own cable
Online adapter by Pro-face
CA4-ADPONL-01
D
+
Your own cable
*1 All GP models except AGP-3302B
*2 All ST models except AST-3211A
*3 Only the COM port which can communicate by RS-422/485 (4 wire) can be used.
) COM Port of IPC (page 5)
*4 All GP models except GP-3200 series and AGP-3302B
A) When using the COM port conversion adapter (CA3-ADPCOM-01), the terminal block conversion adapter
(CA3-ADPTRM-01) by Pro-face and your own cable
Display
Terminal block External Device (JD40)
Signal name Shield Half-pitch 20pin (socket)
Display CA3-ADPCOM-01
TERM Pin Signal name
RDA 4 *TXD
RDB 3 TXD
CA3-ADPTRM-01
SDA 2 *RXD
SDB 1 RXD
SG 12 0V
FG 6 *RTS
8 *CTS
5 RTS
7 CTS
C) When using the online adapter (CA4-ADPONL-01), the terminal block conversion adapter (CA3-ADPTRM-
01) by Pro-face and your own cable
Display
Terminal block
External Device (JD40)
Signal name Shield Half-pitch 20pin (socket)
Display CA4-ADPONL-01
TERM Pin Signal name
RDA 4 *TXD
RDB 3 TXD
CA3-ADPTRM-01
SDA 2 *RXD
SDB 1 RXD
SG 12 0V
FG 6 *RTS
8 *CTS
5 RTS
7 CTS
D) When using the online adapter (CA4-ADPONL-01) by Pro-face and your own cable
Display
D-Sub 9 pin (plug)
External Device (JD40)
Pin Signal name Shield Half-pitch 20pin (socket)
Display CA4-ADPONL-01 1 TERMRX Pin Signal name
2 RDA 4 *TXD
7 RDB 3 TXD
3 SDA 2 *RXD
8 SDB 1 RXD
5 SG 12 0V
9 TERMTX 6 *RTS
Shell FG 8 *CTS
5 RTS
7 CTS
6 Supported Device
Range of supported device address is shown in the table below. Please note that the actually supported range of
the devices varies depending on the External Device to be used. Please check the actual range in the manual of
your connecting equipment.
32
Device Bit Address Word Address Notes
bits
X00000.0-X00127.7 X00000-X00126
Input relay
X01000.0-X01063.7 X01000-X01062
Y00000.0-Y00127.7 Y00000-Y00126
Output relay
Y01000.0-Y01063.7 Y01000-Y01062
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "Appendix 1.4 LS Area (Direct Access Method)"
• Please refer to the precautions on manual notation for icons in the table.
) "Manual Symbols and Terminology"
32
Device Bit Address Word Address Notes
bits
X00000.0-X00127.7 X00000-X00126
Input relay X01000.0-X01003.7 X01000-X01002
X01020.0-X01051.7 X01020-X01050
Y00000.0-Y00127.7 Y00000-Y00126
Output relay Y01000.0-Y01002.7 Y01000
Y01020.0-Y01051.7 Y01020-Y01050
R00000.0-R02999.7 R00000-R02998 *1
Internal relay
R09000.0-R09199.7 R09000-R09198
K0000.0-K0039.7 K0000-K0038 *2
Keep relay
K0900.0-K0909.7 K0900-K0908
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "Appendix 1.4 LS Area (Direct Access Method)"
• Please refer to the precautions on manual notation for icons in the table.
) "Manual Symbols and Terminology"
32
Device Bit Address Word Address Notes
bits
X00000.0-X00127.7 X00000-X00126
X00200.0-X00327.7 X00200-X00326
*1
Input relay X00400.0-X00527.7 X00400-X00526
X00600.0-X00727.7 X00600-X00726
X01000.0-X01127.7 X01000-X01126
Y00000.0-Y00127.7 Y00000-Y00126
Y00200.0-Y00327.7 Y00200-Y00326
Output relay Y00400.0-Y00527.7 Y00400-Y00526
Y00600.0-Y00727.7 Y00600-Y00726
Y01000.0-Y01127.7 Y01000-Y01126
C0000-C0398
Counter -----
C5000-C5198
*1 Write disable
*2 The maximum address available for bit access is D09999.7.
• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "Appendix 1.4 LS Area (Direct Access Method)"
• Please refer to the precautions on manual notation for icons in the table.
) "Manual Symbols and Terminology"
Use device code and address code when you select "Device Type & Address" for the address type in data displays.
Device Code
Device Device Name Address Code
(HEX)
8 Error Messages
Error messages are displayed on the screen of Display as follows: "No. : Device Name: Error Message (Error
Occurrence Area)". Each description is shown below.
Item Description
No. Error No.
Name of External Device where error occurs. Device name is a title of External Device set
Device Name
with GP-Pro EX. (Initial value [PLC1])
Error Message Displays messages related to the error which occurs.
Displays IP address or device address of External Device where error occurs, or error codes
received from External Device.
• Refer to your External Device manual for details on received error codes.
• Refer to "When an error is displayed (Error Code List)" in "Maintenance/Troubleshooting Manual"
for details on the error messages common to the driver.