Professional Documents
Culture Documents
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.
IMPORTANT ATTENTION
Identifies information that is critical for successful application and understanding of the product. 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.
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.
Allen-Bradley, Rockwell Automation, and TechConnect are trademarks of Rockwell Automation, Inc. Trademarks not belonging to Rockwell Automation, Plant PAx Process Automation System, and TechConnect are property of their respective companies.
Summary of Changes
Introduction
This release of this document is updated throughout for version 2.0 of the Variable Speed Drive (P_VSD) Add-On Instruction and Graphics. Please refer to the Release Notes that are disrupted with version 2.0 in the Library.
Updated Information
iii
Summary of Changes
Notes:
iv
Table of Contents
Preface
Use of this Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Conventions and Related Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Set and Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Edge and Level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii Relay Ladder Rung Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Pre-Scan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Function Block States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Entering Text in FactoryTalk View SE. . . . . . . . . . . . . . . . . . . . . . xii
Chapter 1 Overview
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Primary Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Alarms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Revision Compatibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table of Contents
vi
Preface
This document provides a programmer with details on the P_VSD instruction for a Logix-based controller. You should already be familiar with how the Logix-based controller stores and processes data. Novice programmers should read all the details about an instruction before using the instruction. Experienced programmers can refer to the instruction information to verify details.
vii
Preface
IMPORTANT
All Operator Commands (OCmd_) and Maintenance Commands (MCmd_) are Edge triggered. The HMI Graphic Symbol or Faceplate SETS (writes a 1 to) each Command bit and the Instruction CLEARS (writes a 0 to) the Command bit, then performs the function, if possible.
viii
Preface
IMPORTANT
This instruction has Program Commands (PCmd_) which are selectable as Edge or Level, depending on the Configuration Parameter Cfg_PCmdClear. If Cfg_PCmdClear is 1 (the default), all Program Commands are CLEARED when received (edge). If Cfg_PCmdClear is 0, Program Commands as noted in the Instruction Data Reference become Level triggered, and opposite functions are triggered by the primary Program Command being CLEARED to 0.
If the rung-in condition to an input instruction is true, the controller evaluates the instruction and sets the rung-out condition based on the results of the instruction. If the instruction evaluates to true, the rung-out condition is true; if the instruction evaluates to false, the rung-out condition is false.
IMPORTANT
The rung-in condition is reflected in the EnableIn parameter and determines how the system performs each Process Add-On Instruction. If the EnableIn signal is TRUE, the system performs the instructions main logic routine. Conversely, if the EnableIn signal is FALSE, the system performs the instructions EnableInFalse routine. The instructions main logic routine sets/clears the EnableOut parameter, which then determines the rung-out condition. The EnableInFalse routine cannot set the EnableOut parameter. If the rung-in condition is FALSE, then the EnableOut parameter and the rung-out condition will also be FALSE.
ix
Preface
Pre-Scan
During the transition into RUN, the controller performs a pre-scan before the first logic scan. Pre-scan is a special scan of all routines in the controller. The controller scans all main routines and subroutines during pre-scan, but ignores jumps that could skip the execution of instructions. The controller executes all FOR loops and subroutine calls. If a subroutine is called more than once, it is executed each time it is called. The controller uses pre-scan instructions to reset non-retentive data values. During pre-scan, input values are not current and outputs are not written. The following conditions generate pre-scan: toggle from Program to Run mode. automatically enter Run mode from a power-up condition. Pre-scan does not occur for a program when: the program becomes scheduled while the controller is running. the program is unscheduled when the controller enters Run mode.
IMPORTANT
The pre-scan process performs the Process Add-On Instructions logic routine as all FALSE and then performs its pre-scan routine as TRUE.
Preface
Every function block instruction also includes EnableIn and EnableOut parameters. If the EnableIn parameter is not wired, the instruction always executes as normal and EnableIn remains set. If you clear EnableIn, it changes to set the next time the instruction executes.
IMPORTANT
When programming in function block, restrict the range of engineering units to 1015 because internal floating point calculations are done using single precision floating point. Engineering units outside of this range may result in a loss of accuracy if results approach the limitations of single precision floating point (1038).
xi
Preface
EXAMPLE
If the user modifies the data in the input field and moves to a different field without
pressing the Enter key, the border remains a solid line indicating that the data has not been saved to the tag.
EXAMPLE
If the data in the Input Field has not changed or has been written to the controller
tag, the border is a dashed line.
EXAMPLE
xii
Chapter
Overview
The P_VSD Variable Speed Drive object is used to operate one variable speed motor by using a Drive (AC variable frequency or DC) in a variety of Modes, monitoring for fault conditions. Use when: You need to operate a motor connected to a variable-speed drive. The drive can be an AC (variable frequency) or DC drive, and can be connected via an I/O or control network (intelligent drive) or via hardwired analog and discrete I/O. This instruction is designed to work with all currently-available and many legacy Allen-Bradley drives, including Bulletin 1336, Bulletin 1395, PowerFlex 4 / 40 / 70 / 700 / 7000 and PowerFlex DC. This instruction will also work with drives and other variable-speed motor control products via discrete I/O for the start/stop/running signals and analog I/O for the speed reference and speed feedback signals. Do NOT use when: You need to operate a single-speed motor (running / stopped only). Use the P_Motor Instruction instead. You need to operate a two-speed motor (fast / slow / stopped only). Use the P_Motor2Spd Instruction instead. You need to operate a simple reversing motor (forward / reverse / stopped only). Use the P_MotorRev Instruction instead. You need to operate a motor with multiple discrete speeds. You will need specific logic for this motor. The P_VSD Instruction is designed for motors with continuously variable (analog) speed, not multiple discrete speed selections. You may find the P_D4SD or P_nPos Instruction suitable for these motors.
Chapter 1
Overview
Functional Description
The P_VSD Instruction includes an Add-On Instruction for use with Version 18 or later of RSLogix 5000 software and Logix controllers, plus a multi-tabbed Faceplate and several graphic symbols for use in building displays on Factory Talk View SE 6.0 or later.
Primary Operations
The primary operations of the Variable Speed Drive Add-On Instruction are: Provide for ownership of the Drive through the standard P_Mode Add-On Instruction and Modes. Modes of operation are described below. Provide the ability to Start and Stop the Drive and Motor, control the drive speed (via Speed Reference), and monitor the Drive run status and speed feedback to verify the Drive is running or stopped. Provide alarms and Drive shutdown for Fail to Start and Fail to Stop if the feedback does not follow the commanded state within a configured amount of time. Whether or not the Drive HAS run feedback can be configured at the Engineer level. Whether or not to USE the run feedback can be configured at the Maintenance level.
Overview
Chapter 1
Provide scaling of the Speed Reference from user (engineering) units, such as RPM, to drive units, such as 32767 = Max Freq. Provide scaling of the Speed Feedback from drive units to user (engineering) units and display with suitable units of measure text. Provide optional setting (by Program or Operator) of an Output Datalink and scaling of this setting from engineering units (such as ramp time in seconds) to drive raw units. Provide optional reading of an Input Datalink and scaling of this value from drive raw units to engineering units (such as amperes) for display on the HMI. Provide for reading from the drive and displaying a Fault Code. Provide indication of Accelerating, Decelerating, At Speed and Warning or Alarm status as received from the drive. Provide optional capability to support reversing drives, with commands for Forward and Reverse rotation and display of actual rotation direction. Provide an input and Alarm for Drive Fault condition and an output to send a drive fault Reset to the drive. Provide a configurable time to pulse the drive fault Reset output when a reset command is received. Provide the above inputs and outputs formatted to work with any drives commonly used in the Process industries, including, but not limited to, 1336 Plus II, 1395, PowerFlex 4 / 40 / 70 / 700 / 7000 and PowerFlex DC, in a form that still allows for use with non-A-B drives via hardwired I/O. Provide for Permissives (Bypassable and Non-Bypassable) which are conditions that allow the Drive to start, and Interlocks (Bypassable and Non-Bypassable) which are conditions that stop the Drive as well as prevent starting. Provide an Alarm when an Interlock stops the Drive. Provide Maintenance the capability to bypass the Bypassable Permissives and Interlocks. Provide Maintenance the capability to Disable (soft lock out) the Drive. IMPORTANT This capability is not a substitute for hard lockout/target (LOTO) procedures. Monitor an I/O Fault input, Alarm on an I/O Fault. The I/O Fault condition can optionally de-energize the outputs to the drive, requiring a reset.
Chapter 1
Overview
In Override mode, provide an Override State input which determines whether the Override is to run or stop the Drive (default = stop) and, if the Drive is to run, an Override Speed Reference and direction. See Modes below for more information on Override. Provide a Simulation capability, in which the outputs to the Drive are kept de-energized, but the object can be manipulated as if a working Drive were present, including a basic ramp-up of speed feedback value on starting and ramp-down on stopping. The simulated ramp-up-to-speed time is configurable. This capability is often used for activities such as system testing and operator training.
Operating Modes
The following standard Modes, implemented using the P_Mode Add-On Instruction, are used by the Variable Speed Drive Add-On Instruction:
Mode Operator Program Description The Operator starts and stops the Drive and sets the Drive speed reference (and Output Datalink, if used) using the HMI Faceplate. Logic outside the P_VSD instruction starts and stops the Drive and sets the speed reference and Output Datalink using Program Commands (PCmd_Start, PCmd_Stop) and Program Settings (PSet_SpeedRef, PSet_OutDatalink). Priority logic outside the P_VSD instruction determines whether to run or stop the Drive, and if to run, at what speed. (The default is to stop the Drive.) If so configured, Bypassable Interlocks are bypassed in Override Mode. Maintenance personnel have control of the Drive using the HMI Faceplate and it is not available for normal operation by operators or program logic; bypassable permissives and interlocks are bypassed, and fail-to-start and fail-to-stop checking is not performed. Logic, usually hardwired, has superseded P_VSD control of the Drive; the P_VSD instruction tracks the state and speed of the Drive for bumpless transfer back to one of the other modes.
Override
Maintenance
Hand
Some drive capabilities can be kept by (reserved for) the operator or program logic, independent of the Program or Operator Mode selection. See Chapter 2, Configuration Options, for details. Refer to the Process Add-On Instructions and Graphics: Mode (P_Mode) Reference Manual, publication SYSLIB-RM005, for more information.
Overview
Chapter 1
Alarms
The following Alarms, implemented using the P_Alarm Add-On Instruction, are used by the Variable Speed Drive Add-On Instruction:
Alarm Fail to Start Description Raised if the Drive has and is using run feedback, an attempt is made to Start the Drive, and the run feedback does not indicate the Drive running within the configured time. Raised if the Drive has and is using run feedback, an attempt is made to Stop the Drive, and the run feedback does not indicate the Drive stopped within the configured time. Raised if the Inp_IOFault input is true. Raised if the Inp_Faulted input is true. Enables display of the Drive Fault Code. Raised if the Drive is running and an Interlock causes it to stop. If Interlocks are not bypassed, a Non-Bypassable Interlock not OK or a Bypassable Interlock not OK will stop the Drive. If Interlocks are bypassed, only a Non-Bypassable Interlock not OK will stop the Drive.
Fail to Stop
The Fail to Start and Fail to Stop Alarms have a configurable delay to allow the run feedback time to align with the commanded output (time for the Drive to actually start or stop). Refer to the Process Add-On Instructions and Graphics: Alarm (P_Alarm) Reference Manual, publication SYSLIB-RM002, for more information.
Execution
Refer to Logix5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information.
Chapter 1
Overview
Revision Compatibility
The P_VSD Add-On Instruction in RSLogix 5000 software and the Faceplate in FactoryTalk View software are marked with revision information as shown in the following table.
Component The Add-On Instruction in RSLogix 5000 has revision information visible when the instruction is selected in the Controller Organizer. Example
The Faceplate in FactoryTalk View has revision information visible when the pointer is paused just inside the lower left-hand corner of the Faceplate when called up on a running HMI Client.
The Instruction and Faceplate are compatible if they have the same Major and Minor Revision numbers. The Major Revision is the first number, before the period. The Minor Revision is the second number, after the period and before the hyphen or space. Information after the hyphen or space indicates the Tweak Revision. The Instruction and Faceplate do not have to have the same Tweak Revision to be compatible. In the table above, the Add-On Instruction and Faceplate shown are compatible because they have the same Major.Minor (1.1).
Chapter
Configuration Options
Configuration Parameters
Enter the appropriate values from the following table into the P_VSD Instructions configuration parameters to configure it for your application. Use the HMI Faceplate or the RSLogix 5000 Tag Monitor function to set the applicable configuration parameter(s).
Parameter Cfg_Desc
Usage These Local Tags determine the text displayed on the various Graphic Symbols and Faceplates for: Description Label (if used) Tagname Forward direction Reverse direction Input Datalink Engineering Units (units of measure) Input Datalink Label Output Datalink Engineering Units (units of measure) Output Datalink Label Speed Feedback Engineering Units (units of measure) Speed Reference Engineering Units (units of measure)
Cfg_Label Cfg_Tag Cfg_FwdText Cfg_RevText Cfg_InpDatalinkEU Cfg_InpDatalinkLabel Cfg_OutDatalinkEU Cfg_OutDatalinkLabel Cfg_SpeedFdbkEU Cfg_SpeedRefEU
Motor Speed Control P_VSD FORWARD REVERSE Empty/null Empty/null Empty/null Empty/null Hz Hz
Chapter 2
Configuration Options
Default ON ON
Usage When this parameter is: ON, the Acknowledge (Ack) bit is cleared when an alarm occurs, indicating an unacknowledged alarm. An Acknowledge Command is required to acknowledge the alarm (set the Ack bit). OFF, the Acknowledge (Ack) bit is set when an alarm occurs, indicating an acknowledged alarm. No Acknowledge Command is required.
Associated Parameters Ack_DriveFault DriveFault.OCmd_Ack Ack_FailToStart PCmd_FailToStartAck FailToStart.OCmd_Ack Ack_FailToStop PCmd_FailToStopAck FailToStop.OCmd_Ack Ack_IntlkTrip PCmd_IntlkTripAck IntlkTrip.OCmd_Ack Ack_IOFault PCmd_IOFaultAck IOFault.OCmd_Ack
Cfg_FailToStopAckReqd
ON
Cfg_IntlkTripAckReqd
ON
Cfg_IOFaultAckReqd
ON
Cfg_DriveFaultResetReqd
OFF
Alarm Configuration
When this parameter is: ON, the alarm status is latched ON when an alarm occurs. After the alarm condition returns to normal, a Reset is required to clear the alarm status. IMPORTANT If the Reset clears the alarm, it also acknowledges the alarm. OFF, the alarm status is set when an alarm occurs and cleared when the alarm condition returns to normal. No Reset is required.
Inp_Reset Alm_DriveFault DriveFault.OCmd_Reset Alm_FailToStart FailToStart.OCmd_Reset Alm_FailToStop FailToStop.OCmd_Reset Alm_IntlkTrip IntlkTrip.OCmd_Reset Alm_IOFault IOFault.OCmd_Reset Val_Notify
4 4 4
Alarm Configuration
These parameters determine the Severity of each alarm, and thus the color of alarm animations for each alarm. Valid values are:
2 4
Configuration Options
Chapter 2
Parameter Cfg_FailToStartT
Default 15 sec
Usage If a Start or Jog Command is given to the drive and drive feedbacks are being used, the P_VSD instruction allows this much time for the feedbacks to show the drive is running before generating a Fail to Start Alarm.
Associated Parameters Cfg_HasRunFdbk Cfg_UseRunFdbk OCmd_Start PCmd_Start Sts_Starting Alm_FailToStart Cfg_HasRunFdbk Cfg_UseRunFdbk OCmd_Stop PCmd_Stop Sts_Stopping Alm_FailToStop Alm_DriveFault Alm_FailToStart Alm_FailToStop Alm_IntlkTrip Alm_IOFault
Cfg_FailToStopT
15 sec
Engineering
If a Stop Command is given to the drive and drive feedbacks are being used, the P_VSD instruction allows this much time for the feedbacks to show the drive is stopped before generating a Fail to Stop Alarm.
Alarm Configuration
These parameters determine whether the corresponding alarm exists and will be checked, or doesnt exist and will not be used. When this parameter is:
OFF OFF
ON, the Alarm exists and will be checked OFF, Alarm does not exist and will not be used
Cfg_HasInpDatalink
OFF
Engineering
Set this parameter: ON if the drive provides an Input Datalink signal and it is connected to the Inp_Datalink parameter. OFF if the Inp_Datalink Parameter is not being used. The Input Datalink items will not be displayed on the HMI Faceplate.
Inp_Datalink Val_InpDatalink Cfg_InpDatalinkEU Cfg_InpDatalinkEUMax Cfg_InpDatalinkEUMin Cfg_InpDatalinkLabel Cfg_OutDatalinkRawMin Cfg_OutDatalinkRawMax Inp_IntlkOK Inp_NBIntlkOK
Cfg_HasIntlkObj
OFF
Engineering
Set this parameter: ON if this instruction has a P_Intlk instruction connected to the Inp_IntlkOK and Inp_NBIntlkOK inputs. The Operator Faceplate interlock indicator becomes a pushbutton that navigates to the P_Intlk (Interlocks) Faceplate. OFF if the interlock inputs are not connected to a P_Intlk instruction. The Operator Faceplate interlock indicator becomes an indicator only.
Chapter 2
Configuration Options
Parameter Cfg_HasJog
Default OFF
Usage Set this parameter: ON if you want to be able to Jog the Drive from the HMI Faceplate. The Out_Jog parameter must be sent to the drive. OFF if the Drive will not be Jogged from the HMI Faceplate. The Jog button will not be displayed on the Faceplate.
Associated Parameters OCmd_Jog Out_Jog IMPORTANT The OCmd_Jog Operator Command is LEVEL triggered. The Faceplate SETS OCmd_Jog to Jog the drive and CLEARS OCmd_Jog to stop jogging. PSet_OutDatalink OSet_OutDatalink Val_OutDatalink Out_Datalink Cfg_OutDatalinkEU Cfg_OutDatalinkEUMax Cfg_OutDatalinkEUMin Cfg_OutDatalinkLabel Cfg_OutDatalinkMax Cfg_OutDatalinkMin Cfg_OutDatalinkRawMin Cfg_OutDatalinkRawMax
Cfg_HasOutDatalink
OFF
Engineering
Set this parameter: ON if you want to allow the Operator to enter an Output Datalink value on the HMI Faceplate and have it sent to the Drive via the Out_Datalink parameter. OFF if the Out_Datalink Parameter is not being used. The Output Datalink items will not be displayed on the HMI Faceplate.
Cfg_HasFwdPermObj
OFF
Engineering
Set this parameter: ON if this instruction has a P_Perm instruction connected to the Inp_FwdPermOK and Inp_FwdNBPermOK inputs. The Operator Faceplate forward permissive indicator becomes a pushbutton that navigates to the P_Perm (Permissives) Faceplate. OFF if the forward permissive inputs are not connected to a P_Perm instruction. The Operator Faceplate forward permissive indicator becomes an indicator only
Inp_FwdPermOK Inp_FwdNBPermOK
10
Configuration Options
Chapter 2
Parameter Cfg_HasRevPermObj
Default OFF
Usage Set this parameter: ON if this instruction has a P_Perm instruction connected to the Inp_RevPermOK and Inp_RevNBPermOK inputs. The Operator Faceplate reverse permissive indicator becomes a pushbutton that navigates to the P_Perm (Permissives) Faceplate. OFF if the reverse permissive inputs are not connected to a P_Perm instruction. The Operator Faceplate reverse permissive indicator becomes an indicator only
Cfg_HasResInhObj
OFF
Engineering
Set this parameter: ON if this instruction has a P_ResInh instruction monitoring its stopped, starting and running status. The Operator Faceplate Restart Inhibit (hourglass) pushbutton that navigates to the P_ResInh (Restart Inhibit) Faceplate becomes visible. OFF if no Restart Inhibit instruction is associated with this drive. The Restart Inhibit pushbutton is not displayed.
These status parameters are used by the Restart Inhibit instruction if one is used: Sts_Starting Sts_Running Sts_Stopped
Cfg_HasReverse
OFF
Engineering
Set this parameter: ON if you want to be able to Run (or Jog) the Drive in the Reverse direction. The Forward and Reverse Command buttons will be displayed and active on the HMI Faceplate, and the Program Forward and Reverse Commands will be accepted. The Input and Output parameters associated with Drive direction must be connected to/from the drive. OFF if the Drive will not be Run or Jogged in Reverse. The Forward and Reverse Command buttons will not be displayed on the Faceplate.
Inp_CommandDir Inp_ActualDir Out_Fwd Out_Rev OCmd_Fwd OCmd_Rev PCmd_Fwd PCmd_Rev Sts_CommandDir Sts_ActualDir Rdy_Fwd Rdy_Rev
11
Chapter 2
Configuration Options
Parameter Cfg_HasRunFdbk
Default OFF
Usage Set this parameter: ON if the drive provides a run feedback signal and the signal is connected to Inp_Running. OFF if the drive has no run feedback to this instruction. The instruction will simulate the Starting, Accelerating, Decelerating and Stopping status using the Cfg_SimFdbkT time configuration. This configuration identifies whether the run feedbacks exist. Cfg_UseRunFdbk determines whether the feedbacks are actually used.
Cfg_HasRunTimeObj
OFF
Engineering
Set this parameter: ON if this instruction has a P_RunTime instruction monitoring its starting and running status. The Operator Faceplate Run Time (hour meter or odometer) pushbutton that navigates to the P_RunTime (Run Time and Starts) Faceplate becomes visible. OFF if no P_RunTime instruction is associated with this drive. The Run Time pushbutton is not displayed.
These status parameters are used by the Run Time and Starts instruction if one is used: Sts_Starting Sts_Running
Engineering
These parameters are used for scaling the Input Datalink received from the drive from Drive (Raw) Units to Engineering Units. Check the User Manual for your drive and/or I/O cards to determine the scaling of the Input Datalink sent by the drive. IMPORTANT The Input Datalink is not used if Cfg_HasInpDatalink is 0.
TIP
If you have multiple Input Datalinks from your drive, the additional Datalinks can be scaled and processed by P_AIn Analog Input Add-On Instructions.
12
Configuration Options
Chapter 2
Parameter Cfg_MaxJogT
Default 0.0
Usage Enter the maximum time (in seconds) for which the Drive may be jogged using OCmd_Jog. IMPORTANT This value is used to stop drive jogging in the case where HMI communication is lost during a jog.
Associated Parameters
Cfg_MaxSpdRef Cfg_MinSpdRef
60.0 0.0
Maintenance
These values limit the Speed Reference Output to the Drive (in engineering units) to the specified range. IMPORTANT These limits may be set narrower than the Speed Reference scaling limits to restrict the output, or wider than the scaling limits to allow generation of outputs outside the normal scaled range.
Engineering
These parameters are used for scaling the Output Datalink setting from Engineering Units to Drive (Raw) Units prior to sending to the drive. Check the User Manual for your drive and/or I/O cards to determine the scaling of the Output Datalink sent to the drive. IMPORTANT The Output Datalink is not used if Cfg_HasOutDatalink is 0.
TIP
If you have multiple Output Datalinks to your drive, the additional Datalinks can be scaled and processed by P_AOut Analog Output Add-On Instructions.
13
Chapter 2
Configuration Options
Usage These values limit the Output Datalink value sent to the Drive (in engineering units) to the specified range. IMPORTANT These limits may be set narrower than the Output Datalink scaling limits to restrict the output, or wider than the scaling limits to allow generation of outputs outside the normal scaled range.
Cfg_OvrdPermIntlk
OFF
Engineering
Set this parameter: ON if Override Mode should bypass the bypassable Permissives and Interlocks when starting and running the drive. OFF if Override Mode should not bypass the bypassable Permissives and Interlocks when starting and running the drive. IMPORTANT Override Mode cannot bypass the non-bypassable Permissives and Interlocks regardless of the setting of this configuration.
Inp_Ovrd Inp_OvrdSpeed Inp_OvrdState Inp_IntlkOK Inp_NBIntlkOK IMPORTANT If Inp_OvrdState is off and Override Mode is active, the drive will be stopped. Permissives are only checked when starting, and Interlocks are only checked when starting or running the drive. OSet_SpeedRef OCmd_Start OCmd_Stop OCmd_Jog OCmd_Fwd OCmd_Rev OSet_OutDatalink Err_Keep
Cfg_OperKeep
2#0000_0000
Engineering
Set bits within this 8-bit integer to select functions to keep under Operator control even when this instruction is in Program Mode. Clear bits to leave the corresponding functions under control of the instruction Mode. Bit..0: Speed Reference Bit .1: Start / Stop Commands Bit .2: Forward / Commands Bit .3: Output Datalink
TIP
A function cannot be reserved for Operator using Cfg_OperKeep and also be reserved for Program using Cfg_ProgKeep. And at least one function must be not kept (remain under control of the Instruction Mode.)
14
Configuration Options
Chapter 2
Parameter Cfg_ProgKeep
Default 2#0000_0000
Usage Set bits within this 8-bit integer to select functions to keep under Program control even when this instruction is in Operator Mode. Clear bits to leave the corresponding functions under control of the instruction Mode. Bit .0: Speed Reference Bit..1: Start / Stop Commands Bit .2: Forward / Commands Bit .3: Output Datalink
Associated Parameters PSet_SpeedRef OCmd_Start OCmd_Stop OCmd_Jog OCmd_Fwd OCmd_Rev PSet_OutDatalink Err_Keep
TIP
A function cannot be reserved for Operator using Cfg_OperKeep and also be reserved for Program using Cfg_ProgKeep. And at least one function must be not kept (remain under control of the Instruction Mode.) Cfg_PCmdClear ON Engineering Set this parameter: ON to use Edge-triggered Program Commands. OFF to use Level-triggered Program Commands. See the Edge and Level section in the Preface for more information. Cfg_ProgDefault OFF When this parameter is: ON, the Mode defaults to Program if no Mode is being requested. OFF, the Mode defaults to Operator if no Mode is being requested. IMPORTANT Changing this parameter online may cause unintended mode changes. Cfg_OCmdResets OFF When this parameter is: ON, latched alarms may be cleared and latched shed faults (Fail to Start, I/O Fault) can be reset by issuing an Operator Start, Stop or Jog command (in Operator Mode only) OFF, the latched alarms and shed faults must be reset by a Reset Command (Program or Operator) or the Inp_Reset input. OCmd_Start OCmd_Stop OCmd_Jog Val_Mode Sts_Prog Sts_Oper The Cfg_PCmdClear parameter configures all Program Commands (PCmd_) for either Level or Edge triggering.
15
Chapter 2
Configuration Options
Parameter Cfg_ShedOnFailToStart
Default OFF
Usage When this parameter is: ON, if the motor fails to start, a Fail to Start status and alarm are raised, the start is cancelled and a reset is required to try another start. OFF, if the motor fails to start, only the Fail to Start status and alarm are raised. The outputs are still set so the instruction keeps trying to start the motor.
Cfg_ShedOnIOFault
OFF
When this parameter is: ON, if an I/O Fault is detected, an I/O Fault status and alarm are raised, the motor is stopped and a reset is required to try another start. OFF, if an I/O Fault is detected, only the I/O Fault status and alarm are raised. The instruction does not change the state of the motor.
Sts_IOFault Alm_IOFault
Cfg_SimScaleEU
OFF
When this parameter is: ON, if the drive is being simulated, the speed feedback is simulated by SCALING the speed reference from reference engineering units to feedback engineering units. OFF, if the drive is being simulated, the speed feedback is simulated by COPYING the speed reference value directly to the speed feedback without scaling. This setting is superseded by the setting of Cfg_SimScaleRaw.
Cfg_SimScaleRaw
OFF
When this parameter is: ON, if the drive is being simulated, the speed feedback is simulated by SCALING the speed reference from engineering units to raw units, copying the raw reference to the raw feedback, the scaling from raw feedback unit to feedback engineering units. OFF, if the drive is being simulated, the speed feedback simulation is determined by the setting of Cfg_SimScaleEU.
16
Configuration Options
Chapter 2
Parameter Cfg_ResetPulseT
Default 2 sec
Usage The output Out_ClearFault is held ON for at least this much time when a Reset Command is received or the input Inp_Reset is asserted, triggering a Drive Fault Reset). IMPORTANT If Inp_Reset is held ON for longer than Cfg_MinHoldTime, Out_ClearFault will be held on as long as Inp_Reset is true. The Out_ClearFault Output must be connected to the Drives Clear Fault or Fault Reset input. The Reset Pulse Time ensures the Drive sees the Clear Fault Output for one or more I/O scans.
Cfg_SetTrack
ON
Maintenance
When this parameter is: ON, Operator Settings track the Program Settings when the Mode is Program, and Program Settings track the Operator Settings when the Mode is Operator. Transition between Modes is bumpless. OFF, Operator Settings and Program Settings are not modified by this instruction and retain their values regardless of Program or Operator Mode. When the mode is changed, the value of the output may bump, say from the Program-set value to the Operator-set value.
17
Chapter 2
Configuration Options
Parameter Cfg_SetTrackOvrdHand
Default OFF
Usage When this parameter is: ON, Operator and Program CV Settings track the Tieback CV (Inp_Tieback) when the Mode is Hand, and track the Override CV (Inp_OvrdCV) when the Mode is Override. OFF, Operator Settings and Program Settings are not modified by this instruction and retain their values when the Mode is Hand or Override. When the mode is changed back to Operator or Program, the value of the output may bump, say from the Override-set value to the Operator-set value.
Associated Parameters Inp_Hand Inp_Ovrd Inp_OvrdSpeed OSet_SpeedRef PSet_SpeedRef Val_SpeedRef IMPORTANT The Output Datalink setting (OSet_OutDatalink, PSet_OutDatalink) is not affected by Hand or Override Modes. It is only affected by the underlying Program / Operator selection. See the P_Mode Instruction documentation for more information. Inp_Sim Val_SpeedRef Val_SpeedFdbk IMPORTANT If Cfg_SimFdbkT is set greater than Cfg_FailToStartT, the drive (in simulation) will generate a Fail To Start Alarm. See: Cfg_FailToStartT If Cfg_SimFdbkT is set greater than Cfg_FailToStopT, the drive (in simulation) will generate a Fail To Stop Alarm. See: Cfg_FailToStopT
Cfg_SimRampT
10 sec
Engineering
This parameter determines the acceleration rate (rate to ramp up the Speed Feedback value) when starting the drive, and deceleration rate (rate to ramp down the Speed Feedback value) when stopping the drive when the drive is being Simulated (Inp_Sim = 1) or when the drive does not have or is not using Run Feedback. The Ramp Time is the time to accelerate from zero speed to the scaled maximum speed, or decelerate from the scaled maximum speed to zero speed. The default value of 10 seconds means the drive shows an Accelerating status for up to 10 seconds before showing At Speed when starting in simulation, and shows a Decelerating status for up to 10 seconds before showing Stopped when stopping in simulation.
Engineering
These parameters are used for scaling the Speed Feedback received from the drive from Drive (Raw) Units to Engineering Units. Check the User Manual for your drive and/or I/O cards to determine the scaling of the Speed Feedback sent by the drive.
18
Configuration Options
Chapter 2
Usage These parameters are used for scaling the Speed Reference sent to the drive from Engineering Units to Drive (Raw) Units. Check the User Manual for your drive and/or I/O cards to determine the scaling of the Speed Reference sent to the drive.
Cfg_UseRunFdbk
OFFf
Maintenance
Set this parameter: ON if the run feedback signals connected to Inp_Running should be used for Failure to Start and Failure to Stop checking. OFF to disable the feedback checking and disable the Fail to Start and Fail to Stop alarms. The instruction will instead simulate the Starting and Stopping status using the Cfg_SimFdbkT time configuration. This configuration identifies whether the run feedback should be used. Cfg_HasRunFdbk determines whether the feedback exists. If the feedback does not exist (Cfg_HasRunFdbk=0), the Cfg_UseRunFdbk is forced to Off.
19
Chapter 2
Configuration Options
Notes:
20
Chapter
This chapter describes the P_VSD Instructions public parameters. The descriptions in the tables below show how these data elements are used with the P_VSD Add-On Instruction.
Execution
Execution parameters are included with every Add-On Instruction. See the Logix5000 Controllers Add-On Instructions Programming Manual, publication 1756-PM010, for more information on these data elements.
Associated Configuration Parameter
Name: EnableIn
Usage: Input
Default: 1
Style:
Description: 1 = Normal Scan: control / monitor Variable-Speed Drive 0 = Disabled is asserted; Outputs OFF; Run Status shown but Alarms disabled Not manipulated by this instruction; EnableOut state always reflects EnableIn Tab to display (FTView ME) Must contain Add-On Instruction name, used for HMI and Information software Unique Parameter Name for auto-discovery
EnableOut
BOOL
Output
0 P_VSD 0
21
Chapter 3
Inputs (Inp_)
Data Type: INT
Input data elements are used to connect field inputs from I/O modules or signals from other objects to the P_VSD instruction. Each Input used should have mapping logic or a function block wire to get the input value from the input card or other instruction every scan.
Associated Configuration Parameter Cfg_SpeedFdbkEUMin Cfg_SpeedFdbkEUMax Cfg_SpeedRefRawMin Cfg_SpeedRefRawMax
Name: Inp_SpeedFdbk
Usage: Input
Default: 0
Style: Decimal
Inp_FaultCode Inp_Datalink Inp_Ready Inp_Running Inp_CommandDir Inp_ActualDir Inp_Accelerating Inp_Decelerating Inp_Alarm Inp_Faulted Inp_AtSpeed Inp_FwdPermOK
INT INT BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL
Input Input Input Input Input Input Input Input Input Input Input Input Input Input Input Input Input Input
0 0 1 0 1 1 0 0 0 0 0 1 1 1 1 1 1 0
Decimal Decimal Level Level Level Level Level Level Level Level Level Level Level Level Level Level Level Level
Current Drive Fault Code (enumeration) Auxiliary Signal (datalink) Input in Drive (raw) Units 1 = Drive is ready to run 1 = Drive is Running (active) 1 = Drive is commanded Forward 0 = Drive is commanded Reverse 1 = Drive is running Forward 0 = Drive is running Reverse 1 = Drive is accelerating 1 = Drive is decelerating 1 = Drive has an Alarm Condition (see drive display or manual) 1 = Drive has Faulted (see drive display or manual) 1 = Drive is at commanded speed 1 = Permissives OK, drive can start Forward 1 = Non-bypassable Permissives OK, drive can start Forward 1 = Permissives OK, drive can start Reverse 1 = Non-Bypassable Permissives OK, motor can start Reverse 1 = Interlocks OK, drive can start/run 1 = Non-Bypassable Interlocks OK, drive can start/run Input Communication Status 0 = OK 1 = Fail Cfg_HasIntlkObj Cfg_OvrdPermIntlk Cfg_HasIntlkObj Cfg_OvrdPermIntlk Cfg_HasFwdPermObj Cfg_HasRevPermObj Cfg_HasFwdPermObj Cfg_HasRevPermObj Cfg_ResetPulseT Cfg_UseRunFdbk Cfg_HasReverse Cfg_HasReverse Cfg_HasInpDatalink Cfg_InpDatalinkEUMin
Inp_FwdNBPermOK BOOL Inp_RevPermOK Inp_RevNBPermOK Inp_IntlkOK Inp_NBIntlkOK Inp_IOFault BOOL BOOL BOOL BOOL BOOL
22
Chapter 3
Name: Inp_Sim
Usage: Input
Default: 0
Style: Level
Description: 1 = Simulate working drive 0 = Start/Stop/ Monitor actual drive 1 = Select Hand (hardwired) Control Strategy 1 = Select Override control strategy Override Mode Command: 0 = None 1 = Stop 2 = Start Forward 3 = Start Reverse Value to set Speed Reference in Override Mode (SpeedRef EU) Value to set Output Datalink in Override Mode (OutDatalink EU) 1 = Override to RUN 0 = Override to STOP Override direction 1 = FORWARD 2 = REVERSE Speed at which to run drive in Override if Overriding to RUN
0 0 0
0 0 0 1
Cfg_OvrdPermIntlk
Inp_OvrdSpeed
REAL
Input
Float
Inp_Reset
BOOL
Input
Level
Cfg_DriveFaultResetReqd Cfg_ResetPulseT
23
Chapter 3
Output (Out_)
Output data elements are used to connect from the P_VSD instruction to field outputs on I/O modules or to other objects. Each Output used should have mapping logic or a function block wire to write the output value to the output card or other object every scan.
Associated Configuration Parameter Cfg_SpeedRefEUMin Cfg_SpeedRefEUMax Cfg_SpeedRefRawMin Cfg_SpeedRefRawMax Cfg_HasOutDatalink Cfg_OutDatalinkEUMin Cfg_OutDatalinkEUMax Cfg_OutDatalinkRawMin Cfg_OutDatalinkRawMax
Name: Out_SpeedRef
Usage: Output
Default: 0
Style: Decimal
Description: Drive Speed Reference in Drive Units (typ. 0-32767 = 0 to max freq.)
Out_Datalink
INT
Output
Decimal
Out_Run
BOOL
Output
1 = Start/Run Drive 0 = Stop Drive (for held starter type) 1 = Stop Drive 0 = drive left in current state 1 = Start Drive 0 = drive left in current state 1 = Jog drive at Jog Speed 0 = stop jogging 1 = Attempt to clear Drive Fault 1 = Set drive direction to Forward 1 = Set drive direction to Reverse Cfg_HasJog Cfg_ResetPulseT Cfg_HasReverse Cfg_HasReverse
0 0 0 0 0 0
24
Chapter 3
Configurations (Cfg_)
Configuration data elements are used to set configurable capabilities, features and functions of the P_VSD Instruction. The following Configuration data may be modified by controller application logic, using the HMI Faceplate, or using the Tag Monitor in RSLogix 5000 software.
Associated Configuration Parameter
Name: Cfg_HasReverse
Usage: Input
Default: 0
Style: Level
Description: 1 = Drive can be run reverse 0 = Forward only 1 = Drive Jog Command enabled/visible 0 = Drive Jog Command not allowed 1 = Drive provides speed feedback and run signal 1 = Drive run feedback should be used for failure checking 1 = A signal is connected to Inp_Datalink 1 = A signal is connected to Out_Datalink 1 = Tells HMI a P_Perm is connected to Inp_FwdPerm 1 = Tells HMI a P_Perm is connected to Inp_RevPerm 1 = Tells HMI a P_Intlk is connected to Inp_Intlk 1 = Tells HMI a P_ResInh Restart Inhibit is connected 1 = Tells HMI a P_RunTime is connected 1 = PSets track OSets in Oper, OSets track PSets in Prog 0 = No tracking 1 = Prog/Oper Settings track Override/Hand speed reference
Cfg_HasJog
BOOL
Input
Level
Cfg_HasRunFdbk
BOOL
Input
Level
Cfg_UseRunFdbk
BOOL
Input
Level
0 0 0
Cfg_HasRevPermObj
BOOL
Input
Level
Cfg_HasIntlkObj
BOOL
Input
Level
Cfg_HasResInhObj
BOOL
Input
Level
Cfg_HasRunTimeObj
BOOL
Input
Level
Cfg_SetTrack
BOOL
Input
Level
Cfg_SetTrackOvrdHand
BOOL
Input
Level
25
Chapter 3
Name: Cfg_PCmdClear
Usage: Input
Default: 1
Style: Level
Cfg_ProgDefault
BOOL
Input
Decimal Default Mode: 1 = Program Mode if no requests 0 = Operator Mode if no requests Decimal 1 = New Oper drive command. resets fault, 0 = reset required to clear fault Level 1 = Override ignores Bypassable Perm/ Intlk 0 = always use Perm/Intlk
Cfg_OCmdResets
BOOL
Input
Cfg_OvrdPermIntlk
BOOL
Input
Cfg_ShedOnFailToStart
BOOL
Input
Decimal 1 = Stop Motor and Alarm on Fail to Start 0 = Alarm only on Fail to Start Decimal 1=Stop Motor and Alarm on I/O Fault 0 = Alarm only on I/O Fault Decimal 1 = In simulation, scale Speed Ref EU to Speed Fdbk EU
Sts_FailToStart Alm_FailToStart Sts_IOFault Alm_IOFault Cfg_SpeedRefEUMin, Cfg_SpeedRefEUMax Cfg_SpeedFdbkEUMin Cfg_SpeedFdbkEUMax Cfg_SpeedRefRawMin Cfg_InpDatalinkRawMax Cfg_SpeedRefEUMin, Cfg_SpeedRefEUMax Cfg_SpeedFdbkEUMin Cfg_SpeedFdbkEUMax Cfg_SpeedFdbkEUMin Cfg_SpeedFdbkEUMax
Cfg_ShedOnIOFault
BOOL
Input
Cfg_SimScaleEU
BOOL
Input
Cfg_SimScaleRaw
BOOL
Input
Decimal 1 = In simulation, scale Speed Ref EU to raw, then raw to Speed Fdbk EU
Cfg_HasFailToStartAlm
BOOL
Input
Level
1 = Fail to Start Alarm exists and will be checked 1 = Fail to Stop Alarm exists and will be checked 1 = Interlock Trip Alarm exists and will be checked
Cfg_HasFailToStopAlm
BOOL
Input
Level
Cfg_HasIntlkTripAlm
BOOL
Input
Level
26
Chapter 3
Name: Cfg_HasDriveFaultAlm
Usage: Input
Default: 0
Style: Level
Description: 1 = Drive Fault Alarm exists and will be checked 1 = I/O Fault Alarm exists and will be checked 1 = Reset required to clear Fail to Start Alarm 1 = Acknowledge required for Fail to Start Alarm 1 = Reset required to clear Fail to Stop Alarm 1 = Acknowledge required for Fail to Stop Alarm 1 = Reset required to clear Interlock Trip Alarm 1 = Acknowledge required for Interlock Trip Alarm 1 = Reset required to clear Drive Fault Alarm 1 = Acknowledge required for Drive Fault Alarm 1 = Reset required to clear I/O Fault Alarm 1 = Acknowledge required for I/O Fault Alarm
Cfg_HasIOFaultAlm
BOOL
0 0 1 0 1 0 1
Cfg_FailToStartResetReqd BOOL Cfg_FailToStartAckReqd Cfg_FailToStopResetReqd Cfg_FailToStopAckReqd Cfg_IntlkTripResetReqd Cfg_IntlkTripAckReqd BOOL BOOL BOOL BOOL BOOL
1 0 0 1 4
Decimal Fail To Start Alarm Severity 1 = Information 2 = Warning 3 = Exception 4 = Fault Decimal Fail To Stop Alarm Severity 1 = Information 2 = Warning 3 = Exception 4 = Fault Decimal Interlock Trip Alarm Severity 1 = Information 2 = Warning 3 = Exception 4 = Fault
Cfg_FailToStopSeverity
SINT
Input
Cfg_IntlkTripSeverity
SINT
Input
27
Chapter 3
Name: Cfg_DriveFaultSeverity
Usage: Input
Default: 4
Style:
Description:
Decimal Drive Fault Alarm Severity 1 = Information 2 = Warning 3 = Exception 4 = Fault Decimal I/O Fault Alarm Severity 1 = Information 2 = Warning 3 = Exception 4 = Fault Float Minimum Speed Reference in EU (for limiting) Maximum Speed Reference in EU (for limiting)
Cfg_IOFaultSeverity
SINT
Input
Cfg_MinSpdRef
REAL
Input
0.0
Cfg_MaxSpdRef
REAL
Input
60.0
Float
Cfg_SpeedRefRawMin
INT
Input
Decimal Speed Reference Minimum in Drive (raw) Units (for scaling) Decimal Speed Reference Maximum in Drive (raw) Units (for scaling) Float Speed Reference Minimum in Engineering Units (for scaling) Speed Reference Maximum in Engineering Units (for scaling)
Cfg_SpeedRefRawMax
INT
Input
32767
Cfg_SpeedRefEUMin
REAL
Input
0.0
Cfg_SpeedRefEUMax
REAL
Input
130.0
Float
Cfg_SpeedFdbkRawMin
INT
Input
Decimal Speed Feedback Minimum in Drive (raw) Units (for scaling) Decimal Speed Feedback Maximum in Drive (raw) Units (for scaling) Float Speed Feedback Minimum in Engineering Units (for scaling) Speed Feedback Maximum in Engineering Units (for scaling) Cfg_HasInpDatalink
Cfg_SpeedFdbkRawMax
INT
Input
32767
Cfg_SpeedFdbkEUMin
REAL
Input
0.0
Cfg_SpeedFdbkEUMax
REAL
Input
130.0
Float
Cfg_InpDatalinkRawMin
INT
Input
Decimal Input Datalink Minimum in Drive (raw) Units (for scaling) Decimal Input Datalink Maximum in Drive (raw) Units (for scaling)
Cfg_InpDatalinkRawMax
INT
Input
4095
Cfg_HasInpDatalink
28
Chapter 3
Name: Cfg_InpDatalinkEUMin
Usage: Input
Default: 0.0
Style: Float
Description: Input Datalink Minimum in Engineering Units (for scaling) Input Datalink Maximum in Engineering Units (for scaling) Minimum Output Datalink in EU (for limiting)
Cfg_InpDatalinkEUMax
REAL
Input
409.5
Float
Cfg_HasInpDatalink
Cfg_OutDatalinkMin
REAL
Input
0.0
Float
Cfg_OutDatalinkMax
REAL
Input
100.0
Float
Cfg_OutDatalinkRawMin
INT
Input
Decimal Output Datalink Minimum in Drive (raw) Units (for scaling) Decimal Output Datalink Maximum in Drive (raw) Units (for scaling) Float Output Datalink Minimum in Engineering Units (for scaling) Output Datalink Maximum in Engineering Units (for scaling)
Cfg_HasOutDatalink
Cfg_OutDatalinkRawMax
INT
Input
4095
Cfg_HasOutDatalink
Cfg_OutDatalinkEUMin
REAL
Input
0.0
Cfg_HasOutDatalink
Cfg_OutDatalinkEUMax
REAL
Input
409.5
Float
Cfg_HasOutDatalink
Cfg_SimRampT Cfg_FailToStartT
DINT DINT
Input Input
10 15
Decimal Time to ramp speed fdbk when in Simulation (sec) Decimal Time after Start to get Run Feedback before Fault (sec) Decimal Time after Stop to drop Run Feedback before Fault (sec) Decimal Time to pulse Out_Reset to clear drive fault
Cfg_FailToStopT
DINT
Input
15
Cfg_ResetPulseT
DINT
Input
29
Chapter 3
Description: Maximum jog time (sec, 0 = unlimited) Operator keeps control in Program Mode: .0 = Speed Reference .1 = Start/Stop .2 = Forward/Reverse .3 = Output Datalink Program keeps control in Operator Mode: .0 = Speed Reference .1 = Start/Stop .2 = Forward/Reverse .3 = Output Datalink
Cfg_ProgKeep
SINT
Input
2#0000_ 0000
Binary
Because they contain arrayed or structured data types, the following Configuration data elements use P_VSD Add-On Instruction Local Tags. These may be modified using RSLogix 5000 or using the HMI Faceplates, but cannot be modified using controller logic:
Associated Configuration Parameter
Data Type:
Usage:
Style: Description: Description for display on HMI Name for Forward Direction, e.g., Up, Forward Input Datalink Engineering Units for display on HMI Input Datalink Label displayed on Faceplate Label for graphic symbol displayed on HMI Output Datalink Engineering Units for display on HMI
Cfg_InpDatalinkEU
STRING_8
Local
Empty/null
Cfg_OutDatalinkLabel
STRING_20 Local
Empty/null
30
Chapter 3
Name: Cfg_RevText
Data Type:
Usage:
Default: 'REVERSE'
Style: Description: Name for Reverse Direction, e.g., Down, Reverse Speed Feedback Engineering Units for display on HMI Speed Reference Engineering Units for display on HMI Tagname for display on HMI
STRING_16 Local
Cfg_SpeedFdbkEU
STRING_8
Local
'Hz'
Cfg_SpeedRefEU
STRING_8
Local
'Hz'
Cfg_Tag
STRING_20 Local
'P_VSD'
31
Chapter 3
Program Setting data elements are used by application logic to establish setpoints, thresholds, and other settings of the P_VSD Instruction. Automation logic may write to these settings any time; the P_VSD Instruction uses them in its logic when it is in the Program Mode.
Associated Configuration Parameter Cfg_MaxSpdRef Cfg_MinSpdRef Cfg_SetTrack Cfg_SetTrackOvrdHand Cfg_SpeedFdbkEUMin Cfg_SpeedFdbkEUMax Cfg_SpeedRefRawMin Cfg_SpeedRefRawMax Cfg_SpeedRefEUMin Cfg_SpeedRefEUMax
Name: PSet_SpeedRef
Usage: Input
Default: 0
Style: Float
PSet_OutDatalink
REAL
Input
Float
PSet_Owner
DINT
Input
32
Chapter 3
Program Command data elements are used by application logic to request P_VSD Instruction actions, such as changing Modes, acknowledging alarms, or specific P_VSD actions. Application logic sets the Program Command to 1 or 0 to request the action. (See the Edge and Level section in the Preface for more information). The P_VSD Instruction then performs the requested action if it is in Program Mode and the action can be performed.
Devices Commands*
Name: PCmd_Start PCmd_Stop PCmd_Fwd PCmd_Rev Data Type: BOOL BOOL BOOL BOOL Usage: Input Input Input Input Default: 0 0 0 0 Style: * ** * ** Description: Program Command to Start Drive Program Command to Stop Drive Program Command to set direction to Forward Program Command to set direction to Reverse Associated Configuration Parameter Cfg_FailToStartT Cfg_FailToStopT Cfg_HasReverse Cfg_HasReverse
* Primary Function: If Cfg_PCmdClear = 0, triggered by Level = 1 If Cfg_PCmdClear = 1, triggered by rising Edge * * Opposite Function: If Cfg_PCmdClear = 0, triggered by primary function bit Level = 0 (this bit NOT USED) If Cfg_PCmdClear = 1, triggered by rising Edge of this bit
Mode Commands
Associated Configuration Parameter
Default: 0 0 0 0
Style: Description: * ** * ** Program Command to Acquire ownership (Oper to Prog) Program Command to Release ownership (Prog to Oper) Program Command to Lock Mode in Prog Program Command to Unlock Mode
* Primary Function: If Cfg_PCmdClear = 0, triggered by Level = 1 If Cfg_PCmdClear = 1, triggered by rising Edge * * Opposite Function: If Cfg_PCmdClear = 0, triggered by primary function bit Level = 0 (this bit NOT USED) If Cfg_PCmdClear = 1, triggered by rising Edge of this bit
33
Chapter 3
Alarm Commands
Associated Configuration Parameter Cfg_ResetPulseT
Name: PCmd_Reset
Usage: Input
Default: 0
Style: Description: * Program Command to Reset drive fault and all Alarms requiring Reset Program Command to Acknowledge Fail to Start Alarm Program Command to Inhibit Fail to Start Alarm Program Command to Uninhibit Fail to Start Alarm Program Command to Acknowledge Fail to Stop Alarm Program Command to Inhibit Fail to Stop Alarm Program Command to Uninhibit Fail to Stop Alarm Program Command to Acknowledge Interlock Trip Alarm Program Command to Inhibit Interlock Trip Alarm Program Command to Uninhibit Interlock Trip Alarm Program Command to Acknowledge Drive Fault Alarm Program Command to Inhibit Drive Fault Alarm Program Command to Uninhibit Drive Fault Alarm Program Command to Acknowledge I/O Fault Alarm Program Command to Inhibit I/O Fault Alarm Program Command to Uninhibit I/O Fault Alarm
PCmd_FailToStartAck
BOOL
Input
Cfg_FailToStartAckReqd
PCmd_FailToStartInhibit
BOOL
0 0 0
* ** *
Cfg_FailToStopAckReqd
0 0 0
* ** *
Cfg_IntlkTripAckReqd
0 0 0
* ** *
Cfg_DriveFaultAckReqd
0 0 0 0 0
* ** * * **
Cfg_IOFaultAckReqd
* Primary Function: If Cfg_PCmdClear= 0, triggered by Level = 1 If Cfg_PCmdClear = 1, triggered by rising Edge * * Opposite Function: If Cfg_PCmdClear = 0, triggered by primary function bit Level = 0 (this bit NOT USED) If Cfg_PCmdClear = 1, triggered by rising Edge of this bit
34
Chapter 3
Operator, Maintenance and Other Setting data elements are used by the HMI Faceplate to let the operator establish setpoints, thresholds, and other settings of the P_VSD Instruction. The P_VSD Instruction uses Other Settings in its logic regardless of Mode. It uses Operator and Maintenance Settings when it is in Operator or Maintenance Mode.
Associated Configuration Parameter Cfg_MaxSpdRef Cfg_MinSpdRef Cfg_SetTrack Cfg_SetTrackOvrdHand Cfg_SpeedRefEUMin Cfg_SpeedRefEUMax
Default: 0.0
Style: Float
OSet_OutDatalink
REAL
Input
0.0
Float
Default: 0 0
Style:
Description: 1 = Ready to receive OSet_SpeedRef (enables data entry field) 1 = Ready to receive OSets (enables data entry fields)
35
Chapter 3
Operator Commands and Maintenance Commands are used by the Operator at the HMI to request instruction actions, such as changing modes; acknowledging, enabling or disabling, suppressing or unsuppressing alarms; or other instruction-specific actions. Except for items marked Level these Commands are set (latched) by the HMI and are read and then cleared (unlatched) by this instruction, allowing a many-to-one relationship between HMI requestors and each Command. Commands are implemented as public Input Parameters of the instruction or as Input Parameters of instructions internal to the P_VSD instruction (embedded Commands).
Device Commands
Associated Configuration Parameter Cfg_FailToStartT Cfg_FailToStopT Cfg_HasJog Cfg_HasReverse Cfg_HasReverse
Name: OCmd_Start OCmd_Stop OCmd_Jog OCmd_Fwd OCmd_Rev OCmd_Bypass OCmd_Check MCmd_Disable MCmd_Enable
Data Type: BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL
Usage: Input Input Input Input Input Input Input Input Input
Default: 0 0 0 0 0 0 0 0 0
Style: Description: Edge Edge Level Edge Edge Edge Edge Edge Edge Operator Command to Start Drive Operator Command to Stop Drive Operator Command to Jog Drive (not cleared by P_VSD!) Operator Command to set direction to Forward Operator Command to set direction to Reverse Operator Command to Bypass all Bypassable Interlocks and Permissives Operator Command to Check (not bypass) all Interlocks and Permissives Maintenance Command to Disable (red tag) Drive Maintenance Command to Enable (allow to run) Drive
36
Chapter 3
Mode Commands
IMPORTANT
Mode Commands are sent to a P_Mode Instruction embedded within the P_VSD Instruction. The P_Mode Instruction instance is named Mode.
Associated Configuration Parameter
Style: Description: Edge Edge Edge Edge Maintenance Command to Acquire Ownership (Oper/Prog/Ovrd to Maint) Maintenance Command to Release Ownership (Maint to Oper/Prog/Ovrd) Operator Command to Acquire and Lock Mode in Oper Operator command to Unlock Operator Mode
Alarm Commands
IMPORTANT
Alarm Commands are sent to P_Alarm Instructions embedded within the P_VSD Instruction. Each P_Alarm Instruction instance is named for the alarm condition.
Associated Configuration Parameter Cfg_ResetPulseT
Default: 0 0
Style: Description: Edge Edge Operator Command to Reset all Alarms requiring Reset Operator Command to Reset all Alarms and latched Shed conditions Operator Command to Reset latched Failure to Start Alarm Operator Command to Acknowledge Failure to Start Alarm Operator Command to Disable Failure to Start Alarm Operator Command to Enable Failure to Start Alarm
FailToStart.OCmd_Reset
BOOL
Input
Edge
Cfg_FailToStartResetReqd
FailToStart.OCmd_Ack
BOOL
Input
Edge
Cfg_FailToStartAckReqd
FailToStart.OCmd_Disable
BOOL
Input
Edge
FailToStart.OCmd_Enable
BOOL
Input
Edge
37
Chapter 3
Name: FailToStop.OCmd_Reset
Usage: Input
Default: 0
Style: Description: Edge Operator Command to Reset latched Failure to Stop Alarm Operator Command to Acknowledge Failure to Stop Alarm Operator Command to Disable Failure to Stop Alarm Operator Command to Enable Failure to Stop Alarm Operator Command to Reset latched Interlock Trip Alarm Operator Command to Acknowledge Interlock Trip Alarm Operator Command to Disable Interlock Trip Alarm Operator Command to Enable Interlock Trip Alarm Operator Command to Reset latched Drive Fault Alarm Operator Command to Acknowledge Drive Fault Alarm Operator Command to Disable Drive Fault Alarm Operator Command to Enable Drive Fault Alarm Operator Command to Reset latched I/O Fault Alarm Operator Command to Acknowledge I/O Fault Alarm Operator Command to Disable I/O Fault Alarm Operator Command to Enable I/O Fault Alarm
FailToStop.OCmd_Ack
BOOL
Input
Edge
Cfg_FailToStopAckReqd
FailToStop.OCmd_Disable
BOOL
Input
Edge
0 0 0
Cfg_IntlkTripResetReqd Cfg_IntlkTripAckReqd
0 0 0 0
Cfg_DriveFaultResetReqd Cfg_DriveFaultAckReqd
0 0 0 0
Cfg_IOFaultResetReqd Cfg_IOFaultAckReqd
IOFault.OCmd_Disable IOFault.OCmd_Enable
BOOL BOOL
Input Input
0 0
Edge Edge
38
Chapter 3
Name: Rdy_Start Rdy_Stop Rdy_Jog Rdy_Fwd Rdy_Rev Rdy_Bypass Rdy_Check Rdy_Disable Rdy_Enable
Data Type: BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL
Usage: Output Output Output Output Output Output Output Output Output
Default: 0 0 0 0 0 0 0 0 0
Style: Description: 1 = Ready to receive OCmd_Start (enables HMI button) 1 = Ready to receive OCmd_Stop (enables HMI button) 1 = Ready to receive OCmd_Jog (enables HMI button) 1 = Ready to receive OCmd_Fwd (enabled HMI button) 1 = Ready to receive OCmd_Rev (enables HMI button) 1 = Ready to receive OCmd_Bypass (enables HMI button) 1 = Ready to receive OCmd_Check (enables HMI button) 1 = Ready to receive MCmd_Disable (enables HMI button) 1 = Ready to receive MCmd_Enable (enables HMI button)
Cfg_HasReverse Cfg_HasReverse
Mode Command Readies are provided by a P_Mode Instruction embedded within the P_VSD Instruction. The P_Mode Instruction instance is named Mode.
Associated Configuration Parameter
Name: Mode.Rdy_Acq
Usage: Output
Default: 0
39
Chapter 3
Name: Mode.Rdy_Rel
Default: 0 0 0
Style: Description: 1 = Ready for MCmd_Rel (enables HMI button) 1 = Ready for OCmd_AcqLock (enables HMI button) 1 = Ready for OCmd_Unlock (enables HMI button)
Alarm Command Readies are provided by P_Alarm Instructions embedded within the P_VSD Instruction. Each P_Alarm Instruction instance is named for the alarm condition.
Associated Configuration Parameter
Default: 0 0 0
Style: Description: 1 = Ready for OCmd_Reset (enables HMI button) 1 = Ready for OCmd_ResetAckAll (enables HMI button) 1 = Ready for FailToStart.OCmd_Reset (enables HMI button) 1 = Ready for FailToStart.OCmd_Ack (enables HMI button) 1 = Ready for FailToStart.OCmd_Disable (enables HMI button) 1 = Ready for FailToStart.OCmd_Enable (enables HMI button) 1 = Ready for FailToStop.OCmd_Reset (enables HMI button) 1 = Ready for FailToStop.OCmd_Ack (enables HMI button) 1 = Ready for FailToStop.OCmd_Disable (enables HMI button) 1 = Ready for FailToStop.OCmd_Enable (enables HMI button)
FailToStart.Rdy_Ack FailToStart.Rdy_Disable
BOOL BOOL
Output Output
0 0
FailToStart.Rdy_Enable
BOOL
Output
0 0 0
FailToStop.Rdy_Enable
BOOL
Output
40
Chapter 3
Default: 0 0 0 0 0 0 0
Style: Description: 1 = Ready for IntlkTrip.OCmd_Reset (enables HMI button) 1 = Ready for IntlkTrip.OCmd_Ack (enables HMI button) 1 = Ready for IntlkTrip.OCmd_Disable (enables HMI button) 1 = Ready for IntlkTrip.OCmd_Enable (enables HMI button) 1 = Ready for DriveFault.OCmd_Reset (enables HMI button) 1 = Ready for DriveFault.OCmd_Ack (enables HMI button) 1 = Ready for DriveFault.OCmd_Disable (enables HMI button) 1 = Ready for DriveFault.OCmd_Enable (enables HMI button) 1 = Ready for IOFault.OCmd_Reset (enables HMI button) 1 = Ready for IOFault.OCmd_Ack (enables HMI button) 1 = Ready for IOFault.OCmd_Disable (enables HMI button) 1 = Ready for IOFault.OCmd_Enable (enables HMI button)
DriveFault.Rdy_Enable
BOOL
Output
0 0 0 0
41
Chapter 3
Values (Val_)
Value data elements contain process or device variables, the notification level for alarm animation, and the current accepted values of any Program, Operator or Maintenance Settings) for the P_VSD instruction. The HMI displays these Values, and they are available for use by other application logic.
Associated Configuration Parameter Cfg_MaxSpdRef Cfg_MinSpdRef Cfg_SetTrack Cfg_SetTrackOvrdHand Cfg_SimRampT Cfg_SpeedFdbkEUMin Cfg_SpeedFdbkEUMax Cfg_SpeedRefRawMin Cfg_SpeedRefRawMax Cfg_SpeedRefEUMin Cfg_SpeedRefEUMax
Name: Val_SpeedRef
Default: 0.0
Style: Float
Val_SpeedFdbk
REAL
Output
0.0
Float
Val_InpDatalink Val_OutDatalink
REAL REAL
Output Output
0.0 0.0
Float Float
Cfg_HasInpDatalink Cfg_InpDatalinkEUMax Cfg_HasOutDatalink Cfg_OutDatalinkEUMin Cfg_OutDatalinkEUMax Cfg_OutDatalinkRawMin Cfg_OutDatalinkRawMa x Cfg_OutDatalinkMax Cfg_OutDatalinkMin Cfg_SetTrack
Val_SpeedRefEUMin
REAL
Output
0.0
Float
Minimum of Speed Reference = MIN (Cfg_SpeedFdbkEUMin, Cfg_SpeedFdbkEUMax) Maximum of Speed Reference = MAX (Cfg_SpeedFdbkEUMin, Cfg_SpeedFdbkEUMax) Minimum of Speed Feedback = MIN (Cfg_SpeedFdbkEUMin, Cfg_SpeedFdbkEUMax)
Val_SpeedRefEUMax
REAL
Output
130.0
Float
Val_SpeedFdbkEUMin
REAL
Output
0.0
Float
42
Chapter 3
Name:
Default: 130.0
Style: Float
Val_SpeedFdbkEUMax REAL
Val_Cmd
SINT
Output
Decimal This shows the command being processed, returns to zero once the command succeeds or fails. May be made not visible if zero. These values are also use for Inp_OvrdCmd. 0 = None 1 = Stop 2 = Start Forward 3 = Start Reverse 4 = Jog Forward 5 = Jog Reverse Decimal This shows the (usually raw, uninterpreted) input from the device. 0 = Stopped 1 = Running Forward 2 = Running Reverse 3 = Accelerating 4 = Decelerating Decimal This is the DEVICE AFAULT STATUS, used to show the operator the most severe device fault. 0 = None 16 = Fail to Start 17 = Fail to Stop 18 = Drive Fault 32 = I/O Fault 34 = Configuration Error Decimal This is the PRIMARY STATUS, used to show the operator the confirmed device status. 0 =Powerup or Unknown 1 = Stop 2 = Run Forward 3 = Run Reverse 4 = Jog Forward 5 = Jog Reverse 6 = Stopping 7 = Start Forward 8 = Start Reverse 9 = Fail to Stop 10 = Fail to Start 11 = Drv Fault 12 = I/O Fault
Val_Fdbk
SINT
Output
Val_Fault
SINT
Output
Val_Sts
SINT
Output
43
Chapter 3
Name: Val_Mode
Default: 0
Style:
Description:
Decimal This exists if P_Mode is used within the object and shows all modes used by (implemented in) the object 0 = No Mode 1 = Hand 2 = Maintenance 3 = Overload 4 = Program Lock 5 = Operator Lock 6 = Program (Operator Default) 7 = Operator (Program Default) 8 = Program (Program Default) 9 = Operator (Operator Default) Decimal Current Object Owner ID 0 = not owned Decimal Current Alarm Level and Acknowledgement (enumeration) 0=No alarm 1=Alarm cleared, not acknowledged 2=Information alarm 3=Unacknowledged Info. alarm 4=Warning alarm 5=Unacknowledged Warning alarm 6=Exception alarm 7=Unacknowledged Exception alarm 8=Fault alarm 9=Unacknowledged Fault alarm Cfg_DriveFaultSeverity Cfg_FailToStartSeverity Cfg_FailToStopSeverity Cfg_IntlkTripSeverity Cfg_IOFaultSeverity
Val_Owner Val_Notify
DINT DINT
Output Output
0 0
44
Chapter 3
Status (Sts_)
Status data elements contain process or device states, Mode status and Alarm status. The HMI displays these Status points, and they are available for use by other application logic.
Device Status
Associated Configuration Parameter Cfg_HasResInhObj Cfg_UseRunFdbk Cfg_FailToStartT Cfg_HasResInhObj Cfg_HasRunFdbk Cfg_HasRunTimeObj Cfg_UseRunFdbk Sts_Running Sts_Stopping Sts_Jogging Sts_CommandDir Sts_ActualDir Sts_Accel Sts_Decel Sts_NotReady Sts_Alarm Sts_AtSpeed BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL Output Output Output Output Output Output Output Output Output Output Output Output Output Output Output 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 = Drive requested to run and is confirmed running 1 = Drive requested to stop and awaiting stopped feedback 1 = Drive requested to Jog 1 = Drive commanded to Forward 0 = Reverse 1 = Drive Actual direction is Forward 0 = Reverse 1 = Drive is Accelerating 1 = Drive is Decelerating 1 = Drive is Not Ready (cannot be started) Check alarms, stops, faults 1 = Drive has an Alarm (see drive display or manual) 1 = Drive is running at reference speed 1 = Speed Reference Setting exceeds configured Max/Min limit 1 = Drive available for control by automation (Prog) 1 = Bypassable Interlocks and Permissives are Bypassed 1 = Bypassing Active (Bypassed or Maintenance) 1 = Drive is Disabled Cfg_HasReverse Cfg_HasReverse Cfg_SimRampT Cfg_SimRampT Cfg_HasResInhObj Cfg_HasRunTimeObj Cfg_FailToStopT Cfg_HasRunFdbk
Default: 1 0
Style: Description: 1 = Drive requested to stop and is confirmed stopped 1 = Drive requested to run and awaiting run feedback
Sts_SpeedLimited BOOL Sts_Available Sts_Bypass Sts_BypActive Sts_Disabled BOOL BOOL BOOL BOOL
45
Chapter 3
Name: Sts_NotRdy Sts_MaintByp Sts_AlmInh Sts_Err Err_Timer Err_Sim Err_Alarm Err_FdbkRaw Err_FdbkEU Err_RefLim Err_RefEU Err_RefRaw Err_InpDLRaw Err_InpDLEU Err_OutDLLim Err_OutDLEU Err_OutDLRaw Err_Keep
Data Type: BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL
Usage: Output Output Output Output Output Output Output Output Output Output Output Output Output Output Output Output Output Output
Default: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Style: Description: 1 = Motor is Not Ready to Run (independent of Mode) 1 = A Maintenance Bypass is Active, display icon 1 = An Alarm is Inhibited, Disabled or Suppressed, display icon 1 = Error in Config: See detail bits for reason 1 = Error in Config: Invalid Check or Reset Pulse Time (use 0 to 2147483) 1 = Error in Config: Simulation timer preset: use 0 to 2147483 1 = Error in Config: Invalid Alarm Delay or Severity 1 = Error in Config: Speed fdbk Raw Min = Max 1 = Error in Config: Speed Fdbk EU Min = Max 1 = Error in Config: Speed Ref Limit Min > Max 1 = Error in Config: Speed Ref EU Min = Max 1 = Error in Config: Speed Ref Raw Min = Max 1 = Error in Config: Input Datalink Raw Min = Max 1 = Error in Config: Input Datalink EU Min = Max 1 = Error in Config: Output Datalink Limits Min = Max 1 = Error in Config: Output Datalink EU Min = Max 1 = Error in Config: Output Datalink Raw Min = Max 1 = Error in Config: Invalid setup of Cfg_Oper and Cfg_ProgKeep
46
Chapter 3
Mode Status
Associated Configuration Parameter
Default: 0 0 0 0 1 0 0
Style: Description: 1 = Mode is Hand (supersedes Maint, Ovrd, Prog, Oper) 1 = Mode is Maintenance (supersedes Ovrd, Prog, Oper) 1 = Mode is Override (supersedes Prog, Oper) 1 = Mode is Program (auto) 1 = Mode is Operator (manual) 1 = Program or Operator has requested Mode Lock 1=NoMode (Disabled because EnableIn is False)
Alarm Status
Associated Configuration Parameter
Default: 0 0
Style: Description: 1 = Drive Failed to Start (one-shot) 1 = Drive Fail to start Alarm
Ack_FailToStart Sts_FailToStartDisabled
BOOL BOOL
Output Output
0 0
1 = Fail to Start Alarm Acknowledged 1 = Fail to Start Alarm Disabled (will not be sent) 1 = Fail to Start Alarm Inhibited by logic 1 = Fail to Start Alarm Suppressed (logged only)
Cfg_FailToStartAckReqd
Sts_FailToStartInhibited Sts_FailToStartSuppressed
BOOL BOOL
Output Output
0 0
47
Chapter 3
Default: 0 0
Associated Configuration Parameter Cfg_FailToStopT Cfg_UseRunFdbk Cfg_HasDriveFaultAlm Cfg_HasFailToStartAlm Cfg_HasFailToStopAlm Cfg_HasIntlkTripAlm Cfg_HasIOFaultAlm
Ack_FailToStop Sts_FailToStopDisabled
BOOL BOOL
Output Output
0 0
1 = Fail to Stop Alarm Acknowledged 1 = Fail to Stop Alarm Disabled (will not be sent) 1 = Fail to Stop Alarm Inhibited by logic 1 = Fail to Stop Alarm Suppressed (logged only) 1 = Drive was stopped by an Interlock NOT OK (one-shot) 1 = Alarm: Drive stopped by an Interlock NOT OK
Cfg_FailToStopAckReqd
Sts_FailToStopInhibited Sts_FailToStopSuppressed
BOOL BOOL
Output Output
0 0
Sts_IntlkTrip
BOOL
Output
Alm_IntlkTrip
BOOL
Output
Ack_IntlkTrip Sts_IntlkTripDisabled
BOOL BOOL
Output Output
0 0
1 = Interlock Trip Alarm Acknowledged 1 = Interlock Trip Alarm Disabled (not saved or sent) 1 = Interlock Trip Alarm Inhibited by logic 1 = Interlock Trip Alarm Suppressed (logged only) 1 = Drive Fault (see drive display or manual)
Cfg_IntlkTripAckReqd
Sts_IntlkTripInhibited Sts_IntlkTripSuppressed
BOOL BOOL
Output Output
0 0
Sts_DriveFault
BOOL
Output
48
Chapter 3
Name: Alm_DriveFault
Usage: Output
Default: 0
Associated Configuration Parameter Cfg_DriveFaultResetReqd Cfg_ResetPulseT Cfg_HasDriveFaultAlm Cfg_HasFailToStartAlm Cfg_HasFailToStopAlm Cfg_HasIntlkTripAlm Cfg_HasIOFaultAlm
Ack_DriveFault Sts_DriveFaultDisabled
BOOL BOOL
Output Output
0 0
1 = Drive Fault Alarm Acknowledged 1= Drive Fault Alarm Disabled (will not be sent) 1 = Drive Fault Alarm Inhibited by logic 1 = Drive Fault Alarm Suppressed (logged only) I/O Comm Fault Status 0 = OK 1 = Bad 1 = I/O Fault Alarm
Cfg_DriveFaultAckReqd
Sts_DriveFaultInhibited Sts_DriveFaultSuppressed
BOOL BOOL
Output Output
0 0
Sts_IOFault
BOOL
Output
Alm_IOFault
BOOL
Output
Ack_IOFault Sts_IOFaultDisabled
BOOL BOOL
Output Output
0 0
1 = I/O Fault Alarm Acknowledged 1 = I/O Fault Alarm Disabled (not saved or sent) 1 = I/O Fault Alarm Inhibited by logic 1 = I/O Fault Alarm Suppressed (logged only)
Cfg_IOFaultAckReqd
Sts_IOFaultInhibited Sts_IOFaultSuppressed
BOOL BOOL
Output Output
0 0
49
Chapter 3
Notes:
50
Chapter
HMI Reference
This chapter describes the HMI Graphic Symbols and Faceplates provided for the Operator interface for the P_VSD Instruction.
Graphic Symbols
The P_VSD Instruction has Graphic Symbols for motors, blowers, agitators and pumps for process graphic displays. Graphic Symbols provide end-users with: information on the motors current state and speed a touch field to open the P_VSD Faceplate a tooltip to display the configured tag and description Common attributes of the P_VSD Graphic Symbols are: a graphical representation of the driven equipment the speed of the motor with engineering units the present state of the motor in text various status / quality indicators a mode indicator a direction indicator (if the drive is configured as reversing) a label an alarm border and label background that changes color for the severity of the alarm a maintenance bypass indicator Drive Graphic Symbols have the following common attributes:
Label Alarm Border State Text Alarm Indicator Status / Quality Indicator Speed Feedback Display Engineering Units Text Status / Quality Indicator Mode Indicator Maintenance Bypass Indicator
51
Chapter 4
HMI Reference
State Indicators
The State Indicator text changes and the Graphic Symbol color changes depending on the state of the drive.
Color Blue Gray Light Yellow Blue Dark Green State Stopping Stopped Jogging Starting Running
TIP When the Invalid Configuration Indicator appears, you can find what configuration setting is invalid by following the indicators like a trail of breadcrumbs. Click the Graphic Symbol to call up the Faceplate. The Invalid Configuration indicator will appear next to the appropriate tab at the top of the Faceplate to guide you in finding the configuration error. Once you navigate to the tab, the misconfigured item will be flagged with this indicator or appear in a magenta box.
52
HMI Reference
Chapter 4
For the Variable Speed Drive Instruction, the Invalid Configuration Indicator appears under the following conditions: The Fail to Start check time, Fail to Stop check time or Fault Reset Output pulse time is set to a value less than zero or greater than 2,147,483 seconds. The feedback Simulation time is set to a value less than zero or greater than 2,147,483 seconds. The configured Scaled Minimum and Scaled Maximum have the same value, or the Raw minimum and Raw maximum have the save value, for the Speed Reference scaling, Speed Feedback scaling, Input Datalink scaling (if used) or Output Datalink scaling (if used). The configured Output Datalink Maximum clamp value is less than or equal to the Minimum Output Datalink clamp value (if used). The configured Maximum Speed Reference clamp value is less than or equal to the Minimum Speed Reference clamp value. The configured Minimum Speed Reference clamp value is less than zero. An Alarm Severity is set to a value other than 1 (information), 2 (warning), 3 (exception) or 4 (fault).
TIP When the Maintenance Bypass Indicator appears, you can find what condition was bypassed by following the indicators like a trail of breadcrumbs. Click the Graphic Symbol to call up the Faceplate. The Maintenance Bypass Indicator will appear next to the appropriate tab at the top of the Faceplate to guide you in finding the bypass. Once you navigate to the tab, the bypassed item will be flagged with this indicator. For the Variable Speed Drive Instruction, the Maintenance Bypass Indicator appears under the following condition: Bypassable Interlocks and Permissives have been bypassed. The drive is configured to have run feedback (on the Engineering tab of the Faceplate), but the run feedback is not being used (selection on the Maintenance tab of the Faceplate).
53
Chapter 4
HMI Reference
Mode Indicators
One of these symbols appears to the right of the speed indicator to show the Mode of the Variable Speed Drive Instruction: TIP The Mode indicator may not appear if the instruction is in its default mode.
Graphic Symbol Description No Mode: the instruction is scanned false and is out of service The outputs are held OFF and Alarms are not updated The drive is in Hand (local) Mode The drive is in Maintenance Mode The drive is in Override Mode The instruction is in Program Mode The drive is in Operator Mode The drive has been disabled
TIP The Mode indicator may not appear if the instruction is in its default mode.
54
HMI Reference
Chapter 4
Alarm Indicators
One of these symbols appears to the left of the Label to indicate the described alarm condition. The alarm border and label background blink if Acknowledgement of an alarm condition is required.
Symbol Description
Black I in white box with black border White bell, border, and text background Blue border and text background Yellow rectangle with exclamation point (!) Yellow border and text background Orange triangle with exclamation point (!) Red border and text background Orange triangle with exclamation point (!)
Alarm Inhibit: an alarm is Inhibited by the Program, Disabled by Maintenance or Suppressed by the Operator. Return to Normal (no Alarm condition), but a previous Alarm has not been acknowledged
Magenta border and text background Fault Severity Alarm Red circle with two exclamation points (!!) No symbol or border displayed, text is on normal (light gray) background, not blinking
No Alarm or Alarm Inhibit condition, and all Alarms are Acknowledged
55
Chapter 4
HMI Reference
Enter the tag(s) in the Value column as specified in the Descriptioncolumn. Note: Values which are marked (Optional) may be left blank.
Faceplate
The Variable Speed Drive Faceplate consists of six tab pages: The Operator tab is displayed when the Faceplate is initially called up. Click the appropriate icon at the top of the Faceplate to access a specific tab.
Maintenance Trends Alarms Help
Operator
Exit
Engineering
Alarm Configuration
The Faceplate provides the means for Operators, Maintenance, Engineers and others to interact with the P_VSD Instruction instance, including viewing its Status and Values and manipulating it through its Commands and Settings. When a given input is restricted via FactoryTalk View security, the required user Security Code letter is shown in the tables that follow.
56
HMI Reference
Chapter 4
Operator Tab
Reset Acknowledge All Alarms Command Buttons Mode Indicator Operator Mode Unlock and Lock Command Buttons Drive Start and Stop Command Buttons Drive State Indicator Drive Jog Command Button Interlock and Permissive Indicators and Navigation Buttons
Runtime Navigation Button Drive Ready Indicator Direction Control Command Buttons
The Operator tab shows the following information: The current mode (Program, Operator, Override, Maintenance, or Hand) Requested Mode Indicator (Only appears if the Operator or Program Mode has been superseded by another mode) The Drive State (Stopping, Stopped, Starting, Running, Disable, or I/O Fault) The Drive Motion State (Accelerating, Decelerating, or At Speed) The Drive Ready Indicator (Drive Ready, Drive Not Ready, or Drive Faulted)
Publication SYSLIB-RM016C-EN-E - October 2011 57
Chapter 4
HMI Reference
Actual Speed Actual Direction (appears only if the drive is configured Can Run Reverse) Requested Speed Requested Direction (appears only if the drive is configured Can Run Reverse) Interlock and Permissive States Input Datalink Value (appears on if the drive is configured to provide an Input Datalink) Output Datalink Setpoint (appears on if the drive is configured to provide an Output Datalink) I/O Communication Status (Comm or I/O Fault) Alarm indicators appear on the Operator tab when the corresponding alarm occurs.
Alarm State Fail to Start Fail to Stop Interlock trip I/O Fault Drive Fault Location Over the Start button Over the Stop button To the right of the interlock indicator To the right of the communication status To the right of the Drive Ready Indicator
One of these symbols appears to indicate the described alarm condition. The alarm bell symbol blinks if Acknowledgement of an alarm condition is required.
Graphic Symbol Alarm Status In Alarm (Active Alarm) In Alarm and Acknowledged
Out of Alarm but Not Acknowledged Alarm Suppressed (by Operator) (Alarm is logged but not displayed) Alarm Disabled (by Maintenance)
58
HMI Reference
Chapter 4
Code B
Code F
Code A Available in Operator or Maintenance Mode. Code A Available in Operator or Maintenance Mode. Code A Available in Operator or Maintenance Mode if drive is configured to allow jog. Code A Available in Operator or Maintenance Mode if drive is configured to allow reversing. Code A Available in Operator or Maintenance Mode if drive is configured to allow reversing. N/A
Click to open Interlocks Faceplate (see Cfg_HasIntlkObj) Click to open Forward Permissives Faceplate (see Cfg_HasFwdPermObj) Click to open Reverse Permissives Faceplate (see Cfg_HasRevPermObj) Speed ReferenceClamped to Min/Max Indicator This indicator appears when the signal is clamped within the limit. This indicator appears when the drive is at target speed.
N/A
N/A
N/A
N/A
59
Chapter 4
HMI Reference
Button/Field
Action This indicator appears when the drive is accelerating. This indicator appears when the drive is at decelerating.
N/A
N/A Click to open Restart Inhibit Faceplate (see Cfg_HasResInhObj) Click to open Run Time Faceplate (see Cfg_HasRunTimeObj) Operator Speed Reference Setting Data Entry N/A
Enter the Speed Reference for use Code A in Operator or Maintenance Mode. This entry is available in all modes if Bumpless Program/Operator Transition is not selected on the on screen. Enter the Output Datalink Setting Code A for use in Operator or Maintenance Mode. This entry is available in all modes if Bumpless Program/Operator Transition is not selected on the configuration screen. The Output Datalink must be configured as enabled on the Engineering Tab for this field to be visible. The use of this entry is determined by drive configuration and/or by the code which uses the Out_Datalink parameter of this instruction.
Refer to the Operating Modes section in the Overview (Chapter 1) for more information on modes. The Operator tab has buttons to open the Interlock and Permissive Faceplates if the drive is configured to use the P_Intlk interlock object or the P_Perm permissive object. The buttons appear behind the interlock and permissive indicators. Refer to the Overview (Chapter 1) for more information on interlocks and permissives. See also:
60
HMI Reference
Chapter 4
Process Add-On Instructions and Graphics: Permissives (P_Perm) Reference Manual, SYSLIB-RM007C-EN-E Process Add-On Instructions and Graphics: Interlock (P_Intlk) Reference Manual, SYSLIB-RM004C-EN-E Process Add-On Instructions and Graphics: Restart Inhibit (P_ResInh) Reference Manual, SYSLIB-RM009B-EN-E Process Add-On Instructions and Graphics: Run Time (P_RunTime) Reference Manual, SYSLIB-RM010B-EN-E When the P_VSD instruction does not have associated Restart Inhibit (P_ResInh) Run Time (P_RunTime), Permissive (P_Perm) or Interlock (P_Intlk) instructions, the Restart Inhibit and Run Time buttons are not displayed, and the Permissive and Interlock buttons revert to indicators only. If the drive is configured to not have jog capability, not allow reversing, not have an Input Datalink or not have an Output Datalink, the corresponding features are not displayed.
61
Chapter 4
HMI Reference
Alarms Tab
The Alarms tab displays each alarm for the P_VSD Instruction.
If an alarm is active, the panel behind the alarm will change color to match the severity of the alarm. The color of the bell icon at the top of the Faceplate shows the highest active alarms severity, and the icon blinks if any alarm is unacknowledged.
62
HMI Reference
Chapter 4
Color Magenta Red Yellow Blue White (bell icon) Background (Light Gray)
Definition Fault Exception Warning Information All alarms have cleared, but one or more alarms are unacknowledged No alarm
Code F
Each Alarm Acknowledge button is enabled if the corresponding Alarm requires acknowledgement. The Reset and Acknowledge All Alarms button is enabled if any alarm requires reset or acknowledgement. Refer to the Process Add-On Instructions and Graphics: Alarm (P_Alarm) Reference Manual, publication SYSLIB-RM002, for more information.
63
Chapter 4
HMI Reference
Maintenance Tab
The Maintenance tab is divided into two pages.
Maintenance Tab Page Selection Mode Indicator Requested Modes Indicator Maintenance Mode Acquire and Release Command Buttons Drive Enable and Disable Command Buttons
Maintenance Tab Page 1 shows the following information: The current Mode (Program, Operator, Override, Maintenance, or Hand) Requested Modes Indicator This display highlights all of the modes that have been requested. The left-most highlighted mode is the active mode. Whether the motor is enabled or disabled Interlock and Permissive Bypassed/Enabled Indicator
64 Publication SYSLIB-RM016C-EN-E - October 2011
HMI Reference
Chapter 4
Code C
Code C
Code C
Click to enable checking of all interlocks and permissives Click to bypass checking of bypassable interlocks and permissives Bypass Interlocks and Permissives in Override Mode Check this box to have the bypassable interlocks and permissives bypassed in Override Mode.
Code H
Code H
Code H
Code C Check this box to have the instruction use the run feedback to check for motor fail to start or fail to stop. Code C Check this box to have Program Settings such as Speed Reference track Operator Settings in Operator Mode, and have Operator Settings track Program Settings in Program Mode. Check this box to have the Program and Operator Speed Reference track the Override Speed Reference in Override Mode or the actual speed in Hand Mode. Code C
65
Chapter 4
HMI Reference
66
HMI Reference
Chapter 4
Enter the amount of time to allow Code D for the drives run feedback to confirm the drive has started before raising a Fail to Start alarm Enter the amount of time to allow for the drives run feedback to confirm the drive has stopped before raising a Fail to Stop alarm Enter the maximum time (in seconds) for which the Drive may be jogged using OCmd_Jog. IMPORTANT This value is used to stop drive jogging in the case where HMI communication is lost during a jog. Code D
Code D
Code D Enter the clamping limits for the speed reference. If a speed reference outside this range is entered, the speed is clamped at these limits and Sts_SpeedLimited is asserted. Code D
Output Datalink Limits (Minimum Enter the clamping limits for the and Maximum) output datalink parameter. If an output datalink value outside this range is entered, the value is clamped at these limits.
Refer to the Operating Modes section in the Overview (Chapter 1) for more information on Modes. Refer to the Overview (Chapter 1) for more information on interlocks and permissives.
67
Chapter 4
HMI Reference
Engineering Tab
The Engineering tab is divided into five pages.
Engineering Tab Page 1 shows the following information: This tab is used to set the Speed Reference (output) scaling, from user Engineering Units used on the faceplate (typically Hz, RPM or percent) to Raw Units (counts) sent to the drive, and to set the Speed Feedback (input) scaling, from Raw Units as received from the drive (counts) to Engineering Units for display (typically Hz, RPM or Percent).
68
HMI Reference
Chapter 4
For example, with the PowerFlex 70 family of drives, 32767 counts represents the speed in the Maximum Frequency (MaxFreq) Parameter. For a drive before tuning, this is often 130 Hz. In this case, 32767 * 60.0 / 130.0 = 15131 would represent 60 Hz (100 percent in the figure above). Check the manual for your drive to determine what count sent to the drive corresponds to your maximum speed reference, and what count received from the drive corresponds to your maximum speed feedback.
Code E
Code E
Code E
Code E
Code E
Code E
Code E
69
Chapter 4
HMI Reference
Action Enter the raw output count that corresponds to the maximum speed reference sent to the drive. Enter the raw output count that corresponds to the minimum speed reference sent to the drive. (This value is usually zero.) Select the radio button that corresponds to how the speed feedback for the drive is to be determined from the speed reference when the drive is being simulated (Inp_Sim = 1) Select the left radio button to copy the speed reference in engineering units to the speed feedback. (The simulated feedback is ramped to act like a drive accelerating or decelerating.) Use this if the speed reference and speed feedback use the same scaling parameters Select the middle radio button to scale the simulated feedback from the speed reference engineering unit range to the speed feedback engineering unit range. Use this setting if the speed reference and speed feedback have different engineering ranges (e.g., Percent for reference and Hz for feedback), but the maximum reference (e.g., 100%) corresponds to the maximum feedback (e.g., 3600 RPM). The screenshot above shows this example.
Code E
None
70
HMI Reference
Chapter 4
Action
Security Required
Select the right radio button to Code E copy the raw reference from the raw output to the raw input to generate the simulated speed feedback. Use this setting if the drive uses the same raw units for input and output, but the engineering units use different parts of the raw range. For example, a PowerFlex 70 may be set up to use 0-15131 = 0 to 100% for reference and 0-32767 = 0 to 130 Hz for feedback. But when the drive is running at 100% = 60 Hz, the input and output will both be 15131.
71
Chapter 4
HMI Reference
Code E
72
HMI Reference
Chapter 4
Action
Security Required
Check this box if the drive provides Code E a run feedback signal. This enables feedback checking for Fail to Start and Fail to Stop. Check this box to h the have P_VSD Instruction clears Program Commands (PCmd_) as soon as they are received (default). See Edge and Level in the Preface for more information. Check this box to allow the Operator Start Slow, Start Fast, or Stop command to reset any previous faults (I/O Fault, Fail to Start, Fail to Stop, Interlock Trip), then start or stop the motor. Uncheck this box to only reset fault using the Reset command. Code E
Code E
When this checkbox is checked, the Jog command button is visible on the Operator Tab and the drive can be jogged from the Faceplate When this checkbox is checked, forward and reverse direction command buttons are visible on the Operator Tab and the drive can be commanded to run forward or reverse.
Code E
Code E
This popup allows the user to select the default mode for the object by selecting a radio button. The radio buttons require security code E.
73
Chapter 4
HMI Reference
74
HMI Reference
Chapter 4
Code E
Code E
Check this checkbox if a P_ResInh Code E Instruction is connected. The button to call up the Restart Inhibit Faceplate becomes visible. Check this checkbox if a P_RunTime Instruction is connected. The button to call up the Run Time and Starts (hour meter) Faceplate becomes visible. Code E
75
Chapter 4
HMI Reference
Action Check this box to stop the drive if an I/O Fault is detected. Uncheck this box to only show the I/O Fault Status/Alarm and not stop the drive if an I/O Fault is detected.
When the bit is: ON and a motor fail to start is detected, the motor is stopped. A reset is required before another start can be attempted. If the bit is OFF and a motor fail to start is detected, the instruction only sets the Sts_FailToStart status (and the Alm_FailToStart alarm, if so configured). The outputs are not changed, so the instruction continues to start the motor.
Code E
The drive always stops on an Interlock Trip. This item cannot be unchecked. It is displayed as a reminder that the Interlock Trip function always stops the drive.
N/A
76
HMI Reference
Chapter 4
77
Chapter 4
HMI Reference
The following table lists the functions on the Engineering Tab Page 4:
Checkbox / Field Speed Reference - Operator keeps control in Program Mode Action Check this box to keep control of the drive Speed Reference with the Operator, even if the instruction is in Program Mode. Uncheck this box to have control of the drive Speed Reference follow the Instruction Mode. Speed Reference - Program keeps control in Operator Mode Check this box to keep control of the drive Speed Reference with the Program, even if the instruction is in Operator Mode. Uncheck this box to have control of the drive Speed Reference follow the Instruction Mode. Start & Stop Commands Operator keeps control in Program Mode Check this box to keep the drive Start, Stop, and Jog (if used) Commands with the Operator, even if the instruction is in Program Mode. Uncheck this box to have control of the drive Start, Stop, and Jog, follow Instruction Mode. Start & Stop Commands Program keeps control in Operator Mode Code E Check this box to keep control of the drive Start and Stop Commands with the Program, even if the instruction is in Operator Mode. (Note: the Program cannot Jog the drive, even if Jogging is enabled.) Uncheck this box to have control of the drive Start, Stop, and Jog, follow Instruction Mode. Forward & Reverse - Operator keeps control in Program Mode Check this box to keep control of the drive Forward and Reverse Commands, if used, with the Operator, even if the instruction is in Program Mode. Uncheck this box to have control of the drive Forward and Reverse Commands follow the Instruction Mode. Code E Code E Code E Security Required Code E
78
HMI Reference
Chapter 4
Checkbox / Field Forward & Reverse - Program keeps control in Operator Mode
Action Check this box to keep control of the drive Forward and Reverse Commands (if used) with the Program, even if the instruction is in Operator Mode. Uncheck this box to have control of the of the drive Forward and Reverse Commands follow the Instruction Mode.
Check this box to keep control of the Output Datalink Setting (if used) with the Operator, even if the instruction is in Program Mode. Uncheck this box to have control of the Output Datalink Setting follow the Instruction Mode.
Code E
Code E Output Datalink - Operator keeps Check this box to keep control of control in Program Mode the Output Datalink Setting (if used) with the Program, even if the instruction is in Operator Mode. Uncheck this box to have control of the Output Datalink Setting follow the Instruction Mode.
79
Chapter 4
HMI Reference
80
HMI Reference
Chapter 4
The following table lists the functions on the Engineering Tab Page 5:
Checkbox / Field Drive Provides an Input Datalink Action Check this box if Inp_Datalink is used. This makes the Input Datalink configuration and operation functions visible. Security Required Code E
Code E Configure the minimum and maximum scaling values for the Input Datalink in Raw (from the drive) Units and Engineering Units, and enter the text to display for the Input Datalinks label and units of measure. Check this box if Out_Datalink is used. This makes the Output Datalink configuration and operation functions visible. Configure the minimum and maximum scaling values for the Output Datalink in Engineering Units and in Raw (to the drive) Units, and enter the text to display for the Output Datalinks label and units of measure. Code E
Code E
81
Chapter 4
HMI Reference
Trends Tab
The Trends tab contains a trend of the Speed Reference (cyan) and Speed feedback (green).
82
HMI Reference
Chapter 4
The Alarm Configuration tab contains configuration related to the alarms for the device.
83
Chapter 4
HMI Reference
The following table shows the functions for the Alarm Configuration tab.
Check Box/Field Alarm Acknowledge Required Action The alarm exists for the device. Require acknowledgement of the alarm. IMPORTANT If using FTView Alarm and Events, configure its Alarm Tag for Acknowledge Required. The controller handles acknowledgement within this instruction. Reset Required Require a reset to clear the alarm status. There is a single alarm reset that resets all of the alarms for the device. IMPORTANT If using FTView Alarm and Events, DO NOT check the Latched checkbox as the controller handles the alarm reset within this instruction. Severity Configure the severity level of the alarm: 1 = Information 2 = Warning 3 = Exception 4 = Fault Code E Code E Security Required Code E Code E
Minimum On Time
When an Alarm occurs, the Alarm output Code D will be held on for at least this amount of time (sec). If set to 5 seconds or less, the Alarm output will be held on for at least 5 seconds to ensure it is seen by polling. Set this time higher if you want an Alarm to be held in the Alarm state (and on the Alarm summary) longer. This will keep it visible to the Operator, or keep the Alarm from clearing and being set again (for an intermittent condition) until the Operator has had time to perform any Alarm-related actions. Note: If the alarm is configured with Reset Required (Cfg_ResetReqd = 1), the operator can reset the alarm before this time expires if the input condition has returned to normal.
84
HMI Reference
Chapter 4
85
Chapter 4
HMI Reference
Notes:
86
Installation Assistance
If you experience a problem within the first 24 hours of installation, review the information that is contained in this manual. You can contact Customer Support for initial help in getting your product up and running.
United States or Canada Outside United States or Canada 1.440.646.3434 Use the Worldwide Locator at http://www.rockwellautomation.com/support/americas/phone_en.html, or contact your local Rockwell Automation representative.
Documentation Feedback
Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this document, complete this form, publication RA-DU002, available at http://www.rockwellautomation.com/literature/.
Rockwell Otomasyon Ticaret A.., Kar Plaza Merkezi E Blok Kat:6 34752 erenky, stanbul, Tel: +90 (216) 5698400