Serial and SSI Settings#
SSI Host Parameters#
Select SSI Host#
Used to switch the device host interface to SSI Host. The default table also gives the recommended initial values for this interface:
Baud rate:
9600Parity:
NoneParity checking:
DisableStop bit:
1Software handshake:
ACK/NAKHost RTS line status:
LowDecode data packet format:
Send Raw Decode DataHost serial port response timeout:
2 secHost character timeout:
200 msMultipart option:
Option 1Inter-message delay:
0 msDecoding event:
DisableStartup event:
DisableParameter event:
Disable
Note
SSI interprets prefix and suffix values differently from other interfaces. It does not recognize key categories, only 3-digit decimal values; for example, the default value 7013 will be interpreted as CR.
Select SSI Host#
Host RTS Line State#
Used to set the idle state of the serial port host RTS line.
Host
RTSlow level, default valueHost
RTShigh level
* Host RTS Low#
Host RTS High#
Note
When the device works with standard serial software in decode-and-transmit mode, and the host-side hardware handshake line interferes with the SSI protocol, try switching to “Host RTS High”.
Host Serial Response Timeout#
Used to set the maximum time for the device to wait for the host ACK/NAK; if it times out, the device will retransmit and report a transmission error after continuous failures.
Low - 2 Seconds, default valueMedium - 5 SecondsHigh - 7.5 SecondsMaximum - 9.9 Seconds
* 2 seconds#
5 seconds#
7.5 seconds#
9.9 seconds#
Other values can be set through the SSI command. It is recommended that both ends of the host and device be consistent.
Host Character Timeout#
Used to set the maximum allowed interval between characters sent by the host; beyond this time, the device will discard the current received data and determine it as a communication error.
Low - 200 ms, default valueMedium - 500 msHigh - 750 msMaximum - 990 ms
\* 200 ms#
500 ms#
750 ms#
990 ms#
Other values can be set through the SSI command.
Software Handshaking#
Used to control the ACK/NAK software handshake.
Disable ACK/NAKEnable ACK/NAK, default value
Disable ACK/NAK#
* Enable ACK/NAK#
When enabled, the device will wait for the host to return ACK or NAK after sending packaged data; if no response is received within the “host serial port response timeout”, the device will resend at most two times.
Note
Hardware handshaking is always enabled and cannot be turned off. ACK/NAK does not apply to decoded data when sending it as raw ASCII.
Parameter Event#
Used to control whether parameter-related events are reported.
Enable Parameter EventDisable Parameter Event, default value
Enable parameter events#
* Disable parameter events#
Typical event codes include:
0x07: Parameter input error0x08: Parameters saved0x0A: Restore default value0x0F: Need to enter a number
Startup Event#
Used to control whether the device actively sends startup events to the host after it is powered on.
Enable Boot Up EventDisable Boot Up Event, default value
Enable startup events#
* Disable startup events#
Corresponding event code: 0x03
decode event#
Used to control whether to actively send events to the host after decoding is successful.
Enable Decode EventDisable Decode Event, default value
Enable decoding events#
* Disable decoding events#
Corresponding event code: 0x01
Multipart Options#
Used to control how ACK/NAK is handled during multi-packet transmission.
Multipacket Option 1, default valueACK/NAKhandshake for each packetMultipacket Option 2sends data packets continuously without usingACK/NAKto control the rhythm; if the host cannot handle it, hardware handshake can be used to temporarily delay sending.Multipacket Option 3Same asOption 2, but adds programmable inter-packet delay
\* Multipacket Option 1#
Multipacket Option 2#
Multipacket Option 3#
Inter-message Delay#
Used to set the waiting time between packages under Multipacket Option 3.
Minimum - 0 ms, default valueLow - 25 msMedium - 50 msHigh - 75 msMaximum - 99 ms
\* 0 ms#
25 ms#
50 ms#
75 ms#
99 ms#
Other values can be set through the SSI command.
SSI baud rate#
Used to set the SSI communication rate, which must be consistent with the host.
9600, default value19,20038,40057,600115,200230,400460,800921,600
\* 9600#
19,200#
38,400#
57,600#
230,400#
460,800#
921,600#
SSI check digit#
Parity check mode used to set the highest bit of a character.
OddEvenNone, default value
Odd Parity#
Even Parity#
* No Parity#
SSI parity check#
Used to control whether the device checks the parity of received characters.
Do Not Check Parity, default valueCheck Parity
* Do not check check digit#
Check check digit#
SSI stop bit#
Used to set the number of stop bits at the end of each character.
1 Stop Bit, default value2 Stop Bits
* 1 stop bit#
2 stop bits#
SSI transaction and command encapsulation#
SSI transaction#
Used to archive the SSI transaction flow, command interaction sequence, and common status codes between the host and the device.
Currently confirmed communication rules include:
SSIData is transmitted between the host and the device in the form of data packets. The maximum size of a single packet is257bytes.Decoded data can be sent either as original
ASCIIor asDECODE_DATApackageWhen
ACK/NAKis enabled, all packaged messages must returnCMD_ACKorCMD_NAKunless otherwise specified.Raw
ASCIIdecoded data withWAKEUPwithout usingACK/NAKhandshakeIf hardware handshaking is not used,
WAKEUPshould be sent before sending any communication to the sleeping device, otherwise the first byte may be lost.
Note
All communications use 8 data bits. If the baud rate, stop bit, parity bit or response timeout is modified through PARAM_SEND, ACK of the current transaction will still use the old parameters to return, and the new value will take effect from the next transaction.
RMD command/response encapsulated by SSI#
Used to illustrate the encapsulation format of RSM / RMD commands and responses in the SSI protocol.
Confirmed structural points:
The command header uses
SSI_MGMT_COMMAND (0x80)Host side
Message Sourceis4Device side
Message Sourceis0Supports variable-length commands up to
255bytesThe host does not support direct multi-packet delivery of RSM commands through SSI, and needs to be fragmented by itself according to the
RSMprotocol.
The in-page example shows how to read diagnostic information (attribute #10061) through the encapsulated RSM command.
SSI command list#
Typical commands confirmed to be supported include:
AIM_OFF (0xC4)AIM_ON (0xC5)BEEP (0xE6)CAPABILITIES_REQUEST (0xD3)CAPABILITIES_REPLY (0xD4)CMD_ACK (0xD0)CMD_NAK (0xD1)DECODE_DATA (0xF3)EVENT (0xF6)LED_OFF (0xE8)LED_ON (0xE7)PARAM_DEFAULTS (0xC8)PARAM_REQUEST (0xC7)PARAM_SEND (0xC6)REQUEST_ID (0xA3)REPLY_ID (0xA6)REQUEST_REVISION (0xA3)REPLY_REVISION (0xA4)SCAN_DISABLE (0xEA)SCAN_ENABLE (0xE9)SLEEP (0xEB)START_DECODE (0xE4)STOP_DECODE (0xE5)WAKEUP
event code table#
The basic event codes that have been sorted out are as follows:
event type |
Description |
event code |
|---|---|---|
Decode Event |
Non-parametric decoding event |
|
Boot Up Event |
System power on |
|
Parameter Event |
Parameter input error |
|
Parameter Event |
Parameters saved |
|
Parameter Event |
Restore defaults |
|
Parameter Event |
Need to enter a number |
|
Transmit buffer overflow#
Used to describe the performance, risks, and handling recommendations when the transmission buffer overflows.
RS232 host type#
RS232C host type#
Used to list different RS232 host types and their default parameter sets.
The currently sorted host types include:
Standard RS-232ICL SerialWincor-Nixdorf Serial Mode AWincor-Nixdorf Serial Mode BOlivetti ORS4500OmronOPOS/JPOSFujitsu SerialCUTE
Note
Scanning Standard RS-232 will only enable the serial port driver and will not modify existing port settings; scanning other host types will also rewrite the corresponding serial port parameters.
Standard RS232C#
Describes the default communication parameters for standard RS232 host mode. The currently confirmed default values are as follows:
Parameter |
Default Value |
|---|---|
Serial Host Types |
|
Baud Rate |
|
Parity Type |
|
Stop Bits |
|
Data Bits |
|
Check Receive Errors |
|
Hardware Handshaking |
|
Software Handshaking |
|
Host Serial Response Time-out |
|
RTS Line State |
|
Beep on |
|
Intercharacter Delay |
|
Nixdorf Beep/LED Options |
|
Ignore Unknown Characters |
|
Note
Terminal Specific RS232 and ICL RS232C in the original directory belong to the compatibility instructions of a specific terminal or host protocol. You should confirm the current host interface type and protocol requirements before use.
Serial communication parameters#
RS232 baud rate#
Used to illustrate serial port communication rate selection.
The currently confirmed values include:
9600, default value19,20038,40057,600115,200230,400460,800921,600
* RS232 baud rate 9600#
RS232 baud rate 19,200#
RS232 baud rate 38,400#
RS232 baud rate 57,600#
RS232 baud rate 115,200#
RS232 baud rate 230,400#
RS232 baud rate 460,800#
RS232 baud rate 921,600#
RS232 check digit#
Used to illustrate the selection method of parity check strategy.
OddEvenNone, default value
RS232 odd parity#
RS232 even parity#
* RS232 without parity#
Check Parity is used to control whether the receiving end performs parity check, and is usually confirmed with RS232 check digit above.
RS232 stop bit#
Used to describe how the number of stop bits is selected.
1 Stop Bit, default value2 Stop Bits
* RS232 1 stop bit#
RS232 2 stop bits#
8 data bits#
Used to illustrate the serial port data bit width configuration.
7-Bit8-Bit, default value
RS232 7 data bits#
* RS232 8-bit data bits#
Note
Even Parity, DO NOT CHECK PARITY, HOST HIGH RTS and Host Low RTS in the original text are serial port compatibility instructions. The scannable setting code of the parity check has been merged into the “RS232 check digit”, and the RTS line status should be confirmed in combination with the “hardware handshake” and the host protocol requirements.
Receive error checking#
Used to control whether received characters are checked for parity, framing errors, and overflow errors.
Check For Received Errors, default valueDo Not Check For Received Errors
* Check for receiving errors#
Don’t check for receive errors#
hardware handshake#
Used to control the serial port RTS/CTS hardware handshake.
Currently confirmed options and behaviors include:
NoneStandard RTS/CTSRTS/CTS Option 1RTS/CTS Option 2RTS/CTS Option 3
Note
If hardware handshake and software handshake are enabled at the same time, hardware handshake takes precedence. In Standard RTS/CTS mode, the device will rely on CTS and “host serial port response timeout” to control the sending timing; if the handshake fails, the current data will be lost and a sending error prompt will be triggered.
Other serial port related#
original directory |
Description |
|---|---|
|
Used to organize special serial port parameters related to fuzzy matching, fault-tolerant reception or compatibility processing. |
|
Used to describe the serial port or host side’s detection compatibility strategy for the case of Codabar’s starting and ending characters. |