35
Docklight V2.2 User Manual 07/2016 Copyright 2016 Flachmann und Heggelbacher GbR
Working with Docklight (Advanced)
Function character '!' (F11) - setting RTS and DTR
Character Value
(Decimal Mode)
RTS
DTR
000
Low
Low
001
High
Low
002
Low
High
003
High
High
Temporary parity changes / 9 bit applications
Some protocols and applications require a 9th data bit, e.g. for device addressing on a
bus. The only way to talk to such devices using a standard UART with maximum 8 data
bits is to use serial settings that include a parity bit and change this parity bit
temporarily within a
. The function character '!' supports additional
parameter values for this purpose:
Character Value
(Decimal Mode)
Parity
016
No parity
032
Odd parity
048
Even parity
064
Mark. Set parity bit to logic '1'
080
Space. Set parity bit to logic '0'
The new parity settings are applied starting with the next regular character, both on the
TX and the RX side. The parity is switched back to the original
after the Send Sequence has been completely transmitted.
NOTE: The most useful parameters for this function character are the "Mark" and
"Space" settings, because they allow you to set the parity bit to a defined value that
effectively serves as a 9th data bit.
NOTE: It is recommended to set the
evaluate incoming data in both cases, 9th bit = high and 9th bit = low.
TIP: See also the
SwitchParityDemo.ptp
sample project (folder
Extras
\ParitySwitch_9BitProtocols
in your
Function character '!' (F11) - detecting handshake signal changes
(CTS, DSR, DCD or RI)
Docklight Scripting detects changes of the handshake signals CTS, DSR, DCD or RI,
but in normal operation these changes are not visible in the Docklight Communication
Window (similar to a
).
Using the function character '!' you can make these changes visible, and/or define an
after detecting such changes. The function character '!' supports the following
parameter values for this purpose:
Character Value
(Decimal Mode)
Handshake Signal
Содержание Docklight V2.2
Страница 1: ...Docklight V2 2 User Manual 07 2016 Copyright 2016 Flachmann und Heggelbacher GbR...
Страница 5: ...Copyright...
Страница 7: ...Introduction...
Страница 11: ...User Interface...
Страница 14: ...Features and Functions...
Страница 17: ...Working with Docklight...
Страница 28: ...Working with Docklight Advanced...
Страница 41: ...Examples and Tutorials...
Страница 46: ...Reference...
Страница 62: ...Support...
Страница 64: ...Appendix...
Страница 76: ...76 Docklight V2 2 User Manual 07 2016 Copyright 2016 Flachmann und Heggelbacher GbR Appendix...
Страница 77: ...Glossary Terms Used...