RCS11 1:1 Redundancy Switch
RCS11 Remote Communications
MN-RCS11 – Revision 9
B–3
<SOURCEID>
F0h
= 11110000b
11110010b
<DESTINATION ID>
2Ah
= 00101010b
00011100b
<FSN>
09h
=
00001001b
00100101b
<OPCODE>
03h
= 00000011b
00101000b
<DATA> (Byte 1)
DFh = 11011111b
00000111b
<DATA> (Byte 2)
FEh
= 11111110b
00000101b
Table 1. Checksum Calculation Example
Thus, the checksum is 00000101b; which is 05h or 5 decimal. Alternative methods of calculating
the checksum for the same message frame are:
02h + FOh + 2Ah + 09h + 03h + DFh + FEh = 305h.
Since the only concern is the modulo 256 (modulo 1 00h) 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 + 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>
B.1.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 (such as the DMD15) 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 a checksum error response is returned to the
message frame originator. The entire message frame is discarded and 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 which 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.
Содержание Radyne RCS11
Страница 2: ......
Страница 8: ...This page is intentionally blank...
Страница 14: ...RCS11 1 1 Redundancy SwitchTable of Contents Revision 9 Table of Contents MN RCS11 viii Notes...
Страница 24: ...RCS11 1 1 Redundancy Switch Introduction MN RCS11 Revision 9 1 4 Figure 1 3 RCS11 Functional Block Diagram...
Страница 38: ...RCS11 1 1 Redundancy Switch User Interfaces MN RCS11 Revision 9 3 10 Notes...
Страница 84: ...RCS11 1 1 Redundancy Switch Connector Pinouts MN RCS11 Revision 9 5 26 Notes...
Страница 94: ...RCS11 1 1 Redundancy Switch RCS11 DIP Switch Configurations MN RCS11 Revision 9 A 6 Notes...
Страница 104: ...RCS11 1 1 Redundancy Switch RCS11 Remote Communications MN RCS11 Revision 9 B 10 Notes...
Страница 108: ...RCS11 1 1 Redundancy Switch Terminal Communications MN RCS11 Revision 9 C 4 Notes...
Страница 110: ...2114 WEST 7TH STREET TEMPE ARIZONA 85281 USA 480 333 2200 PHONE 480 333 2161 FAX...