The text of a manual · part 5 of 37
FIS-6300 ESD Imager User's Manual, pages 41 to 50
Pages 41 to 50 of 364
The original document is the PDF (5.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Wenglor FIS-6300
Page 41
3 Communications Contents Communications by ESP .............................................................................................................. 3-2 Communications Serial Commands.............................................................................................. 3-3 Host Port Connections .................................................................................................................. 3-4 Host Port Protocol......................................................................................................................... 3-5 ACK/NAK Options......................................................................................................................... 3-7 Polling Mode Options.................................................................................................................... 3-8 RS-422 Status............................................................................................................................... 3-9 Auxiliary Port Connections.......................................................................................................... 3-10 Auxiliary Port System Data Status .............................................................................................. 3-18 Daisy Chain Autoconfigure ......................................................................................................... 3-19 Response Timeout...................................................................................................................... 3-20 LRC Status.................................................................................................................................. 3-21 Protocol Configuration Examples................................................................................................ 3-22 ASCII Character Entry Modifier................................................................................................... 3-23 Preamble..................................................................................................................................... 3-24 Postamble ................................................................................................................................... 3-25
This section tells how to set up communications parameters with the host and an auxiliary terminal. With wenglor’s ESP™ (Easy Setup Program), configuration changes can be made in the ESP menus and then sent and saved to your Imager. The user can also send serial commands to the Imager via ESP’s Terminal window.
FIS-6300 ESD Imager User’s Manual
3-1
Page 42
Communications by ESP
Communications by ESP
Click this button to bring up the Applications menu.
Click this button to bring up the Communication menu.
To open nested options, single-click the +.
3-2
To change a setting, double-click the setting and use your cursor to scroll through the options.
FIS-6300 ESD Imager User’s Manual
Page 43
Communications
Communications Serial Commands Host Port Connections Auxiliary Port Connections
<K100,baud rate,parity,stop bits,data bits> <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain ID status,daisy chain ID> RS-422 Status <K102,status> Host Port Protocol <K140,protocol,address> Preamble <K141,status,preamble characters> Postamble <K142,status,postamble characters> Response Timeout <K143,response timeout> LRC <K145,status> Auxiliary Port System Data Status <K146,aux port system data status> ACK/NAK Options <K147,RES,REQ,STX,ETX,ACK,NAK> Polling Mode Options <K148,RES,REQ,STX,ETX,ACK,NAK> Autoconfiguration Daisy Chain <K150DAISY>
FIS-6300 ESD Imager User’s Manual
3-3
Page 44
Host Port Connections
Host Port Connections The host port can be configured with RS-232, RS-422, and RS-485 connections. The following settings define the basic transmission speeds and digital standards that ensure common formatting.
Baud Rate, Host Port Usage: Definition: Serial Cmd: Default: Options:
Can be used to transfer data faster or to match host port settings. The rate at which the Imager and host transfer data back and forth. <K100,baud rate,parity,stop bits,data bits> 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K
Parity, Host Port Usage: Definition: Serial Cmd: Default: Options:
Only changed if necessary to match host setting. An error detection routine in which one data bit per character is set to 1 or 0 so that the total number of bits in the data field is either even or odd. <K100,baud rate,parity,stop bits,data bits> None 0 = None 1 = Even 2 = Odd
Stop Bits, Host Port Usage: Definition: Serial Cmd: Default: Options:
Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. <K100,baud rate,parity,stop bits,data bits> One 0 = One 1 = Two
Data Bits, Host Port Usage: Definition: Serial Cmd: Default: Options: 3-4
Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. <K100,baud rate,parity,stop bits,data bits> Eight 0 = Seven 1 = Eight FIS-6300 ESD Imager User’s Manual
Page 45
Communications
Host Port Protocol Usage:
In general, the point-to-point protocols will work well in most applications. They require no address and must use RS-232 or RS-422 communications standards. Definition: Protocols define the sequence and format in which information is transferred between the Imager and the host, or in the case of Multidrop, between the Imagers and a concentrator. Serial Cmd: <K140,protocol,address> Default: Point-to-Point Options: 0 = Point-to-Point 1 = Point-to-Point with RTS/CTS 2 = Point-to-Point with XON/XOFF 3 = Point-to-Point with RTS/CTS and XON/XOFF 4 = ACK/NAK 5 = Polling Mode Note: In all protocol modes, the preamble <K141> and postamble <K142> character strings can be used to frame the decode data, and both are included in calculating the LRC (Longitudinal Redundancy Check).
Point-to-Point (Standard) Usage: Definition:
Used only with RS-232 or RS-422. Standard Point-to-Point requires no address and sends the data to the host whenever it is available, without a request or handshake from the host.
Serial Cmd:
<K140,0>
Point-to-Point with RTS/CTS Usage:
Definition: Serial Cmd:
An Imager initiates a data transfer with an RTS (request-to-send) transmission. The host, when ready, responds with a CTS (clear-to-send) and the data is transmitted. RTS and CTS signals are transmitted over two dedicated wires as defined in the RS-232 standard. Used only with RS-232. Point-to-Point with RTS/CTS (request-to-send/clear-to-send) is a simple hardware handshake protocol that allows an Imager to initiate data transfers to the host. <K140,1>
Point-to-Point with XON/XOFF Usage: Definition: Serial Cmd:
If an XOFF has been received from the host, data will not be sent to the host until the host sends an XON. During the XOFF phase, the host is free to carry on other chores and accept data from other devices. Used only with RS-232. This option enables the host to send the XON and XOFF command as a single byte transmission command of start (^Q) or stop (^S). <K140,2>
FIS-6300 ESD Imager User’s Manual
3-5
Page 46
Host Port Protocol
Point-to-Point with RTS/CTS and XON/XOFF Usage: Definition:
Used only with RS-232. This option is a combination of Point-to-Point with RTS/CTS and Pointto-Point with XON/XOFF.
Serial Cmd:
<K140,3>
ACK/NAK Definition:
See the ACK / NAK Options command <K147> on page 3-7.
Serial Cmd:
<K140,4>
Polling Mode Definition: Serial Cmd:
See the Polling Mode Options command <K148> on page 3-8. <K140,5>
Poll Address Serial Cmd: Default: Options:
3-6
<K140,protocol,address> 1 1 to 50 1 = Poll address 0x1C, Select address 0x1D 2 = Poll address 0x1E, Select address 0x1F ... 50 = Poll address 0x7E, Select address 0x7F
FIS-6300 ESD Imager User’s Manual
Page 47
Communications
ACK / NAK Options Definition:
Serial Cmd:
These parameters take effect for ACK/NAK <K140,4> on the main RS-232 or RS-422 ports (not on the Auxiliary Port), and are completely independent of the Polling Mode Options <K148>. The Imager always follows the protocol in both directions (to and from the host). There is no option to disable it from either direction. <K147,RES,REQ,STX,ETX,ACK,NAK>
RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge)
00 (disabled) 00 (disabled) 00 (disabled) 00 (disabled) 06 15
The following are general outlines of the ACK/NAK protocol. Items that are framed by brackets ( [ ] ) can either be disabled or enabled. LRC does not include STX, but it does include preamble, postamble, and ETX.
Symbol Data Output TX to host: [STX] [preamble] SYMBOL DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, or timeout (waiting for more data) are detected (if REQ is disabled) depending on what is enabled.
Commands from Host to Imager TX to Imager: [STX] <command> [ETX] [LRC] Response from Imager: ACK/NAK. Sent when LRC, ETX, or command-ending angle bracket ‘>’ are received, depending on what is enabled.
Command Response from Imager to Host TX to host: [STX] [preamble] COMMAND RESPONSE DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, command-ending angle bracket ‘>’, or timeout (waiting for more data) are detected, depending on what is enabled. As with Polling Mode <K140,5>, the Imager can optionally perform the REQ and RES event sequences in ACK/NAK mode. If the sender does not receive an ACK or NAK, it will send REQ to request such a response (if enabled). When the sender receives an ACK, too many NAKs, or times out (if already enabled), it will send a RES (if enabled) to terminate the transaction. Note: See ACK / NAK Data Flow Examples in Appendix D for sample ACK/NAK communication scenarios. FIS-6300 ESD Imager User’s Manual
3-7
Page 48
Polling Mode Options
Polling Mode Options Definition:
Serial Cmd:
These parameters only take effect for Polling Mode <K140,5> on the main RS-232 or RS-422 ports (not on the Auxiliary Port), and are completely independent of the ACK/NAK Options <K147>. The values of protocol characters can be changed, but the protocol events cannot be disabled. The polling mode address is configured in the <K140> command (see Poll Address on page 3-6). To enable multidrop protocol, the RS422 port must be enabled, <K102,1>, in order to turn the transmitter on and off. If RS-232 is enabled instead of RS422, <K102,0>, then Polling Mode will operate as a Point-to-Point polling protocol. This is because the RS-232 transmitter is always left on when enabled. <K148,RES,REQ,STX,ETX,ACK,NAK>
RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge)
04 05 02 03 06 15
Note: See Polling Mode Data Flow Examples in Appendix D for sample Polling Mode communication scenarios.
3-8
FIS-6300 ESD Imager User’s Manual
Page 49
Communications
RS-422 Status Usage: Definition:
Serial Cmd: Default: Options:
RS-232 is an industry standard. RS-422 is used when greater cable lengths are required and/or where noise interference is an issue. RS-422, if enabled, allows communication through RS-422 I/O lines. When RS-422 is enabled, RS-232 is disabled. When RS-422 is disabled, RS-232 is enabled. <K102,status> Disabled 0 = Disabled 1 = Enabled
Note: The default setting can only be changed in Imagers with multiplexed RS-232 / RS-422 ports. It is forced to 1 (enabled) in Imagers with “dedicated” RS-422 ports.
FIS-6300 ESD Imager User’s Manual
3-9
Page 50
Auxiliary Port Connections
Auxiliary Port Connections The auxiliary port offers an alternative port that can be configured to communicate by RS232 in several modes, including daisy chain. As with the host port parameters, the auxiliary port settings (baud rate, parity, stop bits, and data bits) must be identical with those of the auxiliary device. Usage: Definition:
An auxiliary port connects the Imager to a remote display or to other Imagers that can display or transfer data. These commands set the communication parameters with the auxiliary port, which can be used to configure menus, send data to the host, display data transmissions originating from the host, and relay data from other Imagers set in tandem (daisy chained).
Auxiliary Port Mode Usage: Definition: Serial Cmd: Default: Options:
Can be used to transfer data faster or to match an auxiliary device. Determines the flow of data between the auxiliary port device(s), the Imager, and the host.. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status, daisy chain i.d.> Disabled 0 = Disabled 1 = Transparent 2 = Half duplex 3 = Full duplex 4 = Daisy chain 5 = Command Processing
Baud Rate, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options:
Can be used to transfer data faster or to match an auxiliary device. The rate at which the Imager and host transfer data back and forth. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status,daisy chain i.d.> 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K
Parity, Auxiliary Port Usage: Definition: Serial Cmd: Default: Options: 3-10
Only changed if necessary to match host setting. An error detection routine in which one data bit in each character is set to 1 or 0 so that the total number of 1 bits in the data field is even or odd. <K101,aux port mode,baud rate,parity,stop bits,data bits,daisy chain i.d. status,daisy chain i.d.> None 0 = None 1 = Even 2 = Odd FIS-6300 ESD Imager User’s Manual