Instruction manual
accQcomm Interface Module
Appendix A Commands, Constants, and Registers
A-4
RC
Set one alarm condition for flow pulse
output to a sampler
NOTE: Condition 2 and relay operator
field are ignored when a sampler pulse
output is configured.
Param 1 (Range 1 - 8): The number of the alarm.
Param 2 (1): The condition triggering the sampler pulse output.
Param 3 (Range 1 – 3): The instrument to which the alarm applies, can be
numerical 1 – 3 or Ins1, Ins2, etc.
Param 4: 1 (pulse).
Param 5: Comparator is SAMPLER.
Param 6: Volume per pulse, entered in units of 0.1L for the Volume / Total-
ized flow specified in parameter 4.
Example: Set up alarm 8 as a sampler pulse, generating one pulse for every
1000L on instrument #2.
?>RC 8 1 INS2 1 SAMPLER 10000
RE
Relay enable (on/off toggle)
Param 1 (Range 1 - 8): The relay alert to enable or disable
Param 2 (0 or 1): Toggle for the relay. If 1, the alert for that relay is evalu-
ated, if 0 it is not.
NOTE: If a relay is not enabled, it will remain inactive (closed) unless power
fails. By disabling a relay, it can be used as a power fail alert.
RL
Relay is latching (on/off toggle)
Param 1 (Range 1 - 8): The relay alert that will be set as latching/not latch-
ing.
Param 2 (0 or 1): Toggle for the latching mode. If 1, the relay will remain
open (alarmed) if the alert condition evaluates true, regardless of any
change in the data value. If 0, the relay will open if the alarm expression
evaluates true and will close again if it evaluates false.
RO
Relay operator
Param 1 (Range 1 - 8): The relay operator is being set.
Param 2: The relay operator. The operator joins the two conditions and can
have any of the following values: And, Or, or None. If the value is None, a
second condition is never evaluated.
Example — Sets the relay 1 operator to None, such that only the first argu-
ment is evaluated.
?>RC 1 None
Programming Example —
The accQcomm has eight programmable relays for triggering alarms based on one or two user-defined conditions
(i.e., flow rate, level, velocity, etc.). Each condition is specified with a set of program commands.
In command mode, the relay alarm is enabled (RE), one or two conditions are set (RC), followed by a comparator
(>,<, >=, <=, or ==) and a user-defined value, and an operator of
AND/OR/NONE is set (RO). If NONE is selected, the
second condition is ignored. The alarm can also be specified as latching (RL), meaning once the relay is triggered, it
will remain open regardless of changes in data.
In the following example, an alarm will be permanently triggered if the flow reverses:
?>RE 1, TRUE (Sets Relay 1 to active)
?>RC 1 1 Ins1.Velocity < 0 (Sets Relay 1, Condition 1)
?>RO 2
NONE (Sets Relay 2, Operator to NONE)
?>RL 1
TRUE (Sets Relay 1 as latching)
SA
Analog output enabled
Param 1 (1 or 0): Enables/disables the 4-20 mA outputs. If 1, the analog
outputs are enabled and Modbus is disabled (unless the MF 1 command is
sent), if 0 then analog outputs are disabled and Modbus is enabled.
Table A-1 accQcomm Program Commands (Continued)
Commands and Definitions Functions