EMBEDDED ETHERNET FUNCTION - Fanuc CNC Retrofits

Transcription

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/038EMBEDDED ETHERNET FUNCTIONThis chapter describes the specifications of the embedded Ethernetfunction.Chapter 8, "EMBEDDED ETHERNET FUNCTION", consists of thefollowing sections:8.1 EMBEDDED ETHERNET PORT AND PCMCIAETHERNET CARD .6028.2 SETTING UP THE EMBEDDED ETHERNET FUNCTION .6058.3 SWITCHING BETWEEN THE EMBEDDED ETHERNETDEVICES.6458.4 EMBEDDED ETHERNET OPERATIONS .6468.5 RESTART OF THE EMBEDDED ETHERNET .6518.6 MAINTENANCE SCREEN FOR EMBEDDEDETHERNET FUNCTION .6528.7 LOG SCREEN OF THE EMBEDDED ETHERNETFUNCTION.657- 601 -

8.EMBEDDED ETHERNET FUNCTION8.1B-63945EN/03EMBEDDED ETHERNET PORT AND PCMCIA ETHERNETCARDThe embedded Ethernet function can be used by selecting one of twotypes of devices: the embedded Ethernet port and PCMCIA Ethernetcard.A selection can also be made to stop the embedded Ethernet function.The PCMCIA Ethernet card is to be inserted into the memory card slotfor temporary communication.CAUTION1 When using the embedded Ethernet function for thefirst time, set an IP address and other items carefullyas instructed by the network administrator, thenperform a sufficient communication test.Note that an incorrect IP address or other settingmay cause a communication failure on the entirenetwork.2 A unit such as a PC situated in the same networkcan increase the communication processing load onthe CNC even if the unit is not communicating withthe CNC.Avoid connecting the CNC to a factory-widenetwork. Use a router or the like to separate thenetwork including the CNC from the other networks.NOTE1 The embedded Ethernet port of FANUC Series32i-A is available as an option.2 Use the PCMCIA Ethernet card designated byFANUC. General Ethernet cards available on themarket cannot be used.3 The PCMCIA Ethernet card is used for FANUCLADDER-III or SERVO GUIDE.4 Use the PCMCIA Ethernet card just for temporarycommunication as described above. Avoid usingthe card for continuous communication.5 The PCMCIA Ethernet card is inserted into amemory card slot, with a part of the card leftuninserted. When using the PCMCIA Ethernetcard, take great care not to damage the card byhitting the protruding part of the card.When the card becomes unnecessary, remove thecard immediately, in order to prevent any damageto the card.- 602 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03Related NC parameters#7#6#514880#3#2#1#0ETH[Input type][Data type]#0#4ETHSetting inputBitThe embedded Ethernet function (embedded Ethernet port orPCMCIA Ethernet card) is:0: Used.1: Not used.NOTEThis parameter is valid with series 656F and edition06 or later.Selection of embedded Ethernet with the 300is, 310is, and 320is ofstand-alone type14896[Input type][Data type][Valid data range]No.148960123Parameter inputWord0 to 3Set embedded Ethernet usable with the 300is, 310is, and 320is ofstand-alone type.0 : For the embedded Ethernet port, the connector (CD38A) forEthernet on the control unit is used.For the PCMCIA Ethernet card, the card slot on the side of thedisplay unit is used.1 : For the embedded Ethernet port, the connector (CD38A) forEthernet on the control unit is used.。For the PCMCIA Ethernet card, the card slot (CNM1B) on thecontrol unit is used.2 : For the embedded Ethernet port, the connector (CD38S) forEthernet on the rear of the display unit is used.For the PCMCIA Ethernet card, the card slot on the side of thedisplay unit is used.3 : For the embedded Ethernet port, the connector (CD38S) forEthernet on the rear of the display unit is used.For the PCMCIA Ethernet card, the card slot (CNM1B) on thecontrol unit is used.embedded Ethernet portPort in the CNCPort in the CNCPort in the rear of the display unitPort in the rear of the display unitPCMCIA Ethernet cardMemory card slot on a side of the display unitMemory card slot in the CNCMemory card slot on a side of the display unitMemory card slot in the CNCNOTEThis parameter is valid with theFS300is/310is/320is-A of stand-alone type, andseries 656F and edition 08 or later.- 603 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03Notes on using Ethernet with Windows CE of FS300is/310is/320is-AWith the FS300is/310is/320is-A, the Ethernet interface on WindowsCE may be used by both of the embedded Ethernet function of theCNC and application software on Windows CE.Note that the restrictions below are imposed accordingly.NOTE1 When the FS300is/310is/320is-A of LCD-mountedtype is used and the PCMCIA Ethernet card isselected for the embedded Ethernet function,application software on Windows CE cannot use theembedded Ethernet port. When the embeddedEthernet port is selected for the embedded Ethernetfunction, application software on Windows CEcannot use the PCMCIA Ethernet card.2 When the FS300is/310is/320is-A of stand-alonetype is used, the connection location of theembedded Ethernet function varies according to thesetting of NC parameter No. 14896. So, therestrictions below are applied to the Ethernetinterface on Windows CE.(1) When 0 is set in NC parameter No. 14896 andthe PCMCIA Ethernet card is selected for theembedded Ethernet function, applicationsoftware on Windows CE cannot use theembedded Ethernet port.(2) When 1 is set in NC parameter No. 14896,application software on Windows CE can usethe embedded Ethernet port and PCMCIAEthernet card.(3) When 2 is set in NC parameter No. 14896, therestriction on item 1 above (for theLCD-mounted type) is applied.(4) When 3 is set in NC parameter No. 14896 andthe embedded Ethernet port is selected for theembedded Ethernet function, applicationsoftware on Windows CE cannot use thePCMCIA Ethernet card.3 When the FS300is/310is/320is-A is used,application software on Windows CE can performcommunication simultaneously on a port (embeddedEthernet port or PCMCIA Ethernet card) selected forthe embedded Ethernet function.- 604 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/038.2SETTING UP THE EMBEDDED ETHERNET FUNCTIONThis section describes the setting of parameters for the embeddedEthernet function.8.2.1Setting of the FOCAS2/Ethernet FunctionThis subsection describes the settings required to operate theFOCAS2/Ethernet function.Notes on using the FOCAS2/Ethernet function for the first timeNOTE1 When running user's original application softwarecreated by using the FOCAS2/Ethernet function,use the embedded Ethernet port.2 The FOCAS2/Ethernet function allows up to fiveFOCAS2/Ethernet clients to be connected to oneCNC.3 Concurrent access by multiple applications orpersonal computers may overload the CNC,reducing the communication speed.- 605 -

