Rockwell Automation Library of Process Objects: Weigh Scale
Dosing (P_DoseWS)
Version 3.5
IMPORTANT
This manual applies to the Rockwell Automation Library of Process Objects version 3.5 or earlier.
For Rockwell Automation Library of Process Objects version 5.0, see
• PROCES-RM200
For Rockwell Automation Library of Process Objects version 4.0 or later, use the following manuals:
• PROCES-RM013 contains logic instructions
• PROCES-RM014 contains display elements
Important User Information
Read this document and the documents listed in the additional resources section about installation, configuration, and
operation of this equipment before you install, configure, operate, or maintain this product. Users are required to
familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes, laws,
and standards.
Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required
to be carried out by suitably trained personnel in accordance with applicable code of practice.
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be
impaired.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the
use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or
liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or
software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,
Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.
IMPORTANT
Identifies information that is critical for successful application and understanding of the product.
Labels may also be on or inside the equipment to provide specific precautions.
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.
ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to
potential Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL
Regulatory requirements for safe work practices and for Personal Protective Equipment (PPE).
Allen-Bradley, Rockwell Software, and Rockwell Automation are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 20173
Table of Contents
Notes:
4Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 2017
Preface
Software Compatibility and
Content Revision
Table 1 - Summary of Changes
TopicPage
Visualization Files: Global Objects (.ggfx) - Process Diagnostic Objects11
For the latest compatible software information and to download the Rockwell
Automation® Library of Process Objects, see the Product Compatibility and
Download Center at
Rockwell Automation Library of Process Objects: Common
Alarm Block (P_Alarm) Reference Manual, publication
SYSLIB-RM002
Rockwell Automation Library of Process Objects: Common
Mode Block (P_Mode) Reference Manual, publication
SYSLIB-RM005
PROCES-SG001
PROCES-RM001
PROCES-RM002
VIEWME-UM004
VIEWSE-UM006
1756-PM010
Provides information to assist with equipment
procurement for your PlantPAx system.
Provides characterized recommendations for
implementing your PlantPAx system.
Provides general considerations for the PlantPAx system
library of process objects.
Provides details on how to use this software package for
creating an automation application.
Provides details on how to use this software package for
developing and running human-machine interface
(HMI) applications that can involve multiple users and
servers, distributed over a network.
Provides information for designing, configuring, and
programming Add-On Instructions.
Details how to monitor an input condition to raise an
alarm. Information includes acknowledging, resetting,
inhibiting, and disabling an alarm. Generally the
P_Alarm faceplate is accessible from the Alarms tab.
Explains how to choose the Mode (owner) of an
instruction or control strategy. The Mode instruction is
usually embedded within other instructions to extend
their functionality. It is possible to use a standalone
Mode instruction to enhance a program where modes
are wanted.
You can view or download publications at
http:/www.rockwellautomation.com/literature/. To order paper copies of
technical documentation, contact your local Allen-Bradley distributor or
Rockwell Automation sales representative.
6Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 2017
Weigh Scale Dosing (P_DoseWS)
The P_DoseWS (Weigh Scale Dosing) Add-On Instruction controls an
ingredient addition that uses a weigh scale to measure the quantity of ingredient
added. The weigh scale can be on the receiving vessel (gain in weight) or on the
sourcing vessel (loss in weight). The weigh scale can be connected via an analog
input, device network, or other connection.
Global Object
Faceplate
Add-On Instruction
Guidelines
Use this instruction in these situations:
• You want to control basic dosing (ingredient addition) with basic features,
s bulk/dribble rate selection, preact, automatic preact adjustment,
such a
and the ability to start, pause, and resume flow.
ou are measuring the quantity of ingredient added to a destination vessel
• Y
(g
ain in weight) or the quantity transferred from a source vessel (loss in
weight) by using a weigh scale. The scale provides a weight value and can
be interfaced via an analog input card, network, or other means.
Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 20177
Weigh Scale Dosing (P_DoseWS)
Do not use this instruction in these situations:
• You want to measure the quantity of ingredients transferred with a
flowmeter. Use the P_DoseFM instruction instead.
ou need to control precision blending. This instruction does not include
• Y
capabil
ity for controlled-rate addition, such as ratio control, digital
blending, or precision blending. Contact your Rockwell Automation
representative for a blending solution.
ou need only a totalizer (integrator). Use the built-in TOT instruction
• Y
instead.
ou need only to display a weigh scales’s weight or generate high and low
• Y
weig
ht alarms. Use the P_AIn Analog Input Add-On Instruction instead.
You could need additional logic in these situations:
ou need more complicated sequencing, including special actions when
• Y
restarting, aborting, or holding an addition. This sort of sequencing is a
good candidate for an equipment phase. Equipment phase logic can drive
the P_DoseWS instruction by using its Program mode commands and
settings.
he material transfer equipment requires complicated startup and
• T
tdown logic. You can provide this logic separately and use the
shu
P_DoseWS outputs to trigger the logic for startup and shutdown of
ingredient delivery.
8Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 2017
Weigh Scale Dosing (P_DoseWS)
Functional Description
The following diagram shows the functional characteristics of the P_DoseWS
Add-On Instruction.
Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 20179
Weigh Scale Dosing (P_DoseWS)
The P_DoseWS instruction provides the following capabilities:
• Provides linear scaling of the input weight value from raw (input card)
units to engineering (display) units.
ses a software tare of the scale to establish the zero-quantity starting
• U
po
int for transfer. Once the scale is tared, the instruction checks for
unrequested flow, that is, an increase or decrease in scale weight before
flow is actually started, and raises a tare fault alarm if such a weight change
occurs.
rovides a rate of weight change calculation (differentiation with respect
• P
time) to generate an inferred flow rate. The calculated rate is filtered and
to
has a low cutoff, so the rate is reported as zero when the change in weight is
only from noise on the input weight signal.
rovides outputs to control associated equipment, such as pumps and
• P
valves to start and stop flow. The operator or the program can start the
ingredient addition, then pause and resume as needed.
onitors the status of controlled equipment, such as pumps and valves.
• M
Fl
ow is stopped and an alarm is raised on an equipment fault or if the
equipment fails to respond as commanded.
onitors the weight PV input quality and communication status and
• M
pr
ovides indication of uncertain or bad weight PV. Flow is stopped and an
alarm is raised on a bad PV or communication loss.
rovides program or operator entry of a quantity to deliver (setpoint) and
• P
calcu
lates the quantity remaining to deliver and percent complete during
delivery.
Required Files
Add-On Instructions are reusable code objects that contain encapsulated logic
that can streamline implementing your system. This lets you create your own
instruction set for programming logic as a supplement to the instruction set
provided natively in the ControlLogix® firmware. An Add-On Instruction is
defined once in each controller project, and can be instantiated multiple times in
your application code as needed.
Controller File
The P_DoseWS_3_5-00_AOI.L5X Add-On Instruction must be imported into
the controller project to be used in the controller configuration. The service
release number (boldfaced) can change as service revisions are created.
10Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 2017
Weigh Scale Dosing (P_DoseWS)
Visualization Files
This Add-On Instruction has associated visualization files that provide a
common user interface. These files can be downloaded from the Product
Compatibility and Download Center at
The visualization file dependencies require Process Library content imports to
occur in a specific order as reflected in the following tables:
• Images
• Global Objects
• Standard Displays
• HMI Tags
• Macros
Images are external graphic files that can be used in displays. They must be
imported for FactoryTalk View to make use of them.
When PNG files are imported, they are renamed by FactoryTalk View with
a .bmp file extension, but retain a .png format.
Table 2 - Visualization Files: Images (.png)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
All .png files in the images folderAll .png files in the images folderThese are the common icons used in the global objects and
standard displays for all Process Objects.
The Global Object files (.ggfx file type) in the following table are Process Library
display elements that are created once and referenced multiple times on multiple
displays in an application. When changes are made to a Global Object, all
instances in the application are automatically updated.
Table 3 - Visualization Files: Global Objects (.ggfx)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
(RA-BAS) Common Faceplate Objects(RA-BAS-ME) Common Faceplate ObjectsGlobal objects used on process object faceplates.
(RA-BAS) Process Alarm Objects(RA-BAS-ME) Process Alarm ObjectsGlobal objects used for managing alarms on process
(RA-BAS) Process Diagnostic Objects(RA-BAS-ME) Process Diagnostic ObjectsDiagnostic global objects used on process object
(RA-BAS) Process Faceplate Analog Objects(RA-BAS-ME) Process Faceplate Analog ObjectsAnalog global objects used on process object faceplates.
(RA-BAS) Process Faceplate Misc Objects(RA-BAS-ME) Process Faceplate Misc ObjectsMiscellaneous global objects used on process object
(RA-BAS) Process Graphics Library(RA-BAS-ME) Process Graphics LibraryProcess global object device symbols used to build
(RA-BAS) Process Help Objects(RA-BAS-ME) Process Help ObjectsGlobal objects used for all process objects help displays.
(RA-BAS) Process Mode Objects(RA-BAS-ME) Process Mode ObjectsGlobal objects used for managing modes on process
object faceplates.
faceplates.
faceplates.
process graphics
object faceplates.
The Standard Display files (.gfx file type) in the following table are the Process
Library displays that you see at runtime.
Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 201711
Weigh Scale Dosing (P_DoseWS)
Table 4 - Visualization Files: Standard Displays (.gfx)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
(RA-BAS) Common-AnalogEditN/AFaceplate used for analog input data entry. The FactoryTalk
(RA-BAS) P_Alarm-Faceplate(RA-BAS-ME) P_Alarm-FaceplateThe faceplate that is used for managing alarms for
(RA-BAS) P_Alarm-Help(RA-BAS-ME) P_Alarm-HelpAlarm Help information that is accessed from the
(RA-BAS) P_DoseWS-Faceplate(RA-BAS-ME) P_DoseWS-FaceplateThe faceplate that is used for the object
(RA-BAS) P_DoseWS-Quick(RA-BAS-ME) P_DoseWS-QuickThe Quick display that is used for the object
(RA-BAS) P_Mode-Config(RA-BAS-ME) P_Mode-ConfigThe Configuration Display used to configure the
(RA-BAS) P_Mode-Help(RA-BAS-ME) P_Mode-HelpMode Help information that is accessed from the
(RA-BAS) Process Dose Family-Help(RA-BAS-ME) Process Dose Family-HelpThe Help display for Dose objects
View ME faceplates use the native analog input data entry
so no file is required.
the object.
P_AIarm faceplate.
P_Mode object.
Help faceplate.
The Channel faceplate used for the object.
Use this file if your Analog Input has an associated
P_AIChan object and you enable navigation to its
faceplate from the Analog Input faceplate.
Channel Help information that is accessed from the
P_AIChan Help faceplate.
Use this file if you use the Analog Input Channel faceplate.
HMI Tags are created in a FactoryTalk View ME application to support tab
switching on Process Library faceplates. The HMI tags may be imported via the
comma-separated values file (.csv file type) in the following table.
Table 5 - Visualization Files: HMI Tags (.csv)
FactoryTalk View SE SoftwareFactoryTalk View ME SoftwareDescription
N/AFTVME_PlantPAxLib_Tags_3_5_xx.csv
where xx = the service release number.
These tags must be imported into the
FactoryTalk View ME project to support switching tabs on
any Process Object faceplate.
12Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 2017
Weigh Scale Dosing (P_DoseWS)
Controller Code
This section describes the parameter references for this Add-On Instruction.
Weigh Scale Dosing Input Structure
Input parameters include the following:
• Input data elements (Inp_) are typically used to connect field inputs from
I/O modules or signals from other objects.
nfiguration data elements (Cfg_) are used to set configurable
• Co
capabil
ities and features of the instruction.
mmand data elements (PCmd_, OCmd_, MCmd_) are used by
• Co
pr
ogram logic, operators, and maintenance personnel to request
instruction actions.
etting data elements (PSet_, OSet_, MSet_) are used by program logic,
• S
ope
rators, and maintenance personnel to establish runtime setpoints,
thresholds, and so forth. Set_ data elements (without a leading P, O, or M)
establish runtime settings regardless of role or mode.
Table 7 - P_DoseWS Input Parameters
Input ParameterData
Type
EnableInBOOL1Ladder Diagram:
Inp_WeightPVREAL0.0Weight from weigh scale (unscaled).
Inp_RunFdbkBOOL01 = Controlled equipment is delivering (running).
Inp_DribbleFdbkBOOL01 = Controlled equipment is delivering at dribble.
Inp_StopFdbkBOOL01 = Controlled equipment is confirmed stopped.
Inp_PVBadBOOL0Bad Signal Quality/Communication Status for Inputs (1 = Bad, 0 = OK). If PV is
Inp_PVUncertainBOOL0Uncertain Quality for Inputs (1 = Uncertain, 0 = OK). This is optional status for the
Inp_CtrldEqpFaultBOOL0Controlled equipment device or I/O status:
Inp_SimBOOL0Simulation input. When set to 1, the instruction simulates a working dosing action.
Inp_ResetBOOL0Input parameter used to programmatically reset alarms. When set to 1, all alarms
If the rung-in condition is true, the instruction’s Logic routine executes. If the rungin condition is false, the instruction’s EnableInFalse routine executes.
Function Block Diagram:
If true, or not connected, the instruction’s Logic routine executes. If the parameter
is exposed as a pin and wired, and the pin is false, the instruction’s EnableInFalse
routine executes.
Structured Text:
No effect. The instruction’s Logic routine executes.
read from an analog input, then this is normally read from the analog input
channel fault status.
input that can be used to drive the status of the output (Sts_PVUncertain).
0 = OK
1 = Fail
When set to 0, the instruction controls dosing normally.
requiring reset are reset.
0 = Running increases weight (Transfer In).
0 = Run full flow until complete.
Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 201713
Weigh Scale Dosing (P_DoseWS)
Table 7 - P_DoseWS Input Parameters
Input ParameterData
Type
Cfg_UseEqpFdbkBOOL01 = Use run/dribble/stop feedback.
Cfg_AutoAdjPreactBOOL01 = Enable automatic adjustment of preact after each tolerance check.
Cfg_SetTrackBOOL1This parameter is used to set up bumpless behavior of setting parameters when
Cfg_HasChanObjBOOL01 = Tells HMI a Channel object (P_AIChan, etc.) is used for Inp_WeightPV.
Cfg_PCmdClearBOOLMode.Cfg_PCmdClear1When this parameter is 1, program commands are cleared once they are acted
Cfg_ProgDefaultBOOLMode.Cfg_ProgDefault0This parameter defines the default mode. When this parameter is 1, the mode
Cfg_ShedOnEqpFaultBOOL01 = Stop delivery and alarm on equipment fault.
Cfg_HasOverTolAlmBOOLOverTol.Cfg_Exists0These parameters determine whether the corresponding alarm exists and is
Cfg_HasUnderTolAlmUnderTol.Cfg_Exists
Cfg_HasTareFaultAlmTareFault.Cfg_Exists
Cfg_HasEqpFaultAlmEqpFault.Cfg_Exists
Cfg_OverTolResetReqdBOOLOverTol.Cfg_ResetReqd0These parameters determine whether a reset is required to clear the alarm status.
Cfg_UnderTolResetReqdUnderTol.Cfg_ResetReqd
Cfg_TareFaultResetReqdTareFault.Cfg_ResetReqd
Cfg_EqpFaultResetReqdEqpFault.Cfg_ResetReqd
Cfg_OverTolAckReqdBOOLOverTol.Cfg_AckReqd1These parameters determine whether an acknowledgement is required for an
Cfg_UnderTolAckReqdUnderTol.Cfg_AckReqd
Cfg_TareFaultAckReqdTareFault.Cfg_AckReqd
Cfg_EqpFaultAckReqdEqpFault.Cfg_AckReqd
Alias ForDefaultDescription
0 = Assume equipment state.
switching modes. When this parameter is 1, in Program mode the operator
settings track the program settings; in Operator mode the program settings track
the operator settings; and the simulation inputs match the output values
(transitions are bumpless).
When this parameter is 0, the operator settings and program settings are not
modified by this instruction. In this case, when the mode is changed, the effective
value of the setting can change depending on the program-set and operator-set
values.
IMPORTANT: The name of the Channel object in the controller must be this
object's name with the suffix ‘_Chan’. For example, if your P_DoseWS object has
the name ‘DoseWS123’, then its Channel object must be named
‘DoseWS123_Chan’.
upon. When set to 0, program commands remain set until cleared by the
application program logic.
IMPORTANT: Clearing this parameter online can cause unintended program
command execution.
defaults to Program if no mode is being requested. When this parameter is 0, the
mode defaults to Operator if no mode is being requested.
IMPORTANT: Changing this parameter online can cause unintended mode
changes.
0 = Alarm only on Equipment fault.
checked or if the alarm does not exist and is not used. When these parameters are
1, the corresponding alarm exists.
When these parameters are 1, the alarm is latched ON when the alarm occurs. After
the alarm condition returns to normal, a reset is required to clear the alarm status
(for example, OCmd_Reset, Inp_Reset, or EqpFault.OCmd_Reset are required to
clear Alm_EqpFault alarm after the alarm is set and the equipment returns to
normal). When these parameters are 0, no reset is required and the alarm status is
cleared when the alarm condition returns to normal.
IMPORTANT: If the reset clears the alarm, it also acknowledges the alarm.
alarm. When these parameters are 1, the acknowledge (ack) bit is cleared when
the alarm occurs. An acknowledge command (for example, PCmd_EqpFaultAck or
EqpFault.OCmd_Ack) is required to acknowledge the alarm. When set to 0, the
Acknowledge bit is set when an alarm occurs indicating an acknowledged alarm
and no acknowledge command is required.
14Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 2017
Table 7 - P_DoseWS Input Parameters
Weigh Scale Dosing (P_DoseWS)
Input ParameterData
Type
Cfg_OverTolSeverityINTOverTol.Cfg_Severity750These parameters determine the severity of each alarm. This drives the colors and
Cfg_PVEUMaxREAL10000.0PV (Output) maximum for scaling to engineering units.
Cfg_MaxQtyREAL1.0E+38Maximum allowed quantity to deliver (setpoint) (engineering units).
Cfg_RateTimeREAL1.0Time factor for rate (60 for /min, 3600 for /hr) (seconds).
Cfg_RateFiltTCREAL0.1Filter time constant (seconds) for calculated rate.
Cfg_TareFaultLimREAL1.0Amount (engineering units) scale can drift after tare before starting flow without
Cfg_SettleTREAL1.0Time to allow scale to settle before allowing tolerance check (seconds).
Cfg_BumpTREAL0.0Bump (manual top-off ) Time (seconds), 0.0 = use Bump command as a ‘jog’.
Cfg_AutoAdjPctREAL10.0Percentage of delivery error to auto-adjust preact (%).
Cfg_SimStartWtREAL0.0Weight to start from (tare to) in simulation (engineering units).
Cfg_SimRateREAL1.0Rate at which to deliver when running in simulation (engineering units/rate time).
Cfg_SimDribbleRateREAL0.1Rate at which to dribble when running in simulation (engineering units/rate time).
Cfg_FaultTDINT10Time for equipment feedback to follow output before fault (seconds).
Cfg_OperKeepSINT2#0000_0000Operator keeps control in Program mode:
Cfg_ProgKeepSINT2#0000_0000Program keeps control in Operator mode:
PSet_SPREAL0.0Program setting of total quantity to deliver (engineering units).
PSet_DribbleQtyProgram setting of quantity to dribble (engineering units).
PSet_PreactProgram setting of quantity before total to stop flow (engineering units).
PSet_TolHiProgram setting of high (excess) tolerance limit.
PSet_TolLoProgram setting of low (shortage) tolerance limit.
PSet_OwnerDINT0Program owner request ID (nonzero) or Release (zero).
Alias ForDefaultDescription
symbols that are used to indicate alarm status on the faceplate and global object.
The following are valid values:
1…250 = Low
251…500 = Medium
501…750 = High
751…1000 = Urgent
IMPORTANT: For FactoryTalk View software version 7.0, these severity parameters
drive only the indication on the global object and faceplate. The Alarms and Events
definition of severity drives the color and symbol that is used on the alarm banner
and alarm summary as well as the value returned by FactoryTalk Alarms and Events
display commands.
IMPORTANT: The P_DoseWS instruction supports reverse scaling; either the raw
(Input) or engineering (Scaled) range can be reversed (maximum less than
minimum).
faulting.
Bit .0 = 1 operator keeps Start/Stop
Bit .1 = 1 Operator keeps SP
Bit .2 = 1 Operator keeps Dribble/preact
Bit .3 = 1 Operator keeps Tolerances
Bit .0 = 1 Program keeps Start/Stop
Bit .1 = 1 Program keeps SP
Bit .2 = 1 Program keeps Dribble/preact
Bit .3 = 1 Program keeps Tolerances
Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 201715
Weigh Scale Dosing (P_DoseWS)
Table 7 - P_DoseWS Input Parameters
Input ParameterData
OSet_SPREAL0.0Operator setting of total quantity to deliver (engineering units).
OSet_DribbleQtyOperator setting of quantity to dribble (engineering units).
OSet_PreactOperator setting of quantity before total to stop flow (engineering units).
OSet_TolHiOperator setting of high (excess) tolerance limit.
OSet_TolLoOperator setting of low (shortage) tolerance limit.
PCmd_TareBOOL0When Cfg_PCmdClear is 1:
PCmd_Star
PCmd_St
PCmd_CheckT
PCmd_BumpBOOL0When PCmd_Bump is set to 1:
PCmd_AcqBOOLMode.PCmd_Acq0When Cfg_PCmdClear is 1:
PCmd_RelMode
PCmd_LockBOOL
PCmd_UnlockMode
PCmd_ResetBOOL0• Set PCmd_Reset to 1 to reset all alarms requiring reset
PCmd_O
PCmd_Under
PCmd_Tar
PCmd_EqpFaultAckEqpFault.PCmd_Ack
tFlowBOOL0When Cfg_PCmdClear is 1:
opFlow
ol
verTolAckBOOLOverTol.PCmd_Ack0• Set PCmd_<Alarm>Ack to 1 to Acknowledge alarm
TolAckUnderTol.PCmd_Ack
eFaultAckTareFault.PCmd_Ack
Type
Alias ForDefaultDescription
• Set PCmd_Tare to 1 to reset the delivered quantity to 0
• This parameter is reset automatically
When Cfg_PCmdClear is set to 0:
• S
et PCmd_Tare to 1 to reset the delivered quantity to 0
• This parameter is not reset automatically
• Set PCmd_StartFlow to 1 to start delivery
• Set PCmd_StopFlow to 1 to stop delivery
• Set PCmd_CheckTolerances to 1 to check tolerances
• These parameters reset automatically
When
Cfg_PCmdClear is 0:
• S
et PCmd_StartFlow to 1 to start delivery
• Set PCmd_StopFlow to 1 to stop delivery
• Set PCmd_CheckTolerances to 1 to check tolerances
• These parameters do not reset automatically
• If the configured bump time (Cfg_BumpT) is nonzero, then bump delivery for
the configur
– PCmd_Bump is cleared automatically
• If the configured bump time (Cfg_BumpT) is zero, then bump delivery until
PCmd_Bump is returned to 0
– PCmd_Bump is not cleared automatically
• Cfg_PCmdClear does not affect this parameter
.PCmd_Rel
Mode.PCmd_Lock0When Cfg_PCmdClear is 1:
.PCmd_Unlock
• Set PCmd_Acq to 1 to Acquire
• Set PCmd_Rel to 1 to Release
• These parameters reset automatically
When
• Set PCmd_Acq to 1 to Acquire
• Set PCmd_Acq to 0 to Release
• PCmd_Rel is not used
• These parameters do not reset automatically
• Set PCmd_Lock to 1 to Lock
• Set PCmd_Unlock to 1 to Unlock
• These parameters reset automatically
When
• Set PCmd_Lock to 1 to Lock
• Set PCmd_Lock to 0 to Unlock
• PCmd_Unlock is not used
• These parameters do not reset automatically
• This parameter is always reset automatically
• The parameter is reset automatically
ed bump time
Cfg_PCmdClear is 0:
Cfg_PCmdClear is 0:
16Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 2017
Table 7 - P_DoseWS Input Parameters
Weigh Scale Dosing (P_DoseWS)
Input ParameterData
PCmd_OverTolSuppressBOOLOverTol.PCmd_Suppress0When Cfg_PCmdClear is 1:
OCmd_TareBOOL0Operator command to tare (reset delivered quantity to 0).
OCmd_StartFlowBOOL0Operator commands to start delivery, stop/pause delivery, or check tolerances.
OCmd_StopFlow
OCmd_CheckTol
OCmd_BumpBOOL0Operator command to bump delivery for under tolerance.
MCmd_AcqBOOLMode.MCmd_Acq0Maintenance command to acquire ownership (Operator/Program/Override to
MCmd_RelBOOLMode.MCmd_Rel0Maintenance command to release ownership (Maintenance to Operator/Program/
OCmd_AcqLockBOOLMode.OCmd_AcqLock0Operator command to acquire (Program to Operator)/lock ownership.
OCmd_UnlockBOOLMode.OCmd_UnlockRel0Operator command to unlock/release (Operator to Program) ownership.
OCmd_ResetBOOL0Operator command to reset all alarms requiring reset.
OCmd_ResetAckAllBOOL0Operator command to acknowledge and reset all alarms and latched shed
TolSuppressUnderTol.PCmd_Suppress
eFaultSuppressTareFault.PCmd_Suppress
TolUnshelveUnderTol.PCmd_Unshelve
eFaultUnshelveTareFault.PCmd_Unshelve
Type
Alias ForDefaultDescription
• Set PCmd_<Alarm>Suppress to 1 to suppress alarm
• Set PCmd_<Alarm>Unsuppress to 1 to unsuppress alarm
• These parameters reset automatically
When Cfg_PCmdClear is 0:
• Set PCmd_<Alarm>Suppress to 1 to suppress alarm
• Set PCmd_<Alarm>Suppress to 0 to unsuppress alarm
• PCmd_<Alarm>Unsuppress is not used
• These Parameters do not reset automatically
et PCmd_<Alarm>Unshelve to 1 to Unshelve alarm
• The parameter is reset automatically
Maintenance).
Override)
conditions.
Rockwell Automation Publication SYSLIB-RM021G-EN-E - February 201717
Weigh Scale Dosing (P_DoseWS)
Table 8 - P_DoseWS Output Parameters
Weigh Scale Dosing Output Structure
Output parameters include the following:
• Output data elements (Out_) are the primary outputs of the instruction,
typically used by hardware output modules; however, they can be used by
other application logic.
alue data elements (Val_) are numeric outputs of the instruction for
• V
use b
y the HMI. Values can also be used by other application logic or
are packages.
softw
ource and Quality data elements (SrcQ_) are outputs of the instruction
• S
use
d by the HMI to indicate PV source and quality.
tatus data elements (Sts_) are bit outputs of the instruction for use by the
• S
HM
I. Status bits can also be used by other application logic.
rror data elements (Err_) are outputs of the instruction that indicate a
• E
par
ticular configuration error. If any Err_ bit is set, then the Sts_Err
configuration error summary status is set and the Invalid Configuration
indicator is displayed on the HMI.
ot Ready data elements (Nrdy_) are bit outputs of the instruction for use
• N
by the HMI for displaying the Device Not Ready indicator. Not Ready bits
can also be used by other application logic.
larm data elements (Alm_) are outputs of the instruction that indicate a
• A
par
ticular alarm has occurred.
cknowledge data elements (Ack_) are outputs of the instruction that
• A
ind
icate the corresponding alarm has been acknowledged.
eady data elements (Rdy_) are bit outputs of the instruction used by
• R
the H
MI to enable or disable command buttons and setting entry
fields.
Output ParameterData TypeAlias ForDescription
EnableOutBOOLEnable output: The EnableOut signal is not manipulated by this instruction. Its output state
Out_RunFlowBOOL1 = Deliver at full (fast) flow.
Out_DribbleFlowBOOL1 = Deliver at dribble (slow) flow.
Out_StopFlowBOOL1 = Stop delivery equipment.
Val_PVREALWeight on scale (engineering units).
Val_TareREALWeight on scale when tare command received (engineering units).
Val_QtyREALQuantity actually delivered (change in weight) (engineering units).