Fanuc PM PDF
Fanuc PM PDF
Fanuc PM PDF
1 2 3 4 5 6 7 8
System Configuration....................................................................................................... 3 Selection of External Device ............................................................................................ 7 Example of Communication Setting ................................................................................. 8 Setup Items .................................................................................................................... 11 Cable Diagram ............................................................................................................... 14 Supported Device........................................................................................................... 22 Device Code and Address Code.................................................................................... 25 Error Messages.............................................................................................................. 26
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:
System Configuration This section shows the types of External Devices which can be connected and SIO type.
Selection of External Device Select a model (series) of the External Device to be connected and connection method.
Example of Communication Settings This section shows setting examples for communicating between the Display and the External Device.
Setup Items This section describes communication setup items on the Display. Set communication settings of the Display with GP-Pro Ex or in off-line mode.
Cable Diagram This section shows cables and adapters for connecting the Display and the External Device.
Operation
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 Example Setting Example 1 (page 8) Setting Example 1 (page 8) Setting Example 2 (page 9) Cable Diagram Cable Diagram 1 (page 14) Cable Diagram 4 (page 19) Cable Diagram 2 (page 17)
Link I/F
Port on CPU Unit*1 Power Mate i-MODEL H 16-Model C 16-Model C 18-Model C 16i-Model A 16i-Model B 18i-Model A 18i-Model B 21i-Model A 21i-Model B 30i-Model A 31i-Model A 32i-Model A Port2 on CPU Unit *1
RS422/485 (4wire)
RS232C
Fanuc Series*2
RS232C
*1
The serial port used for the connection is different according to CPU. The serial port that can be used is as follows. CPU
PowerMate-MODEL D 16-Model C 18-Model C 16i-Model A 16i-Model B 18i-Model A 18i-Model B 21i-Model A 21i-Model B 30i-Model A 31i-Model A 32i-Model A i-Model D i-Model H
Serial port
JD14 JD5B
JD36B
JD36A or JD54
JD40
*2
The touch panel function on the LCD of the CNC cannot be used simultaneously with the Display.
Connection Configuration
1:1 Connection
Display External Device
The RI/5V can be switched. Use the IPCs switch to change if necessary. Set up the SIO type with the DIP switch. Please set up as follows according to SIO type to be used.
DIP switch setting: RS-232C DIP switch 1 2 3 4 5 6 7 8 9 10 *1 Setting OFF*1 OFF SIO type: RS-232C OFF OFF OFF OFF OFF OFF OFF RS (RTS) Auto control mode: Disabled OFF When using PS-3450A and PS-3451A, turn ON the set value. Output mode of SD (TXD) data: Always output Terminal resistance (220) insertion to SD (TXD): None Terminal resistance (220) insertion to RD (RXD): None Short-circuit of SDA (TXA) and RDA (RXA): Not available Short-circuit of SDB (TXB) and RDB (RXB): Not available Reserved (always OFF) Description
Power Mate Series Driver DIP switch setting: RS-422/485 (4 wire) DIP switch 1 2 3 4 5 6 7 8 9 10 Setting OFF ON SIO type: RS-422/485 ON OFF OFF OFF OFF OFF OFF RS (RTS) Auto control mode: Disabled OFF Output mode of SD (TXD) data: Always output Terminal resistance (220) insertion to SD (TXD): None Terminal resistance (220) insertion to RD (RXD): None Short-circuit of SDA (TXA) and RDA (RXA): Not available Short-circuit of SDB (TXB) and RDB (RXB): Not available Reserved (always OFF) Description
DIP switch setting: RS-422/485 (2 wire) DIP switch 1 2 3 4 5 6 7 8 9 10 Setting OFF ON SIO type: RS-422/485 ON OFF OFF OFF ON ON ON RS (RTS) Auto control mode: Enabled ON Output mode of SD (TXD) data: Always output Terminal resistance (220) insertion to SD (TXD): None Terminal resistance (220) insertion to RD (RXD): None Short-circuit of SDA (TXA) and RDA (RXA): Available Short-circuit of SDB (TXB) and RDB (RXB): Available Reserved (always OFF) Description
Setup Description Select the maker of the External Device to be connected. Select "FANUC LTD.". Select a model (series) of the External Device to be connected and connection method. Select "Power Mate Serie". Check the External Device which can be connected in "Power Mate Serie" in system configuration. "1 System Configuration" (page 3) Check this option when you synchronize the system data area of Display and the device (memory) of External Device. When synchronized, you can use the ladder program of External Device to switch the display or display the window on the display. Cf. GP Pro-EX Reference Manual "Appendix 1.4 LS Area (Direct Access Method)" This can be also set with GP-Pro EX or in off-line mode of Display. Cf. GP Pro-EX Reference Manual " 5.17.6 Setting Guide of [System Setting Window] [Main Unit Settings] Settings Guide System Area Setting" Cf. Maintenance/Troubleshooting "2.15.1 Settings common to all Display models System Area Settings" Select the Display port to be connected to the External Device.
Driver
Port
3.1
3.2
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.
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.
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. Setup Description (Dec) 9 10 11 12 Data Rate (bps) 2400 4800 9600 19200 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.
Turn off the power supply of External Device, and turn on the power supply again.
10
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 SIO Type Speed Data Length Parity Stop Bit Flow Control Timeout Retry Wait To Send
Setup Description Select the SIO type to communicate with the External Device. Select speed between the External Device and the Display. Display data length. Select how to check parity. Select stop bit length. Select the communication control method to prevent overflow of transmission and reception data. Use an integer from 1 to 127 to enter the time (s) for which the Display waits for the response from the External Device. In case of no response from the External Device, use an integer from 0 to 255 to enter how many times the Display retransmits the command. Use an integer from 0 to 255 to enter standby time (ms) for the Display from receiving packets to transmitting next commands. You can switch RI/VCC of the 9th pin when you select RS232C for SIO type. It is necessary to change RI/5V by changeover switch of IPC when connect with IPC. Please refer to the manual of the IPC for more detail.
RI/VCC
11
4.2
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.
Setup Items
Setup Description Select the SIO type to communicate with the External Device.
SIO Type
To make the communication settings correctly, confirm the serial interface specifications of 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. Select speed between the External Device and the Display. Display data length. Select how to check parity. Select stop bit length. Select the communication control method to prevent overflow of transmission and reception data. Use an integer from 1 to 127 to enter the time (s) for which the Display waits for the response from the External Device. In case of no response from the External Device, use an integer from 0 to 255 to enter how many times the Display retransmits the command. Use an integer from 0 to 255 to enter standby time (ms) for the Display from receiving packets to transmitting next commands.
Speed Data Length Parity Stop Bit Flow Control Timeout Retry Wait To Send
12
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].
Setup Description You can switch RI/VCC of the 9th pin when you select RS232C for SIO type. It is necessary to change RI/5V by changeover switch of IPC when connect with IPC. Please refer to the manual of the IPC for more detail.
13
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 (Connection Port) Cable COM port conversion adapter by Pro-face CA3-ADPCOM-01 + Terminal block conversion adapter by Pro-face CA3-ADPTRM-01 + Your own cable Your own cable Online adapter by Pro-face CA4-ADPONL-01 + Terminal block conversion adapter by Pro-face CA3-ADPTRM-01 + Your own cable Online adapter by Pro-face CA4-ADPONL-01 + Your own cable
*4
Notes
C GP*5 (COM2)
*1 *2 *3 *4 *5
All GP models except AGP-3302B All ST models except AST-3211A Only the COM port which can communicate by RS-422/485 (4 wire) can be used. IPC COM Port (page 5) 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. All GP models except GP-3200 series and AGP-3302B
14
Power Mate Series Driver 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) Half-pitch 20pin (socket)
Signal name
Display
CA3-ADPCOM-01
Shield
TERM RDA
Pin 4 3 2 1 11
CA3-ADPTRM-01
Shield
Pin 1 2 3 7 5 4 8 9 6 Shell
Signal name RDA RDB SDA SDB SG ERA CSA ERB CSB FG
Your own cable
Pin 4 3 2 1 11
Display
C) When using the online adapter (CA4-ADPONL-01), the terminal block conversion adapter (CA3-ADPTRM01) by Pro-face and your own cable
Terminal block
Signal name
Display
CA4-ADPONL-01
Shield
TERM RDA
Pin 4 3 2 1 11
CA3-ADPTRM-01
15
Power Mate Series Driver D) When using the online adapter (CA4-ADPONL-01) by Pro-face and your own cable
Display D-Sub 9pin (Plug) Shield
Pin
Display
1 2
Pin 4 3 2 1 11
CA4-ADPONL-01
7 3 8 5 9 Shell
16
Cable Diagram 2 Display (Connection Port) GP (COM1) ST (COM1) IPC*1 PC/AT *1 Cable Your own cable + Fanuc's converting cable A02B-0120-C19 Notes
Only the COM port which can communicate by RS-232C can be used. IPC COM Port (page 5) When using your own cable and the Fanuc's converting cable A02B-0120-C19
Display D-Sub 9pin (Socket) Shield External Device D-Sub 25pin (Plug)
Pin
Display
Pin 4 2 3 5 6 7 8 20 1
Your own cable
Signal name RS SD RD CS DR SG CD ER FG
25pin 20pin A02B-0120-C19 External Device
1 2 3 4 5 7 8 Shell
17
Cable Diagram 3 Display (Connection Port) GP (COM1) ST (COM1) IPC*1 PC/AT *1 Cable Notes
Only the COM port which can communicate by RS-232C can be used. IPC COM Port (page 5) When using your own cable
Display D-Sub 9pin (Socket) Shield External Device Half-pitch 20pin (Plug)
Pin 2
Display
Pin 11 1 8*1 3 7 13 5 15
Signal name SD RD SG DR CD ER CS RS
3 4 5 6 7 8 Shell
*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. Use port JD36A JD54 Pin No. of SG 8 4
18
Cable Diagram 4 Display (Connection Port) Cable COM port conversion adapter by Pro-face CA3-ADPCOM-01 + Terminal block conversion adapter by Pro-face CA3-ADPTRM-01 + Your own cable Your own cable Online adapter by Pro-face CA4-ADPONL-01 + Terminal block conversion adapter by Pro-face CA3-ADPTRM-01 + Your own cable Online adapter by Pro-face CA4-ADPONL-01 + Your own cable Cable length: 1200m or less Notes
C GP*4 (COM2)
*1 *2 *3 *4
All GP models except AGP-3302B All ST models except AST-3211A Only the COM port which can communicate by RS-422/485 (4 wire) can be used. IPC COM Port (page 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
Display Terminal block
Signal name
Shield
Display
CA3-ADPCOM-01
4 3 2 1 12 6 8 5 7
Your own cable
CA3-ADPTRM-01
SDA SDB SG FG
19
Shield
1 2
4 3 2 1 12 6 8 5 7
Display
3 7 5 4 8 9 6
Shell
C) When using the online adapter (CA4-ADPONL-01), the terminal block conversion adapter (CA3-ADPTRM01) by Pro-face and your own cable
Display Terminal block
Signal name
Shield
Display
CA4-ADPONL-01
4 3 2 1 12 6 8 5 7
Your own cable
CA3-ADPTRM-01
SDA SDB SG FG
20
Power Mate Series Driver D) When using the online adapter (CA4-ADPONL-01) by Pro-face and your own cable
Display D-Sub 9 pin (plug) Pin Display
CA4-ADPONL-01
Shield
1 2 7 3 8 5 9
Shell
4 3 2 1 12 6 8 5 7
Your own cable
FG
21
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.
6.1
Input relay Output relay Internal relay Keep relay Timer Counter Data table *1
*1
The maximum address available for bit access is D01859.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"
22
6.2
32 bits
Notes
Input relay
Output relay
*2
Bit Address "R09000.0-R09199.7" and Word Address "R09000-R09198" are the system control areas. Do not write the data in these addresses. Bit Address "K0900.0-K0909.7" and Word Address "K0900-K0908" are the system control areas. Do not write the data in these addresses. The maximum address available for bit access is D07999.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"
23
6.3
Fanuc Series
This address can be specified as system data area. Device Bit Address X00000.0-X00127.7 X00200.0-X00327.7 X00400.0-X00527.7 X00600.0-X00727.7 X01000.0-X01127.7 Y00000.0-Y00127.7 Y00200.0-Y00327.7 Y00400.0-Y00527.7 Y00600.0-Y00727.7 Y01000.0-Y01127.7 R00000.0-R07999.7 K00000.0-K00099.7 --------Word Address X00000-X00126 X00200-X00326 X00400-X00526 X00600-X00726 X01000-X01126 Y00000-Y00126 Y00200-Y00326 Y00400-Y00526 Y00600-Y00726 Y01000-Y01126 R00000-R07998 K0000-K00098 T0000-T0498 C0000-C0398 C5000-C5198 D00000-D09998 32 bits Notes
Input relay
*1
Output relay
-----
*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"
24
Device Input relay Output relay Internal relay Keep relay Timer Counter Data table
Device Name X Y R K T C D
Address Code Word address / 2 Word address / 2 Word address / 2 Word address / 2 Word address / 2 Word address / 2 Word address / 2
25
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 Error No. Name of External Device where error occurs. Device name is a title of External Device set with GP-Pro EX. (Initial value [PLC1]) 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.
Error Occurrence Area IP address is displayed such as "IP address (Decimal): MAC address (Hex)". Device address is displayed such as "Address: Device address". Received error codes are displayed such as "Decimal [Hex]".
Display Examples of Error Messages "RHAA036: PLC1: Error has been responded for device write command (Error Code: 2 [02H])" 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.
26