Yamaha SRCX, ERCX, DRCX, SRCD Subnet mask, MAC address Media access control address, Router

Page 51

CHAPTER2 Ethernet Unit

Subnet mask

The subnet mask is used to separate the IP address into a network address section and a host address section. The network address bit is set to 1, and the host address bit is set to 0.

The subnet mask, just like the IP address is expressed as a decimal number of 32 bits (4 bytes) with each byte separated by a period (or four sets of numbers separated by periods). So if the subnet mask is 255.255.255.0, then the network address section is 24 bits.

A company (organization) is generally assigned only one network address when ap- plying to the NIC for an IP address. The company making the application falls within one of classes A, B or C depending on the scale of the company. Class B for example, has a network length of 16 bits and can be assigned a network allowing connection of up to 65533 devices. However, unless changes are made, this network cannot effi- ciently perform the required managing and processing tasks. So such a network is normally set with subnet masks to divide it into an appropriate number of smaller networks. When a class B network for example, is set with a subnet mask of 255.255.255.0, a total of 256 settings can be made allowing up to 254 devices to be connected.

MAC address (Media access control address)

The MAC address, also called the Ethernet address is a hardware type identification number (6 bytes) set in each network interface. The MAC address is set in each device during the manufacturing stage and therefore does not have to be set by the user.

Each device in the Ethernet system is identified by means of this MAC address. In other words, the IP address is automatically converted to a MAC address, even when communicating by means of a TCP/IP protocol.

Basically the user does not normally have to even be aware of the MAC address. However, if there are communication problems, then the interrelation of the IP ad- dress and MAC address can be checked to find out if the cause of the problem is overlapping (identical) IP addresses.

HUB

A HUB is a device used for connecting devices such as PCs by way of a 10BASE-T network. The HUB has multiple ports that allow connecting modular jacks and twisted pair cables fitted with these modular jacks connect to the HUB from each device.

The HUB may have different type connectors depending on whether the HUB is for 10BASE-2 or 10BASE-5. Various types of networks can be constructed by means of these HUBs.

Router

The router is a device for mutually connecting networks together. The router is con- trolled based on a sophisticated process. The router sends data with an external desti- nation from an internal network to an external network, and sends data received from an external network, to an internal network. Designated data is discarded in a filtering process to help maintain network safety.

The router IP address is set as the gateway address in each network device. This set- ting allows data to be correctly sent and received by each device on the network.

45

Image 51
Contents Ethernet Page Introduction Memo Ethernet Unit Setting the TCP/IP protocolEthernet unit control commands Robot control commands 12-1 Error messages 12-2 Telnet message listMemo Chapter System design safety points Basic safety pointsInstallation and wiring safety points Precautions when disposing of the unit Start-up and maintenance safety pointsWarranty Warranty descriptionWarranty Period Page Ethernet Unit Ethernet unit features Client How data is exchangedConnecting to Ethernet How to connect to EthernetValidating the Ethernet unit Making system settings for the controller serverThis following explains how to set the IP address Setting the IP addressM O Setting the subnet mask Setting the gateway Ethernet Unit Setting the TCP/IP protocol Making the PC settings clientEthernet Unit Checking the connection with ping Using Telnet Difference between Telnet and RS-232C communicationsRS-232C Telnet dedicated parameters Telnet dedicated parameters Setup method1CHEK2USER3PASS Port TCP port No Tout communication timeoutIdle no-reply timeout Description of Telnet dedicated parametersLout Logout processing LIN-CHEK Login checkLIN-USER Login user name LIN-PASS Login passwordTelenet communication commands Communication command specifications@operation code Operand 1,operand2,operand 3 c/f l/f Response example Ethernet unit control commandsRobot control commands Transmission exampleMaking a connection with TELNET.EXE M O Displaying the MAC address Other operating tasksDisplaying the version of the Ethernet unit Error messages Message ListTelnet message list Symptom Probable causes Checkpoints Action TroubleshootingBYE Program Ethernet unit specifications SpecificationsModular connector UTP STP cable Straight-through cableCrossover cable Typical network systems SupplementCrossover cable Straight-through cable Terminator 10BASE-5 cable Transceiver MAU DSU Head office router 133.215.0.1 255.255.255.0 133.215.0.2 Description of terminology TCP/IP Transmission Control Protocol/Internet ProtocolTCP/IP protocols Ethernet 192.168.0.0/24 192.168.1.0/24 IP addressMAC address Media access control address Subnet maskRouter Ethernet