VersaPro Temperature Controller
Page 39
Copyright © 2013, United Process Controls Inc.
All rights to copy, reproduce and transmit are reserved
Timer Control Byte
Bit
Description
Purpose
0
Timer Enabled
Indicates that the timer is enabled in the setup menu.
1
Timer Running
Indicates that the timer has started.
2
End
Indicates that the timer has timed out and not acknowledged.
3
Hold
Indicates that the timer is in hold mode.
4 & 6
N/A
Not used.
7
Control
Set when the timer is started. Reset when timer has stopped. Is toggled by
the Enter + Left Arrow or set by the SIO sending a time setpoint.
12.1 Controlling the Timer Remotely
All timer setpoint values must be written to the host a 1 and the timer function must be enabled in the
instrument control menu for the instrument to recognize any host a 1 command.
Control of the timer via the serial port using the 10Pro commands has limited capabilities since the only value
that can be written is the time setpoint. There are special cases if the Versapro is connected to
Dualpro/Multipro as a slave. The master instrument must first send a valid setpoint value from 1 to 9999. The
master can then send a setpoint of –002 to start the timer assuming all other configuration requirements are
met. If the master sends a setpoint of –001 the timer is reset and stopped with no End alarm.
The master can set the timer functions, alarm values, and delay times using the Marathon Block or Modbus
protocols. The sequence of events is similar for either Marathon Block or Modbus protocol.
The timer control word is located at parameter 70, Timer Control and Event (TCE). The timer control byte is
the upper byte of this word. The input event configuration is in the lower byte of this word. Any configuration
of the input event must be added to the timer function values when this word is written to the Versapro. In this
example the event configuration is set to none (0). It is suggested that this word be read by masking the upper
byte of the word to record the input event configuration. This value can then be added to the following timer
control values to retain the input event configuration.
The timer will only work when it is enabled, the timer setpoint is greater then 0, and at least one alarm mode is
set to a timer function. The alarm mode has to be manually configured. Programming the timer involves the
following sequence:
Enable the timer by writing a value 32768 (0x8000) to TCE.
Set the timer setpoint by writing setpoint value to parameter 3 (TSETPT)
Start the timer by writing a value 33024 (0x8100) to TCE.
The timer will indicate that it has timed out when TCE changes to value 34560 (0x8300).
Acknowledge the end alarm by writing a value 0 (0x0000) to TCE.
A description the TCE word and the timer flags in the TCE word can be found in the Versapro Memory Map
table.