8.EMBEDDED ETHERNET FUNCTION8.2.1.1B-63945EN/03Operation on the FOCAS2/Ethernet setting screenOn the Ethernet parameter setting screen, set the parameters foroperating the FOCAS2/Ethernet function.Procedure1Press the function key2Soft keys [EMBED PORT] and [PCMCIA LAN] appear.(When there is no soft keys, press the continue key.)To display the Ethernet Setting screen for the embedded Ethernetport or the PCMCIA Ethernet card, press soft key [EMBEDPORT] or [PCMCIA LAN], respectively.Press soft keys [COMMON] and [FOCAS2] and then enterparameters for the items that appear.34.NOTE1 The parameters for the embedded Ethernet portand the parameters for the PCMCIA Ethernet cardare independent of each other.2 The settings of the FOCAS2/Ethernet function forthe PCMCIA Ethernet card are made when aconnection to SERVO GUIDE and FANUCLADDER-III is established.- 606 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03COMMON screen (BASIC)Press soft key [COMMON].displayed.The COMMON screen (BASIC) isCOMMON screen (BASIC)Settings itemsItemDescriptionIP ADDRESSSpecify the IP address of the embedded Ethernet.(Example of specification format: "192.168.0.100")SUBNET MASKSpecify a mask address for the IP addresses of thenetwork.(Example of specification format: "255.255.255.0")ROUTER IPSpecify the IP address of the router.ADDRESSSpecify this item when the network contains a router.(Example of specification format: "192.168.0.253")Display itemsItemDescriptionMAC ADDRESSEmbedded Ethernet MAC addressAVAILABLEEnabled device of the embedded Ethernet.DEVICEEither the embedded Ethernet port or the PCMCIAEthernet card is displayed.- 607 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03FOCAS2 screenPress soft key [FOCAS2]. The FOCAS2 screen is displayed.FOCAS2 screenSetting itemsItemDescriptionPORT NUMBERSpecify a port number to be used with the(TCP)FOCAS2/Ethernet function. The valid input range is5001 to 65535.PORT NUMBERSet this item to 0 when it is used as the(UDP)FOCAS2/Ethernet function.TIME INTERVALSet this item to 0 when it is used as theFOCAS2/Ethernet function.NOTE1 When a connection to the CIMPLICITY i CELL isestablished, set the UDP port number and timeinterval above as described in the FANUCCIMPLICITY i CELL Operator's Manual (B-75074).2 The unit of the time interval is 10 ms. The allowablerange is between 10 and 65535. A time intervalless than 100ms cannot be set.3 Decreasing the time interval setting increases thecommunication load and can affect the networkperformance.Example) If the interval is set to 100 (100 x 10 ms 1 second), broadcast data is sentevery 1 second.- 608 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03Initial setting of the PCMCIA Ethernet cardThe PCMCIA Ethernet card is factory-set to the following defaultvalues, for ease of connection with SERVO GUIDE or FANUCLADDER-III.IP ADDRESS: 192.168.1.1SUBNET MASK: 255.255.255.0ROUTER IP ADDRESS : NonePORT NUMBER (TCP) : 8193PORT NUMBER (UDP) : 0TIME INTERVAL:0If a specified IP address is changed to a blank (space), the specifiedsetting is reset to the default value.The embedded Ethernet port does not have a default value.8.2.1.2Example of setting the FOCAS2/Ethernet functionThe following shows a setting example required for theFOCAS2/Ethernet function to operate.In this example, one personal computer is connected to two CNCsthrough FOCAS2/Ethernet.HUB10BASE-T or100BASE-TXCNC 1CNC 1IP addressSubnet maskRouter IP addressTCP port numberUDP port numberTime intervalCNC 2PC 1CNC 2192.168.0.100 192.168.0.101255.255.255.0 255.255.255.0NoneNone819381930000The Ethernet parameter screen is used forsetting.PC 1IP addressSubnet maskDefault gatewayCNC 1NC IP addressNC TCP portnumberCNC 2NC IP addressNC TCP portnumber"Microsoft TCP/IP property" of the personalcomputer (Windows 95/98/NT/2000/XP) isused for 08193The arguments of the data window libraryfunction cnc allclibhndl3 are used forsetting.192.168.0.1018193- 609 -

