Live Mode Protocol
Page 174
Live Mode Protocol
Live Mode communication is used by the show controllers to give updated information on the state of
variables, inputs, outputs and other resources. This information is not polled, but instead requested once
and then the show controller will send updated information as that resource changes. This method is used
by Touch to retrieve status information and can also be used by third party drivers.
Note: All messages described in this section (such as "1LV") will be printable ascii messages and will
always have a carriage return (hex 0D) at the end of the message.
Timing Information
Live information will be sent as often as possible, but there is no guarantee of frame accuracy. Live mode
communication is considered a "Low Priority", and can be delayed by several frames if there are higher
priority items to be done (like processing incoming ethernet messages, running a sequence, etc). Typical
delay will be between 1 and 5 frames. (1 frame ~33ms).
Connection Information
The connection is on UDP port 2638 or 2639. To initiate a Live Mode connection, the show controller must
be fully booted and a script must be running. All messages end in a carriage return (hex 0D).
To start the connection, send: 1LV
To stop the live connection, send: 0LV
A "heartbeat" packet must be sent to the controller every 2 seconds or less.
Heartbeat packet: 3LV
Heartbeat packets will not be acknowledged by the show controller.
After a connection is established using the above method, the show controller will send a heartbeat
response packet of: LV
This "LV" heartbeat response packet will be sent approximately every 1 second. This packet is only sent if
no other resource response packets are being sent from the show controller. In other words, heartbeat
response packets will be sent if no watched resources have changes that need to be sent.
Sequence Status
The sequence status (stopped, paused, running) is always sent when a live connection is established.
It is sent in the following format:
s|<index of sequence>|<sequence state>|<frames>|<event1>|<exent2>.....|<eventN>|LV
Содержание V16Pro
Страница 1: ...V Series Network Controllers Alcorn McBride January 3 2018 User s Guide...
Страница 48: ......
Страница 64: ......
Страница 86: ......
Страница 91: ...V16Pro Page 91 V16Pro...
Страница 114: ......
Страница 118: ...VCore Page 118 VCore Figure 11 Front View Figure 12 Rear View...
Страница 119: ...VCore Page 119 VCore Figure 13 Top View Figure 14 Bottom View...
Страница 138: ......
Страница 167: ...Serial and Ethernet Control Page 167 Control Example Send Command AHJ 0D enables port A Response R 0D...
Страница 172: ......