23
Module 8 is the programming module for the Real-Time Clock (RTC) Date
and Time Parameters. In the Display Mode, the DAT annunciator indicates the
RTC Date is currently being shown. The RTC Time display is shown with no
annunciator. This programming module can only be accessed if a Real-Time
Clock card is installed.
COMMUNICATION FORMAT
Data is transferred from the meter through a serial communication channel.
In serial communications, the voltage is switched between a high and low level
at a predetermined rate (baud rate) using ASCII encoding. The receiving device
reads the voltage levels at the same intervals and then translates the switched
levels back to a character.
The voltage level conventions depend on the interface standard. The table
lists the voltage levels for each standard.
Data is transmitted one byte at a time with a variable idle period between
characters. Each ASCII character is “framed” with a beginning start bit, an
optional parity bit and one or more ending stop bits. The data format and baud
rate must match that of other equipment in order for communication to take
place. The figures list the data formats employed by the meter.
Start Bit and Data Bits
Data transmission always begins with the start bit. The start bit signals the
receiving device to prepare for reception of data. One bit period later, the least
significant bit of the ASCII encoded character is transmitted, followed by the
remaining data bits. The receiving device then reads each bit position as they
are transmitted.
Parity Bit
After the data bits, the parity bit is sent. The transmitter sets the parity bit to
a zero or a one, so that the total number of ones contained in the transmission
(including the parity bit) is either even or odd. This bit is used by the receiver
to detect errors that may occur to an odd number of bits in the transmission.
However, a single parity bit cannot detect errors that may occur to an even
number of bits. Given this limitation, the parity bit is often ignored by the
receiving device. The PAX meter ignores the parity bit of incoming data and
sets the parity bit to odd, even or none (mark parity) for outgoing data.
Stop Bit
The last character transmitted is the stop bit. The stop bit provides a single bit
period pause to allow the receiver to prepare to re-synchronize to the start of a
new transmission (start bit of next byte). The receiver then continuously looks
for the occurrence of the start bit. If 7 data bits and no parity is selected, then 2
stop bits are sent from the PAX.
* Voltage levels at the Receiver
space (active)
a-b > +200 mV
TXD,RXD; +3 to +25 V
0
mark (idle)
a-b < -200 mV
TXD,RXD; -3 to -25 V
1
INTERFACE STATE
RS485*
RS232*
LOGIC
Character Frame Figure
6.8 MODULE 8 - R
EAL
-T
IME
C
LOCK
P
ARAMETERS
(
3#
) - PAXCK
PARAMETER MENU
!
ª
«
SET TIME
This parameter sets the Time for the Real-Time Clock. Selecting
!
will
display the sub-menu where the Time can be set or changed. The RTC Time is
entered in “Hours-Minutes”, 12-hour format, with AM/PM indication. When
the
PAR
key is pressed, the new Time is entered and begins running. The
“Seconds” always start from 00 when the Time is entered. Select
to advance
to the next parameter without changing the Time.
ª
«
HOURS-MINUTES Am/Pm
!
(/
/'
0'
/
&
1
ª
«
SET DATE
This parameter sets the Date for the Real-Time Clock. Selecting
!
will
display the sub-menu where the Date can be set or changed. The RTC Date is
entered in “Month.Day.Year” format (two-digit values). When the
PAR
key is
pressed, the new Date is entered. Select
to advance to the next parameter
without changing the Date.
ª
«
"''!!
MONTH.DAY.YEAR
ª
«
/'
&,
SET DAY
Set the Day of the week for the Real-Time Clock.