Silex technology SX-560 manual Print Server Mode, Console Mode Switching, SET Port S1 Constr ++++

Page 41

6.It is also possible to use UDP instead of TCP for communicating to and from the SX-560. If you wish to use UDP, then:

a.Select UDP as ECable I/O Mode.

b.Enter the UDP port number (Destination Port) used by the destination device to communicate with the SX-560. This number must be a valid port on the destination device (check the documentation for that device to determine the valid port numbers).

c.Enter the UDP port number (Local Port) used by the SX-560 to communicate with the destination device. This number must be greater than 1023, but is otherwise arbitrary.

NOTE: ECable mode cannot be used in conjunction with the Serial Port Emulator software.

Print Server Mode

You can use the SX-560 as a standard TCP/IP print server, which is very useful if you are connecting the SX-560 to a serial printer. The SX-560 supports the following standards:

lpr/lpd. This is one of the most popular ways to print on a TCP/IP network. Check your computer’s documentation to determine how to set up an lpr print queue. Usually this simply involves specifying the IP address of the SX-560 as the printer’s address or host name. Some implementations require a queue name; this name is the name of any of the SX-560 services. To see the names of the SX-560 services, connect to the SX-560 with a web browser (see chapter 3 for instructions on doing this); after you have logged in, click I/O Services on the left side of the page. Note that if you are printing to Serial Port 2 (S2), you must specify an S2 service (for example, SDS057333_S2_A) as the queue name.

Port 9100. This method is used to set up a Windows Standard TCP/IP port or for compatibility with software that supports the HP JetDirect Print Server (for example, HP Web JetAdmin). To use this capability on Windows with the Add Printer Wizard, specify that you want to use a Local printer attached to this computer (not a network printer), and then select Create a new port, specifying Standard TCP/IP Port as the type of port.

Note that if you are printing to Serial Port 2 (S2) instead of Serial Port 1 (S1), the TCP port number is 9101. It is also possible to change the TCP port number from the default 9100 for compatibility with other printer manufacturer’s software. To do this, refer to the instructions in the Raw TCP Connection section of this chapter.

Console Mode Switching

The SX-560 allows you to dynamically switch the operation of Serial Port 1 or Serial Port 2 from normal mode to console mode. This allows your device to control the operation of the SX-560 by sending console commands (see chapter 6 and Appendix B for a description of the console commands).

To switch the serial port to console mode, you must first define a console mode string. When the SX-560 receives this string on the serial port, it will automatically switch the port to console mode. To define the console mode string, use a web browser to access the SX-560 internal web pages. After you log in, click I/O Port, and then select the desired port (S1 for Serial Port 1 or S2 for Serial Port 2). When you get the I/O Port Settings page, enter any desired character string (for example, ++++) as the Console Mode String. Click Submit to save your string, and then restart the SX-560 to make the change take effect.

Alternatively, you can define the console mode string using the console command as shown in the following example:

SET PORT S1 CONSTR ++++

Using the SX-560

 

Silex

Part Number 140-00192-100

Page 35

