Toshiba T2N- Manuals
Toshiba T2N– Manual in PDF format online.
Manuals:
Manual Toshiba T2N
Summary
1 6 F 3 B 0 3 6 2 © Copyright 1998 by Toshiba Corporation Tokyo, Japan Toshiba Corporation reserves the right to make changes and improvements to thispublication and/or related products at any time without notice. No obligation shall beincurred, except as noted in this publication. This publicat...
2 6 F 3 B 0 3 6 2 Safety Precautions Thank you for purchasing the Toshiba PU235N/245N CPU module, which is for use with the T2Nprogrammable controller. This document describes the usage and handling of the PU235N/245N built-in Ethernet Port andpresents important cautionary items. To use the PU23...
4 6 F 3 B 0 3 6 2 Safety Precautions (continued) • Precautions for operation WARNING 1. Build emergency stop, interlock, and similar circuits outside the PU235N/245N. If a breakdown or malfunction occurs in the PU235N/245N, there is the danger that someone could be hurt or fatally injured. Also,...
5 6 F 3 B 0 3 6 2 Safety Precautions (continued) • Mounting in the base unit CAUTION 1. The Ethernet Port is built-in the PU235N/245N. Do not remove the Ethernet Port from a PU235N/245N. 2. The PU235N/245N itself should only be mounted or removed when all power is turned off. Similarly, connecti...
6 6 F 3 B 0 3 6 2 Safety Precautions (continued) Concerning: • Preparing for operation (software) • Computer link protocol and the PC link protocol transmission • Socket interface communication • RAS information CAUTION 1. Chapters 4 - 7 present information related to using the functions provide...
7 6 F 3 B 0 3 6 2 Safety Precautions (continued) • Basic points in laying out a network CAUTION 1. When laying network cable, take adequate safety measures and perform all operations in accordance with the relevant standards. See the ISO/IEC8802-3 standard for details on laying networks. 2. We s...
8 6 F 3 B 0 3 6 2 Usage Recommendations This section collects the knowledge and operations that should be known by all users of thisequipment. Read this section carefully in conjunction with the safety precautions, thoroughlymaster knowledge of the equipment, safety information, and the items th...
9 6 F 3 B 0 3 6 2 Usage Recommendations (continued) • Computer link protocol transmission Usage Recommendations 1. Since UDP/IP does not provide control functions to guaranteed communication reliability, higher level protocols (such as retry) are required. 2. No processing is performed if a comp...
10 6 F 3 B 0 3 6 2 Before Reading This Document Thank you for purchasing a Toshiba PROSEC T2N multi-purpose programmable controller. This manual describes the T2N Ethernet Port specifications and usage, and presents sampleprograms for the Ethernet Port used with the PROSEC T2N. The PU235N has Et...
11 6 F 3 B 0 3 6 2 Chapter 9: Installation and Wiring Describes the procedures for installing the Ethernet Port (and T2N), procedures for layingtransmission cable, and the nature of the construction required. Appendix Presents request code, completion status value, and error code tables and desc...
12 6 F 3 B 0 3 6 2 Contents Safety Precautions ………………………………………………………………………… 2 Usage Recommendations ………………………………………………………………… 8 Before Reading This Document …………………………………………………………… 10 1. Ethernet Port Overview ………………………………………………………………… 14 1.1 System Configuration Using the Ethernet Port ……………………...
13 6 F 3 B 0 3 6 2 6. Socket Interface Communication ……………………………………………………… 68 6.1 Overview ………………………………………………………………………… 68 6.2 Ethernet Port Socket Interface Usage Notes ………………………………………… 72 6.3 Socket Interface Information ……………………………………………………… 82 6.4 Using the Ethernet Port Socket Interface ………...
14 6 F 3 B 0 3 6 2 1. Ethernet Port Overview 1.1 System Configuration Using the Ethernet Port This section describes the systems that can be configured using the PU235N/245N Ethernet Portfor the PROSEC T2N programmable controller. The remainder of this document refers to thePROSEC T2N programmab...
15 6 F 3 B 0 3 6 2 1.2 LAN Standards and Terminology The LANs commonly referred to as Ethernet LANs are defined by two standards, the Ethernetversion 2.0 standard (DIX) developed by DEC, Intel, and Xerox, and the ISO 8802-3 standard(IEEE 802.3), which is an international version of the DIX stand...
16 6 F 3 B 0 3 6 2 1.3 Basic Functionality The Ethernet Port has the following main features. 1. T series computer link protocol transmission (slave port) The host machine can upload or download user programs, execute control commands, and read orwrite register data to a T2N on the 10BASE-T LAN ...
17 6 F 3 B 0 3 6 2 2. T series/PC link protocol transmission The T2N can use the T series/PC link protocol to read or write register data on another T2N on the10BASE-T LAN. While T2N user programs for reading and writing are necessary to use the host functions, only thebasic Ethernet Port settin...
18 6 F 3 B 0 3 6 2 3. Socket interface support This is a standard communications technique used on engineering workstations and similarcomputers. Transmission between user programs on the T2N and host machines is possible usingthe socket interface. There are eight sockets on an Ethernet Port and...
19 6 F 3 B 0 3 6 2 4. PC (programmable controller) gateway function ∗ This function is under development, but is currently not supported. Toshiba plans to add support to the T2N for a gateway function between the Ethernet Port and theTOSLINE-S20LP Port. This function will allow access to station...
20 6 F 3 B 0 3 6 2 5. Support for 10BASE-T Network The Ethernet Port can connect to a 10BASE-T network 10BASE-T is a LAN technology that uses baseband transmission, provides a data transmissionrate of 10 Mbps, and supports single segments of up to 100 meters in length. This network uses 10BASE-T...
21 6 F 3 B 0 3 6 2 1.4 Ethernet Port Specifications Table 1.2 lists the Ethernet Port specifications. The general specifications of the Ethernet Portconform to those of the T2N main unit. Table 1.2 Functional Specifications Item Specification Module type PU235N/245N (Ethernet Port is built-in) T...
22 6 F 3 B 0 3 6 2 1.5 Software Organization The Ethernet Port transmission functions (computer link protocol transmission, PC link protocoltransmission and socket interface transmission) are implemented with the software organizationshown in the figure. T2N user program T2N firmware Computer li...
24 6 F 3 B 0 3 6 2 2. Ethernet Port Parts and Functions This chapter describes the sections of the Ethernet Port and their functions. 2.1 Front Panel ERUN ET/R EACC SRUN SONL SACC STNH STNL OTR1 OTR2 TOSLINE-S20LP Port parts (PU245N only) 10BASE-T Ethernet Port 10BASE-T connector for connecting ...
25 6 F 3 B 0 3 6 2 2.2 Component Functions (1) LED Display Indicators that display the Ethernet Port operating state. ERUN ET/R EACC LED display (All LED’s color is green) Figure 2.2 LED’s display and name Content Displayed Table 2.1 LED Display Content LED Content ERUN (Ether Run) Indicates whe...
26 6 F 3 B 0 3 6 2 3. Preparing for Operation (Hardware) This section presents the Ethernet Port setup. WARNING 1. Build emergency stop, interlock, and similar circuits outside the PU235N/245N. If a breakdown or malfunction occurs in the PU235N/245N, there is the danger that someone could be hur...
27 6 F 3 B 0 3 6 2 3.1 Connecting to the Network The Ethernet Port supports 10BASE-T network. (1) Connection to a 10BASE-T Network This section describes the connection procedure starting from the state where the 10BASE-Ttwisted pair cable is already supplied and ready to be connected. See secti...
28 6 F 3 B 0 3 6 2 3.2 Network Wiring Equipment This section describes the wiring and related equipment that makes up the network to which theEthernet Port is connected. Since the Ethernet Port conforms to the ISO 8802-3 (IEEE 802.3)standard, users should select equipment to be used in the netwo...
29 6 F 3 B 0 3 6 2 (2) 10BASE5 • Coaxial cable • Plugs • Terminators • Adapters • Grounding clamps • AUI cable • MAU Catalog no. EEA-9202- ¨ M+TMJ x 2 ¨ : Length Standard outsidediameter 10.3 mm diameter, with terminators at both ends Manufacturer Showa Electric Wire & Cable Co., Ltd. Catalo...
30 6 F 3 B 0 3 6 2 (3) 10BASE2 • Coaxial cable • BNC plugs • T connectors • Adapters • Terminators CAUTION 1. When installing a 10BASE5, 10BASE2 or 10BASE-T network, the cabling must be laid with adequate safety precautions and in accordance with all applicable standards. Installation and wiring...
31 6 F 3 B 0 3 6 2 4. Preparing for Operation (Software) This section describes setting up the Ethernet Port software for operation. CAUTION 1. Chapter 4 presents information related to using the functions provided by the Ethernet Port from a T2N, including the instruction (request) format, impo...
32 6 F 3 B 0 3 6 2 4.2 Ethernet Port Instruction Specifications Before discussing the software side of the Ethernet Port setup procedure, this section presents anoverview of the SEND and RECV instructions, which are the instructions that are used to controlthe Ethernet Port from T2N user program...
35 6 F 3 B 0 3 6 2 (3) Status (B) The status during the execution of a SEND or RECV instruction and after that instructionterminates is stored in the register shown at B. When TermSTS = 0BH, the detailed information(Ethernet Port error information) will be loaded into the registers indicated at ...
39 6 F 3 B 0 3 6 2 4.3 Ethernet Port Reset This section describes the Ethernet Port reset procedures. There are two ways to reset an EthernetPort as follows: (1) T2N power on (2) Reset by a user program running on the T2N In Ethernet Port reset processing, when one of the above resets occurs, th...
40 6 F 3 B 0 3 6 2 (2) Reset request from the T2N It is possible to initiate reset processing from user programs on the T2N. T2N can execute the resetprocessing instruction on standby mode (See section 4.5). This section describes the format of thereset processing instruction. Reset request (usi...
41 6 F 3 B 0 3 6 2 4.4 Parameter Setup Request This section describes the procedure for Ethernet Port parameter setup in the Ethernet Port from aT2N user program. The Ethernet Port parameters consist of the following: (1) Local port IP address (2) UDP port number for computer link and PC link tr...
42 6 F 3 B 0 3 6 2 c. Notes on IP addresses The following IP addresses cannot be used with the Ethernet Port, both for the local port and forremote port addresses. • Addresses starting with 127 (7FH). • Addresses in which the network address is all zeros or all ones. • Addresses in which the hos...
43 6 F 3 B 0 3 6 2 (3) Port number An IP address identifies a particular port on a network. However, since, on any given port, therewill be multiple applications using TCP/IP or UDC/IP to communicate with applications on otherports, the question of to which application the data should be passed ...
44 6 F 3 B 0 3 6 2 • Message transmission UDP port number As described in chapter 1, UDP/IP is used for both computer link and PC link protocoltransmission, which are collectively referred to as message transmission. These techniques usededicated UDP sockets that are separate from those used by ...
45 6 F 3 B 0 3 6 2 This program is executed by turning on the R0502 A contact. Parameters: 12544:3100H, 00018:0012H 29061:7185H, 02658:0A62H |R0502 R0602 | 1|-| |-----------------------------------------------------------( )--| | /* Parameter setup request */ |R0602 | 2|-| |-+[ 12544 MOV RW000][...
46 6 F 3 B 0 3 6 2 4.5 Operating Mode Control Requests This section describes the Ethernet Port operating modes and the procedures for controlling theEthernet Port operating mode from user programs on the T2N. The Ethernet Port has the following operating modes: (1) Initialization mode • This mo...
47 6 F 3 B 0 3 6 2 Figure 4.6 shows the Ethernet Port mode transitions. Figure 4.6 Ethernet Port Mode Transitions Run request Self check completes normally Unrecoverable error Self check terminatesin an error state. Power on/off/on cycle Reset request Power applied Down Run Standby Initializatio...
48 6 F 3 B 0 3 6 2 This section describes the operating mode control request instruction format. Operating mode control request (using the SEND instruction) a. Function This is a request from a user program that controls the Ethernet Port operating mode. b. Transfer parameters A 3100H Module des...
49 6 F 3 B 0 3 6 2 d. Important items • Values other than 1010H, 1020H, 1030H, and 2000H may not be specified for thespecification information. → Status: Transmission error (TermSTS = 0BH) Detailed information: Incorrect control request specification (0083H) • Simultaneous run mode and standby m...
50 6 F 3 B 0 3 6 2 5. Computer Link Protocol and the PC Link Protocol Transmission CAUTION 1. Chapter 5 presents information related to using the functions provided by the Ethernet Port from a T2N, including the instruction (request) format, important items that require attention, and sample pro...
51 6 F 3 B 0 3 6 2 5.2 Sample Computer Link Protocol Program This section presents a sample program that runs on the host computer (a personal computer orworkstation) and that uses computer link protocol transmission. This program issues a read/write request for 32 words from the start of the T2...
57 6 F 3 B 0 3 6 2 5.3 PC Link Protocol Transmission (Data write) The T series PC link protocol allows one T2N on a network to write register data to another T2Nor T3H. As is the case with the computer link protocol, the PC link protocol uses UDP/IP as itstransmission protocol. The PC link main ...
58 6 F 3 B 0 3 6 2 For the T/C registers, the data length will be between 1 and 323 words. (2) Local port register type code This code indicates the type of register in which the local port transmission source data isstored. See figure 5.1 for the codes that can be specified. (3) Local port regi...
59 6 F 3 B 0 3 6 2 *2 Includes the expansion F registers(Only T3H). One bank has 64K words (0 to 65535). F 7 0 06 *3 The T and C registers hold data that has flags attached. Supplement: The transfer data length has a maximum of 323 words when data is transferred over theEthernet. For the T regis...
60 6 F 3 B 0 3 6 2 • Write protection can be specified for each register type on the local T2N by using the specialcoil settings described below. In this case, a memory write protect error (TermSTS = 04H) willoccur. F 9 8 7 6 5 4 3 2 1 0 SW067 SW C T F D RW LW W XW/YW • When PC link transmission...
61 6 F 3 B 0 3 6 2 5.4 PC Link Protocol Transmission (Data read) The T series PC link protocol allows a T2N on the network to read register data from another T2Nor T3H port's registers into its own registers. As is the case with the computer link protocol, the PC link protocol uses UDP/IP as its...
64 6 F 3 B 0 3 6 2 5.5 Sample PC Link Protocol Transmission Program This section presents a sample program that uses PC link protocol transmission. This program creates increment data within the local port and writes it to the remote port'sregisters. Next it reads out the same area and compares ...
68 6 F 3 B 0 3 6 2 6. Socket Interface Communication CAUTION 1. Chapter 6 presents information related to using the functions provided by the Ethernet Port from a T2N, including the instruction (request) format, important items that require attention, and sample programs. That chapter also prese...
69 6 F 3 B 0 3 6 2 2. Differences between the UDP socket interface and the TCP socket interface a. UDP socket interface (See figure 6.2.) • Provides an in/out port (socket) for data communication between a transmission source portand a transmission destination port. • Data for the transmission s...
71 6 F 3 B 0 3 6 2 Figure 6.4 TCP Connection Communication Procedure (Overview) Closed state Closed state Passive open Active open Connection established Connection established Data transmission Data reception Next data transmission Data transmission Data reception Next data transmission Data re...
72 6 F 3 B 0 3 6 2 6.2 Ethernet Port Socket Interface Usage Notes This section presents points that require attention when using the socket interface on the EthernetPort for data transmission. 1. Data handling and data segmentation in UDP socket interface transmission and reception a. In UDP soc...
78 6 F 3 B 0 3 6 2 3. Socket interface port numbers a. Set the port numbers for local TCP and UDP sockets to values in the range 1024 to65535. The Ethernet Port will issue an error if any other values are used. This is because theport numbers from 1 to 1023 are allocated for UNIX workstation sta...
79 6 F 3 B 0 3 6 2 If the timeout time expires, the "transmission complete timeout (no instruction response)"error is issued. Since this error has the same code as module failure errors, first check whetheror not the Ethernet Port has failed before attempting to recover from the error. h...
80 6 F 3 B 0 3 6 2 6. TCP socket interface notes a. When a passive open is executed, the specified socket is put in the active open wait state. Ifthe remote IP address (DIPAddress) and the remote port object socket TCP port number(DTCP_PORTNO) values are set to 0, the socket will be able to hand...
82 6 F 3 B 0 3 6 2 RCLOSE CONN 6.3 Socket Interface Information The information for the eight socket interface sockets held by the Ethernet Port can be read outwith the T2N READ instruction. The Ethernet Port holds five words of socket status informationfor each socket. User programs should acce...
83 6 F 3 B 0 3 6 2 Bit no. Bit Condition under which the bit is set to 1 Condition under which the bit is reset to 0 F TCP TCP used by the socket The socket closed in response to a close request E UDP UDP used by the socket The socket closed in response to a close request D AOPEN TCP socket in a...
84 6 F 3 B 0 3 6 2 6.4 Using the Ethernet Port Socket Interface This section describes the requests used by T2N user programs to use UDP and TCP sockets.There are eight types of request as listed below. • UDP socket (open request, send request, receive request, close request) • TCP socket (open ...
87 6 F 3 B 0 3 6 2 2. UDP send request/broadcast send request (using the SEND instruction) a. Function This request sends local port register data using an open UDP socket. Amount of data sent: 1 to 1000 words b. Transfer parameters A 3100H Module designation, 1: channel number A+1 CMD = 0032H C...
90 6 F 3 B 0 3 6 2 3. UDP receive request/broadcast receive request (using the RECV instruction) a. Function If an opened UDP socket receives data, read the received data into registers on the local port. If no data has been received, wait until data arrives (the wait time can be set) and then, ...
91 6 F 3 B 0 3 6 2 d. Methods for storing reception data • Allocate a reception data storage register area with a size equal to the size of the reception dataplus one word. The reception data count (the size of the transmission data for a singleoperation) and the transmission data for a single o...
95 6 F 3 B 0 3 6 2 4. UDP close request (using the SEND instruction) a. Function Close the open UDP socket. Release the (unlimited wait state) receive request and terminate the UDP socket. b. Transfer parameters A 3100H Module designation A+1 CMD = 0034H Command number A+2 SportNO Socket identif...
97 6 F 3 B 0 3 6 2 5. TCP open request (using the SEND instruction) a. Function This request opens (active/passive) any of the eight sockets. Transmission protocol: TCP/IP b. Transfer parameters A 3100H Module designation A+1 CMD = 0035H Command number A+2 SportNO Socket identifier (1 to 8) A+3 ...
98 6 F 3 B 0 3 6 2 • Not only must the specified socket TCP port number on the local port not overlap with anyTCP port number already in use in a local port socket, but it also must not overlap with anyUDP port numbers or UDP port numbers used for message transmission. An error willoccur if the ...
100 6 F 3 B 0 3 6 2 6. TCP send request (using the SEND instruction) a. Function This request sends local port register data using an open TCP socket. Amount of data sent: 1 to 1000 words b. Transfer parameters A 3100H Module designation A+1 CMD = 0037H Command number A+2 SportNO Socket identifi...
104 6 F 3 B 0 3 6 2 7. TCP receive request (using the RECV instruction) a. Function If an opened TCP socket receives data, read the received data into registers on the local T2N. If no data has been received, wait until data arrives (the wait time can be set) and then, afterreception, read the r...
109 6 F 3 B 0 3 6 2 8. TCP close request (using the SEND instruction) a. Function Close the open TCP socket. Release the (unlimited wait state) receive request and terminate the TCP socket. b. Transfer parameters A 3100H Module designation A+1 CMD = 0039H Command number A+2 SportNO Socket identi...
111 6 F 3 B 0 3 6 2 e. TCP close processing example Ladder program flowchart Error result TCP close processing start Socket status read/verify Are bits B and F both 1? (Is a connection established?) Yes Execute a TCP close request (CMD = 0039H). Hold the input of function block in the on state u...
112 6 F 3 B 0 3 6 2 6.5 Sample Programs This section presents sample programs using UDP and TCP sockets. 1. UDP sockets This is a sample program that issues the requests used with UDP sockets. It assumes that theparameter set up and operating mode control requests (run mode/socket interface tran...
113 6 F 3 B 0 3 6 2 b. UDP close request This program issues a UDP close request for socket number 2 on the Ethernet Port. This ladder program is executed by turning on the A contact on the R0623. Parameters: 12544: 3100H, 00052: 0034H | /* UDP close request: executed when R0623 is set on. */ | ...
114 6 F 3 B 0 3 6 2 c. UDP send request This program issues a UDP send request for socket number 2 on the Ethernet Port. This ladder program is executed by turning on the A contact on the R0622. Parameters: 12544: 3100H, 00050: 0032H0341995909: 14627185H Transmission destination IP address: 133....
115 6 F 3 B 0 3 6 2 d. UDP receive request This program issues a UDP send request for socket number 2 on the Ethernet Port. This ladder program is executed by turning on the A contact on the R0621. Parameters: 12544: 3100H, 00051: 0033H 0341995909: 14627185H Transmission source IP address: 133.1...
116 6 F 3 B 0 3 6 2 2. TCP sockets This is a sample program that issues the requests used with TCP sockets. It assumes that theparameter set up and operating mode control requests (run mode/socket interface transmissionenable) have already completed. a. TCP open request (passive) This program is...
118 6 F 3 B 0 3 6 2 c. TCP close request This program issues a TCP close request for socket number 8 on the Ethernet Port. This ladder program is executed by turning on the A contact on the R0633. Parameters: 12544: 3100H, 00057: 0039H | /* TCP close request: executed when R0633 is set on. */ | ...
119 6 F 3 B 0 3 6 2 d. TCP send request This program issues a TCP send request for socket number 8 on the Ethernet Port. This ladder program is executed by turning on the A contact on the R0632. Parameters: 12544: 3100H, 00055: 0037H Transmission data word count: 1000 Transmission data storage r...
120 6 F 3 B 0 3 6 2 e. TCP receive request This program issues a TCP receive request for socket number 8 on the Ethernet Port. This ladder program is executed by turning on the A contact on the R0631. Parameters: 12544: 3100H, 00056: 0038H Reception data word count: RW103 Reception data storage ...
123 6 F 3 B 0 3 6 2 7.1 T2N Special Relays and Registers The Ethernet Port status information is reflected in the T2N special relays and special registers. a. Special relays (the renewing cycle of 100 ms) Special relay Name Function S000B Ethernet Port error(warning) 1: The installed Ethernet Po...
124 6 F 3 B 0 3 6 2 d. Operation mode and station status of Ethernet Port Each bit of station status has the following mean. If you want to judge the mode (initialize mode/ run mode/ standby mode), look at the value of the register. The mode of Ethernet Port The station status During initialize ...
125 6 F 3 B 0 3 6 2 7.2 Down Information When an Ethernet Port goes to down mode, the factor that caused that transition is stored in theT2N interface buffer as one word of data. This data can be read by the T2N with the READinstruction. Table 7.1 lists the down information error codes and the f...
126 6 F 3 B 0 3 6 2 7.3 Remote Port Verification Request This request verifies the existence of the specified remote port, and corresponds to the UNIX pingcommand. This request can be issued when the Ethernet Port operating mode is either run orstandby mode. The Ethernet Port will respond to thi...
127 6 F 3 B 0 3 6 2 e. Sample program This sample ladder program issues a remote port verification request to the Ethernet Port. This program is executed by turning on the R0504 A point. Parameters: 12544:3100H, 00020:0014H, 341995909;14627185H ↓ 85H. 71H. 62H. 14H ↓ 133. 113. 98. 20 |R0504 R060...
128 6 F 3 B 0 3 6 2 7.4 Remote Port Loopback (for an Ethernet Port) This request sends test data to the specified remote Ethernet Port (T2N/T3H) and verifies thattransmission is being performed correctly by receiving that data looped back from the remote port.A user program must compare the tran...
129 6 F 3 B 0 3 6 2 • For data storage registers, a boundary error (TermSTS = 0AH) occurs if the specified area(start register + register range) does not exist in the local port. • A response timeout error (TermSTS = 02H) occurs if the loopback response time exceeds thetime specified by the time...
130 6 F 3 B 0 3 6 2 Time set request (using the SEND instruction) a. Function This request sets the Ethernet Port internal time from a user program. b. Transfer parameters A 3100H Module designation A+1 CMD = 0018H CMD number A+2 Month Year A+3 Hour Day A+4 Seconds Minute • Enter the year, month...
131 6 F 3 B 0 3 6 2 e. Sample program This sample ladder program issues a time set request to the Ethernet Port. This program is executed by turning on the R0508 A point. Parameters: 12544:3100H, 00024:0018H, 01942:0796H, 05124:1404H, 00048:0030H |R0508 R0608 | 1|-| |----------------------------...
132 6 F 3 B 0 3 6 2 7.6 RAS Information Readout This request reads out the Ethernet Port RAS information (internal error information andphenomenon history) from a user program. RAS information readout request (using the RECV instruction) a. Function This request reads out the Ethernet Port RAS i...
133 6 F 3 B 0 3 6 2 c. Status (See figure 4.3 for details on bits C, D, E and F.) F E D C B A 9 8 7 6 5 4 3 2 1 0 B 0 0 0 0 TermSTS B+1 Detailed information (Only valid when TermSTS = 0BH.) d. Important items • This request can be used in run and standby modes. • The read out RAS information is ...
134 6 F 3 B 0 3 6 2 e. Sample program This sample ladder program issues a RAS information readout to the Ethernet Port. This program is executed by turning on the R0505 A contact. Parameters: 12544:3100H, 00021:0015H RAS storage registers: Starting at D0000. RAS request type: Event trace informa...
135 6 F 3 B 0 3 6 2 f. RAS information details (1) RAS counters ...........................LAN controller (line) information Reads out 128 words of data using RAS information readout. Table 7.2 RAS Counters Symbol Description RAS_CNT [0] Normal reception count RAS_CNT [1] Bus read error (recepti...
136 6 F 3 B 0 3 6 2 (3) MIB information: MIB_IP .......IP protocol information Reads out 17 words of data using RAS information readout. Table 7.4 MIB_IP Symbol Description MIB_IP [0] Indicate IP gateway in action or not action MIB_IP [1] Default TTL (Time to Live) of IP packet MIB_IP [2] Total ...
137 6 F 3 B 0 3 6 2 (5) MIB information: MIB_UDP ... UDP protocol information Reads out 4 words of data using RAS information readout. Table 7.6 MIB_UDP Symbol Description MIB_UDP [0] Number of UDP datagrams transferred upstream MIB_UDP [1] Number of datagrams addressed to unused ports MIB_UDP [...
138 6 F 3 B 0 3 6 2 • Event trace item: See table 7.7 Table 7.7 Event Trace Items Eventcode Detail information 1 (H) Detail information 2 (H) Detail information 3 (H) Detail information 4 (H) Content 0001H ROM error (0160) RAM error (0260)DPRAM error (0360) Initialization error 0002H Program add...
140 6 F 3 B 0 3 6 2 8. Error Handling This chapter describes the error analysis and recovery procedures for errors that occur while usingthe Ethernet Port. Also refer to the T2N user's manual when recovering from Ethernet Port-relatederrors. 8.1 LED Display The Ethernet Port indicates its Ethern...
142 6 F 3 B 0 3 6 2 The EACC LED indicates when the T2N is accessing the Ethernet Port. Table 8.3 States Indicated by the EACC LED LED display State EACC (Access) Indicates whether or not the T2N is accessing the Ethernet Port. • Lit ........ The T2N is accessing the Ethernet Port. • Off ..........
146 6 F 3 B 0 3 6 2 8.3 T2N Special Relays and Registers The Ethernet Port status information is reflected in the T2N special relays and special registers. 1. Special relays Special relay Name Function S000B Ethernet Port error(warning) 1: The installed Ethernet Port unit is down. (The T2N conti...
147 6 F 3 B 0 3 6 2 RCLOSE NOACK CONN RCV 8.4 Socket Interface Information The information for the eight socket interface sockets held by the Ethernet Port can be read outwith the T2N READ instruction. (See Section 6.3 Socket Interface Information.) The Ethernet Portholds five words of socket st...
149 6 F 3 B 0 3 6 2 4. If the Ethernet Port fails to enter run mode This section assumes that the Ethernet Port has come up normally up to this point. Note that theparameters must be set up with a parameter setup request before issuing the operating modecontrol request used to switch the Etherne...
150 6 F 3 B 0 3 6 2 b. Operating mode control request START Set up correct specification information and issuean operating mode control request. No Is an operating mode control request executed? Yes Verify the status using the procedure described inthe item 3 " If a SEND or RECV instruction ...
151 6 F 3 B 0 3 6 2 5. If computer link protocol transmission fails a. Host computer side (main port) START Verify the slave Ethernet Port transmissiondestination IP address. No Is the transmission destination IP address set to that of the slave Ethernet Port? Yes Check the network verificationi...
153 6 F 3 B 0 3 6 2 6. If PC link protocol transmission fails a. Main port side Ethernet Port START Verify the status using the procedure described in theitem 3 " If a SEND or RECV instruction fails complete"on page 148. No Does the SEND/RECV instruction complete? Yes No Was there a resp...
155 6 F 3 B 0 3 6 2 7. If transmission using UDP sockets fails a. Open and close requests START Verify the status using the procedure described inthe item 3 " If a SEND or RECV instruction failscomplete" on page 148. No Yes Does the SEND instruction complete? Set the Ethernet Port to run...
156 6 F 3 B 0 3 6 2 b. Send request START Verify the status using the procedure described inthe item 3 " If a SEND or RECV instruction failscomplete" on page 148. No Yes Does the SEND instruction complete? Set the Ethernet Port to run + sockettransmission enabled using an operating modec...
157 6 F 3 B 0 3 6 2 c. Receive request START Resolve the problem by referringto the status. Transmit a message at theremote port. Verify the status using theprocedure described in the item3 " If a SEND or RECVinstruction fails complete" onpage 148. No Did the RECV instruction complete? Y...
158 6 F 3 B 0 3 6 2 8. If Transmission Using TCP Sockets Fails When troubleshooting TCP sockets, also refer to the section "TCP socket interface notes" insection 6.2, Ethernet Port Socket Interface Usage Notes. a. Open request START Resolve the problem by referringto the status. Decide w...
159 6 F 3 B 0 3 6 2 b. Close request START Verify the status using the procedure described in theitem 3 " If a SEND or RECV instruction failscomplete" on page 148. No Does the SEND instruction complete? Yes Set the Ethernet Port to run + socket transmissionenabled using an operating mode...
163 6 F 3 B 0 3 6 2 9. Installation and Wiring 9.1 Installation Environment and Base Unit Mounting The PU235N/245N must be used in the installation environment described in section 4.1,"Installation Environment," of the T2N User's Manual - Hardware. Also, the PU235N/245N panelmust be ins...
164 6 F 3 B 0 3 6 2 9.2 Network Wiring See section 3.2, "Network Wiring Equipment," for details on the equipment that makes up thenetwork. This section presents an outline of the wiring laid inside the control panel and outside thecontrol panel. This section also presents individual note...
165 6 F 3 B 0 3 6 2 b . Overview of wiring without protective pipes (1) To protect the cables, cables should be passed through flooring ducts or wire protecting cable covers should be used. Note that these cables should not be laid adjacent to cables carrying high currents. (2) Lay cables in gap...
166 6 F 3 B 0 3 6 2 Considering resistance to noise, we recommend using either covered metal cable ducts orprotective steel pipe. Table 9.3 lists the recommended minimum separations for parallel lines inthis case. Table 9.3 Recommended Minimum Separation Distance (Covered metal ducts and metal p...
167 6 F 3 B 0 3 6 2 e. Wiring routes The desirable routes for laying the transmission cable can be ordered as follows. (1) Using a dedicated route (2) Using a route dedicated to computer system related lines (3) Using a route dedicated to general measurement equipment (4) Using a route dedicated...
168 6 F 3 B 0 3 6 2 5. Notes on laying and wiring AUI cable a. When connecting the AUI cable to the MAU connectors, use the slide latches to secure theconnectors firmly. b. Contact the manufacturer of the cable with regard to the physical characteristics value of theAUI cable allowable minimum b...
169 6 F 3 B 0 3 6 2 Appendix 1 Maintenance and Inspection Periodic Inspection Check the following items periodically, once every six months. Also, check these points if anysurrounding conditions or any aspect of the environmental changes. Table A.1 Periodic Inspection Items Inspection item Inspe...
171 6 F 3 B 0 3 6 2 Appendix 2 Request Code Table This table lists the request codes (CMD) used with SEND/RECV instructions sent to the EthernetPort. Refer to the section/item indicated in the reference column in the table for detailedexplanations of the request codes. Table A.2 Instructions (Re...
172 6 F 3 B 0 3 6 2 Socket identifier:Only valid for socket interface transmission instructions. ("0" for other instructions) status 0: Initial state1: While send requesting2: Send complete and while waiting response 3: Complete Appendix 3 Status Table Figure a.1 lists the completion sta...
175 6 F 3 B 0 3 6 2 Appendix 4 Limitations on the T2N SEND and RECV Instructions When transmissions using the Ethernet Port occur with high frequency, the T2N internalprocessing load increases and it is possible for this to interfere with the T2N periodic interruptsand other internal operations....
176 6 F 3 B 0 3 6 2 Table A.6 Number of Words that can be Transmitted Using PC Link Protocol with the Ethernet Port [When TCP/UDP socket transmission is not used] Module classification Processing time for function instructions Maximum specifiable number of transmission words for local T2N SEND i...
177 6 F 3 B 0 3 6 2 (2) When using socket transmission (TCP or UDP) with the Ethernet Port Table A.7 Number of Words that can be Transmitted Using TCP/UDPSocket Transmission with the Ethernet Port [When the PC link protocol is not used] Module classification Processing time for function instruct...
178 6 F 3 B 0 3 6 2 (3) When using the PC link protocol and socket transmission (TCP or UDP) with the Ethernet Port. Table A.8 Number of Words that can be Transmitted Using PC Link Protocol andTCP/UDP Socket Transmission with the Ethernet Port with EthernetPort. [When PC link transmission and TC...
Toshiba Manuals
-
Toshiba 26C100U
User Manual
-
Toshiba 26C100U
Manual
-
Toshiba 55SL412U
User Manual
-
Toshiba 55SL412U
Manual
-
Toshiba 50L5200U
User Manual
-
Toshiba 50L5200U
Manual
-
Toshiba 24V4210U
User Manual
-
Toshiba 24V4210U
Manual
-
Toshiba 40L3400U
User Manual
-
Toshiba 40L3400U
Manual
-
Toshiba 50L1350U
User Manual
-
Toshiba 50L1350U
Manual
-
Toshiba 24SLV411U
User Manual
-
Toshiba 24SLV411U
Manual
-
Toshiba 50L2400U
User Manual
-
Toshiba 58L7350U
User Manual
-
Toshiba 32L2400U
User Manual
-
Toshiba 32L2400U
Manual
-
Toshiba 50L1400U
User Manual
-
Toshiba 50L1400U
Manual