Mercury 2+ Operator Terminal User Manual
Page 51 of 82
2019r0
Appendix B
Examples of how to use the Mercury 2+ escape codes to complete
actions are given below. Take a few minutes to familiarise
yourself with the method for designing blocks and messages, or
graphic images.
This example runs through the method to send a text message to a
Mercury's display. The text used in this example is the word
"TEST".
Using the format of a block, we can examine how it is composed:
"<STX> ADDR FUNC DATA DMY CSUM <ETX>"
<STX> character always starts a block and is sometimes known as
the Control B character. The terminal needs to receive the
character Hex value 02
H
.
ADDR
Before any transmission is made, determine the destination
terminal address. This address is set manually in the Setup mode
on the terminal and is a number between 1 and 15. The ADDR
field is a two byte field. So if the destination terminal address is 1,
then the field must contain 01.
FUNC
The FUNC byte is a "D" (44
H
) for messages transmitted from the
Mercury 2+ terminal and "R" (52
H
) for messages received by the
Mercury 2+ terminal. In this example this byte must be "R".
DATA
A field of variable length, this contains the "message" to be
transmitted whether it is text or a control character string. In this
example the word "TEST" is being transmitted.
<ETX>
The <ETX> character always ends a block and is sometimes
known as the ControlC character. The terminal needs to receive
the <ETX> character that has the value 03
H
.
Using Mercury 2+ in
Multi-drop Mode
Text Transmission
Содержание 2+
Страница 1: ...Mercury 2 Mercury 2 Operator Terminal User Manual ...
Страница 2: ...2019r0 Page 2 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 4: ...2019r0 Page 4 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 6: ...2019r0 Page 6 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 8: ...2019r0 Page 8 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 10: ...2019r0 Page 10 of 82 Mercury 2 Operator Terminal User Manual Mercury 2 Terminal With Proximity Card Reader ...
Страница 14: ...2019r0 Page 14 of 82 Mercury 2 Operator Terminal User Manual Mounting the Mercury 2 Terminal ...
Страница 16: ...2019r0 Page 16 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 18: ...2019r0 Page 18 of 82 Mercury 2 Operator Terminal User Manual Fig 3 I S Interface Module ...
Страница 22: ...2019r0 Page 22 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 50: ...2019r0 Page 50 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 54: ...2019r0 Page 54 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 56: ...2019r0 Page 56 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 58: ...2019r0 Page 58 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...
Страница 61: ...Mercury 2 Operator Terminal User Manual Page 61 of 82 2019r0 Fig 5 Signal Levels on Multi Drop RS485 Lines ...
Страница 62: ...2019r0 Page 62 of 82 Mercury 2 Operator Terminal User Manual This page is intentionally left blank ...