Image 41
Contents SX-560 Embedded Intelligent Module Trademarks Contents 101 Figures Silex Part Number Contents Emissions Disclaimer Safety PrecautionsAbout This Reference Guide Silex SX-560 top and bottom view IntroductionSilex Part Number Introduction Installing SX-560 Module in Evaluation Daughtercard Chapter Installing the Evaluation DaughtercardSilex Part Number Installing the Evaluation Daughtercard Verify Development Kit Contents SX-560 Module Inserted in Daughtercard Installing the SX-560 ModuleOEM Interface Monitoring Module StatusStatus Monitors Function State StatusOEM Interface Signal Descriptions Pin Type Electrical CharacteristicsRXD DCDTXD DTRLogical Serial Port 1 Signal Descriptions Pin Input/Output DB-9 RS-232 Signal TypeRTS CTSGPIO4 DTR0 GPIO3 TspicsGPIO5 DSR0 GPIO6 DCD026-Pin I/O Header Signal Selectable LED and Gpio Descriptions USB Host Port and Ethernet Port UART0TXD, UART0RTS UART1TXD, UART1RTS UART2TXD LCD InterfaceSilex Part Number Installing the Evaluation Daughtercard Basic Configuration Requirements Chapter Configuring the SX-560TCP/IP Settings Wireless Configuration SettingsConfiguration Methods Initial Wireless SetupConfiguring the SX-560 Silex Part Number Silex Configuring the SX-560 Silex Part Number Silex Using the SX-560 Configuring the SX-560 Silex Part Number Using a Web Browser to Configure the SX-560 Configuring the SX-560 Silex Part Number Using the Internal Command Console to Configure the SX-560 AD-HOC Init Exit SpaceCustomizing the SX-560 User Interface Chapter Using the SX-560 with Your ApplicationLinux Programmability SET Default Power ConfigurationSerial Port Emulator InitTelnet ipaddress portnumber Raw TCP connectionRFC 2217 Remote Modem Control Support ECable ModeSET Port S1 Constr ++++ Print Server ModeConsole Mode Switching SET Port S1 Filter AT AT CommandsSnmp Traps, Email Alerts, and Gpio Status Interfacing the SX-560 to the OEM Device SX-560 Evaluation Daughtercard Schematics SX-560 Evaluation Daughtercard Schematics Spics TXD1 Spiclk CTS1 Ground ResetiIicsdc TXD2 Iicsda RXD2 CPIO2, GPIO3Signal Pin Type Description SX-560 Power RequirementsUSB+ USBAntenna Connectors Installing the SX-560Retaining Bracket Optional Antenna Connector Types Parameter DescriptionGeneral Purpose I/O Interface Regulatory Approval RequirementsGpio Interface Pin Drive High/Low DescriptionFactory Default Settings Chapter Advanced ConfigurationFactory Default Settings Parameter Description CTS/RTSParameter Description Settings Default Setting Modifying TCP/IP SettingsChange Password Window Parameter SettingDNS TCP/IP Configuration Settings ParameterCommand Description Configuring SnmpSnmp Commands Snmp Configuration Configuring the General Purpose I/O Gpio LinesShow Gpio DIR Gpio General Commands DescriptionShow Gpio Special SET Gpio Special EN DISShow Gpio Specm DIS Gpio Trigger Commands DescriptionShow Gpio Trigm Gpio Data Commands Gpio Transmit Commands DescriptionTrig # Email String Gpio #1 is Gpio #2 is Trig # Email String Your email text msg here Gpio #2 isShow Gpio Data SET Gpio MON EN DIS Gpio TCP Monitor CommandsShow Gpio MON SET Gpio PortGPIO=00abLF 5 4 3 2 1 Index # Monitor String Port Monitor Alert Commands DescriptionIndex # Xmit String Xmit string Index # Xmit String Trigger string was seenUsing AT Modem Commands Setting up Email Alerts and Snmp TrapsAT Commands Parameter Description Standard AT Commands SupportedAT#Cset nw ssid silex#Csave Parameter Command DescriptionExtended AT Commands Parameter Description Response Codes Numeric Code Description Using ExtendView for Bulk ConfigurationResponse Codes Silex Chapter Product SpecificationsSdio TCP Port ConnectionsTCP Port Connections Port Destination DevicePSK Appendix a Advanced Security ConfigurationEAP Ttls Leap Peap TLS FastWireless Authentication Type Encryption ModeKey Selection WEP Key ValueAuthentication Protocol PasswordAuthentication Certificate Private Key TLS Wireless Security OnlySilex Part Number Advanced Security Configuration Network Commands Appendix B Console CommandsWireless and Network Security Commands TLS Fast WPA-PSK SET NW RTS SET NW PW SET NW IDSET NW Realm SET NW Wpagroup Enable DisableSET NW Inap PAPMSCHAPV2 Port Commands Description Port CommandsSET NW Reset Server Information Commands Description Server Information CommandsCL Port S1 JOB SET Port S1 Size 7Serial number is Serial server Firmware Ver .19 Boot Ver 16Mbit FlashSH Serial Service Commands Description Service CommandsSET Servi service name FRS SET Servi service name FRMSET Servi service name IP ENable DIsable SET Servi service name NAme NewnameSET Snmp Getcomm Snmp CommandsSnmp Commands Description String Commands String CommandsEnter LANGUAGE= POSTSCRIPT\0ATCP/IP Commands TCP/IP CommandsSET IP Http SET IP FTPSET IP LPD Auto Dhcp StaticSET IP Timeout SET IP TELnet ENable DIsableSET IP TCP SET IP TftpAuto SH IPXxxxxxS1A 9100 XxxxxxS1B 3001 Bit# Hex Value Trigger ConditionPower Configuration Power Configuration CommandsSET Power power-level SH PowerHelp Commands Miscellaneous CommandsMiscellaneous Commands SaveAppendix C Engineering Drawings Antenna Cable Drawings and SpecificationsElectrical Performance Parameter Value Antenna Drawings and SpecificationsVswr Electrical Specifications Parameter ValueSilex Part Number Engineering Drawings Tftp -iipaddress put filename access Appendix D Firmware Update ProceduresSilex Part Number Firmware Update Procedures Appendix E Using the Silex Virtual Link USB Software Silex Part Number SVL USB Firmware Appendix F GNU/Linux Open Source and Programming Silex Part Number GNU/Linux Programming Silex Technology America, Inc Appendix G Silex Contact InformationSilex Technology Europe GmbH Silex Technology Beijing, IncSilex Part Number Silex Contact Information Part Number 140-00192-100 Revision C-2 Silex Technology America, Inc