User Interfaces
DM240XR High-Speed Digital Modulator
4-24
TM120 – Rev. 1.1
Thus, the checksum is 00000101b; which is 05h or 5 decimal. Alternative methods of
calculating the checksum for the same message frame are:
00h + 02h + F0h + 2Ah + 09h + 00h + 03h + DFh + FEh = 305h.
Since the only concern is the modulo 256 (modulo 100h) equivalent (values that can be
represented by a single 8-bit byte), the checksum is 05h.
For a decimal checksum calculation, the equivalent values for each information field are:
0 + 2 + 240 + 42 + 9 + 0 + 3 + 223 + 254 = 773;
773/256 = 3 with a remainder of 5. This remainder is the checksum for the frame.
5 (decimal) = 05h = 0101b = <CHECKSUM>
4.3.3 Frame Description and Bus Handshaking
In a Monitor and Control environment, every message frame on a control bus port executes as a
packet in a loop beginning with a wait-for-SYN-character mode. The remaining message format
header information is then loaded, either by the M&C computer or by a subordinate piece of
equipment requesting access to the bus. Data is processed in accordance with the OPCODE,
and the checksum for the frame is calculated. If the anticipated checksum does not match then
the wait-for-SYN mode goes back into effect. If the OPCODE resides within a command
message, it defines the class of action that denotes an instruction that is specific to the device
type, and is a prefix to the DATA field if data is required. If the OPCODE resides within a query
message packet, then it defines the query code, and can serve as a prefix to query code DATA.
The Frame Sequence Number (FSN) is included in every message packet, and increments
sequentially. When the M & C computer or bus-linked equipment initiates a message, it assigns
the FSN as a tag for error control and handshaking. A different FSN is produced for each new
message from the FSN originator to a specific device on the control bus. If a command packet is
sent and not received at its intended destination, then an appropriate response message is not
received by the packet originator. The original command packet is then re-transmitted with the
same FSN. If the repeated message is received correctly at this point, it is considered a new
message and is executed and acknowledged as such.
If the command packet is received at its intended destination but the response message
(acknowledgment) is lost, then the message originator (usually the M&C computer) re-transmits
the original command packet with the same FSN. The destination device detects the same FSN
and recognizes that the message is a duplicate, so the associated commands within the packet
are not executed a second time. However, the response packet is again sent back to the source
as an acknowledgment in order to preclude undesired multiple executions of the same command.
To reiterate, valid equipment responses to a message require the FSN tag in the command
packet. This serves as part of the handshake/acknowledge routine. If a valid response message
is absent, then the command is re-transmitted with the same FSN. For a repeat of the same
command involving iterative processes (such as increasing or decreasing transmit power level),
the FSN is incremented after each message packet. When the FSN value reaches 255, it
overflows and begins again at zero.
The full handshake/acknowledgment involves a reversal of source and destination ID codes in the
next message frame, followed by a response code in the <OPCODE> field of the message
packet from the equipment under control.
Содержание DM240XR
Страница 2: ......
Страница 10: ...Table of Contents DM240XR High Speed Digital Modulator x TM120 Rev 1 1 ...
Страница 12: ...Introduction DM240XR High Speed Digital Modulator 1 2 TM120 Rev 1 1 ...
Страница 16: ...Installation DM240XR High Speed Digital Modulator 2 4 TM120 Rev 1 1 ...
Страница 19: ...DM240XR High Speed Digital Modulator Theory of Operation TM120 Rev 1 1 3 3 ...
Страница 55: ...User Interfaces DM240XR High Speed Digital Modulator 4 36 TM120 Rev 1 1 ...
Страница 67: ...Rear Panel Interfaces DM240XR DVB High Speed Digital Modulator 5 12 TM120 Rev 1 1 ...
Страница 69: ...Maintenance and Troubleshooting DM240XR High Speed Digital Modulator 6 2 TM120 Rev 1 1 ...
Страница 79: ...Technical Specifications DM240XR High Speed Digital Modulator 7 10 TM120 Rev 1 1 ...
Страница 103: ...Appendix A DM240XR High Speed Digital Modulator A 24 TM120 Rev 1 1 ...
Страница 124: ...DM240XR High Speed Digital Modulator Appendix B TM120 Rev 1 1 B 21 ...