44
Docklight V2.2 User Manual 07/2016 Copyright 2016 Flachmann und Heggelbacher GbR
Examples and Tutorials
·
Now press the
Send
button for either of the two Send Sequences.
Communication is started and the Send Sequence is transmitted. It will of course be
instantly received on the COM port's RX line.
Docklight will detect the incoming data as being one of the defined
It will then perform the action predefined for this event, which is sending out another
sequence. As a result, Docklight will send out alternating Send Sequences - "Ping" and
"Pong".
·
Use the
Stop communication
button to end the demo.
The Docklight communication display should look similar to this:
3/8/2009 16:25:44.201 [TX] -
----o Ping
3/8/2009 16:25:44.216 [RX] -
----o Ping
"Ping" received
3/8/2009 16:25:44.218 [TX] -
o---- Pong
3/8/2009 16:25:44.233 [RX] -
o---- Pong
"Pong" received
3/8/2009 16:25:44.236 [TX] -
----o Ping
3/8/2009 16:25:44.251 [RX] -
----o Ping
"Ping" received
3/8/2009 16:25:44.254 [TX] -
o---- Pong
3/8/2009 16:25:44.268 [RX] -
o---- Pong
"Pong" received
3/8/2009 16:25:44.271 [TX] -
----o Ping
3/8/2009 16:25:44.286 [RX] -
----o Ping
"Ping" received
3/8/2009 16:25:44.289 [TX] -
o---- Pong
3/8/2009 16:25:44.303 [RX] -
o---- Pong
"Pong" received
3/8/2009 16:25:44.307 [TX] -
----o Ping
3/8/2009 16:25:44.322 [RX] -
----o Ping
"Ping" received
3/8/2009 16:25:44.324 [TX] -
o---- Pong
...
See also the corresponding log files in the
folder
(
PingPong_Logfile_asc.htm
and
PingPong_Logfile_hex.htm
).
Further Information
This demo project can also be run in three alternative configurations:
1.
Run two Docklight applications on the same PC using different COM ports. The two
COM ports are connected using a
.
2.
Instead of two RS232 COM ports and a null modem cable you can use a
3.
Use two PCs and run Docklight on each PC. Connect the two PCs using a simple
null modem cable.
7.3
MODBUS RTU With CRC checksum - Sample Project:
ModbusRtuCrc.ptp
The Docklight project file
ModbusRtuCrc.ptp
demonstrates how to automatically
calculate the CRC value required to send a valid
The project file uses the
listed below, according to the
MODBUS implementation class "Basic".
Содержание 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...