Allen-Bradley 1336 FORCE TM ControlNet TM Firmware Rev 1.02 Compatible with ControlNet Version 1.
Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. “Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls” (Publication SGI-1.1) describes some important differences between solid state equipment and hard–wired electromechanical devices.
Table of Contents Preface Who Should Use this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . What Is the ControlNet Adapter Board . . . . . . . . . . . . . . . . . . . . . . Purpose of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contents of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . Terms and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . .
ii Table of Contents Scheduled Data Transfer Chapter 3 Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding ControlNet Communications . . . . . . . . . . . . . . . . . . Transferring Data Using Discrete Data Transfer . . . . . . . . . . . . . . . Discrete PLC Programming . . . . . . . . . . . . . . . . . . . . . . . . . Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Discrete I/O Program Example . . . . . . . . . .
Table of Contents Number of Trends Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maximum Trend Size Available . . . . . . . . . . . . . . . . . . . . . . . . . . . Trend Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trend Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setup Data Full . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . All Info . . . . . . . . . . . . . . . . . . . . . .
iv Table of Contents Primary Channel Status D8, D10, and D12 Redundant Channel Status D13, D14, and D15 . . . . . . . . . . . Fault Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Faults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Communication Fault Reporting and Handling . . . . . . . . . . . . . . . . Fault Code Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fault Displays . . . . . . . . .
Table of Contents v This Page Intentionally Blank Publication 1336 FORCE–5.
Read this preface to familiarize yourself with this manual. This preface covers the following topics: • who should use this manual • an overview of the ControlNet Adapter Board • the purpose of this manual • terms and abbreviations • conventions used in this manual • Allen-Bradley support Who Should Use this Manual Use this manual if you are responsible for installing, wiring, starting up, programming, or troubleshooting control systems that use the ControlNet Adapter Board.
P–2 Preface • trending capabilities as a diagnostic tool to allow you to capture data values for a parameter • a 32-event fault and warning queue Purpose of this Manual This manual: • provides planning, installation, and wiring information for the ControlNet Adapter Board • explains the procedures you need to mount and configure your CNA Board • describes the available parameters and block messaging instructions • provides information to help you troubleshoot your CNA Board Contents of this Manual Thi
Preface ! P–3 ATTENTION: This board contains ESD (electrostatic discharge) sensitive parts and assemblies. Static control precautions are required when installing, testing, servicing, or repairing this assembly. Component damage may result if you do not follow ESD control precautions. If you are not familiar with static control procedures, refer to Guarding Against Electrostatic Damage, Allen-Bradley Publication 8000-4.5.2, or any other applicable ESD protection handbook.
P–4 Preface Terms and Abbreviations The following terms and abbreviations are specific to this product. For a complete listing of Allen-Bradley terminology, refer to the Allen-Bradley Industrial Automation Glossary. This term: Has the following definition: CNA Board ControlNet Adapter Board BRAM See Non-volatile memory. Configuration parameter A configuration parameter is a sink parameter whose value may be changed while the drive is in operation.
Preface This term: P–5 Has the following definition: A link is a software connection between a linkable sink parameter and a source parameter. You can use links to transfer data from the source parameter to a linkable sink parameter. Your 1336 FORCE user manual provides a list of linkable sink parameters. The ControlNet Adapter Board allows up to 50 links in addition to 4 analog output links. You can only program links when the drive is not running.
P–6 Preface This term: Has the following definition: Per–unit numbering Per-unit numbering is a numbering system that defines a specific numeric value as representing 100% of a particular quantity being measured. The number 4096 is used in many places in the drive to represent one per unit. Sink parameters (Read and Write parameters) Sink parameters accept data from other parameters. The drive then uses this data to perform the desired functions.
Preface Allen-Bradley Support P–7 Allen-Bradley offers support services worldwide, with over 75 Sales/Support Offices, 512 authorized Distributors and 260 authorized Systems Integrators located throughout the United States alone, plus Allen-Bradley representatives in every major country in the world.
P–8 Preface This Page Intentionally Blank Publication 1336 FORCE–5.
Chapter 1 Installing and Wiring Your ControlNet Adapter Board Chapter Objectives Chapter 1 provides information so that you can: • mount the ControlNet Adapter Board • configure and connect the communications • configure and set up the discrete inputs and analog I/O Important: The installation and wiring information in this manual is specific to the ControlNet Adapter Board.
1–2 Installing and Wiring Your ControlNet Adapter Board Mounting the ControlNet Adapter Board To mount your ControlNet Adapter Board on to your 1336 FORCE, you need to: ! ATTENTION: To avoid a shock hazard, assure that all power to the drive has been removed before proceeding. 1. Place the CNA Board over the keyed mounting slots. 2. Slide the board up into the main control board connector J1. 3.
Installing and Wiring Your ControlNet Adapter Board Setting Your Input Voltage To select your input voltage, you need to set the discrete I/O jumpers. 24V V 120 ! ATTENTION: To avoid damaging the CNA Board, you must set all discrete I/O jumpers to the same input voltage applied to the ControlNet Adapter Board. The voltage must be either 24V DC or 120V AC.
1–4 Installing and Wiring Your ControlNet Adapter Board Discrete I/O Terminal block TB20 provides the discrete I/O capabilities. 10 Discrete Outputs TB20 1 Fault outputs from the 1336 FORCE are supplied at terminal block TB20 on the ControlNet Adapter Board. Fault outputs provide warning or fault signals based on drive status. FAULT NO (10) FAULT COM (9) FAULT NC (8) (7) INPUT COM (6) (5) EXT FAULT N.C. (4) NORM STOP N.C. (3) MOTOR THERMO N.C. (2) DRIVE ENABLE N.O.
Installing and Wiring Your ControlNet Adapter Board 1–5 The following are the signals that may be used: This signal: DRIVE ENABLE MOTOR THERMO NORM STOP EXT FAULT Has the following meaning: A drive enable signal must be present before the drive will acknowledge a start command. If LED D11 drive enable on the CNA Board is illuminated, the drive has received an enable signal allowing drive logic to accept a start command.
1–6 Installing and Wiring Your ControlNet Adapter Board Analog I/O Connections You can access the analog I/O connections at terminal block TB21. There are four analog inputs and four analog outputs. Each of the analog I/O parameter have scale and offset parameters. The analog inputs can be linked to any linkable sink parameter, and the analog outputs can receive information from any parameter in the drive. The drive increments the analog I/O every two milliseconds.
Installing and Wiring Your ControlNet Adapter Board 1–7 The typical analog input connections for bidirectional operation can be shown as follows: Forward Reverse R TB21 Reverse Relay – 10V DC (POWER SUPPLY) 19 REVERSE COM (POWER SUPPLY COMMON) 18 + 10V DC (POWER SUPPLY) 17 FORWARD REFERENCE POT 2.
1–8 Installing and Wiring Your ControlNet Adapter Board Determining Your Communications Configuration The CNA Board provides a single ControlNet channel with a redundant connection available. You can use the DIP switch U3 to configure the primary and redundant channel node address. " Fiber Optic Cable Installation Chapter 2, Starting Up, provides information for setting the ControlNet Node Address using DIP switch U3.
Installing and Wiring Your ControlNet Adapter Board 1–9 4. On some applications, it may be necessary to provide some form of cable support after removing the strain relief. If your application involves a long cable droop, or a heavy unsupported wire bundle, it is recommended you zip tie the fiber optic cable at a point that will prevent the weight of the cable from being solely supported by the plug in connectors. 5. If the cable is kinked or nicked during installation, it MUST be replaced.
1–10 Installing and Wiring Your ControlNet Adapter Board This Page Intentionally Blank Publication 1336 FORCE–5.
Installing and Wiring Your ControlNet Adapter Board 1–11 Publication 1336 FORCE–5.
Chapter 2 Starting Up Chapter Objectives Chapter 2 provides the following information: • setting the DIP switch to configure the Primary and Redundant channels • setting up the analog I/O • a description of the SCANport capabilities • a description of the pre-configured links Setting the DIP Switches The ControlNet Adapter Board contains four address switches . Only switch U3 is used on the CNA board to set the Node Address. Switches U2, U4 and U5 are NOT used in this application.
2–2 Starting Up Switch settings for Node Address (switch U6): Switch positions 2-8 determine the node address of the CNA adapter. Refer to Table 2.A for details. Node Address position 1 is reserved for the PLC. Table 2.A Switch settings for Node Address (U3 ) *Reserved Publication 1336 FORCE–5.
Starting Up 2–3 Table 2.A Switch settings for Node Address (U3 ) cont.
2–4 Starting Up Setting Up the Analog I/O Before you can transfer data between the ControlNet Adapter Board and the analog I/O, you need to do the following: 1. Hard wire the analog I/O to the CNA Board terminals. 2. Set up the analog input and output configuration parameters in the drive. 3. Create any user links, if appropriate. " Note: The ControlNet Adapter Board has been pre-configured for your convenience. The pre-configured links are listed later in Figure 2.4.
Starting Up 2–5 Use the set up parameters to program the ControlNet Adapter Board functions. The following parameters are used for set up: Parameter number: Parameter name: 392, 394, 396, 398 Analog Input Offset 393, 395, 397, 399 Analog Input Scale 400, 402, 404, 406 Analog Output Offset 401, 403, 405, 407 Analog Output Scale These parameters determine the: Offset applied to the raw Analog Input values before the scale factor is applied. Scale factor or gain for Analog Input values.
2–6 Starting Up Understanding the Scale and Offset Parameters for Input Analog Input 1 and Analog Input 2 are used in explaining the scale and offset parameters. At Analog Input 1, between TB21 terminals 9 and 10, a potentiometer with a range of ±10V DC has been connected. Analog Input 1 has been linked to Velocity Reference (parameter 101) in the drive, which gives the potentiometer control of the external velocity reference.
Starting Up 2–7 As shown in Figure 2.2, the offset voltage adds the corresponding digital value to the range. In this case, an offset of –5 volts adds a digital value of –1024 to the range. This causes 0 volts on the potentiometer to register as –1024 digital internal to the drive and 10 volts on the potentiometer will be +1024 to the drive.
2–8 Starting Up For the meter to indicate speed in both directions, you need to adjust the scale and offset parameters as shown in Figure 2.3. Working in the opposite direction as the analog inputs, apply the scale factor first. The drive sends a ±4096 digital value to indicate ±100% velocity feedback for a total digital range of 8192. The meter, having an analog range of 0 through 10V DC, requires a digital range of 2048. This is done by applying a scale factor of 0.25 (8192 × 0.25 = 2048).
Starting Up 2–9 Using the SCANport Capabilities To communicate with external devices such as terminals, the ControlNet Adapter Board uses the SCANport communications protocol. You can access the SCANport capabilities without doing any special configuration. However, if you plan to use SCANport, you can make some changes to the default configuration to customize the way SCANport works for you.
2–10 Starting Up Figure 2.4 ControlNet Adapter Board Configuration Example––Factory Default Links: PLC 1336 FORCE Output Image Table Group Number CNA BOARD 0 322 1 323 2 324 3 325 4 326 5 327 6 328 328 7 Drive Parameters CntlNet In 0 CntlNet In 1 367 ChA Logic Cmd In 101 Vel Ref 1 Hi Input Image Table Group Number 0 1 Status CntlNet Out 0 CntlNet Out 1 351 56 Logic Sts Lo 352 269 Filtered Vel Fdbk 2 353 3 4 354 355 5 356 6 357 7 358 Publication 1336 FORCE–5.
Chapter 3 Using Scheduled Discrete Data Transfer Chapter Objectives This chapter provides information that can help you understand and use ControlNet communications. This chapter covers the following topics: • understanding communications • transferring data using scheduled discrete data transfer Understanding ControlNet Communications When you use the ControlNet Adapter Board for ControlNet communications, the drive looks like a remote I/O chassis to a PLC.
3–2 Using Scheduled Discrete Data Transfer The following figure shows an example of the ControlNet Adapter Board communications. Notice that you can use the first module group number. PLC 1336 FORCE Output Image Table 0 322 1 323 2 3 324 325 4 326 5 6 327 328 7 329 Input Image Table Group Number Publication 1336 FORCE–5.
Using Scheduled Discrete Data Transfer 3–3 Discrete PLC Programming The following figure shows an application where the ControlNet Adapter Board has been set up for rack 2 and the PLC program is using the 16-bit words for groups 0 and 1 for data transfer with the 1336 FORCE. You should refer to this figure to help understand the following description.
3–4 Using Scheduled Discrete Data Transfer Information from the 1336 FORCE consists of parameter 56, Logic Status LOW, and parameter 146, Velocity Feedback. Based on the links shown, the 16-bit input word for group 0, rack 2 in the PLC controller is a 16-bit logic status word. The description for parameter 56 defines the bits in this 16-bit word.
Using Scheduled Discrete Data Transfer 3–5 Start Parameter 367 Bit 1 O:020 ( ) 1 Start B3:0 0000 1 Stop Parameter 367 Bit 0 O:020 ( ) 0 Stop B3:0 0001 2 Current Limit Stop B3:0 3 Ramp Disable Parameter 367 Bit 9 O:020 ( ) 11 Current Limit Stop B3:0 0002 3 Start B3:0 B3:0 1 5 0003 B3:0 6 B3:0 7 Fault Reset B3:0 0004 4 Start B3:0 0005 1 0006 Speed Ref Select A Parameter 367 Bit 12 O:020 ( ) 14 Speed Ref Select A Parameter 367 Bit 13 O:020 ( ) 15 Speed Ref Select C Parameter 367 Bit 14 O:020 (
3–6 Using Scheduled Discrete Data Transfer In this example, word 1 of integer file N10 stores the speed reference for the drive. The MOV block in rung 6 of the example PLC program transfers the 16 bit word N10:01 to word 2 of the output image table. Because word 2 of the output image table is sent to parameter 324, which in turn is linked to parameter 101, the 16-bit word N10:01 is the speed reference input to drive parameter 101.
Chapter 4 Using Unscheduled Messaging Chapter Objectives Chapter 4 provides the following information: • • • • ControlNet Features ControlNet features Emulated block transfer message structures ControlNet command set Emulated Block Transfer Message Structures You can configure either one or both channels for ControlNet communications. Configuration as a ControlNet device allows the drive to look like a station on the ControlNet link.
4–2 Using Unscheduled Messaging Message Instruction The message instruction is used to read and write a block of data to another station on the ControlNet link. The following is a description of the message instruction field data. Refer to the example program at the end of this chapter for a message instruction example. This function: Communication Command Specifies: Whether the MSG instruction performs a PLC5 TYPED READ to read data from the drive or a PLC 5 TYPED WRITE to write data to the drive.
Using Unscheduled Messaging ControlNet Command Set 4–3 The specific memory area emulated by the drive determines the specific request or action to be taken by the CNA board. These memory areas resemble PLC addresses.
4–4 Using Unscheduled Messaging Command: PLC TYPED READ (N30:0–493) PLC 5 TYPED READ (N40:0–63) PLC 5 TYPED WRITE (N40:0–63) PLC 5 TYPED READ (N50:0–499) for Trend 1 (N51:0–499) for Trend 2 (N52:0–499) for Trend 3 (N53:0–499) for Trend 4 PLC 5 TYPED READ (N70:0–499) for Trend 1 (N71:0–499) for Trend 2 (N72:0–499) for Trend 3 (N73:0–499) for Trend 4 Publication 1336 FORCE–5.18 ––March, 1999 Description: This request translates into a read parameter full message in the 1336 FORCE.
Using Unscheduled Messaging 4–5 The following examples show two rungs from a sample program for a PLC 5/40C15. Example 1 Rung 2:2 This rung will read parameters 100-109 when bit B3/0 is toggled from zero to one. The parameter information is stored in N20: 0-9 in the PLC. The drive ControlNet address is 15.
4–6 Using Unscheduled Messaging EXAMPLE 2 Rung 2:2 This rung will read parameters 100-109 on a continuous basis by using the Message Block enable bit to toggle the next message. The parameter information is stored in N20:0–9 in the PLC. The drive ControlNet address is 15.
Using Unscheduled Messaging Emulated Block Transfer 4–7 PLCs use discrete transfer to transfer data to and from the ControlNet Adapter Board during every rack scan. The ControlNet Adapter Board transfers this data to and from the SCANport device. The PLC’s use message blocks to perform emulated block transfer. The descriptions provided in this chapter contain the configurations necessary to set up the data files in the message transfer instructions.
4–8 Using Unscheduled Messaging Message Summary The following table summarizes the valid command code that is displayed in word 2 of the message transfer write header message. A complete description of the message transfer write header message is provided on the specified page.
Using Unscheduled Messaging Parameter Read Parameter Value Read 4–9 This message is sent by the ControlNet Adapter Board and reads the 16-bit parameter data value for the parameter number selected.
4–10 Using Unscheduled Messaging Parameter Value Read Example (continued) In this example, the value of parameter 20 was requested from a 1336 FORCE and a value of 4096 was returned. 4096 is the internal drive unit value for the Maximum Rated Voltage Parameter. This corresponds to a value of 100% drive rated volts in display units. Data Format 1 2 3 4 5 6 7 ➀ PLC MSG Write File N7:10 3 769 20 PLC MSG Read File ➀ ➀ N7:90 0 769 20 4096 ➀ Publication 1336 FORCE–5.
Using Unscheduled Messaging Parameter Read Continuous Parameter Value Read 4–11 The Continuous Parameter Value Read function reads a continuous list of parameters beginning with the starting parameter number. You define the number of parameters to be read.
4–12 Using Unscheduled Messaging Continuous Parameter Value Read Example (continued) In this example, 60 parameters were read from a 1336 FORCE, beginning with parameter 10. The values of these parameters are returned in the PMR data file, beginning at N7:94. The values are in drive units.
Using Unscheduled Messaging Parameter Read Scattered Parameter Value Read 4–13 The Scattered Parameter Value Read function reads a scattered list of parameters with each parameter you define. You must also define the number of parameters to be read.
4–14 Using Unscheduled Messaging Scattered Parameter Value Read Message Operation (continued) The Scattered Parameter Value Read function specified in the PMW reads a pre-defined group of parameter values, in any order, from the device. Word 3 of the PMW data file defines the number of parameters to be read. The parameters to be read and their order is defined starting with word 4. An unused word is left between each parameter request, so the PMR can respond with the parameter value as shown.
Using Unscheduled Messaging Parameter Read Parameter Read Full 4–15 The Parameter Read Full function provides the requesting remote I/O source with all known attributes for the parameters requested. This information includes the parameter’s current value; descriptor; multiply and divide value; base value; offset value; text string; file, group, and element reference; minimum value; maximum value; default value; and unit text string.
4–16 Using Unscheduled Messaging Parameter Read Full (continued) Drive Response –– PLC Message Read Parameter Text Character 12 Character 11 Parameter Text Character 14 Character 13 Parameter Text Character 16 Character 15 Data Word 15 Data Word 16 Data Word 17 File, Group, Element Data Word 18 Minimum Value Data Word 19 Maximum Value Data Word 20 Default Value Data Word 21 Unit Text Character 2 Character 1 Unit Text Character 4 Character 3 Data Word 22 Data Word 23 Message Operation
Using Unscheduled Messaging Parameter Read Full (continued) 4–17 This example shows the response message N7:90 through N7:112 in both binary and ASCII. Note the ASCII information beginning with N7:99. The parameter name characters return in reverse order for each word. N7:99 has the ASCII value of eV. To read this, invert the word to read Ve. The next word (space)l, inverted gives you l(space).
4–18 Using Unscheduled Messaging Parameter Write Parameter Value Write This message sent by the PLC Communications Adapter Board reads the 16-bit parameter data value for the parameter number selected.
Using Unscheduled Messaging Parameter Write Continuous Parameter Value Write 4–19 The Continuous Parameter Value Write function writes to a continuous list of parameters beginning with the starting parameter number.
4–20 Using Unscheduled Messaging Continuous Parameter Value Write Example (continued) In this example, eight 1336 FORCE parameter values were written to, starting with parameter 10. The eight parameter values are in device units. Because all of the parameter values were accepted, values of 0 were returned in the PMR status words. Data Format PLC MSG Write File PLC MSG Read File N7:10 Publication 1336 FORCE–5.
Using Unscheduled Messaging Parameter Write Scattered Parameter Value Write 4–21 The Scattered Parameter Value Write function writes to a list of parameters and returns the status of each parameter in its value location. Parameter numbers do not need to be in consecutive order.
4–22 Using Unscheduled Messaging Scattered Parameter Value Write Message Operation (continued) The Scattered Parameter Value Write function specified in the PMW writes data values to a defined group of parameters in any order. Word 3 of the PMW data file defines the number of parameters to be written to. The parameters to be written to, and their order is defined starting with word 4.
Using Unscheduled Messaging Fault Queue Fault Clear/Reset 4–23 The Fault Clear/Reset message activates one of several fault queue related functions shown in the message request.
4–24 Using Unscheduled Messaging Fault Clear/Reset Example (continued) In this example, a Fault Clear Request was sent to the drive through the block transfer. The PMR response indicated a successful clear by returning a value of 1792 in word 2, and a value of 0 in word 4. Data Format 1 2 3 1 PLC MSG Write File N7:10 4 -30976 0 PLC MSG Read File N7:30 0 1792 0 ➀ Publication 1336 FORCE–5.18 ––March, 1999 0 4 5 6 7 ➀ 0 This value varies depending on parameters and products.
Using Unscheduled Messaging Fault Queue Trip Fault Queue Number 4–25 The Trip Fault Queue Number message provides the fault queue number of the fault that caused the drive to trip.
4–26 Using Unscheduled Messaging Fault Queue Fault Entry Read Full The Fault Entry Read Full function reads the contents of the fault queue entry number specified. A message is returned that includes the fault text and fault code associated with the specified fault queue entry and the time stamp associated with the fault.
Using Unscheduled Messaging Fault Entry Read Full 4–27 Message Operation (continued) The Fault Queue Entry Read Full function specified in the PMW reads the contents of the fault queue for the input entry number specified in word 3 of the PMW message. The response returns the fault text which you can view as ASCII text. The text will have every two characters in reverse order and return a time stamp, indicating the day and time the fault occurred.
4–28 Using Unscheduled Messaging Warning Queue Warning Clear The Warning Clear message issues either a Clear Fault/Warning command or a Clear Warning Queue command to the drive.
Using Unscheduled Messaging Warning Clear 4–29 Example (continued) In this example, a Clear Fault/Warning request was sent to the drive by putting a value of 1 in word 4 of the PMW. Word 2 of the PMR indicated a successful clear by returning a value of 2048. Data Format 0 1 2 3 PLC MSG Write File N7:10 4 -30720 0 01 PLC MSG Read File N7:90 0 2048 0 1 4 5 6 7 8 Publication 1336 FORCE–5.
4–30 Using Unscheduled Messaging Warning Queue Warning Queue Read Full The Warning Queue Read Full function reads the contents of the specified warning queue entry number. A message is returned that includes the warning text and warning code associated with the specified warning queue entry and the time stamp associated with the fault.
Using Unscheduled Messaging Warning Queue Read Full 4–31 Drive Response –– PLC Message Read (continued) Clock Time Date Data Word 15 Day Clock Time Year Data Word 16 Month Message Operation The Warning Queue Entry Read Full function specified in the PMW reads the contents of the warning queue specified in word 3 of the PMW message. The response returns the warning text which can be shown as ASCII text.
4–32 Using Unscheduled Messaging EE Memory Request This message is sent by the PLC Communications Adapter Board to activate the BRAM functions detailed in the message request.
Using Unscheduled Messaging Save/Recall/Initialize 4–33 Example (continued) This example is requesting an EEPROM save. Data Format 0 1 2 3 ➀ ➀ 0 1 PLC MSG Write File N7:10 4 -31998 PLC MSG Read File N7:90 0 770 ➀ 4 5 6 7 8 ➀ 0 These values vary depending on parameters and products. Publication 1336 FORCE–5.
4–34 Using Unscheduled Messaging Link Read Link Parameter Read The Link Parameter Read message reads the source parameter number that is linked to the specified sink parameter.
Using Unscheduled Messaging Link Read Continuous Parameter Link Read 4–35 The Continuous Parameter Link Read message returns a list of up to 60 parameters that are linked to each drive parameter in a consecutive list.
4–36 Using Unscheduled Messaging Continuous Parameter Link Read Example (continued) A Continuous Parameter Link Read is requested for nine parameter links (word N7:2) beginning with parameter 359. The block transfer response returns the source parameters that are linked to parameters 359 through 367. In this example: • • • • Parameter 359 is linked to parameter 56. Parameter 360 is linked to parameter 143. Parameter 367 is linked to parameter 380. Parameters 361 through 366 are not linked.
Using Unscheduled Messaging Link Read Scattered Parameter Link Read 4–37 The Scattered Parameter Link Read message returns a list of up to 30 links in the source-to-sink order found in the drive. The links do not have to be in consecutive order.
4–38 Using Unscheduled Messaging Scattered Parameter Link Read (continued) The corresponding source parameters are returned through the PMR response. If an error has occurred in reading any of the links: • Word 2 of the PMR returns a value of -32763. • Bit 15 of the PMR word for the number of that link is set, making the value negative. Example In this example, a Scattered Parameter Link Read of four links was requested through the PMW.
Using Unscheduled Messaging Link Write Link Parameter Write 4–39 The Link Parameter Write message writes the source parameter link to the linkable sink parameter. This function writes only one link.
4–40 Using Unscheduled Messaging Link Write Continuous Parameter Link Write The Continuous Parameter Link Write message writes a list of up to 60 consecutive links to the drive, starting at the defined sink parameter.
Using Unscheduled Messaging Continuous Parameter Link Write 4–41 Example (continued) In this example, a group of four continuous links were sent to the drive, starting at parameter 119. Word 3 of the PMW header message defines a length of four links. Word 4 defines the starting link sink parameter 119. Words 5 through 8 list the source parameters that are linked to the four continuous sink parameters, parameters 119 through 122. The PMR message returns the status of the write request.
4–42 Using Unscheduled Messaging Link Write Scattered Parameter Link Write The Scattered Parameter Link Write function writes a scattered group of links to the drive.
Using Unscheduled Messaging Scattered Parameter Link Write (continued) 4–43 The links are then defined, followed by each sink’s corresponding source in the remainder of the header message. You can define up to 30 scattered links with this function. If an incorrect link is defined, the PMR response returns a negative value for the sink parameter, followed by a status or error code. If there is an error in the block transfer, word 2 of the PMR contains a value of -32763.
4–44 Using Unscheduled Messaging Link Write Parameter Link Clear The Parameter Link Clear message deletes all user–configured parameter links in the drive.
Using Unscheduled Messaging User Text String User Text String Read 4–45 This read–only message retrieves from the drive the user custom product name/location test string which identifies the product. The text string is 16 characters long.
4–46 Using Unscheduled Messaging User Text String Read (continued) If an error has occurred in the PMW, word 2 of the PMR returns a value of -32507. Example In this example, the PMW defined a User Text String Read request in word 2 of the PMW with a value of 261. The PMR responds by returning a value of 261 in word 2, indicating a successful read. In addition, it returned the user text string in data words 4 through 11 stored in the drive. The characters of each word are returned in reverse order.
Using Unscheduled Messaging User Text String User Text String Write 4–47 This is a write message that stores in the drive your custom product name/location text string which identifies the product. The text string is 16 characters long.
4–48 Using Unscheduled Messaging User Text String Write Example (continued) In this example, the PMW defined a text string of Press 8 Level 2 to be written to the drive. This information was entered in ASCII text, with the two characters of each word entered in opposite order. The PMR returned a value of 261 in word 2, indicating a successful write. In addition, it returned the text string in words 4 through 11.
Using Unscheduled Messaging Clock Data Real Time Clock Data Read 4–49 The Real Time Clock Data Read message is provided to allow the drive to read the specified real-time clock. The slave device can read the time in seconds, minutes, and hours as well as the day, date, month, and year.
4–50 Using Unscheduled Messaging Real Time Clock Data Read (continued) This field: Seconds Date Day Year Month Indicates: The seconds and hundreths of seconds. The date of the month in Hex. The day of the week, where 1 is Sunday and 7 is Saturday. The number of the year.1990 is referenced as 0. Therefore, the year 1995 would return a value of 5. The month of the year, where 1 is January and 12 is December.
Using Unscheduled Messaging Clock Data Real Time Clock Data Write 4–51 The Real Time Clock Data Write message is provided to allow the drive to write the specified real-time clock data. This allows you to write the new real-time clock seconds, minutes, and hours, as well as the day, date, month, and year.
4–52 Using Unscheduled Messaging Real Time Clock Data Write (continued) This field: Seconds Date Day Year Month Indicates: The seconds and tenths of milliseconds. The date of the month in ASCII. The day of the week, where 1 is Sunday and 7 is Saturday. The number of the year. 1990 is referenced as 0. Therefore, the year 1995 would return a value of 5. The month of the year, where 1 is January and 12 is December.
Using Unscheduled Messaging Run Time Accumulator Run Time Accumulator Data Read 4–53 The Run Time Accumulator Data Read message provides the drive with the accumulated time for running services. This information is in hours and is read only. This function is typically used as a maintenance feature.
4–54 Using Unscheduled Messaging Run Time Accumulator Data Read Example (continued) In this example, the PMW requested the accumulated running time of the drive. The PMR response returned a value of 41 in word 4, indicating a running time of 41 hours. This value can be monitored, and when a specified running time has accumulated, a maintenance down time can be scheduled. Data Format Publication 1336 FORCE–5.
Using Unscheduled Messaging Run Time Accumulator Clear Run Time Accumulator 4–55 The Clear Run Time Accumulator message provides a way of clearing the run time accumulator data stored in the drive.
4–56 Using Unscheduled Messaging Time Stamp Reference Time Stamp Data Read The Reference Time Stamp Data Read message reads the reference time stamp value from the drive.
Using Unscheduled Messaging Reference Time Stamp Data Read 4–57 If an error occurs in the PMW, a value of -29952 is returned in word 2 of the PMR response. (continued) Example In this example, a reference time stamp data read was requested through the PMW. Word 2 of the PMW defines this request with a decimal value of 2816 for the PLC command code. The PMR response indicates a successful request with a returned value of 2816 in PMR word 2. Words 4 through 7 then return the clock data.
4–58 Using Unscheduled Messaging Time Stamp Reference Time Stamp Data Write The Reference Time Stamp message is provided to allow the drive to write the specified real-time clock. This allows the drive to write a new reference stamp.
Using Unscheduled Messaging 4–59 Reference Time Stamp Data Write Example (continued) This example has defined the Reference Time Stamp as Friday, February 10, 1995. The Hour of 0 indicates a starting time of 10:00 am. You can then use this information to track scheduled maintenance down times or other information as desired.
4–60 Using Unscheduled Messaging Time Stamp Load Clock Info Reference Stamp The Load Clock Info Reference Stamp message loads the real-time clock data into the reference stamp.
Using Unscheduled Messaging Trend File Number of Trends Available 4–61 The Number of Trends Available function indicates how many trend files the drive supports.
4–62 Using Unscheduled Messaging Trend File Maximum Trend Size Available The Maximum Trend Size Available function allows you to determine the size of the trend buffer. This function always returns 500.
Using Unscheduled Messaging Trend File Trend Command 4–63 The Trend Command function allows you to send a disable trend, enable trend, or force trigger command to the drive for a specific trend operation.
4–64 Using Unscheduled Messaging Trend Command Example (continued) In this example, a disable trend command is sent for trend 4. Data Format Publication 1336 FORCE–5.
Using Unscheduled Messaging Trend File Trend Status 4–65 The Trend Status function allows you to read the status of the specified trend file.
4–66 Using Unscheduled Messaging Trend Status Example (continued) In this example, a Trend Status message was requested for Trend 2. The drive responded that Trend 2 is in the tripped trigger state. Data Format Publication 1336 FORCE–5.
Using Unscheduled Messaging Trend File Setup Data Full 4–67 The Setup Data Full function allows you to write the trend set up information in a single message. If the set up data write is successful, it will auto-start the trend.
4–68 Using Unscheduled Messaging Setup Data Full Message Operation (continued) You can use the Setup Data Full function to load the set up information for a trend file in a single message, instead of loading the individual parameters within the drive. The following are the valid trend numbers: This number: 4096 8192 12228 16384 Specifies that the command is to be sent for: Trend 1 Trend 2 Trend 3 Trend 4 Trend Status is ignored. Trend Sample Size is ignored.
Using Unscheduled Messaging Setup Data Full (continued) 4–69 Trend Output Parameter specifies the sink parameter number that the Trend Output parameter is linked to. Example In this example, a Trend 1 is set up to sample Velocity Feedback (parameter number 101). The trend triggers when Velocity Feedback is greater than 1750 rpm (an internal constant of 4096). When the trigger condition is true, 400 more samples are taken (at a rate of 12 milliseconds each) before the trend stops.
4–70 Using Unscheduled Messaging Trend File All Info The All Info function allows you to read the set up information for a trend file in a single message instead of reading the individual parameters within the drive. PLC Block Transfer Instruction Data PLC Message Write instruction length: PLC Message Read instruction length: 3 words 15 words Message Structure PLC Request –– PLC Message Write Drive Response –– PLC Message Read Publication 1336 FORCE–5.
Using Unscheduled Messaging All Info 4–71 Message Operation (continued) You can use the All Info function to read the set up information for a trend file in one message as opposed to the individual parameters within the drive. The following are the valid trend numbers: This number: 4096 8192 12228 16384 Specifies that the command is to be sent for: Trend 1 Trend 2 Trend 3 Trend 4 The following are the possible status values: This number: 1 2 3 4 Indicates that the trend is: Stopped. Running.
4–72 Using Unscheduled Messaging All Info (continued) If Comparison A Link is non-zero, the value specifies the source parameter that is linked to the trend operand. If Comparison A Link is zero, Operand X is specified by Comparison A Value. If Comparison B Value is non-zero, the value specifies a constant value to use as Operand Y. You need to specify the Comparison B Value in internal drive units. If Comparison B Value is zero, Operand Y is specified by Comparison B Link.
Using Unscheduled Messaging Trend File Trigger Time 4–73 The Trigger Time function allows you to read the trigger time for the specified trend file from the drive.
4–74 Using Unscheduled Messaging Trigger Time The time is based on a 24–hour clock. (continued) This field: Seconds Hour Minute Date Day Year Month Indicates: The seconds (high byte) and tenths of milliseconds (low byte). The seconds can be 0 through 59, and the tenths of milliseconds can be 0 through 99. The hour (high byte). Valid values are 0 through 23. The number of minutes passed the hour (low byte). Valid values are 0 through 59. The date of the month (high byte). Valid values are 1 through 31.
Using Unscheduled Messaging Trend File Run File Data 4–75 The Run File Data function allows you to read the run-time data buffer within the drive for the specified trend file.
4–76 Using Unscheduled Messaging Run File Data The following are the valid trend numbers: (continued) This number: 4096 8192 12228 16384 Specifies that the command is to be sent for: Trend 1 Trend 2 Trend 3 Trend 4 The offset specifies where in the buffer you want to start reading the 32 data points. For example, if you specify an offset of 64, the Run File Data function returns the 32 data samples starting from data sample 64.
Using Unscheduled Messaging Run File Data (continued) 4–77 Index indicates the index into the 500 word buffer where the last data point was written. Timestamp is updated when the last (500th) data point is written. The time stamp has the following format: This field: Ticks Seconds Minute Hour Indicates: The number of ticks. One tick equals two milliseconds. Valid values are 0 through 499. The number of seconds. Valid values are 0 through 59. The number of minutes past the hour.
4–78 Using Unscheduled Messaging Trend File Stored File Data The Stored File Data function allows you to read the data values in the stored data file buffer when the trigger condition occurs.
Using Unscheduled Messaging Stored File Data (continued) 4–79 The offset specifies where in the buffer you want to start reading the 32 data points. For example, if you specify an offset of 64, the Run File Data function returns the 32 data samples starting from data sample 64. If you request less than 32 trend samples, then the file data is padded with zeros. If you request data samples past the end of the buffer, then the file data is padded with zeros. This data is read from the triggered trend file.
4–80 Using Unscheduled Messaging Trend File Trend Parameter Definition The Trend Parameter Definition allows you to read the list of trend parameter numbers from the database. PLC Block Transfer Instruction Data PLC Message Write instruction length: PLC Message Read instruction length: 3 words 13 words Message Structure PLC Request –– PLC Message Write Drive Response –– PLC Message Read Publication 1336 FORCE–5.
Using Unscheduled Messaging Trend Parameter Definition 4–81 The following are the valid trend numbers: (continued) This number: 4096 8192 12228 16384 Specifies that the command is to be sent for: Trend 1 Trend 2 Trend 3 Trend 4 Example In this example, the parameter numbers for Trend 3 are read.
4–82 Using Unscheduled Messaging Trend File Trend Triggered Setup Parameter Values The Trend Triggered Setup Parameter Values function allows you to read the trend set up data for the stored data file.
Using Unscheduled Messaging 4–83 Trend Triggered Setup Parameter Values Message Operation (continued) You can use the Trend Triggered Setup Parameter Values function to read the list of trend set up data for the stored data file. The following are the valid trend numbers: This number: 4096 8192 12228 16384 Specifies that the command is to be sent for: Trend 1 Trend 2 Trend 3 Trend 4 The time is based on a 24–hour clock.
4–84 Using Unscheduled Messaging Trend Triggered Setup Parameter Values Example (continued) In this example, velocity feedback exceeds 1750 rpm (4096 in internal units) on October 17, 1995 at 2:28.33.17 pm. Data Format Publication 1336 FORCE–5.
Using Unscheduled Messaging 4–85 This Page Intentionally Blank Publication 1336 FORCE–5.
Chapter 5 Understanding the Resources of Your Drive Chapter Objectives Chapter 5 provides information about using the resources that are available with your drive. The following topics are covered in this chapter: • understanding the SCANport logic control and operation • understanding function blocks • using system resources Using the SCANport Capabilities You can make some changes to the default configuration to customize the way SCANport works for you.
5–2 Understanding the Resources of Your Drive The Logic Command provides information about what functions are currently executing.
Understanding the Resources of Your Drive 5–3 The channel is accessed through parameter 367 (ChA Logic Cmd In). This parameter has the same bit definitions as the Logic Command. Important: In the PLC controller, internal bit numbering is 0 through 15 decimal and I/O bit numbering is 0 through 17 octal. However, bit numbering in the drive parameters, including ChA Logic Cmd In, is 0 through 15 decimal. You should keep this in mind when working with the Logic Command.
5–4 Understanding the Resources of Your Drive The following figure shows the correlation between the output image table bits and the bits used by the Logic Command.
Understanding the Resources of Your Drive 5–5 This next figure shows the parameter interactions involved with the Logic Command.
5–6 Understanding the Resources of Your Drive " Note: When you apply power to the system, the default input speed reference is specified in SP Default Ref (parameter 416). You can change the value of SP Default Ref at any time, but the change does not take effect until the power is cycled. SP Default Ref may be set to external reference 1 or 2 or preset speeds 1, 2, 3, 4, or 5. To correctly cycle power, follow this sequence: 1. Remove power to the drive at the disconnect. 2.
Understanding the Resources of Your Drive 5–7 For each of these parameters, each bit represents a device: If this bit is set: 1 2 3 4 5 6 " Then, the owner is: SCANport device 1 SCANport device 2 SCANport device 3 SCANport device 4 SCANport device 5 ChA Logic Cmd In NOTE: Bit 0 is not used. Also, the SCANport device number is determined by the SCANport connection it is plugged into. Masking Control Functions You can also mask control functions.
5–8 Understanding the Resources of Your Drive " NOTE: Bit 0 is not used. Also, the SCANport device number is determined by the SCANport connection it is plugged into. If a bit is set to 0 for a mask parameter, the control function is disabled. If a bit is set to 1, the control function is enabled. There are three levels of masking control functions: Port Enable Local Direction Start Jog Reference Clear Fault Reset Drive The Port Enable mask can enable or disable all of the device’s control functions.
Understanding the Resources of Your Drive 5–9 ATTENTION: If you initiate a command to start motor rotation (command a start or jog) and then disconnect the programming device, the drive will not fault if you have the SCANport communications fault set to be ignored for that port. ! Viewing the SCANport Fault Status If a fault occurs while using SCANport, you can use parameters 442 and 443 to determine the port at which the fault was encountered.
5–10 Understanding the Resources of Your Drive The RS232/485 to SCANport, and DeviceNet to SCANport gateways are some of the devices that use the image. " Refer to the appropriate manual for your gateway (Bulletin 1203 Serial Communications Module, or the DeviceNet Communications Module manual). Setting Up the Analog I/O Parameters The ControlNet Adapter Board can transfer analog information over SCANport.
Understanding the Resources of Your Drive Understanding Function Blocks 5–11 At times, you may want to customize the way your drive operates. To help you with this task, function blocks have been included with the ControlNet Adapter Board. You can combine function blocks together to operate on almost any part of the drive functionality.
5–12 Understanding the Resources of Your Drive These function blocks are as follows: This function type: ABS BIN2DEC COMPHYST DEC2BIN DELAY DERIV DIVIDE EXOR2 FILTER 4AND 4OR FUNCTION INTEGRATOR LIMIT LNOT MINMAX MONOSTABLE MULTIPLEXER MULTIPLY NO-OP PI CTRL PULSE CNTR RATE LIMITER SCALE SR FF SUB T-FF 2ADD UP/DWN CNTR Publication 1336 FORCE–5.18 ––March, 1999 Is: An absolute value function block whose output is the positive value.
Understanding the Resources of Your Drive 5–13 In addition, each function block type also has parameters that are called I/O nodes associated with them. When you use a function block, the I/O nodes are created within the system. These I/O nodes are removed from the system when that function block is no longer in use. In all, the function block software can allow a total of 799 new node parameters in addition to the 493 linear parameters.
5–14 Understanding the Resources of Your Drive Using System Resources The following figure shows an example of a 1336 FORCE drive with a ControlNet Adapter Board. A function block control application is also used.
Understanding the Resources of Your Drive 5–15 This Page Intentionally Blank Publication 1336 FORCE–5.
Chapter 6 Parameters Chapter Objectives Chapter 6 provides information about the following: • BRAM functions • parameter definitions BRAM Functions BRAM, or Battery backed up Random Access Memory (also known as EEPROM), is memory that is retained when the power is removed from the system. User parameters, link fault information, reference stamp, process display information, and passwords are all stored in BRAM.
6–2 Parameters Parameter Listing The following table lists the parameters in numerical order. No. Name Page No.
Parameters No.
6–4 Parameters Parameter Files and Groups Parameters are divided into four files to help ease programming and operator access. The four files are: • • • • Startup file Communications I/O file Velocity Torque file Diagnostics file These files are divided into groups, and each parameter is an element in a specific group. Parameters may be used as elements in more than one group. You can also view the parameters in a linear mode. This allows you to view the entire parameter table in numerical order.
Parameters 6–5 File 1 – Startup➀ Drive Data Group Drive Tune Group Limits Group Language Sel 309 Autotun Diag Sel 256 Accel Time 125 Encoder PPR 235 Vel Feedback 146 Decel Time 126 Base Motor Speed 229 Vel Desired BW Base Motor HP 228 Auto Tune Status Base Motor Curr 230 Motor Inertia Base Motor Volt 231 Total Inertia Base Motor Freq 232 Motor Poles Torque Mode Sel 43 Logic Options 44 Fwd Speed Limit 128 234 Rev Speed Limit 127 46 Pos Mtr Cur Lmt 179 Ki Velocity Lo
6–6 Parameters File 2 – Communications I/O Channel A Group Logic Group CntrlNet In 0 322 ChA Logic Cmd In CntrlNet In 1 323 Logic Command CntrlNet In 2 324 CntrlNet In 3 325 CntrlNet In 4 326 CntrlNet In 5 CntrlNet In 6 Analog Input Group Analog Output Group Analog In 1 339 Analog Out 1 387 52 An In 1 Offset 392 An Out 1 Offset 400 Logic Status Low 56 An In 1 Scale 393 An Out 1 Scale 401 Logic Status Hi 57 Analog In 2 340 Analog Out 2 388 Logic Options 59 An In 2 Of
Parameters 6–7 File 3 – Velocity Torque➀ Velocity Ref Logic Preset Speed 1 119 ChA Logic Cmd In Preset Speed 2 120 Preset Speed 3 Velocity Fdbk Velocity Reg Torque Ref 367 Filt Vel Fdbk 269 Vel Reg Output 134 Torque Mode Sel Logic Command 52 Vel Feedback 146 Ki Velocity Loop 139 Torq Mode Stat 184 53 121 Torq Stop Confg 58 Scaled Vel Fdbk 147 Kp Velocity Loop 140 Pos Mtr Cur Lmt 179 Preset Speed 4 122 Logic Options 59 Enc Pos Fdbk Low 148 Kf Velocity Loop 141 Neg
6–8 Parameters Torque Block➀ Process Trim Torque Autotune Velocity Autotune PWM Frequency 222 Proc Trim Ref 27 Autotun Diag Sel 256 Autotun Diag Sel Prech Rdthru Sel 223 Proc Trim Fdbk 28 Ph Rot Cur Ref 262 Auto Tune Torque 40 Under Volt Stpnt 224 Proc Trim Output 26 Auto Tune Torque 40 Auto Tune Speed 41 Prechrg Timeout 225 Proc Trim Select 29 Auto Tune Speed 41 Total Inertia 46 Ridethru Timeout 226 Proc Trim Ki 32 Ph Rot Freq Ref 263 Motor Inertia 234 CP Option
Parameters 6–9 File 4 – Diagnostics➀ Monitor Testpoints Fault Sel/Sts Motor Overload Filt Vel Fdbk 269 Vel Fdbk TP Sel 145 SP Fault Sts 442 Mtr Overload Lim 92 Scaled Vel Fdbk 147 Vel Fdbk TP Low 143 SP Warn Sts 443 Mtr Overld Spd 1 95 Int Torque Ref 167 Vel Fdbk TP Hi 144 SP Fault Sel 440 Mtr Overld Spd 2 96 Internal Iq Ref 168 Vel Reg TP Sel 137 SP Warn Sel 441 Min Overload Lmt 97 Computed Power 182 Vel Reg TP Low 135 ICN Flt Sel 425 Service Factor 94 DC Bus V
6–10 Parameters Transistor Diag➀ Autotun Diag Sel Trend I/O Trend Setup Info 256 Tr1 Status 462 Tr1 Opnd Parm X 455 Drive SW Version 59 Tr2 Status 472 Tr1 Opnd Parm Y 456 Drive Type Tran Diag Disabl 257 Tr3 Status 482 Tr1 Operator 457 Base Drive Curr 220 Inverter Diag 1 258 Tr4 Status 492 Tr1 Sample Rate 458 Base Line Volt 221 Inverter Diag 2 259 Trend In 1 454 Tr1 Post Samples 459 Adapter Version 301 Iq Offset 260 Trend In 2 464 Tr1 Cont Trigger 460 Adapter I
Parameters Parameter Conventions 6–11 The remainder of this chapter describes the parameters associated with the ControlNet Adapter Board. For parameters not listed in this section, refer to the parameter descriptions in your 1336 FORCE user manual. Parameter descriptions adhere to the following conventions. Par [Parameter Name] # Parameter description.
6–12 Parameters 300 Adapter ID [Adapter ID] Adapter ID displays the identifier for the ControlNet Adapter Board. 301 Adapter Version [Adapter Version] Adapter Version displays the current firmware version of the ControlNet Adapter Board. 302 SCANport Communications Retries [SP Comm Retries] SP Comm Retries counts the number of communication retries for all entries in the SCANport scan list.
Parameters 307 ICN Board Status [ICN Status] ICN Status displays the status of the ControlNet Adapter Board. You can use this parameter to determine if no fault occurred, or if a warning, soft fault, or hard fault occurred. 309 Language Select [Language Sel] You can use Language Sel to choose the language you want the ControlNet Adapter Board to use for parameter and fault display text. Currently, only English is available.
6–14 Parameters 318 Data Input C1 [Data In C1] Data In C1 contains the fifth image word from the SCANport output image table. 319 Data Input C2 [Data In C2] Data In C2 contains the sixth image word from the SCANport output image table. 320 Data Input D1 [Data In D1] Data In D1 contains the seventh image word from the SCANport output image table. 321 Data Input D2 [Data In D2] Data In D2 contains the eighth image word from the SCANport output image table. Publication 1336 FORCE–5.
Parameters 322 CntlNet Input 0 [CntlNet In 0] CntlNet In 0 contains the first word or data group from the PLC controller output image table. The ControlNet scanner transfers the data to the drive every rack scan. The ControlNet Adapter Board can use this value directly. Other drive functions can use this value through a configuration link. 323 CntlNet Input 1 [CntlNet In 1] CntlNet In 1 contains the second word or data group from the PLC controller output image table.
6–16 Parameters 325 CntlNet Input 3 [CntlNet In 3] CntlNet In 3 contains the fourth word or data group from the PLC controller output image table. The ControlNet scanner transfers the data to the drive every rack scan. The ControlNet Adapter Board can use this value directly. Other drive functions can use this value through a configuration link. 326 CntlNet Input 4 [CntlNet In 4] CntlNet In 4 contains the fifth word or data group from the PLC controller output image table.
Parameters 328 CntlNet Input 6 [CntlNet In 6] CntlNet In 6 contains the seventh word or data group from the PLC controller output image table. The ControlNet scanner transfers the data to the drive every rack scan. The ControlNet Adapter Board can use this value directly. Other drive functions can use this value through a configuration link. 329 CntlNet Input 7 [CntlNet In 7] CntlNet In 7 contains the eighth word or data group from the PLC controller output image table.
6–18 Parameters 339 Analog Input 1 [Analog In 1] Analog In 1 displays the result of converting a ±10V signal to a ±32767 value using Analog In 1 Scale (parameter 393) and Analog In 1 Offset (parameter 392). You can link this digital value to other 1336 FORCE parameters. 340 Analog Input 2 [Analog In 2] Analog In 2 displays the result of converting a ±10V signal to a ±32767 value using Analog In 2 Scale (parameter 395) and Analog In 2 Offset (parameter 394).
Parameters 343 Data Output A1 [Data Out A1] Data Out A1 contains the first image word from the SCANport input image table. 344 Data Output A2 [Data Out A2] Data Out A2 contains the second image word from the SCANport input image table. 345 Data Output B1 [Data Out B1] Data Out B1 contains the third image word from the SCANport input image table. 346 Data Output B2 [Data Out B2] Data Out B2 contains the fourth image word from the SCANport input image table.
6–20 Parameters 349 Data Output D1 [Data Out D1] Data Out D1 contains the seventh image word from the SCANport input image table. 350 Data Output D2 [Data Out D2] Data Out D2 contains the eighth image word from the SCANport input image table. 351 CntlNet Out 0 [CntlNet Out 0] CntlNet Out 0 contains the first word or data group to the PLC controller input image table. The data is transferred to the PLC controller every rack scan. The ControlNet Adapter Board can provide this value directly.
Parameters 353 CntlNet Output 2 [CntlNet Out 2] CntlNet Out 2 contains the third word or data group to the PLC controller input image table. The data is transferred to the PLC controller every rack scan. The ControlNet Adapter Board can provide this value directly. Other drive functions can provide this value through a configuration link. 354 CntlNet Output 3 [CntlNet Out 3] CntlNet Out 3 contains the fourth word or data group to the PLC controller input image table.
6–22 Parameters 356 CntlNet Output 5 [CntlNet Out 5] CntlNet Out 5 contains the sixth word or data group to the PLC controller input image table. The data is transferred to the PLC controller every rack scan. The ControlNet Adapter Board can provide this value directly. Other drive functions can provide this value through a configuration link. 357 CntlNet Output 6 [CntlNet Out 6] CntlNet Out 6 contains the seventh word or data group to the PLC controller input image table.
Parameters 367 ChA Logic Command Input [ChA Logic Cmd In] This logic command parameter is for Channel A. ChA Logic Cmd In is permanently linked to parameter 52, logic command word.
6–24 Parameters 371 Start Owner [Start Owner] Start Owner displays which ports are presently issuing a valid Start command. 372 Jog1 Owner [Jog1 Owner] Jog1 Owner displays which ports are presently issuing a valid Jog1 command. 373 Jog2 Owner [Jog2 Owner] Jog2 Owner displays which ports are presently issuing a valid Jog2 command. 374 Set Reference Owner [Set Ref Owner] Set Ref Owner displays which port currently has exclusive control in selecting the command frequency source.
Parameters 376 Flux Owner [Flux Owner] Flux Owner displays which ports are presently issuing a valid Flux Enable command. 377 Trim Owner [Trim Owner] Trim Owner displays which port is presently issuing a Trim Enable command. 378 Ramp Owner [Ramp Owner] Ramp Owner displays which port is presently issuing a Ramp command. 379 Clear Fault Owner [Clr Fault Owner] Clr Fault Owner displays which port is presently issuing a Clear Fault command.
6–26 Parameters 387 Analog Output 1 [Analog Out 1] Analog Out 1 converts a ±32767 value to a ±10V signal. The digital value is linked to a 1336 FORCE source parameter which provides a value that is scaled and offset. The results are converted to a voltage signal, where ±2048 results in a ±10V output. 388 Analog Output 2 [Analog Out 2] Analog Out 2 converts a ±32767 value to a ±10V signal. The digital value is linked to a 1336 FORCE source parameter which provides a value that is scaled and offset.
Parameters 392 Analog Input 1 Offset [Analog In 1 Offset] Analog In 1 Offset determines the offset applied to the raw Analog In 1 values before the scale factor is applied. This allows you to shift the range of the analog input. 393 Analog Input 1 Scale [Analog In 1 Scale] Analog In 1 Scale determines the scale factor or gain for the Analog In 1 value. A +10V dc signal applied to Analog In 1 at TB21 is converted to a +2048 digital value used by the 1336 FORCE.
6–28 Parameters 396 Analog Input 3 Offset [Analog In 3 Offset] Analog In 3 Offset determines the offset applied to the raw Analog In 3 values before the scale factor is applied. This allows you to shift the range of the analog input. 397 Analog Input 3 Scale [Analog In 3 Scale] Analog In 3 Scale determines the scale factor or gain for the Analog In 3 value. A +10V dc signal applied to Analog In 3 at TB21 is converted to a +2048 digital value used by the 1336 FORCE.
Parameters 400 Analog Output 1 Offset [Analog Out 1 Offset] Analog Out 1 Offset determines the offset applied to the Analog Out 1 value after the scale factor is applied. This allows you to shift the range of the analog output. 401 Analog Output 1 Scale [Analog Out 1 Scale] Analog Out 1 Scale determines the scale factor or gain for the Analog In 1 value. A +2048 value corresponds to a +10V output signal at TB21.
6–30 Parameters 404 Analog Output 3 Offset [Analog Out 3 Offset] Analog Out 3 Offset determines the offset applied to the Analog Out 3 value after the scale factor is applied. This allows you to shift the range of the analog output. 405 Analog Output 3 Scale [Analog Out 3 Scale] Analog Out 3 Scale determines the scale factor or gain for the Analog In 3 value. A +2048 value corresponds to a +10V output signal at TB21.
Parameters 408 Port Enable [Port Enable] Port Enable indicates which ports can accept commands listed in parameters 409 through 415. 409 Direction Mask [Dir Mask] Dir Mask controls which ports can issue forward/reverse commands. 410 Start Mask [Start Mask] Start Mask controls which ports can issue a start command. 411 Jog Mask [Jog Mask] Jog Mask controls which ports can issue a jog command. 412 Reference Mask [Ref Mask] Ref Mask controls which ports can select an alternate reference or preset speed.
6–32 Parameters 413 Clear Fault Mask [Clr Fault Mask] Clr Fault Mask controls which ports can generate a clear fault command. 414 Reset Drive Mask [Reset Drive Mask] Reset Drive Mask controls which ports can reset a fault. 415 Local Mask [Local Mask] Local Mask controls which ports are allowed to take exclusive control of drive logic commands except Stop. (Stop is accepted from any device regardless of who has control.) You can only take exclusive local control while the drive is stopped.
Parameters 425 ICN Fault Select [ICN Flt Sel] ICN Flt Sel dictates whether the ControlNet Adapter Board will report a fault condition if a PLC controller communications fault occurs. If bit is one, the condition is reported as a soft fault. If a bit is zero, parameter 426 is checked to see whether a warning condition should be reported.
6–34 Parameters 426 ICN WarningSelect [ICN Warn Sel] ICN Warn Sel dictates whether the ControlNet Adapter Board will report a warning condition if a PLC controller communications fault occurs. If a bit is one and the corresponding bit in parameter 425 is zero, then the condition is reported as a warning. If a bit is zero and the corresponding bit in parameter 425 is zero, then the condition is ignored.
Parameters 440 SCANport Fault Selection [SP Fault Sel] SP Fault Sel indicates which ports will cause a drive soft fault on loss of communications.
6–36 Parameters 443 SCANport Warning Status [SP Warn Sts] SP Warn Sts indicates which communications warnings the drive has encountered at the ports.
Parameters 456 Trend 1 Operand Parameter Y [Tr1 Opnd Parm Y] Tr1 Opnd Parm Y specifies the second of two parameter numbers used for the trend trigger evaluation. The data value for the entered link parameter number is used in the trigger evaluation. 457 Trend 1 Operator [Tr1 Operator] Tr 1 Operator specifies the operator used for the trend trigger evaluation.
6–38 Parameters 460 Trend 1 Continuous Trigger [Tr1 Cont Trigger] Tr1 Cont Trigger specifies the type of trend. You can choose either 0 for one–shot or 1 for continuous. With a one–shot trend, once the trigger condition is true and the number of samples after the trigger is taken are gathered, the trend stops.
Parameters 464 Trend Input 2 [Trend In 2] Trend In 2 specifies the data value to sample at the specified trend sample rate. You should link Trend In 2 to a source parameter (such as velocity, torque, or current) for the trend to make sense. 465 Trend 2 Operand Parameter X [Tr2 Opnd Parm X] Tr2 Opnd Parm X specifies the first of two parameter numbers for the trend trigger evaluation. The data value for the entered link parameter number is used in the trigger evaluation.
6–40 Parameters 468 Trend 2 Sample Rate [Tr2 Sample Rate] Trend 2 Sample Rate specifies the interval at which the data in the Trend In 2 parameter is sampled. It is programmable in 2 millisecond increments. All values are rounded down to the nearest 2 millisecond interval. 469 Trend 2 Post Samples [Tr2 Post Samples] Tr2 Post Samples specifies the number of data samples to be gathered once the trigger evaluation becomes true.
Parameters 473 Trend Output 2 [Trend Out 2] Trend Out 2 displays the latest 500 trend input data values once the trigger condition is true and all post samples are gathered. This parameter is updated at the same rate as the data was sampled. This parameter can be linked to Analog Output (for example) and a chart recorder connected to Analog Output to provide a hard copy of the trend data. 474 Trend Input 3 [Trend In 3] Trend In 3 specifies the data value to sample at the specified trend sample rate.
6–42 Parameters 477 Trend 3 Operator [Tr3 Operator] Tr3 Operator specifies the operator used for the trend trigger evaluation. The available operators are: Value 1 2 3 4 5 6 7 8 Description Greater Than Less Than Equals Not Equals Logical AND Logical NAND Logical OR Logical NOR Parameter Number 477 Parameter Type Read/Write, Non–Linkable Sink Display Units / Drive Units None Factory Default 5 Minimum Value 1 Maximum Value 8 File – Group Diagnostics – Trend Setup (.GT.) (.LT.) (.EQ.) (.NE.) (.AND.) (.
Parameters 481 Trend 3 Select [Tr3 Select] Tr3 Select specifies the trend mode. The states are as follows: 0 1 2 Disable the trend. Enable the trend. Force a true trigger condition. 482 Trend 3 Status [Tr3 Status] Tr3 Status identifies which state the trend is currently in. The following states are possible: 1 Stopped 2 Running Trending is not executing. Trending is executing, but the trigger point has not yet been reached. 3 Tripped/Trigger Trending is executing, and the trigger point has been reached.
6–44 Parameters 485 Trend 4 Operand Parameter X [Tr4 Opnd Parm X] Tr4 Opnd Parm X specifies the first of two parameter numbers for the trend trigger evaluation. The data value for the entered link parameter number is used in the trigger evaluation. 486 Trend 4 Operand Parameter Y [Tr4 Opnd Parm Y] Tr4 Opnd Parm Y specifies the second of two parameter numbers used for the trend trigger evaluation. The data value for the entered link parameter number is used in the trigger evaluation.
Parameters 489 Trend 4 Post Samples [Tr4 Post Samples] Tr4 Post Samples specifies the number of data samples to be gathered once the trigger evaluation becomes true. There is always a sample reserved for the instance when the trigger condition becomes true. 490 Trend 4 Continuous Trigger [Tr4 Cont Trigger] Tr4 Cont Trigger specifies the type of trend. You can choose either 0 for one–shot or 1 for continuous.
6–46 Parameters 493 Trend Output 4 [Trend Out 4] Trend Out 4 displays the latest 500 trend input data values once the trigger condition is true and all post samples are gathered. This parameter is updated at the same rate as the data was sampled. This parameter can be linked to Analog Output (for example) and a chart recorder connected to Analog Output to provide a hard copy of the trend data. Publication 1336 FORCE–5.
Chapter 7 Troubleshooting Chapter Objectives Chapter 7 provides information to help you in troubleshooting the ControlNet Adapter Board. This chapter describes: • • • • the fault and status LEDs the fault queues the fault types the fault codes ! ! Fault and Status LEDs ATTENTION: Only qualified personnel familiar with the 1336 FORCE drive system and associated machinery should perform troubleshooting or maintenance functions on the drive.
7–2 Troubleshooting AP Status –– D1 AP Status –– D2 Fault Out –– D4 Ext Fault –– D5 Norm Stop –– D7 Motor Thermo –– D9 Drive Enable –– D11 DP Status –– D3 DP Status –– D6 Primary Status –– D8 Primary Status –– D10 Primary Status –– D12 Redundant Status –– D13 Redundant Status –– D14 Redundant Status –– D15 Port 1 J11 Port 2 J10 J9 J8 D3 – Red Solid = Soft Fault Blinking = Hard Fault D6 – Green Solid = No Fault Blinking = Warning D8 – Red Mimics Primary Plug Channel LED D10 – Yellow Blinking 1Hz = Ope
Troubleshooting 7–3 Domino Processor (DP) Status D3 and D6 These LEDs reflect the operational status of the Domino processor. LED: D3 (Red) D6 (Green) State: LED on LED off LED blinking LED on LED off LED blinking Function: DP hard fault D6 on or hardware malfunction DP soft fault Normal DP operation D3 on or hardware malfunction DP warning ControlNet Adapter Status D4, D5, D7, D9, and D11 These LEDs reflect the operational status of the drive permissives.
7–4 Troubleshooting Primary Channel Status D8, D10, and D12 Redundant Channel Status D13, D14, and D15 These LEDs reflect the operational status of ControlNet communications. LED: D8 and D13 (Red) State: LED on D12 and D15 (Green) Publication 1336 FORCE–5.18 ––March, 1999 Hardware malfunction LED blinking Communications loss or D12 and D15 on.
Troubleshooting Fault Queues 7–5 All faults that have occurred are shown in the fault queue. Each entry shows the type of fault and the time and date that the fault occurred. The fault information stays in BRAM until you clear the queue by using the Clear Fault Queue command. You cannot clear the queue by issuing either a Clear Fault or a Drive Reset command or by recycling the drive power. The fault queue may contain up to 32 faults.
7–6 Troubleshooting Warning Faults A warning fault has the lowest priority of all types of faults. A warning fault indicates a condition that if left uncorrected could result in a soft fault and is designed to annunciate a condition present in the system. When a warning fault occurs, the drive is not commanded to stop. Drive operation is not affected, but a fault code is entered into the fault queue reflecting the condition.
Troubleshooting 7–7 These are transport class 1 and transport class 3. Class 1 connections are used to pass 8 16-bit words of I/O data (1 full rack) each direction between a Controller and a Drive deterministically at a configurable periodic rate.This type of data transfer corresponds to data being shared via Remote I/O. Class 3 connections are also supported for messaging between devices. This data is what would be sent over Data Highway Plus or with RIO block transfer.
7–8 Troubleshooting Parameters Relating to Communication Loss – Each drive has two parameters that define how the communications losses get handled. These parameters are called “ICN Fault Select” and “ICN Warning Select”. In the 1336T, these are parameters 425 and 426. Operation of bits within these parameters is essentially identical to similar parameters used for RIO/DH+ adapters which exist at these parameter numbers.
Troubleshooting Fault Code Descriptions 7–9 ControlNet Adapter Board fault and warning codes are five character decimal numbers that have the following format: S A X X X S A XXX Source Designator Area Designator Internal Fault Code 0 = Main Board Velocity Processor 1 = Main Board Current Processor 2 = Adapter Processor 3 = CNA Interface 4 = Reserved 5 = Reserved 0 = General 1 = Motor 2 = Inverter 3 = Motor Control 4 = Reserved Adapter 5 = External Device 6 = Communications 7 = Reserved 8 = R
7–10 Troubleshooting Fault text and code: Fault type: Description: Suggested action: Soft There is a discrepancy between the drive type on the base driver board and the parameter 220 and 221 values in BRAM. Reset the drive. If the fault persists: 1. Execute a BRAM recall. 2. Execute a BRAM store. 3. Reset the drive. 4. Clear the faults. When you are done with these steps, verify all parameter values.
Troubleshooting Fault text and code: No AP LM Exists 25023 SP Pt1 Timeout 26038 SP Pt2 Timeout 26039 SP Pt3 Timeout 26040 SP Pt4 Timeout 26041 SP Pt5 Timeout 26042 SP Comm Fault 26043 HW Malfunction 34001 HW Malfunction 34002 HW Malfunction 34003 HW Malfunction 34004 HW Malfunction 34005 SW Malfunction 34016 Fault type: Hard Soft, warning, or none Soft, warning, or none Soft, warning, or none Soft, warning, or none Soft, warning, or none Hard Hard Hard Hard Hard Hard Hard Description: The ControlNet A
7–12 Troubleshooting Fault text and code: Fault type: Description: CNET Comm Loss 36019 Soft, warning, or none The ControlNet Adapter Board has detected a loss of primary channel communications with the controller. PLC Res/Pgm/Test 35000 Soft/ Warning/ None The ControlNet Adapter Board has detected the controller being switched from the run mode to another mode.
Troubleshooting Fault text and code: Fault type: Description: Class 3 Timeout 36023 Soft/ Warning? None Drive timed out on scheduled control data reception from a device. Plug Failure 36024 Hard Internal Fault detected 7–13 Suggested action: Check connections & cables. Check that all devices that are configured on the network have a clas 3 connection to the drive operational. Check programming within the PLC or any other device with a class 3 connection to the drive.
7–14 Troubleshooting This Page Intentionally Blank Publication 1336 FORCE–5.
Chapter 8 Using the Trend Features Setting Up Trending Trending is a diagnostic tool that you can use to capture and retain an input parameter data value until a trigger condition occurs. The FORCE has the capacity to setup and monitor up to 4 parameters, Trend 1 through Trend 4.
8–2 Using the Trend Features Setting the Trigger Condition The trigger condition defines the event that must be true before the trend is triggered (activated). After the trend is activated and the required number of post samples have been recorded, the last 500 samples for that trend are made accessible via the output parameter. The following statement determines the trigger point: [Variable X] [Operator] [Variable Y] Variable X is compared to Variable Y.
Using the Trend Features 8–3 5.
8–4 Using the Trend Features Setting the Sampling Rate " You can specify how often you want the FORCE Drive to take data samples. Data samples may be taken from 2 milliseconds apart to 30 seconds apart. Note: The trigger condition is evaluated: ◗ at the rate of sampling whenever the sampling rate is less than 20 milliseconds. ◗ at 20 milliseconds whenever the sampling rate exceeds 20 milliseconds. 1. Select a sampling rate between 0 and 30 seconds. 2.
Using the Trend Features Setting the Number of Post Samples 8–5 You also need to specify the number of data samples to be taken once a trigger condition occurs. You can specify that 0 to 499 post samples be taken. One sample is reserved for the instance when the trigger condition becomes true. " Note: “Pre–samples” are samples taken prior to the trigger condition becoming true.
8–6 Using the Trend Features Setting the Trend Mode and Selection 1. If you want the trend to be: Continuous Oneshot Then enter the post trigger samples in: 1 0 2. If you are programming Trend: 1 2 3 4 Then enter the post trigger samples in: Parameter 460 Parameter 470 Parameter 480 Parameter 490 3. If you want the trend to be: Disabled Enabled Forced to Trigger Then enter the post trigger samples in: 0 1 2 4. If you are programming Trend: 1 2 3 4 Publication 1336 FORCE–5.
Using the Trend Features Trending Status Number 0 8–7 The trending operation has five associated states (refer to Figure 12.1 for an illustration of the trending operation cycle.
8–8 Using the Trend Features Looking at the Output When the trend output is linked to the analog output and a chart recorder is then connected to the analog output, you can view the trend output. To locate the starting point of a trend, look for a negative spike followed by a positive spike. These spikes are added to indicate the oldest piece of sampled data.
Chapter 9 Specifications and Supplemental Information Chapter Objectives Chapter 9 provides specifications and a software block diagram. Specifications The following table shows the specifications for the ControlNet Adapter Board: This category: Environmental Electrical Communications Analog I/O Has these specifications: Operating temperature: 0 to 40°C (32 to 104°F) Storage temperature: -40 to 70°C (-40 to 158°F) Relative humidity: 5 to 95% non-condensing Shock: 15G peak for 11 ms duration (±1.
9–2 Specifications and Supplemental Information Software Block Diagram The following figures show the parameter linking and interactions within the ControlNet Adapter Board. For more information about parameter linking, refer to Chapter 5, Understanding the Resources of Your Drive.
Specifications and Supplemental Information 9–3 CntlNet Parameters ICN Fault Select (Par 425) ICN Warning Select (Par 426) CntlNet In to Drive CntlNet Image Out from Drive CntlNet Out 0 (Par 351) CntlNet Out 1 (Par 352) CntlNet Out 2 (Par 353) CntlNet Out 3 (Par 354) CntlNet Out 4 (Par 355) CntlNet Out 5 (Par 356) CntlNet Out 6 (Par 357) CntlNet Out 7 (Par 358) CntlNet In 0 (Par 322) CntlNet In 1 (Par 323) CntlNet In 2 (Par 324) CntlNet In 3 (Par 325) CntlNet In 4 (Par 326) CntlNet In 5 (Par 327) CntlN
Specifications and Supplemental Information Hardware Block Diagram The following is the hardware block diagram for the ControlNet Adapter Board. J1 Language Module AP Status D1 AP Status D2 Fault Out D4 Ext Fault D5 Norm Stop D7 Fault Out D9 Drive Enable D11 9–4 TP1 DGND TP2 +5V TP3 +15V TP4 AGND TP5 –15V ● ● ● ● ● U2 DIP Switch Channel A High En Dis U3 DIP Switch Channel A Low U4 DIP Switch Channel B High U5 DIP Switch Channel B Low UAPI Rev x.
9–5 Specifications and Supplemental Information Parameter Cross Reference––By Number The following table lists the parameters in numerical order. No. Name Group➀ Page No.
Specifications and Supplemental Information No.
Publication 1336 FORCE-5.18 – March,1999 Supersedes September, 1998 P/N 185623 (02) Copyright 1999 Rockwell International Corporation. All rights reserved. Printed in USA.