Chapter 11
RS-232C Command Set
11.1
Introduction
This chapter provides information on using simple serial commands through either COM1 or COM2 instead
of the Utility software. Set security to Level 0 to be able to use all of these commands. Set security to Level
1 if you only want to start or stop broadcasting. Review the security settings using the Utility (Section 7.3)
before using the commands in this chapter.
The clock has two RS-232 ports, COM1 and COM2. COM1 also provides RS-422/485, transmit only.
When viewing the rear panel, COM1 is nearest the antenna connector and COM2 is located to the left of
the Standard I/O connectors. It is important to note that the COM2 does not support RS-485, and both
RS-232 ports DO NOT use flow control.
Use the two serial ports interchangeably for separate functions. You may wish to interrogate the clock
on one port for basic information (i.e to configure something) and at the same time be able to broadcast
a specific time code to a wall display or meter from the second serial port. While most substation IEDs
appear to have standardized on the IRIG-B time code, NTP or PTP, some devices are designed to receive
ASCII data through the serial port. Another common RS-485 function is to connect a digital wall display
to indicate the system time or system frequency.
11.2
Standard Command Set
This section provides information for controlling and communicating with these clocks via the RS-232C
serial interface. All of the RS-232 commands are functionally grouped into similar categories. For example,
Section 11.2.2 lists all of the commands used to broadcast the date and time in one of the standard formats.
Each command name and syntax is highlighted in bold at the beginning of each definition. Detailed
information used to interpret the commands and responses follows each command heading. Sometimes the
command is very short, such as the command to return the Local Time:
TL
. Other commands require a
prefix or suffix with the letter command to specify them, such as to broadcast:
Bn
, where n = an integer
specifying the broadcast. For example, the command to start the ASCII Standard broadcast string at a rate
of once per second, on Local time, from the main RS-232 port is
B1
.
When a command requests information from a clock, it returns the most current data available. Numeric
data is returned as an ASCII string of numeric characters, with leading sign and embedded decimal point as
required. Strings are normally terminated with carriage return and line feed characters, however not always.
Characters are automatically received when typed. You do not need to press ENTER (or RETURN) to send
a command. Likewise, if including any of these commands in a programming sequence, do not include any
carriage-return or line-feed characters.
In each case, the actual command to do something in the clock follows the word “Command:” and is in
bold font. Please read the comments below each command as some commands include one or more commas
and in other cases a comma will separate multiple commands.
Содержание 1200B
Страница 4: ...iv ...
Страница 135: ...A 3 Physical Dimensions 117 Figure A 2 Suggested Mounting of the GNSS Surge Arrester ...
Страница 143: ...B 7 Four Fiber Optic Outputs 125 Figure B 4 Jumper Locations ...
Страница 145: ...B 8 8 Channel High Drive IRIG B Amplifier 127 Figure B 5 8 High Drive Outputs Jumper Locations ...
Страница 161: ...B 10 Four Additional Outputs and Dry Contacts 25 50 Vdc 143 Figure B 7 Option Connector Signal Locations ...
Страница 212: ...Appendix E Statement of Compliance The following page is a statement of compliance that includes Model 1201B and 1201C ...