CRS-300 1:10 Redundancy Switch

Revision 16

Remote Control

MN/CRS300.IOM

C.5.5 Instruction Code Qualifier

This single character further qualifies the preceding instruction code. Code Qualifiers obey the following rules:

1. From Controller-to-Target, the only permitted values are:

=

(ASCII code 61)

The = code is used as the assignment operator, and is used to indicate that the parameter defined by the preceding byte should be set to the value of the argument(s) that follow it. For example, BKH=12 would mean 'set the BacK-up Hold-Off time to 12 seconds.'

?

(ASCII code 63)

The ? (ASCII code 63) is used as the query operator, and is used to indicate that the Target should return the current value of the parameter defined by the preceding byte. For example, BKH? means 'what is the current value of BacK-up Hold-Off time?'

2. From Target-to-Controller, the only permitted values are:

=

(ASCII code 61)

?

(ASCII code 63)

The = code is used in two ways:

First, if the Controller has sent a query code to a Target (for example: BKH? meaning 'what is the BacK-up Hold-Off time?'), the Target would respond with BKH=xx, where xx represents the time in question.

Second, if the Controller sends an instruction to set a parameter to a particular value, then, providing the value sent in the argument is valid, the Target will acknowledge the message by replying with BKH= (with no message arguments).

The ? code is only used as follows:

If the Controller sends an instruction to set a parameter to a particular value, then, if the value sent in the argument is not valid, the Target will acknowledge the message by replying (for example) with BKH? (without message arguments). This indicates that there was an error in the argument of the message sent by the Controller.

!

(ASCII code 33)

The ! code is only used as follows:

If the Controller sends an instruction code that the Target does not recognize, the Target will acknowledge the message by echoing the invalid instruction, followed by the ! character with. Example: XYZ!

*

(ASCII code 42)

#

(ASCII code 35)

(ASCII Code 126)

The * code is only used as follows:

If the Controller sends an instruction to set a parameter to a particular value, then, if the value sent in the argument is valid, but the modem will not permit that particular parameter to be changed at that time, the Target will acknowledge the message by replying (for example) with BKH* (with no message arguments).

The # code is only used as follows:

If the Controller sends a correctly formatted command, BUT the modem is not in remote mode, it will not allow reconfiguration, and will respond with, for example, BKH# (with no message arguments).

The code is only used as follows:

If a message was sent via the Switch to an attached modem or ODU, the message was transmitted transparently through the Switch. In the event of the other device not responding, the Switch would generate a response e.g. 0100/MGCindicating that it had finished waiting for a response and was now ready for further COMs.

C–5

Page 255
Image 255
Mocomtech CRS-300 operation manual Instruction Code Qualifier, Ascii code Ascii Code