SG Security Communications MLR2-E Manual de usuario Pagina 55

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 59
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 54
Form Number.: 7-3005 File Name: SG Automation Output Revision/Date: 01/May 3, 2005
Department: Engineering
Division: Embedded Software Form Template Owner: Jeff Cougler
55
SG-CPM3 v1.70 and higher supports the ability to update the time and date from the automation via the TCP/IP socket only.
The Automation Command Packets may be sent only in response to any packet sent by the receiver. The command is sent in the
following structure to the CPM3.
Signal Command Length Date Time Description
ACK + COMMAND 17 00 0B 07 D5 05 05 00 0E 1F 00 ACK the previous alarm and
set the time & date to May 5,
2005 2:31:00pm
(note the above values are hex bytes)
The Set Date/Time command sets the current date and time on the CPM3 to the date and time setting .This in turn also has the
effect of updating the date and time on all of the line cards. The Date and Time fields are each 4 byte integer values, which are
described below. An ACK is returned if the requested data and time were successfully set; NAK is returned if an error occurred
(i.e. the values sent were an invalid data or time representation) See also the Receiver Command ACK/NACK packets.
Field Bits
Year (A.D.) 31-16
Month (1-12) 15-8
Date
Day (1-31) 7-0
Hour (0-23) 31-16
Minute (0-59) 15-8
Time
Second (0-59) 7-0
6.4.2 Automation Absent Condition
When the automation is not responding to the output transmissions, the CPM will generate a trouble. When an output trouble
occurs, the CPM will continue to attempt to send a signal to the automation until it gets a response. The signal that is used and
the timing of the signal are dependent on whether the heartbeat signal is enabled or not.
The CPM will use the heartbeat signal to poll the output for a response. It will make 4 attempts, then wait a programmable
heartbeat interval of time before making another 4 attempts. The typical heartbeat interval is 10 seconds.
Supervisory Heartbeat Signal Protocol (1):
1RR000sssssssssss@ssss[DC4]
RR : Receiver number (Real programmed number, never virtual).
S : Space Character.
@ : Supervisory Signal.
[DC4] : Terminator, 14 Hex.
This signal is used to supervise the communication between the receiver and the automation. Once one acknowledgement of
this signal, with an [ACK] is sent by the automation, the link shall be considered restored.
If a computer/automation failure should occur, the CPM will switch to manual mode, meaning manual acknowledgements for
each signal. When the receiver buffer(s) become full, the line cards will stop answering the calls.
6.5 Signals Data Flow And Timings
The Sur-Gard receiver requires an acknowledgement signal [ACK] (Hex 06) from the automation software within 4 seconds for
each message sent. Failure to receive the [ACK] will result in the re-transmission of the same signal three times before giving
up. If the receiver receives a [NAK] (hex 15), the Receiver will re-send the signal 20 times before giving up and process the
Vista de pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58 59

Comentarios a estos manuales

Sin comentarios