8.EMBEDDED ETHERNET FUNCTION8.2.2B-63945EN/03Setting of the FTP File Transfer FunctionThis section describes the settings required for the FTP file transferfunction to operate using the embedded Ethernet function.Notes on using the FTP file transfer function for the first timeNOTE1 When using the FTP file transfer function, use theembedded Ethernet port.2 The number of FTP communications to which oneCNC can be connected using the FTP file transferfunction is one.8.2.2.1Operation on the FTP file transfer setting screenOn the Ethernet setting screen, set the parameters for operating theFTP file transfer function.Procedure1Press the function key2Soft keys [EMBED PORT] appear.(When there is no soft keys, press the continue key.)By pressing the [EMBED PORT] soft key, the Ethernet Settingscreen for the embedded Ethernet port is displayed.Press soft keys [COMMON] and [FTP TRANS] and then enterparameters for the items that appear.34.NOTEThe parameters for the embedded Ethernet portand the parameters for the PCMCIA Ethernet cardare independent of each other.If the [PCMCIA LAN] soft key is pressed, thePCMCIA Ethernet card can be set up. However,the card setup is carried out for maintenance and isnot necessary usually.- 610 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03COMMON screen (BASIC)Press soft key [COMMON].displayed.The COMMON screen (BASIC) isCOMMON screen (BASIC)Setting itemsItemDescriptionIP ADDRESSSpecify the IP address of the embedded Ethernet.(Example of specification format: "192.168.0.100")SUBNET MASKSpecify a mask address for the IP addresses of thenetwork.(Example of specification format: "255.255.255.0")ROUTER IPSpecify the IP address of the router.ADDRESSSpecify this item when the network contains a router.(Example of specification format: "192.168.0.253")Display itemsItemDescriptionMAC ADDRESSEmbedded Ethernet MAC addressAVAILABLEEnabled device of the embedded Ethernet.DEVICEEither the embedded Ethernet port or the PCMCIAEthernet card is displayed.- 611 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03transfer screen (CONNECT1, CONNECT2, CONNECT3)1Press soft key [FTP TRANS].displayed.2Page keysThe FTP transfer screen iscan be used to make settings for the threehost computers for connection destinations 1 to 3.FTP transfer screen (1st page)FTP transfer screen (2nd page)ItemDescriptionHOST NAMESpecify the IP address of the host computer.(Example of specification format: "192.168.0.200")PORT NUMBERSpecify a port number to be used with the FTP filetransfer function. An FTP session is used, so that "21"is to be specified usually.USERNAMESpecify a user name to be used for logging in to thehost computer with FTP.(Up to 31 characters can be specified.)PASSWORDSpecify a password for the user name specified above.(Up to 31 characters can be specified.)Be sure to set a password.LOGIN FOLDERSpecify a work folder to be used when logging in to thehost computer. (Up to 127 characters can bespecified.)If nothing is specified, the home folder specified in thehost computer becomes the log-in folder.- 612 -

8.EMBEDDED ETHERNET FUNCTIONB-63945EN/03OperationSelect a destination.1Pressing the [(OPRT)] soft key causes sof

3 The PCMCIA Ethernet card is used for FANUC LADDER-III or SERVO GUIDE. 4 Use the PCMCIA Ethernet card just for temporary communication as described above. Avoid using the card for continuous communication. 5 The PCMCIA Ethernet card is inserted into a memory card slot, with a part of the card left uninserted. When using the PCMCIA Ethernet card, take great care not to damage the card by .