| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Intelligent Network Controller Embedded System S1S60000 Series
Top Searches for this datasheetMF1498-03 Intelligent Network Controller Embedded System S1S60000 Series Host Interface Manual NOTICE part this material reproduced duplicated form means without written permission Seiko Epson. Seiko Epson reserves right make changes this material without notice. Seiko Epson does assume liability kind arising inaccuracies contained this material application product circuit and, further, there representation that this material applicable products requiring high level reliability, such medical products. Moreover, license intellectual property rights granted implication otherwise, there representation warranty that anything made accordance with this material will free from patent copyright infringement third party. This material portions thereof contain technology subject relating strategic products under control Foreign Exchange Foreign Trade Japan require export license from Ministry International Trade Industry other approval from anther government agency. other product names mentioned herein trademarks and/or registered trademarks their respective companies. This product uses SuperFlash technology licensed from Silicon Storage Technology, Inc. SEIKO EPSON CORPORATION 2003, rights reserved. Configuration product number DEVICES 60000 00A1 Packing specifications Besides tape reel directions Tape reel Back directions directions directions Tape reel FRONT directions directions directions directions Tape reel LEFT directions directions directions directions Tape reel RIGHT Specs fixed Specifications Shape QFP) Model number Model name Intelligent Network Controller) Product classification (S1: Semiconductors) CONTENTS HARDWARE INTERFACE.1 Description.1 Input Output Ports.1 Setup Host Interface 1.3.1 Setup Procedure.2 1.3.2 Setup Options SOFTWARE INTERFACE Input Output Format.5 2.1.1 Format Command Status.6 2.1.1.1 Sequence Number 2.1.1.2 Terminal Point Number.6 2.1.1.3 Command Number 2.1.1.4 Status Number 2.1.2 Format Option Parameter 2.1.3 Send/Receive Data.9 2.1.3.1 Data Length.9 2.1.3.2 Send/Receive Data SYSTEM Terminal Point 2.1.3.3 Send/Receive Data DATALINK Terminal Point.11 2.1.3.4 Send/Receive Data Terminal Point.11 2.1.3.5 Send/Receive Data Terminal Point 2.1.3.6 Send/Receive Data SNMP Terminal Point Issuing Command Obtaining Resulting Information 2.2.1 Commands Written Command Port Alone 2.2.2 Commands written both Command Port Data Port Initial Setting 2.3.1 Disable Communication Protocol Setting.14 2.3.2 Enable DHCP Setting 2.3.3 Disable DHCP Setting FORMAT COMMANDS STATUSES open Command send Command receive Command.28 close Command abort Command stop Command status Command.35 init Command.38 info Command 3.10 error Status 3.11 event Status 3.12 boot Status.45 3.13 arrive Status.45 3.14 sleep Status 3.15 wake Status Rev.1.4 EPSON S1S60000 Series Host Interface Manual HARDWARE INTERFACE Description When connecting host network S1S60000 series ("S1S60000"), commands data communicated host interface ("host I/F"). Following illustrates connection diagram between host S1S60000. HA[2:0] HD[15:0] HCS# Host HRD0#,HRD1# HWR0#,HWR1# HINT S1S60000 Fig.1.1 Host Interface Connection Diagram host establishes communication with S1S60000 transmitting receiving data using access (memory access case mapped I/O). HINT interrupt signal from S1S60000 host CPU. S1S60000 connects disconnects host from network according commands from host. S1S60000 informs internal state host status resulting from status read request. Input output data well option part command status implemented transmitting receiving ports. Input Output Ports port Communication between S1S60000 host carried following three ports. accessed specified state [2:0] HCS#=0. Command/status port (8bit: [2:0] 000, 16bit:HA [2:0] command from host S1S60000 written this port Write operation). status sent from S1S60000 read from port Read operation). Since this port 16-bit wide, times access upper lower addresses) required 8-bit interface. contents data, refer 2.1.1. Data port (8bit: [2:0] 010, 16bit: [2:0] Data from host S1S60000 written port Write operation). And, data from S1S60000 read from port Read operation). Since this port 16-bit wide, times access upper lower addresses) required 8-bit interface. Option parameters command/status also transmitted received this port. details, refer "2.1.3 Transmitted Received Data". Rev.1.4 EPSON S1S60000 Series Host Interface Manual Flag port [2:0] used indicate processing state command, status data host interface. assigned setup EXTINT (bit7). types When EXTINT [1:0] state becomes causes active HINT signal when either HINT signal becomes active state (polarity signal changed). When status data read host side, corresponding causes cleared when causes cleared, HINT signal becomes non-active state. Also, when checking S1S60000 internal data processing state from host interface, decide with [3:2] state. When EXTINT [3:0] state becomes causes active HINT signal when either HINT signal becomes active state (polarity signal changed). cleared writing into corresponding position host side, HINT signal becomes non-active state causes were cleared. Since port 8-bit wide, when 16-bit interface used times access upper lower addresses) made with 8-bit interface, same data read from upper lower addresses. Table Assignment Flag Port EXTINT=0 EXTINT=1 EXTINT Extended interrupt reserved (conventional compatibility) Extended interrupt used Reserved. Value HSTREN Data port receive circuit S1S60000 invalid Data port receive circuit S1S60000 valid H2CDV State processing written H2CDC Data read notification (Read) data (R/O) Data read waiting data Writing data possible Last data read ended Data read waiting (Cleared 1-write) H2CCV command processing state H2CCC command processing notification (R/O) (Read) Writing command possible Command unprocessed command Command processing waiting Last command processing ended (Cleared 1-write) C2HDV Read data preparatory state (R/O) Read data present Read data present (Cleared read) C2HSV Status preparatory state (R/O) Read status present Read status present (Cleared read) Note: When host interface 16-bit wide, same content [7:0] output [15:8]. Only writing [7.0] side valid. Setup Host Interface 1.3.1 Setup Procedure S1S60000 allows specifying host I/F's type, size, endian type, polarity interrupt line polarity WAIT signal depending model host connected Setup implemented following order priority. Setup internal registers Setup EEPROM data Setup with setup pins details setup, refer product specification technical manual respective ICs. EPSON Rev.1.4 S1S60000 Series Host Interface Manual Setup internal registers this approach, data directly written S1S60000 registers. from core program. Access registers made directly Setup EEPROM data this approach, data preliminary written specific address external 3-wire EEPROM automatically selected reset (including software reset). specified setup becomes valid when HIFSEL [2:0] 111. Setup with setup pins Setup done state HWPOL, HINTPOL, HENDIAN, HSIZE HIFSEL [2:0] pins reset (including software reset). specified setup becomes valid when HIFSEL [2:0] 111. 1.3.2 Setup Options specify following items host S1S60000. type size Endian Polarity WAIT signal type type specified with EEPROM data HIFCR [10:8] HIFSEL [2:0] pin. select desired type from following. CPUs listed below sometimes connectable signal type similar. details, refer product specification technical manual respective ICs. Table Setting Type Type SH3, SH4, EPSON S1C33 Series MC68000,MC68010 MC68030,MC68040 Generic Reserved MIPS,ISA PCMCIA Setup EEPROM data size specify 8-bit 16-bit using EEPROM data HIFCR [11] HSIZE pin. Table Setting Setup Size size 16bit 8bit When have selected 8-bit interface, access command/status port becomes valid second attempt made [2:0] [2:0] 001. Likewise, access data port becomes valid second attempt made [2:0] [2:0] 011. Repeated access same address does make attempt valid. order access optional. Access flag port always valid long made Rev.1.4 EPSON S1S60000 Series Host Interface Manual Endian specify little endian host EEPROM data HIFCR [12] HENDIAN pin. Selecting appropriate endian enables processing command without changing order byte order from software. Table Setting Selection Endian Endian type Little endian endian Little endian When little endian selected, host S1S60000 exchanges lower bits upper bits 16-bit data lower address upper address port, respectively. Little endian used when host Intel series equivalent. endian When little endian selected, host S1S60000 exchanges lower bits upper bits 16-bit data upper address lower address port, respectively. endian used when host Motorola series equivalent. Setup interrupt signal specify polarity HINT interrupt signals HIFCR register bit14 HINTPOL pin. Table Setting Polarity interrupt signal Polarity interrupt signal active HIGH active EPSON Rev.1.4 S1S60000 Series Host Interface Manual SOFTWARE INTERFACE Software interface series S1S60000 employ common format. This format will used base when additions/modifications conducted physical layer interface expanded support IPv6 future. Input Output Format Writing command Following format applies commands other than open send. Content Port Command Command port Write Writing reading from S1S60000 implemented following approaches. Writing command option parameter Following format applies open command. Content Port Command Command port Write Option parameter Data port Write Writing command option parameter send/receive data Following format applies send command. Content Port Command Command port Write Option parameter Data port Write Outgoing data Data port Write Reading status Following format applies statuses other than read, error event. Content Port Status Status port Read Reading status option parameter Following format applies error event statuses. Content Port Status Status port Read Option parameter Data port Read Reading status option parameter send/receive data Following format applies read status. Content Port Status Status port Read Option parameter Data port Read Incoming data Data port Read Rev.1.4 EPSON S1S60000 Series Host Interface Manual 2.1.1 Format Command Status Following formats apply commands sent command port statuses received status port, respectively. Table Data Sequence number Format Command Terminal point number Command number Table Data Sequence number Format Status Terminal point number Status number 2.1.1.1 Sequence Number Length sequence number fixed bits. host select number range command sequence number. status, either number selected host command status which corresponding command does exist) assigned. Thus, host capable identifying corresponding command checking sequence number. 2.1.1.2 Terminal Point Number Length terminal point number fixed bits. This number, being selected range indicates intended application terminal point. Terminal points classified into five categories system, data link layer, layer, layer SNMP layer according their applications. Table Number Name SYSTEM DATALINK TCP0 TCP1 TCP2 TCP3 UDP0 UDP1 UDP2 UDP3 SNMP List Terminal Points Application Used exchange data with system (S1S60000) Used exchange data with data link layer Used exchange data with layer Used exchange data with layer Used when expanding SNMP host Reserved SYSTEM used when exchanging data between S1S60000 itself host order example, control hardware contained S1S60000 (such I2C, GPIO EEPROM). DATALINK used sending receiving already assembled packets without resorting protocol processing inside S1S60000. built-in generation/check circuit usable this case, too. TCP0 TCP3 UDP0 UDP3 used when transmitting receiving data using TCP/IP processing function S1S60000. SNMP used when host adds Private S1S60000. Each terminal point independent allowing them same time. EPSON Rev.1.4 S1S60000 Series Host Interface Manual 2.1.1.3 Command Number Length command number fixed bits. This number, being selected range identifies specific command. Table shows list commands Table shows command usable respective terminal points. Table Number Name open send receive close abort stop status init info List Commands Meaning Used initialize start using terminal point Used send data from terminal point Used receive data from terminal point Reserved utilization terminal point utilization terminal point (for emergency) Used cancel command that currently turning data transfer terminal point Used obtain information that vary depending status terminal point Used initialize S1S60000 Used obtain status-independent information from terminal point Reserved Table Combination Terminal Point Command Command abort stop Terminal point open send receive close status init info Name SYSTEM DATALINK TCP0 TCP1 TCP2 TCP3 UDP0 UDP1 UDP2 UDP3 SNMP Allowable combination Unallowable combination host issues combinable command, S1S60000 will return invalid status. Rev.1.4 EPSON S1S60000 Series Host Interface Manual 2.1.1.4 Status Number Length status fixed bits. This number, being selected range indicates specific status. Table shows list statuses Table lists statuses returned responding respective commands. Table arrive sleep wake event boot write read working invalid error busy cancel Name Reserved Received data. Write data port. Read data port. Processing completed normally. Status terminal point illegal. Status S1S60000 supported. Refer data port detail. Received command. Received command. List Statuses Meaning command unacceptable. command unacceptable. command unacceptable. command unacceptable. Resources shortage. command been received, however succeeding asynchronous process ended unsuccessfully. Reserved Read notice from S1S60000 data port. S1S60000 been started. Reserved S1S60000 received data. Sleep mode been turn S1S60000. Normal operation mode been turned S1S60000. Table Combination Status Command Status number cancel error busy Command write read working invalid event boot arrive sleep wake Name open send receive close abort stop status init info statuses returned responding command. status returned responding command. EPSON Rev.1.4 S1S60000 Series Host Interface Manual 2.1.2 Format Option Parameter certain commands, must specify option parameter execute them. instance, when using open command layer, must specify address destination well port connected. Some statuses also contain option parameter. Length option parameter fixed bytes. bytes them used indicate byte count outgoing/incoming data remaining bytes contain information unique given command status. Option parameters read written data port. Table Byte Byte count send/ received data Common Option Parameter Format Data Area containing information unique given command/status option parameter contain data four different types numeric type, type, address type data type. These data types respectively stored option parameter following formats. Table Data type Numeric type type address type Data type Data Type Option Parameter Storing format Length data this type fixed bits, bits bits. Upper bits lower bits data stored BYTE side BYTE side option parameter, respectively. Length fixed bits, bits bits. defined basis. Role data Length data this type fixed bits. Upper bits lower bits data stored BYTE side BYTE side option parameter, respectively. Length data this type defined respective parameters. beginning byte stored BYTE side BYTE side option parameter, respectively. Send/receive data 16-bit long numeric data. must this field. When command status does contain send/receive data, 2.1.3 Send/Receive Data Send/receive data read written data port. Length send/receive data variable. indicated starting bytes option parameter. byte count 2.1.3.1 Data Length Length data that transmitted received with command time varies from maximum data length defined respective terminal points. terminal point TCP, instance, data transmitted received range bytes. Table 2.10 lists length data transmittable receivable respective terminal points. When info command issued, host capable securing maximum data length shown Table 2.10. Rev.1.4 EPSON S1S60000 Series Host Interface Manual Table 2.10 Terminal point SYSTEM DATALINK SNMP Terminal point number Length Send/Receive Data Minimum data length (byte) Maximum data length (byte) 1518 Note, however, that S1S60000 return error status send command requesting send maximum data length depending option parameter combined with open command send command. Table 2-11 Length Send/Receive Data DATALINK Terminal Point Relation Combination Option Parameters included send data included send data Maximum data length 1514 1518 Table 2-12 Length Send/Receive Data Terminal Point Relation Combination Option Parameters Data data continuation settings data Continue data data Continue data Maximum data length byte boundary) byte boundary) Data continuation (offset) state Data continued (offset=0) Data continued (offset>0) 2.1.3.2 Send/Receive Data SYSTEM Terminal Point Different data included depending internal hardware. difference follows. EEPROM (read): Send data does exist. receive data 16-bit data stored EEPROM, upper bits appear order address receive data column, lower bits appear HIGH order address. length receive data always EEPROM (write): send data 16-bit data that written into EEPROM. upper bits placed order address send data column, lower bits placed HIGH order address. length send data always Receive data does exist. further information data written into EEPROM, refer EEPROM section technical manual. (read): Send data data array (index) output bus. However, lengths index receive data both "0", only leading byte output index. receive data index output 1-to-8 byte data read from result output that data. (write): Send data data array output bus. Send data length vary from maximum data length SYSTEM communication terminal point. Receive data does exist. Flash (write): send data data from byte maximum data length SYSTEM terminal point that should written Flash ROM. Receive data does exist. Flash (read): Send data does exist. receive data data from byte maximum data length SYSTEM terminal point that read from Flash ROM. EPSON Rev.1.4 S1S60000 Series Host Interface Manual There send/receive data GPIO S1S60000 (internal register). communicates part option parameter. write/read data 2.1.3.3 Send/Receive Data DATALINK Terminal Point communication media Ethernet, send/receive data starts from destination address field ends after data included least. completely included depending specification open command option DATALINK terminal point. 2.1.3.4 Send/Receive Data Terminal Point send/receive data terminal point corresponds data section segment, therefore, protocols over such SMTP FTP, completely included send/receive data. 2.1.3.5 Send/Receive Data Terminal Point send/receive data Terminal Point corresponds data section datagram, therefore, protocols over such NTP, completely included send/receive data. 2.1.3.6 Send/Receive Data SNMP Terminal Point send/receive data SNMP terminal point corresponds VarBind VarBind List SNMP message. Type (SEQUENCE) beginning SNMP message type (SEQUENCE) length field VarBind List included send/receive data. send/receive data include more than VarBind. Rev.1.4 EPSON S1S60000 Series Host Interface Manual Issuing Command Obtaining Resulting Information 2.2.1 Commands Written Command Port Alone When issuing command that written command port alone, host implements following procedures. Reads flag port check whether command acceptable (bit2 Writes command command port. References HINT interrupt signal flag port's status (bit0) make sure that status been set. Reads status from status port. References sequence number/terminal point number status identify what command status returned. Recognizes result obtained from command referencing status number contents data port. example, when host issued info command, host S1S60000 exchanges information shown below until result obtained. Host Flag port Causes interrupt Command Status port Data port Command acceptable Command (sequence terminal point info) written HINT interrupt (Status) Interference status irrelevant info command Status (sequence 0x00 terminal point arrive) read HINT interrupt (Status) Status (sequence terminal point read) read read status option parameter bytes (result info command)is read above example, status irrelevant info command ("arrive" status terminal point once read after info command been written before corresponding HINT interrupt caused. this case, status corresponding info obtained checking sequence number. EPSON Rev.1.4 S1S60000 Series Host Interface Manual 2.2.2 Commands written both Command Port Data Port When host issues command data port, implements following procedures. Reads flag port confirm port accept command (bit2 Writes command command port. References HINT interrupt signal flag port's status (bit0) make sure that status been set. Reads status from status port. References sequence number/terminal point number status identify what command status returned. Reads flag port confirm whether data acceptable (bit3 bit4 Writes data data port. Above repeated every data sent out. References HINT interrupt signal flag port's status (bit0) make sure that status been set. Reads status from status port. (10) References sequence number/terminal point number status identify what command status returned. (11) Recognizes result command referencing status number contents data port. example, when host issued info command, host S1S60000 exchanges information shown below until result obtained. Host Flag port Causes interrupt Command Status port Data port (10) (11) Command acceptable Command (sequence terminal point open) written HINT interrupt (Status) Status (sequence number terminal point write) written Data acceptable open command status option parameter bytes written HINT interrupt (Status) Status (sequence terminal point read Rev.1.4 EPSON S1S60000 Series Host Interface Manual Initial Setting When S1S60000 started when boot status returned result init command, S1S60000 initialized based initial value (the value EEPROM EEPROM exists) internal register. host changes S1S60000's setting issuing commands such send command system terminal point necessary, then issues open command system terminal point starts transmission to/from network. S1S60000 three different operation states depending content open command. State where communication protocol S1S60000 used State where communication protocol internal S1S60000 acquires address using DHCP State where communication protocol internal S1S60000 does DHCP "open Command" section details open command option. 2.3.1 Disable Communication Protocol Setting "Use DATALINK Layer" (bit using command option flag when opening system terminal point, communication protocol internal S1S60000 disabled. Interpret communication protocol host CPU. this state, only SYSTEM DATALINK terminal points used. TCP/UDP SNMP terminal points used. 2.3.2 Enable DHCP Setting "Use DATALINK Layer" (bit "Enable Address" (bit reset when opening system terminal point, communication protocol internal S1S60000 enabled. S1S60000 will DHCP attempt setup address, subnet mask default gateway. setup successful, event status address enabled) notified host CPU. address, subnet mask default gateway that confirmed using status command system terminal point. period address lease also extended automatically S1S60000. SYSTEM/TCP/UDP/SNMP terminal points used this state. DATALINK terminal point used. 2.3.3 Disable DHCP Setting "Use DATALINK Layer" (bit reset "Enable Address" (bit when opening system terminal point, communication protocol internal S1S60000 enabled. S1S60000 will address, subnet mask default gateway that host described command option. DHCP used will operate. SYSTEM/TCP/UDP/SNMP terminal points used this state. DATALINK terminal point used. EPSON Rev.1.4 S1S60000 Series Host Interface Manual FORMAT COMMANDS STATUSES open Command Table shows configuration option parameter. Following describes format commands statuses order code. This command used initialize start using terminal point. Command number Command option open command requires option parameter. Table Byte SYSTEM DATALINK TCP0 TCP3 UDP0 UDP3 SNMP open Command Option Parameters address Subnet mask Default gateway address destination Port number destination Flag port number Timeout enterprise code Community name Command option: Flag (Common byte) Flag 8-bit long type data. Set/reset function enable/disable field option parameter basis. Detailed roles respective bits flag described Tables 3.2, 3.3, 3.5. Specify reset bits whose corresponding functions reserved. Lower bits internal register SOPAR used value flag SYSTEM terminal point. S1S60000 assumes value read from SOPAR flag specified host CPU. Table Reset Does DATALINK layer DATALINK layer Disables address Enables address Disables subnet mask Enables subnet mask Flag open Command (SYSTEM) Disables default gateway Enables default gateway Without SOPAR With SOPAR Reserved Note: Bits enabled only when reset (does DATALINK). Table Reset Send data does contain Send data contains Receives broadcast frames Receives every frame irrespective destinations Flag open Command (DATALINK) Receives multicast frames Does receive multicast frames Reserved Note: enabled only when reset (receives broadcast frames) Rev.1.4 EPSON S1S60000 Series Host Interface Manual Table Reset passive open active open Disables address destination Enables address destination Flag open Command (TCP/UDP) Disables port number Enables port number Disables timeout Reserved Enables timeout Reserved Disables port number destination Enables port number destination Note: When communicating with TCP0 TCP3, sure bits whenever (active open). Table Reset Reserved Disables internal register COMN Enables internal register COMN Flag open Command (SNMP) Disables community name when Enables community name when Disables community name when Enables community name when Disables timeout Private unavailable Disable enterprise code Enables timeout Private present Enables enterprise code Note: enabled only when (Private available). Command option: address (SYSTEM bytes) address type data being enabled only when DATALINK used. used specify equipment's address including S1S60000. When host disables address, S1S60000 starts DHCP client function requests DHCP server assign address. stead directly specifying address, host specify address indirectly indicating element number IPADR (numeric 24-bit data). When specifying address indirectly, enter starting byte address then enter element number IPADR remaining bytes. element number IPADR exceeds range IPADR, S1S60000 returns error status address. product specification technical manual respective details internal register IPADR. example, case S1S60000, there only IPADR, element number other than set, error status returned. When address specified indirectly, S1S60000 assumes value read from specified element number IPADR address specified host CPU. address specified host meets following conditions, S1S60000 returns error status. Value starting byte address greater than 224. bits network segment address. bits host segment address. network host segments address determined from subnet mask. "status" command allows referencing address specified here. EPSON Rev.1.4 S1S60000 Series Host Interface Manual Command option: Subnet mask (SYSTEM 11th bytes) address type data being enabled only when DATALINK used. this case, corresponding network segment address host segment. instance, host sets address 192.168.0.1 that subnet mask 255.255.255.0, S1S60000 recognizes that network belongs 192.168.0.0. with address, subnet mask also specified indirectly using internal register SNMSK. When host does specify subnet mask, S1S60000 determines subnet mask applying value starting byte address table shown below. Table Address Subnet Mask Subnet mask 255.0.0.0 255.255.0.0 255.255.255.0 Value starting byte address When subnet mask obtainable from DHCP server along with address, S1S60000 will value obtained from server. subnet specified host meets following conditions, S1S60000 returns error status. bits subnet mask Value uppermost bits subnet 255. "status" command allows referencing subnet mask here. Command option: Default gateway (SYSTEM 12th 15th bytes) address type data being enabled only when DATALINK used. with address, this address also specified indirectly using internal register DGW. host specify address that equipment indirectly does own. When data sent destination address belonging different network, S1S60000 will send data default gateway specified S1S60000. When default gateway specified, S1S60000 attempts send data directly destination. default gateway specified host meets following conditions, S1S60000 returns error status. Network segment address identical with that address. bits host segment address address identical with address. When default gateway available from DHCP server along with address, S1S60000 uses value obtained from DHCP server. "status" command allows referencing default gateway being specified here. Command option: address destination (TCP/UDP bytes) address type data. used specify address destination this terminal point. with address, this address also specified indirectly using internal register DADR. Role depends intended terminal point state flag shown below. Rev.1.4 EPSON S1S60000 Series Host Interface Manual Table Intended terminal point Address Destination open Command (TCP/UDP) flag flag Enables destination address Establishes connection with destination address Does respond request connection from address other than destination address. Does receive data from address other than destination address. (Not used while processing command taking place) Disables destination address error status returned host since address must enabled. Responds request connection from address. Receives data from address. (The address remain disabled) active open passive open active open passive open destination address specified host invalid (value starting byte 127, greater than 240), S1S60000 returns error status. And, terminal point TCP, S1S60000 returns error status following conditions met. Here, network host segments destination address determined from Table 3.6. Value starting byte address greater than 224. bits network segment address bits host segment address destination address identical with address. "status" command allows referencing destination address here. Command option: Port number destination port (TCP/UDP bytes) 16-bit numeric type data. used specify port number destination this terminal point. Role address) depends intended terminal point state flag shown below. Table Intended terminal point Destination Port Number open Command (TCP/UDP) Destination port number (bit flag) flag Enable Establishes connection with destination port number. Does respond request connection from other than destination port number. Does receive data from port other than destination port. (Not used long processing open command taking place) Disable error status returned host since port number must valid. Respond request connection from port number. Receives data from port. (The port number remain disabled) active open passive open active open passive open host specifies destination port number, S1S60000 returns error status. "status" command allows referencing destination port number specified here. EPSON Rev.1.4 S1S60000 Series Host Interface Manual Command option: port number (TCP/UDP 10th 11th bytes) 16-bit numeric type data. This data used specify port number terminal point itself. host specifies port number, S1S60000 returns error status. When port number invalid (flag's reset), number currently used same purpose selected range 49152 65535 port number. "status" command allows referencing port number specified here. Command option: Timeout (TCP/UDP/SNMP 12th 13th bytes) 16-bit numeric type data. This data used specify timeout period seconds) various types processing done terminal point. Specifically, used following purposes. datagram sent. duration until active open given duration until receiving data sent TCP. timeout specified host invalid (flag's reset), default seconds selected. "status" command allows referencing timeout specified here. Command option: Community name (SNMP 11th bytes) 8-bit byte data type data. When data length less than bytes, setup started from byte specified remaining bytes. This data used restrict access from network SNMP function contained S1S60000. community name enabled "set" operation, S1S60000 won't respond SNMP message (PDU type community name identical with being specified host CPU. Likewise, community name enabled "get" operation, S1S60000 won't respond SNMP message (PDU type community name identical with being specified host CPU. When host does enable host name when terminal point SNMP made open, "public" will selected community name. "status" command allows referencing community name selected here. Command option: enterprise code (SNMP 14th 15th bytes) 16-bit numeric type data being enable only when host supporting Private MIB. This data used node number under (1.3.6.1.4.1) MIB. This node number defined RFC1700 Network Management Private Enterprise Codes. enterprise code specified host S1S60000 returns error status. When host supporting Private enterprise code disabled, S1S60000 makes inquiry every Variable Binding below Private host regarding that 1.3.6.1.4.1 itself OID. instance, host selects enterprise code, S1S60000 makes inquiry host every Variable Binding whose below 1.3.6.1.4.1.345. "status" command allows referencing enterprise code specified here. Rev.1.4 EPSON S1S60000 Series Host Interface Manual Status Responding open command issued host CPU, S1S60000 returns status shown table below. Table Name write working invalid error Statuses Returned responding open Command Processing done host Writes bytes long option parameter data port. None. None. Employs another terminal point. Reads bytes option parameter error status from data port order check what specifically wrong. Corrects option parameter open command then attempts terminal point again. Issues receive command when host received some data yet. host attempts open terminal point again after certain period time. S1S60000 returns status following situations Received open command. Send option parameter. Processing open command option parameter successfully ended. terminal point already open. Specified terminal point accepted open command. terminal point number illegal. option parameter open command contains error. busy Internal resources S1S60000 insufficient. option parameters error status, refer section describing error status. Remarks host must issue open command terminal point SYSTEM before other terminal points. this case, flag's (use DATALINK), DATALINK layer becomes usable. reset (don't DATALINK), TCP0 TCP3 UDP0 UDP3 become usable. flag's (send data contains FCS) when open command issued terminal point DATALINK, host must place send data. this case, maximum length send data 1518 bytes including four bytes FCS. When flag's reset (send data does contain FCS), host does have place send data. S1S60000 will calculate FCS. Length send data, this case, must exceed 1514 bytes. When open command issued terminal points TCP0 TCP3, S1S60000 returns status before connection with established. identify whether connection with established from option parameter read status that returned responding receive command. event status also notify failure connection. details, refer sections describing receive command event status respectively. When open command issued terminal point SNMP, host does receive status from this terminal point. S1S60000 receives below specified Private node when open command issued, S1S60000 hands data including host CPU. host analyzes send necessary data S1S60000. Sending data means that host added Private S1S60000. EPSON Rev.1.4 S1S60000 Series Host Interface Manual send Command Table 3.10 shows configuration option parameter. This command used send data from terminal point. Command number Command option option parameter must added send command. Table 3.10 Byte send Command Option Parameter Send Data Operation Object SYSTEM Offset Unique-to-object field Send data length DATALINK TCP0 TCP3 UDP0 UDP3 Flag Control flag Destination address Destinati port number Total data length Send data Disables total data length Enables total data length SNMP Request Command option: Send data length (0th bytes common) 16-bit numeric type data. This data used specify byte count send data coded succeeding command option parameter. Command option: Flag (2nd byte common) 8-bit long type data. This data used reset functions basis, enable disable fields option parameter. Table 3.11 shows detailed role respective bits when data sent from UDP0 Table 3.12 shows their roles when target TCP0 bits flag SYSTEM, DATALINK SNMP reserved. Select reset reserved bits. Table 3.11 Reset Data Disables destination address Enables destination address Flag send Command (UDP) Sends address Reserved Normally Sends 0.0.0.0 Reserved Data continued Disables destination port number Enables destination port number Rev.1.4 EPSON S1S60000 Series Host Interface Manual Table 3.12 Reset Flag send Command (TCP) Disables control flag Enables control flag Normally Reserved Reserved Normally Command option: Operation (SYSTEM byte) 8-bit numeric type data. This data used specify operations such Read Write. Table 3.13 Value List Operations Type Read Write (Read-modify-Write) Erase (flash only) Read operation notified read status option receive command. Command option: Object (SYSTEM byte) 8-bit numeric type data. This data used specify target operation. shown below. Table 3.14 Value Type EEPROM GPIO Flash S1S60000 (built-in register) Specifiable objects List Objects Data size 16bit 8bit 16bit 8bit 16bit Command option: Offset (SYSTEM bytes) 16-bit numeric type data. When object divided into more targets operation, this data used designate target. Table 3.15 details offset respective objects. Table 3.15 Details Offset Designation Object Number Type EEPROM GPIO Flash S1S60000 Designates address Designates address Designates address EPSON Rev.1.4 S1S60000 Series Host Interface Manual Command option: Unique-to-object field (SYSTEM 15th bytes) Contents specified depend target object operation. Table 3.16 Object Type EEPROM GPIO Flash S1S60000 Unique-to-Object Field Designates slave device Receiving data length mask Receiving data length Index length mask pattern pattern Command option: Designation slave device (SYSTEM bytes) 16-bit long type data. This data used specify address slave device accessed S1S60000. address specified with bits. Table 3.17 7bit 10bit Slave Device Designation Format Specifies Slave address Specifies Slave address Command option: Receive data length (SYSTEM 10th, 11th Bytes) 16-bit numeric type data. specifies data length read from I2C. length data that read bytes less. Specifying value larger than will cause error. However, lengths receive data index data both "0", then length receive data considered send data length Command option: Receiving data length (SYSTEM Flash 10th 11th bytes) 16-bit numeric type data. specifies data length read from Flash ROM. maximum data length SYSTEM terminal point smaller read. Data length Command option: Index length (SYSTEM 12th Byte) 8-bit numeric type data. specifies number bytes index slave device. handles number bytes specified index length, starting from beginning send data, index data. Specifying value larger than send data will cause error. However, lengths receive data index data both "0", then length index data considered "1". Rev.1.4 EPSON S1S60000 Series Host Interface Manual Command option: mask (SYSTEM GPIO, S1S60000 12th 13th bytes) 16-bit long type data. Write (Read-modify-Write) operation, this data used specify mask setting target operation non-target bit. target contents operation host CPU-specified mask host CPU-specified pattern present, S1S60000 writes result operation (not target operation. When writing specified pattern S1S60000 specifies mask. case GPIO, BIT15 BIT0 correspond GPIO15 GPIO0, respectively. Target GPIO ports classified into groups accessed predetermined order shown following table. Table 3.18 GPIO group GPIO Group (S1S60000) Access order (First) (Last) GPIO port 0,1,2,12,13,14,15 3,8,9,10,11 4,5,6,7 Ports belonging same GPIO group accessed same time. Access interval between groups predetermined. When, instance, Write operation conducted GPIO14, GPIO4 GPIO1, GPIO accessed following procedure. GPIO1 GPIO14 read same time. GPIO4 then read. Writing done GPIO1 GPIO14 same time. Writing done GPIO4. Command option: pattern (SYSTEM GPIO, S1S60000 14th 15th bytes) 16-bit long type data. This data used specify pattern Write (Read-modify-Write) operation. GPIO, BIT15 when offset correspond GPIO15 GPIO0, respectively. Bits, except when offset reserved future expansion. example, when setting GPIO14 GPIO4 GPIO1 mask specified (0100_0000_0001_0010) pattern specified (0000_0000_0001_0010). Command option: Control flag (TCP 10th 11th bytes) 16-bit long type data. host sets control flag, S1S60000 transmits data normal segment. host sets control flag, S1S60000 sends data flagged segment. Command option: Destination address (UDP/SNMP bytes) address type data. This data used specify address destination this send data. When host destination address UDP0 terminal points (bit flag reset), S1S60000 uses value specified with open command destination address. host destination address using open command, S1S60000 returns error status. Instead specifying address directly, host identify element number internal register DADR (24-bit numeric type data) specify address indirectly. When specifying address indirectly, starting byte DADR element number DADR remaining bytes. S1S60000 assumes value read from element corresponding DADR address specified host CPU. element number DADR exceeds DADR range, S1S60000 returns error status address. details DADR, product specifications technical manual respective ICs. value starting byte host CPU-specified destination address greater than 240, S1S60000 returns error status. EPSON Rev.1.4 S1S60000 Series Host Interface Manual Command option: Destination port number (UDP/SNMP bytes) 16-bit numeric type data. This data used specify port number destination this send data. destination port number specified host S1S60000 returns error status. Like address, host destination port number using send command (bit flag reset), S1S60000 uses value specified with open command port number. And, host destination using open command, S1S60000 returns error status. Command option: Total data length (UDP 14th 15th bytes) 16-bit numeric type data. When size send data larger than maximum data length UDP0 UDP3 (See 2.1.3.1), this data used total size send data. example, when length data sent 1536 bytes, this data divided into bytes, bytes bytes then send command issued. this case, host sets total data length each send command 1536 shown below. Command option time send time send time send Send data length Flag Destination address 0.0.0.0 0.0.0.0 0.0.0.0 Destination port number Total data length 1536 1536 1536 send commands followed with send data this example, time send time send), must selected flag (data continued) bytes must specified total data length. total data length specified host smaller than total length send data, S1S60000 returns error state. And, when data sent after data (flag's reset), S1S60000 returns error status total data length invalid even though data continued (flag's set) selected. Namely, error won't warned following cases. above example, flag reset time send (total data length invalid). flag reset when sending data (total data length invalid). Command option: type (SNMP byte) 8-bit numeric type data. This data indicates type protocol data unit (PDU) SNMP message using following values. host specifies value other these send command option, S1S60000 returns error status. GetResponse Trap type Command option: (SNMP 10th byte) 8-bit numeric type data. When type contains value Error Status field GetResponse PDU. When type value Generic Trap Type field Trap contained. specific values, refer RFC1157 Simple Network Management Protocol). Command option: (SNMP 11th byte) 8-bit numeric type data. When type contains value Error Index field GetResponse PDU. When type contains value Specific Trap field Trap PDU. specific values, refer RFC1157 Simple Network Management Protocol). Command option: Request (SNMP 12th 15th bytes) 32-bit numeric type data. value used indicate request from SNMP manager that correspondent this response. Specify request that specified receive-read status option Only when type referred. Rev.1.4 EPSON S1S60000 Series Host Interface Manual Status Responding send command issued host CPU, S1S60000 returns statuses shown table below. Table 3.19 Name write working invalid error Statuses Returned Responding send Command Processing implemented host Writes 16-byte long option parameter data port. None When open command issued, host issues command waits connection TCP. Employs another terminal point. Reads 16-byte long option parameter from data port order check details error. Corrects option parameter send command transmits again. When data left received host CPU, host issues "receive" command. Then transmits send command again after waiting some time. cancel recurs, stop communication with destination. needed, will longer timeout duration open command again. S1S60000 returns status following situation send received. Transmit option parameter send data. Data transmission successfully ended. Transmission from terminal point disabled. terminal point accepted send command. terminal number illegal. Option parameter send command contains error. busy Internal resources S1S60000 insufficient. cancel Data sent returned answer from device SYSTEM. further information error status, refer section describing this status. Errors returned when operating objects using SYSTEM terminal point described table below. EPSON Rev.1.4 S1S60000 Series Host Interface Manual Table 3.20 Object EEPROM Error Offset (Send data length) (Operation) (Offset) (Send data length) (Operation) (Offset) (Reiceive data length) (Index Length) (Send data length) (Operation) (Offset) (Send data length) (Operation) (Offset) (Receive data length) Internal Register (Send data length) (Operation) (Offset) SYSTEM Terminal Point Object Operation Errors Condition Send data length other than write operation. Send data length other than read operation. Neither write read operation. Offset greater than 40h. Send data length write operation. Neither write read operation. Offset "0". Receive data length other than write operation. Receive data length greater than read operation. Index length "0", receive data length read operation. Index data length larger than send data length. Send data length "0". Neither write read operation. Offset "0". send data length offset exceeds 400h write operation. Neither write read operation. Offset greater than 400h Kbyte). receive data length offset exceeds 400h read operation. Length "0". GPIO FLASH Neither write read operation. Offset greater than 40h. Send data length write operation. Remarks When host sends, using PDU, data larger than maximum data length, S1S60000 converts each send command series fragment. this case, host must match total length data sent series send commands that data sent first send command. there conflict between them, send data sometimes does reach application because assembly fragments becomes unavailable destination address. UDP0 UDP3, status returned host send data transmitted S1S60000. Thus, return status does necessarily assure that data arrived destination. TCP0 TCP3, status returned host send data arrived destination. Thus, sure that status-returned-data reached destination without fail. arrival data sent S1S60000 can't confirmed within predetermined timeout duration this trouble remains unsolved spite repeated data transmit attempts, cancel status will returned host CPU. When controlling device SYSTEM terminal point, S1S60000 returns status receives operation specified host CPU. Then, asynchronous operation completed, S1S60000 returns arrive status. result using receive command. Rev.1.4 EPSON S1S60000 Series Host Interface Manual receive Command None This command used acquire data arrived terminal point into host CPU. Command number Command option Status Responding receive command issued host CPU, S1S60000 returns statuses listed following table. Table 3.21 Name read working invalid busy Statuses Returned Responding receive Command Processing implemented host Read 16-byte long option parameter receive data from data port. None open command issued, host issues command, waits connection TCP. Employs another terminal point. reading from data port finished, host will complete read. S1S60000 return status following situation "receive" command been accepted. Read option parameter receive data. "receive" command been accepted, there corresponding receive data. Receiving terminal point disabled. terminal point accepted receive command. terminal point number illegal. Internal resources S1S60000 insufficient. There corresponding receive data. read status option parameters. corresponding receive command. Table 3.22 Byte Table 3.22 shows configuration option parameters receive-read Status Option Parameter Receive Data Operation Object SYSTEM Receive data length Flag Offset Field unique-to-object DATALINK TCP0 TCP3 UDP0 UDP3 Control flag Destination address Destinati port number Data offset Total data length Request SNMP EPSON Receive data Rev.1.4 S1S60000 Series Host Interface Manual read status option: Receive data length (Common bytes) 16-bit numeric type data. This data used specify byte count receive data that succeeds this status option parameter. read status option: Flag (Common byte) 8-bit long type data. This data used reset functions basis well enable disable fields option parameter. Table 3.23 shows detailed roles respective bits flag when UDP0 TCP0 specified. When target SYSTEM, DATALINK SNMP, flag bits left undefined returned. Table 3.23 Reset Data Disables destination address Enables destination address Flag receive-read Status (TCP/UDP) Unicast Disables control flag Reserved Unicast except Enables control flag Enables data offset Disables data offset Disables total data length Enables total data length Data continued Disables destination port number Enabled destination port number Note: TCP0 TCP3, always reset (0). UDP0 UDP3, normally reset (0). read status option: Operation (SYSTEM byte) read status option: Object (SYSTEM byte) read status option: Offset (SYSTEM bytes) value specified host send command executed. command option. read status option: Field unique-to-object (SYSTEM 15th bytes) according target object operation. Table 3.24 Object Type EEPROM GPIO Flash S1S60000 detail, refer send Detail Field Unique-to-Object Designates slave device Receive data length mask pattern mask pattern read status option: Designation slave device (SYSTEM bytes) read status option: Receive data length (SYSTEM FlashROM 10th 11th bytes) read status option: mask (SYSTEM GPIO, S1S60000 12th 13th bytes) value specified host setup send command executed. detail, refer description send command option. read status option: pattern (SYSTEM GPIO, S1S60000 14th 15th bytes) 16-bit numeric type data. Read operation, this data used contain information being read. Rev.1.4 EPSON S1S60000 Series Host Interface Manual read status option: Destination address (TCP/UDP/SNMP bytes) address type data. contains address sending source this receive data. terminal point TCP, sending source receive data counterpart connection. Thus, same address long connection maintained. read status option: Destination port number (TCP/UDP/SNMP bytes) 16-bit numeric type data. contains port number sending source this receive data. terminal point TCP, sending source receive data counterpart connection. Thus, same port number long connection maintained. read status option: Control flag (TCP 10th 11th bytes) 16-bit long type data. represents control flag being this receive data. Table 3.25 Reset Detail Control Flag receive-read Status Absent Present Absent Present Absent Present Absent Present Absent Present Absent Present Reserved Presence control flag indicates that connection established terminal point. connection made, receive data length normally meaning nonexistence receive data. receive data length larger than indicates that data received connection made. Presence control flag flag indicates that terminal point being requested destination address connection. this case, host must issue close command. Absence control flags does mean that error developing. And, host does receive data which control flag set. read status option: Data offset (TCP/UDP 12th 13th bytes) 16-bit numeric type data. This data used indicate offset starting byte this receive data total data length. example, when data with total length 1024 bytes divided into bytes receive them different times, offset first receive data becomes that second data becomes 544. With UDP, indicates receiving state single datagram does have particular meaning with TCP. read status option: Total data length (TCP/UDP 14th 15th bytes) 16-bit numeric type data. This data used indicate total size data when larger than length receive data. With UDP, indicates receiving state single datagram does have particular meaning with TCP. read status option: type (SNMP byte) 8-bit numeric type data. This data indicates type protocol data unit (PDU) SNMP messages using following values. GetRequest GetNextRequest SetRequest Type meaning respective types, refer RFC1157 Simple Network Management Protocol). EPSON Rev.1.4 S1S60000 Series Host Interface Manual read status option: Request (SNMP 12th 15th bytes) 32-bit numeric type data. When responding SNMP manager with send command, this request send command option. Remarks When terminal point made active with destination address port number being enabled open command issued, also does receive data from other destinations than specified address port number. single receive-read status option include both control flags FIN. such case, terminal point requests disconnection from destination address. host should issue close command. When flag received certain data from terminal point TCP, state this terminal point becomes same that being caused after host issued close command. this case, therefore, S1S60000 returns working status responding receive command issued host even close command present. Rev.1.4 EPSON S1S60000 Series Host Interface Manual close Command None This command used terminal point. Command number Command option Status Responding close command issued host CPU, S1S60000 returns statuses shown table below. Table 3.26 Name working invalid busy Statuses Returned responding close Command Processing implemented host None Waits until transmission data complete. Employs another terminal point. some data received host yet, issues receive command. Then after while, host issues close command again. S1S60000 returns status following situation close processing completed. Waits until transmission data complete. terminal point accepted close command. terminal point number illegal. Internal resources S1S60000 insufficient. Remarks S1S60000 returns status receives close command. S1S60000 returned status, terminal point returns control flag destination address connection. terminal point continues such operations after close command been issued. Thus, host issues open command same terminal point immediately after receiving status, working status returned. Unlike above, host receive status when issued open command again terminal point immediately after receiving status responding close command. When close command issued terminal point SNMP, community name SNMP returned "public". EPSON Rev.1.4 S1S60000 Series Host Interface Manual abort Command None This command used terminal point emergency. Command number Command option Status Responding abort command issued host CPU, S1S60000 returns statuses shown following table. Table 3.27 Name invalid busy Statuses Returned Responding abort Command Processing implemented host None Employs another terminal point. some data remains received host CPU, will issue receive command. After while, host issues abort command again. S1S60000 returns status following situation abort processing completed. terminal point accepted abort command. terminal point number illegal. Internal resources S1S60000 insufficient. Remarks abort command received, S1S60000 returns status immediately. this case, data retained terminal point S1S60000 destroyed. When abort command issued terminal point TCP, S1S60000 tries send control flag destination address. When abort command issued terminal point SNMP, community name SNMP returned "public". Rev.1.4 EPSON S1S60000 Series Host Interface Manual stop Command This command used stop function command status that currently causing transfer option parameter send/receive data terminal point. Command number Command option Status None Responding stop command issued host CPU, S1S60000 returns statuses shown following table. Table 3.28 Name invalid busy Statuses Returned Responding stop Command Processing implemented host None Employs another terminal point. host issues receive command when some data remain received. S1S60000 returns status following situation stop processing completed. terminal point accepted stop command. terminal point number illegal. Internal resources S1S60000 insufficient. stop processing complete. Remarks command stopped stop command processed being issued host CPU. status stopped stop command regarded being normally received host CPU. Processing every command option, receive data, status option send data currently being exchanged between S1S60000 host stopped irrespective terminal station concerned. EPSON Rev.1.4 S1S60000 Series Host Interface Manual status Command None This command used information that vary depending status terminal points. Command number Command option Status Responding status command issued host CPU, S1S60000 returns statuses shown following table. Table 3.29 Name read invalid busy Statuses Returned responding status Command Processing implemented host Read 16-byte long option parameter from data port. Employs another terminal point. host issues receive command when some data remain received. After while, sends status command again. S1S60000 returns status following situation status been received. Read option parameter. Terminal point received status command. terminal point number illegal. Internal resources S1S60000 insufficient. read status option parameters. status command. Table 3.30 shows configuration option parameter corresponding status-read Status Option Parameter Table 3.30 Byte SYSTEM DATALINK TCP0 TCP3 UDP0 UDP3 SNMP Flag address Subnet mask Destination port number Default gateway Destination address port number Status terminal point Timeout Community name enterprise code Rev.1.4 EPSON S1S60000 Series Host Interface Manual read status option: Flag (Common byte) 8-bit long type data. used reset functions basis well enable disable field option parameters. Details respective bits flag described Tables 3.31, 3.32 3.33. (reset) returned bits whose function reserved. Table 3.31 Reset Does DATALINK DATALINK Disables address Enables address Flag status-read status (SYSTEM) Disables default gateway Enables default gateway Cable connected Cable connected Disables subnet mask Enables subnet mask Reserved Note: Bits enabled only when reset (does DATALINK). Table 3.32 Reset S1S60000 adds S1S60000 does Receives broadcast frames Receives frames irrespective destination Flag status-read Status (DATALINK) Receives multicast frames Does receive multicast frames Reserved Note: enabled only when reset (receives broadcast frames). Table 3.33 Reset passive open active open Disables destination address Enables destination address Flag read Status (TCP/UDP) Disables port number Enables port number Disable timeout Reserved Enable timeout Reserved Disables destination port number Enables destination port number Table 3.34 Reset Reserved Flag read Status (SNMP) Disables community name when Enables community name when Disables community name when Enables community name when Disables timeout Private unavailable Disables enterprise code Enables enterprise code Enables timeout Private available read status option: address (SYSTEM bytes) address type data. used specify address equipment including S1S60000. address disabled, address regarded being specified. When EPSON Rev.1.4 S1S60000 Series Host Interface Manual read status option: Subnet mask (SYSTEM 11th bytes) address type data. subnet mask equipment itself including S1S60000 this data. detail, refer section describing open command. read status option: Default gateway address (SYSTEM 12th 15th bytes) address type data. default gateway equipment itself including S1S60000 this data. detail, refer section describing open command. read status option: Destination address (TCP/UDP bytes) address type data. address destination this terminal point this data. detail, refer section describing open command. read status option: Destination port number (TCP/UDP bytes) 16-bit numeric type data. Port number destination this terminal point this data. detail, refer section describing open command. read status option: port number (TCP/UDP 10th 11th bytes) 16-bit numeric type data. port number terminal point data. detail, refer section describing open command. read status option: Timeout (TCP/UDP/SNMP 12th 13th bytes) 16-bit numeric type data. This data used specify timeout period seconds) various types processing done terminal point. detail, refer section describing open command. read status option: Community name (SNMP 11th bytes) 8-byte long data type data. This data used specify names order restrict access from network SNMP function contained S1S60000. detail, refer section describing open. read status option: enterprise code (SNMP14th 15th bytes) 16-bit numeric type data. This data used specify node number that indicates trees existing below (1.3.6.1.4.1) MIB. detail, refer section describing open. read status option: Status terminal point (TCP/UDP 14th byte) 8-bit numeric type data. Values indicating status terminal point data shown below. Table 3.35 Value List Statuses Terminal Point Terminal point closed listen established Terminal point closed listen syn-sent syn-received established fin-wait-1 fin-wait-2 close-wait closing last-ack time-wait terminal point takes closed, listen established status. Closed indicates terminal point open listen indicates that open. And, established means that terminal point open send receive data continued. terminal point takes every status. meaning each status, refer RFC793 (Transmission Control Protocol). Rev.1.4 EPSON S1S60000 Series Host Interface Manual init Command None This command used initialize S1S60000. Command number Command option Status This command issued only terminal point SYSTEM. terminal point does accept init command, S1S60000 returns invalid status responding this init command issued host CPU. Remarks host issues init command successfully, S1S60000 restarted then initializes itself again. S1S60000 returns boot status restarted. However, sequence number boot status always this status does correspond init command issued host CPU. EPSON Rev.1.4 S1S60000 Series Host Interface Manual info Command None This command used information that does vary depending status terminal point. Command number Command option Status Responding info command issued host CPU, S1S60000 returns following statuses. Table 3.36 Name read invalid busy Statuses Returned responding info Command Processing implemented host Read 16-byte long option parameter from data port. Employs another terminal point. host issues receive command when some data remain received. Then after while, host issues info again. S1S60000 returns status following situation info command accepted. Read option parameter. terminal point accepted info command. terminal number illegal. Internal resources S1S60000 insufficient. read status option parameters. status command. Table 3.37 shows configuration option parameter corresponding info-read Status Option Parameter Table 3.37 Byte SYSTEM DATALINK TCP0 TCP3 UDP0 UDP3 SNMP Model number Version address Intended terminal point Flag Maximu data length read status option: Flag (Common byte) 8-bit long type data. Function reserved reset every bit. read status option: Intended terminal point (Common bytes) 16-bit numeric type data. contains following numbers that indicate intended terminal points. Table 3.38 Details read Status Option broken down Terminal Point Type Intended Terminal point number Terminal point name SYSTEM DATALINK UDP0 UDP3 TCP0 TCP3 SNMP system data link layer (Ethernet) layer layer SNMP layer Rev.1.4 EPSON S1S60000 Series Host Interface Manual read status option: Model number Version (SYSTEM 13th bytes) 8-byte data type data. different byte returned S1S60000 having different internal configuration. configuration [Model Version] field S1S60000 described below. Byte Model Version Field Chip Model Version Revision Revision Chip Model (6th Bytes) last characters chip model number stored ASCII code. "S1S60000" "0000" (text code Version Numbers (10th 11th Bytes) This firmware version number. This expressed unsigned 16-bit integer which upper bits 10th byte lower bits 11th byte. version "1". smaller value displayed, older version; larger value displayed, newer version. version number will change large-scale expansion revision functions, after introduction specifications that compatible. Revision Number (12th Byte) This integer without 8-bit code. value indicates standard firmware, setting other than indicates branch from standard firmware. size value significance. When value different, function compatible because belongs another separate branch. Revision Number (13th Byte) This integer without 8-bit code. Regarding difference between version number revision numberA, different number assigned revision number every time firmware changed. smaller value displayed, older version; larger value displayed, newer version. standard firmware number (revision number always even number. Example: [Model Version] field value, order from leading byte where, S1S60000 firmware version "1", standard firmware, revision "20". read status option: address (DATALINK 11th bytes) 6-byte data type data. used indicate address Ethernet. read status option: Maximum data length (Common 14th 15th bytes) 16-bit numeric type data. indicates maximum data length bytes) that sent received this terminal point with single time send receive command. detail, refer 2.1.3. Remarks read status option corresponding info command constantly returns same value independent operational status. EPSON Rev.1.4 S1S60000 Series Host Interface Manual 3.10 error Status Table 3.39 shows configuration option parameter. Common Format error Status Option Unique-to-error-type field indicates that command issued host contains error. Status number Status option error status option parameter. Table 3.39 Byte Error type Command Status option: Error type (Common bytes) 16-bit numeric type data. option parameter error alone defined this data. error type detailed configuration. Table 3.40 Error type Name Option parameter error Offset Table 3.40 shows Format Unique-to-Error-Type Field Status option: Command (Common bytes) 16-bit numeric type data. used return command containing error Status option: Offset (Option parameter error bytes) 16-bit numeric type data. This data used indicate offset parameter that caused error. example, when wrong destination address coded open command, offset value destination address this data. Rev.1.4 EPSON S1S60000 Series Host Interface Manual 3.11 event Status Configuration option parameter shown Tables 3.41 3.42. Common Format event Status Option Details event indicates that S1S60000 information sent host CPU. Status number Status option event status option parameter. Table 3.41 Byte Flag Event type Unique-to-event field Table 3.42 Event type Name Cable Detail event Name Cable disconnected Cable connection recovered address duplicated address invalid address valid Failed active open Control flag received Destination Unreachable Time Exceeded Parameter Problem Source Quench Format Unique-to-Event Field address Terminal point number Destination address port number Destination port number ICMP protocol number Destination address port number Destination port number Status option: Flag (Common byte) 8-bit long type data. Function reserved reset every bit. EPSON Rev.1.4 S1S60000 Series Host Interface Manual Status option: Event type (4th byte) Status option: Details event (5th byte) Both 8-bit numeric type data. Table 3.43 shows event type being S1S60000 event status, detailed meaning events action taken host events. Table 3.43 Name event type Cable Detailed event name Cable disconnection Recovery cable connection Duplication address address invalid address valid Failure active open Reception control flag Destination Unreachable Time Exceeded Parameter Problem Source Quench Meaning Events Actions Taken Host S1S60000 returns event following situation Action taken host Stops transmission/reception data. Resume data transmission/reception. Issues init command order another address S1S60000. Waits until address made valid again, issues init command order another address S1S60000. Resumes data transmission/reception. Tries open again after changing timeout period. gives connection. Terminates data transmission/reception. Gives establish connection with destination. Tries open command again after changing timeout period. Sends data again. When same event recurs, host issues init command reset S1S60000. trouble still remains, host gives intended connection. Reduces transmission frequency. Ethernet cable been disconnected. Ethernet cable been connected. Someone already using specified address. Lease period address been expired thus invalid now. address been leased. Failed connect TCP. terminal point transitioned closed status. Received from destination. terminal point transitioned closed status. Can't find destination. Time exceeded while data network. S1S60000 failed converting data data turned into illegal network some reasons. Data transmission frequency destination receive data directed address ICMP Status option: Terminal point number (TCP byte) 8-bit numeric data. represents terminal point numbers described 2.1.1.2. Status option: protocol number (ICMP byte) 8-bit numeric type data. S1S60000 returns event status event type ICMP terminal point This protocol number referenced when host searches terminal point that caused event. protocol numbers take following values among those being defined RFC1700. Table 3.44 protocol number Protocol name Protocol Number Terminal point number (TCP0 TCP3) (UDP0 UDP3) Status option: Destination address (TCP/ICMP 11th bytes) address type data. address destination data. section describing open command. detail, refer Status option: port number (TCP/ICMP 12th 13th bytes) 16-bit numeric type data. represents port number that been terminal points. detail, refer section describing open command. Rev.1.4 EPSON S1S60000 Series Host Interface Manual Status option: Destination port number (TCP/ICMP 14th 15th bytes) 16-bit numeric data. destination port number this data. detail, refer section describing open command. Remarks S1S60000 starts assumption that Ethernet cable connected. Thus, cable actually connected, cable disconnection event immediately notified host CPU. EPSON Rev.1.4 S1S60000 Series Host Interface Manual 3.12 boot Status None notifies host that S1S60000 been started. Status number Status option Remarks Sequence number terminal point number boot status always 3.13 arrive Status None notifies host that S1S60000 received data. Status number Status option Remarks Every time S1S60000 receives data sent host CPU, S1S60000 returns arrive status host CPU. host data from S1S60000 host issues receive command subject terminal point every receives arrive status. 3.14 sleep Status None indicates that sleep mode been turned S1S60000. Status number Status option Remarks sleep turned S1S60000 does respond input from host network. GPI00 bring S1S60000 sleep mode normal operation mode. detail, refer product specification technical manual respective ICs. 3.15 wake Status None indicates that S1S60000 transitioned from sleep mode normal operation mode. Status number Status option Remarks wake status returned immediately after S1S60000 been started. S1S60000 started (immediately after boot status been issued), already normal operation mode. detail, refer product specification technical manual respective ICs. Rev.1.4 EPSON International Sales Operations AMERICA EPSON ELECTRONICS AMERICA, INC. HEADQUARTERS River Oaks Parkway Jose, 95134, U.S.A. Phone: +1-408-922-0200 ASIA EPSON (CHINA) CO., LTD. 23F, Beijing Silver Tower North DongSanHuan ChaoYang District, Beijing, CHINA Phone: 64106655 FAX: 64107319 FAX: +1-408-922-0238 SHANGHAI BRANCH SALES OFFICES West 1960 E.Grand Avenue Segundo, 90245, U.S.A. Phone: +1-310-955-5300 FAX: +1-310-955-5400 High-Tech Bldg., 900, Yishan Road, Shanghai 200233, CHINA Phone: 86-21-5423-5577 FAX: 86-21-5423-4677 EPSON HONG KONG LTD. 20/F., Harbour Centre, Harbour Road Wanchai, Hong Kong Phone: +852-2585-4600 FAX: +852-2827-4346 Telex: 65542 EPSCO Central Virginia Street, Suite Crystal Lake, 60014, U.S.A. Phone: +1-815-455-7630 FAX: +1-815-455-7633 EPSON TAIWAN TECHNOLOGY TRADING LTD. Northeast Edgewater Place, Suite Wakefield, 01880, U.S.A. Phone: +1-781-246-3600 FAX: +1-781-246-5443 14F, Song Road, Taipei Phone: 02-8786-6688 FAX: 02-8786-6660 HSINCHU OFFICE 13F-3, 295, Kuang-Fu Road, Sec. HsinChu Phone: 03-573-9900 FAX: 03-573-9169 Southeast 3010 Royal Blvd. South, Suite Alpharetta, 30005, U.S.A. Phone: +1-877-EEA-0020 FAX: +1-770-777-2637 EPSON SINGAPORE PTE., LTD. Temasek Avenue, #36-00 Millenia Tower, SINGAPORE 039192 Phone: +65-6337-7911 FAX: +65-6334-2716 EUROPE EPSON EUROPE ELECTRONICS GmbH HEADQUARTERS Riesstrasse 80992 Munich, GERMANY Phone: +49-(0)89-14005-0 SEIKO EPSON CORPORATION KOREA OFFICE 50F, Bldg., Yoido-dong Youngdeungpo-Ku, Seoul, 150-763, KOREA Phone: 02-784-6027 FAX: 02-767-3677 FAX: +49-(0)89-14005-110 BRANCH OFFICE Altstadtstrasse 51379 Leverkusen, GERMANY Phone: +49-(0)2171-5045-0 FAX: +49-(0)2171-5045-10 GUMI OFFICE Good Morning Securities Bldg., Songjeong-Dong, Gumi-City, Seoul, 730-090, KOREA Phone: 054-454-6027 FAX: 054-454-6093 IRELAND BRANCH OFFICE Unit 2.4, Doncastle House, Doncastle Road Bracknell, Berkshire RG12 8PE, ENGLAND Phone: +44-(0)1344-381700 FAX: +44-(0)1344-381701 JAPAN SEIKO EPSON CORPORATION ELECTRONIC DEVICES MARKETING DIVISION Marketing Department Marketing Engineering Group 421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5816 FAX: +81-(0)42-587-5624 FRENCH BRANCH OFFICE Avenue Atlantique, Conquerants Z.A. Courtaboeuf F-91976 Ulis Cedex, FRANCE Phone: +33-(0)1-64862350 FAX: +33-(0)1-64862355 BARCELONA BRANCH OFFICE Barcelona Design Center Edificio Testa, Avda. Alcalde Barrils num. 64-68 E-08190 Sant Cugat SPAIN Phone: +34-93-544-2490 FAX: +34-93-544-2491 International Marketing Department 421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-(0)42-587-5814 FAX: +81-(0)42-587-5117 Scotland Design Center Integration House, Alba Campus Livingston West Lothian, EH54 7EG, SCOTLAND Phone: +44-1506-605040 FAX: +44-1506-605041 S1S60000 Series Host Interface Manual SEIKO EPSON CORPORATION ELECTRONIC DEVICES MARKETING DIVISION EPSON Electronic Devices Website http://www.epsondevice.com/ First issue November, 2002 Printed June, 2003 Japan Other recent searchesXPB-4820LWG - XPB-4820LWG XPB-4820LWG Datasheet XPS-4820BLWG - XPS-4820BLWG XPS-4820BLWG Datasheet SFF-8472 - SFF-8472 SFF-8472 Datasheet XPB-4820BLWG - XPB-4820BLWG XPB-4820BLWG Datasheet SN74LV4040A - SN74LV4040A SN74LV4040A Datasheet SN54LV4040A - SN54LV4040A SN54LV4040A Datasheet OMA2541SK - OMA2541SK OMA2541SK Datasheet OMA2541SKC - OMA2541SKC OMA2541SKC Datasheet OMA2541SD - OMA2541SD OMA2541SD Datasheet MC100LVEL - MC100LVEL MC100LVEL Datasheet 100EL14 - 100EL14 100EL14 Datasheet MABAES0025 - MABAES0025 MABAES0025 Datasheet
Privacy Policy | Disclaimer |