User guide

set ia
Chapter 2 Command Descriptions 141
packing={ch_pad|direct|swap|pad_ch} (ascii_import)
Defines how ASCII characters are packed into word registers.
ch_pad
One character is placed into the low-byte of each register, with a pad
byte placed in the high-byte. How this appears within the protocol is
protocol-specific. Use "pad_ch" if this sequence is wrong.
direct
Characters are packed directly into the registers exactly as received.
How this appears within the protocol is protocol-specific. Use "swap" if
this sequence is wrong.
swap
Characters are swapped as packed into the registers. How this
appears within the protocol is protocol-specific. Use "direct" if this
sequence is wrong.
pad_ch
One character is placed into the high-byte of each register, with a pad
byte placed in the low-byte. How this appears within the protocol is
protocol-specific. Use "ch_pad" if this sequence is wrong.
pad_char={none|0-255|\\x00-\\xFF} (ascii_import)
Defines the characters used to pad registers when the ASCII message
does not fill the entire register space. This value is also used in the
"pad_ch" and "ch_pad" packing sequences.
prewrite1=”pattern” (ascii_import)
prewrite2=”pattern” (ascii_import)
Defines the string used to poll an ASCII device in half-duplex mode for
the first two buffers. The pattern is defined the same as for the "end"
option.
polltimeout (df1halfduplex)
The period a master waits for a response to a poll before either polling
again (see the “polllimit” option) or giving up on getting a response. The
range is 0 to 60000 milliseconds. The default is 250 milliseconds.
polllimit (df1halfduplex)
The number of polltimeouts allowed before the master gives up on getting
a response to a poll. The range is 0 to 255. The default is 3.