336 FORCE ™ PLC ® Communications Adapter (Series B) Firmware Rev. 5.xx (Catalog No.
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 PLC Communications Adapter Board . . . . . . . . . . . . . . Purpose of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contents of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . Terms and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii Setting the Rack Configuration . . . . . . . . . . . . . . . . . . . . . . . Configuring the DH+ Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting Up the Analog I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding the Scale and Offset Parameters for Input . . . . Understanding the Scale and Offset Parameters for Output . . . Using the SCANport Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . Pre–Configured Links . . . . . . . . . . . . .
iii Parameters Chapter 6 Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BRAM Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter Files and Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . File 1 – Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . File 2 – Communications I/O . . . . . . . . . .
iv Real Time Clock Data Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Real Time Clock Data Read . . . . . . . . . . . . . . . . . . . . . . . . . Real Time Clock Data Write . . . . . . . . . . . . . . . . . . . . . . . . . Run Time Accumulator Data Read . . . . . . . . . . . . . . . . . . . . . . . . Run Time Accumulator Data Read . . . . . . . . . . . . . . . . . . . . Clear Run Time Accumulator . . . . . . . . . . . . . . . . . . . . . . . . Time Stamp . . . . . . . . . . . . . . . . . .
v Using the Trend Features Chapter 9 Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Trend Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding How Trending Works . . . . . . . . . . . . . . . . . . . . . . . Setting Up the Trigger Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AND, NAND, OR, and NOR . . . . . . . . . . . . . . . . . . . . . . . . . Adjusting the Data Sample Rate . . . . . . . . . . . . . . .
Notes
Preface Preface Read this preface to familiarize yourself with this manual.
P–2 Purpose of this Manual This manual: • provides planning, installation, and wiring information for the PLC Communications Adapter Board • explains the procedures you need to mount and configure your PLC Communications Adapter Board • describes the available parameters and block transfer instructions • provides information to help you troubleshoot your PLC Communications Adapter Board Contents of this Manual This manual contains the following information: Chapter: Title: Contents: Preface Describe
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 Terms and Abbreviations This term: 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. Has the following definition: 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.
P–5 This term: 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 PLC Communications 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 This term: Has the following definition: Owner parameters The PLC Communications Adapter Board allows one or more control devices or adapters to own start, jog, direction, and other control functions. To avoid conflict, some owners are exclusive. For example, only one device can issue a forward direction speed command. Others have multiple control. For example, all devices can jog the drive in the forward direction, but only at a set speed.
P–7 Allen–Bradley Support 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.
Notes
Chapter 1 Installing and Wiring Your PLC Communications Adapter Board Chapter Objectives Chapter 1 provides information so that you can: • mount the PLC Communications 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 PLC Communications Adapter Board.
1–2 Mounting the PLC Communications Adapter Board To mount your PLC Communications 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 PLC Communications Adapter Board over the keyed mounting slots. 2. Slide the board up into the main control board connector J1. 3. Secure the board to the 1336 FORCE mounting plate using the two Phillips–head screws that are provided with the kit.
1–3 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 PLC Communications Adapter Board, you must set all discrete I/O jumpers to the same input voltage applied to the PLC Communications Adapter Board. The voltage must be either 24V dc or 120V ac.
1–4 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 PLC Communications 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.
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 PLC Communications Adapter Board is illuminated, the drive has received an enable signal allowing drive logic to accept a start command. A motor thermo signal allows you to connect an NC motor thermal switch to the 1336 FORCE.
1–6 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.
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 Determining Your Communications Configuration The PLC Communications Adapter Board provides two channels (A and B) for connecting to Allen–Bradley’s RIO or DH+ networks. Each channel allows the 1336 FORCE to communicate directly with or without a PLC and is independently programmable. With RIO scanner, you do not necessarily need to communicate with the PLC. To connect channel A or B of the PLC Communications Adapter Board to the RIO and DH+ communications systems, you need to use twinaxial cable.
1–9 When configured for RIO adapter communications, the PLC Communications Adapter Board can: • Support 57.6K, 115K, or 230K baud communication rates at all • • • • • valid module groups. Be configured as a 1/4, 1/2, 3/4, or full I/O rack. Be configured to ignore PLC fault conditions and continue operating. Support transfer of multiple drive parameter read or writes in a single block transfer.
1–10 When configured for RIO scanner communications, the PLC Communications Adapter Board can: • Support 57.6K, 115K, or 230K baud communication rates at all valid module groups. • Be configured as a 1/4, 1/2, 3/4, or full I/O rack. • Be configured to ignore PLC fault conditions and continue operating.
1–11 DH+ Configuration When you configure a communications channel for DH+ communications, the PLC Communications Adapter Board becomes a station on the DH+ link. You can pass information to and from the drive using the DH+ protocol. When configured for DH+ communications, the PLC Communications Adapter Board can: • Support 57.6K, 115K, or 230K baud communication rates. • Support read or write messages for blocks of parameters.
1–12 Publication 1336 FORCE–5.
Chapter 2 Starting Up Chapter Objectives Chapter 2 provides the following information: • • • • Setting the DIP Switches setting the DIP switches to configure channels A and B setting up the analog I/O a description of the SCANport capabilities a description of the pre–configured links The PLC Communications Adapter Board contains four switches that you use to select the communications options for each channel.
2–2 U2 or U4 OFF = Setting Your Protocol ON = 3 4 5 6 7 8 Switches 1 and 2 2 Use the following chart to set switches 1 and 2 on either U2 or U4 to specify your protocol.
2–3 Configuring the RIO Adapter Protocol If you are using the the RIO adapter protocol, you need to follow these steps once you have set the protocol and baud rate: • • • • • specify the rack size specify the channel position specify whether you are using redundant RIO select the RIO starting group set the RIO rack address Specifying the Rack Size Use the following chart to set switches 5 and 6 on either U2 or U4 to specify the rack size.
2–4 Specifying Whether You Are Using Redundant RIO U2 or U4 Switch 8 5 4 7 6 OFF = N C 7 IGH AH 5 6 EL 4 N N 3 HA 2 1 U4 N 0 0N ON = CHA 0N Use the following chart to set switch 8 on either U2 or U4. 8 U2 0 1 2 3 8 NNE LB Are you using redundant RIO mode? If: Yes No H HIG Redundant RIO SW8 Yes On No Off If you are using redundant RIO mode, make sure that both channels have the same RIO configuration (protocol selection and rack size).
2–5 Setting the RIO Rack Address Use the following chart to set switches 3 through 8 on either U3 or U5 to specify the RIO rack address.
2–6 Configuring the RIO Scanner Protocol If you are using the RIO scanner protocol, you need to follow these steps once you have set the protocol and baud rate: • specify the size of the rack (up to one full rack) to scan • set the rack configuration Chapter 3, Using Remote I/O Communications, provides additional information about the RIO scanner protocol.
2–7 Quarter 4 1/4 1/4 Quarter 3 1/4 Quarter 2 1/4 1/4 Quarter 1 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/2 1/2 1/2 1/2 1/2 3/4 3/4 Off Off Off Off Off Off Off Off Off Off On On Off On FULL 3/4 1/4 1/4 3/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/4 1/2 1/2 1/2 On Off On On On Off Off Off Off Off Off DIP Switches U3 or U5 Off Off On Off On Off On Off Off Off On Off On Off On Off Off Off Off Off On Off On Off On Off Off Off O
2–8 Configuring the DH+ Protocol If you are using the DH+ protocol, you need to set the DH+ station address once you have set the protocol and baud rate. Use the following chart to set switches 3 through 8 on either U3 or U5 to specify the DH+ station address. U3 or U5 1 1 4 6 8 7 8 7 OW BL 5 6 EL 4 N N CHA 2 3 U5 1 U3 0N L NNE CHA OW AL Address Address Publication 1336 FORCE–5.
2–9 Setting Up the Analog I/O Before you can transfer data between the PLC Communications Adapter Board and the analog I/O, you need to do the following: 1. Hard wire the analog I/O to the PLC Communications Adapter Board terminals. 2. Set up the analog input and output configuration parameters in the drive. 3. Create any user links, if appropriate. Note: The PLC Communications Adapter Board has been pre–configured for your convenience. The pre–configured links are listed later in this chapter.
2–10 Use the set up parameters to program the PLC Communications 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–11 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.
2–12 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–13 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).
2–14 Using the SCANport Capabilities To communicate with external devices such as terminals, the PLC Communications 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–15 Figure 2.
2–16 Publication 1336 FORCE–5.
Chapter 3 Using Remote I/O Communications Chapter Objectives This chapter provides information that can help you understand and use the remote I/O (RIO) communications.
3–2 The following table identifies which parameters are defined when you select RIO communications.
3–3 The remaining group numbers are used for transferring discrete data: Then, these group numbers are available: 1–7 1–5 or 3–7 1–3, 3–5, or 5–7 1, 3, 5, or 7 If you are using this rack size: Full 3/4 1/2 1/4 Each group number reserves a single 16–bit word in both the input and output image table of the PLC controller for the assigned rack number. In the drive, these words are directly linked to internal drive parameters using source and sink parameters.
3–4 The following figure shows the RIO 1/2 rack configuration. With each configuration, the starting group module (0, 2, or 4) is reserved for block transfer if you select RIO with the block transfer protocol. Starting Group 2 Module Group 0 1 2 3 4 Starting Group 0 5 6 7 Starting Group 4 The following figure shows the RIO 1/4 rack configuration. With each configurations, the starting group module (0, 2, 4, or 6) is reserved for block transfer if you select RIO with the block transfer protocol.
3–5 The following figure shows an example of the PLC Communications Adapter Board that uses RIO communications with block transfer. Notice that the first module group number is reserved for block transfer.
3–6 The following figure shows an example of the PLC Communications Adapter Board that uses RIO communications without block transfer. Notice that you can use the first module group number.
3–7 Discrete PLC Programming The following figure shows an application where the PLC Communications Adapter Board has been set up for a full rack (numbered rack 2) and the PLC controller program is using the 16–bit words for groups 1 and 2 for data transfer with the 1336 FORCE. You should refer to this figure to help understand the following description.
3–8 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 1, 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. In addition, the 16–bit input for group 2, rack 2 in the PLC controller is a 16–bit signed integer whose value corresponds to the allowable values in drive units for parameter 146.
3–9 Rung 1 Start B3 0:21 ( ) 01 Rung 2 Stop B3 1 Start 1 ( Parbit367 ) 0 Stop 8 ( Parbit367 ) 0:21 ( ) 11 Ramp Disabled 9 ( Parbit367 ) 0:21 ( ) Speed Ref Select A bit 12 ( Par 367) Speed Ref Select B bit 13 ( Par 367) Speed Ref Select C bit 14 ( Par 367) 0:21 ( ) 02 B3 03 Rung 3 Current Limit Stop B3 03 Rung 4 Speed Reference Select B3 B3 01 05 0:21 ( ) B3 06 0:21 ( ) B3 07 Rung 5 Fault Reset B3 0:21 ( ) 04 Rung 6 Run Speed Reference B3 01 14 15 16 Clear Fault 3 ( Parbi
3–10 Information transferred back to the PLC controller from the drive is handled much as it was in the previous example, with the exception that data is transferred into the input image table of the PLC controller. Again, note that bit coded words such as parameter 56, Logic Status LOW, are bit numbered in octal in the PLC controller, while the drive is in decimal. Transferring Data Using Block Transfer A PLC controller uses block transfer to transfer data that does not require continuous updates.
3–11 If you receive this status bit: Block Transfer Ready (Bit 10) Block Transfer Write In Progress (Bit 11) Block Transfer Read Data Available ➀ (Bit 12) Block Transfer Wait (Bit 13) Block Transfer Error ➀ (Bit 14) Block Transfer Write Available (Bit 15) Then: The SCANport device and the PLC Communications Adapter Board are communicating and are ready to process block transfers. A block transfer write is in progress between the PLC controller and the PLC Communications Adapter Board.
3–12 Data Storage To use the block transfer instructions in the PLC program, you need to reserve several words for data storage. Some of these words are required for internal use by the block transfer function and some contain the block transfer message information. In the PLC-5, the BTW and BTR blocks require the use of two sets of words. The next two figures show the BTW and BTR blocks used for block transfer in the PLC-5 along with example information associated with these blocks.
3–13 The following figure shows the block transfer instructions used for PLC 5/40 and 5/60’s. BTW BTR (EN) Block Transfer Write Rack: 1 Group: 0 Module: 0 Control Block: BT112:0 Data File: N117:0 (DN) (ER) (EN) Block Transfer Read Rack: 1 Group: 0 Module: 0 Control Block: BT112:1 Data File: (DN) (ER) N117:100 Length: 6 Length: 8 Continuous: N Continuous: N Publication 1336 FORCE–5.
3–14 The components of the block transfer instructions are: This component: Rack Group Module Control Block Data File Length Continuous Publication 1336 FORCE–5.13 –– September, 1998 Specifies: The rack number. The RIO switch settings on the PLC Communications Adapter Board determine the rack number. The group number of the first group in the rack associated with the PLC Communications Adapter Board. In the PLC 5/15 and 5/25 example, the rack has been set up as a full eight group rack.
3–15 PLC–5 Block Transfer Rung Example The following programs are examples of block transfer programming for the PLC Communications Adapter Board. The BTW AVAIL, BTR AVAIL, and BT ERROR bits from the module status word (I:020 in these examples) are used in these examples. The examples also show how you can use user logic to enable or disable the block transfer operations. Keep in mind that it is the header message for the BTW that defines if data is to be written to or read from the drive.
3–16 The first rung causes a Block Transfer Write (BTW) to the PLC Communications Adapter Board when the user logic bit is true. No data is available from the drive for the PLC to read when the drive is ready to accept a BTW. The second rung causes a Block Transfer Read (BTR) from the PLC Communications Adapter Board when data is available from the drive for the PLC to read.
3–17 The following program is for a PLC 5/20, 5/40, 5/60, or 5/80.
3–18 Using RIO Redundant Mode When you configure both channel A and channel B for RIO communications, you need to decide whether both channels will act independently or if one channel will act as a back up for the other channel, which is referred to as RIO redundant mode. If you want both channels to act independently, set both channels to RIO communications, but do not set the DIP switch settings for the redundant mode.
3–19 The following shows a typical redundant mode configuration.
3–20 The redundant mode operates as follows: 1. The respective PLC controller transfers data from the output image table of each PLC controller to the PLC Communications Adapter Board. 2. The RIO redundant channel number parameter (parameter 427) determines which PLC controller’s output is made available to the drive via parameters 322 through 329. 3. Each PLC controller input image table receives data from the drive via parameters 351 through 358. 4.
3–21 You can set either channel A, channel B, or both channels for RIO scanner mode. However, if you set both channels for RIO scanner, you need to make sure that they are on separate blue hose cables as shown here. RIO Adapter 1/4 rack PLC Communications Adapter Board with both channels configured for RIO scanner. A RIO Adapter 1/2 rack B RIO Adapter 1/2 rack RIO Adapter 1/2 rack Important: Block transfer is not supported on channels configured for RIO scanner.
3–22 The following is an example of a PLC Communications Adapter Board that is scanning an I/O rack that is set up for 1–slot addressing. When the Start button on the operator console is pressed, a signal is sent to the attached input card on the I/O rack, which is connected to a PLC Communications Adapter Board that is set up in scanner mode.
Chapter 4 Using DH+ Communications Chapter Objectives Chapter 4 provides the following information: • DH+ features • block transfer message structures • DH+ command set DH+ Features You can configure either one or both channels for DH+ communications. Configuration as a DH+ device allows the drive to look like a station on the DH+ link. DH+ features include: • 57.
4–2 Message Instruction The message instruction is used to read and write a block of data to another station on the DH+ 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.
4–3 DH+ Command Set The PLC Communications Adapter Board supports a limited set of PC commands by emulating a section of PLC-5 memory. The memory area emulated determines what specific request or action the PLC Communications Adapter Board will take.
4–4 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 (N70:0–499) for Trend 1 (N71:0–499) for Trend 2 (N72:0–499) for Trend 3 (N73:0–499) for Trend 4 Description: This request translates into a read parameter full message in the 1336 FORCE. Each parameter specified results in 20 words of data (actual value, minimum value, maximum value, descriptor, and parameter text).
4–5 Rung 2:0 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 this PLC. The drive DH+ station ID is 11.
4–6 Rung 2:0 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 DH+ station ID is 11.
4–7 Rung 2:2 This rung will write parameters 117-123 when bit B3/1 is toggled from zero to one. The parameter values to be sent to the drive are stored in N30:0-7.
4–8 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 The Logic Command provides information about what functions are currently executing.
5–3 The two available channels are accessed through parameters 367 (ChA Logic Cmd In) and 368 (ChB Logic Cmd In). Both parameters have the same bit definitions as the Logic Command. Therefore, even if you do not set up a channel for RIO communications, you can still write to parameters 367 and 368 by using block transfer or by possibly linking to a function block. Important: In the PLC controller, internal bit numbering is 0 through 15 decimal and I/O bit numbering is 0 through 17 octal.
5–4 The following figure shows the correlation between the output image table bits and the bits used by the Logic Command.
5–5 This next figure shows the parameter interactions involved with the Logic Command.
5–6 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. Ownership is when a SCANport device commands a function. As long as that function is commanded, that device is the owner of that function.
5–7 For each of these parameters, each bit represents a device: If this bit is set: 1 2 3 4 5 6 7 Then, the owner is: SCANport device 1 SCANport device 2 SCANport device 3 SCANport device 4 SCANport device 5 ChA Logic Cmd In ChB 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 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.
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 The RIO to SCANport, 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 Remote I/O Communications Module, Bulletin 1203 Serial Communications Module, or the DeviceNet Communications Module manual). Setting Up the Analog I/O Parameters The PLC Communications Adapter Board can transfer analog information over SCANport.
5–11 Understanding Function Blocks 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 PLC Communications Adapter Board. You can combine function blocks together to operate on almost any part of the drive functionality. The flexibility of the function block system allows blocks to be used with the drive’s velocity or current control parameters, drive–to–drive parameters, as well as analog and remote I/O image parameters.
5–12 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.13 –– September, 1998 Is: An absolute value function block whose output is the positive value. A binary to decimal function block that takes sixteen input words and produces one decimal output word.
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. You can modify and manipulate the node parameters to meet the needs of your particular application.
5–14 Using System Resources The following figure shows an example of a 1336 FORCE drive with a PLC Communications Adapter Board. Channel A is set up for scanner mode and is controlling other drives and adapters. A function block control application is also used.
5–15 In the previous figure: • In Drive A, links were established between the function block • • • • • control application and the drive I/O parameters. Channel A of Drive A is connected to four 1/4 rack adapters by daisy chaining a single blue hose. By setting up Drive A in scanner mode, Drive A can act as a master device and the 1/4 rack adapters can act as slave devices. Drive B is connected to Drive A using Drive–to–Drive communications via a DeviceNet cable.
5–16 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 Parameter Listing The following table lists the parameters in numerical order. No. Name Group➀ Page No.
6–3 No.
6–4 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.
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 Ki Velocity Loop Motor Poles 233 Kp Velocity Loop 53 Torque Mode Sel Logic Options 59 44 Fwd Speed Limit 128 234 Rev Speed Limit 127 46 Po
6–6 File 2 – Communications I/O➀ Channel A Group➁ Logic Group Channel B Group➁ Analog Input Group Analog Output Group ChA RIO In 0 322 ChB RIO In 0 330 ChA Logic Cmd In 367 Analog In 1 339 Analog Out 1 387 ChA RIO In 1 323 ChB RIO In 1 331 ChB Logic Cmd In 368 An In 1 Offset 392 An Out 1 Offset 400 ChA RIO In 2 324 ChB RIO In 2 332 Logic Command 52 An In 1 Scale 393 An Out 1 Scale 401 ChA RIO In 3 325 ChB RIO In 3 333 Logic Status Low 56 Analog In 2 340 Analog Out
6–7 File 3 – Velocity Torque➀ Velocity Ref Logic Velocity Fdbk Velocity Reg Torque Ref Preset Speed 1 119 ChA Logic Cmd In 367 Filt Vel Fdbk 269 Vel Reg Output 134 Torque Mode Sel Preset Speed 2 120 ChB Logic Cmd In 368 Vel Feedback 146 Ki Velocity Loop 139 Torq Mode Stat 184 Preset Speed 3 121 Logic Command 52 Scaled Vel Fdbk 147 Kp Velocity Loop 140 Pos Mtr Cur Lmt 179 Preset Speed 4 122 Torq Stop Confg 58 Enc Pos Fdbk Low 148 Kf Velocity Loop 141 Neg Mtr Cur Lmt
6–8 Torque Block➀ Process Trim Torque Autotune Velocity Autotune PWM Frequency 222 Proc Trim Ref 27 Autotun Diag Sel 256 Autotun Diag Sel 256 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 Options 227
6–9 File 4 – Diagnostics➀ Monitor Testpoints Fault Sel/Sts Motor Overload Filt Vel Fdbk 269 Vel Fdbk TP Sel 145 ChA Flt Sts 436 Mtr Overload Lim 92 Scaled Vel Fdbk 147 Vel Fdbk TP Low 143 ChA Warn Sts 437 Mtr Overld Spd 1 95 Int Torque Ref 167 Vel Fdbk TP Hi 144 ChB Flt Sts 438 Mtr Overld Spd 2 96 Internal Iq Ref 168 Vel Reg TP Sel 137 ChB Warn Sts 439 Min Overload Lmt 97 Computed Power 182 Vel Reg TP Low 135 SP Fault Sts 442 Service Factor 94 DC Bus Voltage 268
6–10 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 Logic Options 1 5 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 Ad
6–11 Parameter Conventions The remainder of this chapter describes the parameters associated with the PLC Communications 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 300 Adapter ID [Adapter ID] Adapter ID displays the identifier for the PLC Communications Adapter Board. 301 Adapter Version [Adapter Version] Adapter Version displays the current firmware version of the PLC Communications 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.
6–13 306 Channel B LED State [ChB LED State] ChB LED State displays the current LED state for channel B. The LED states correspond to LEDs D13, D14, and D15 on the PLC Communications Adapter Board. 307 PLC Communications Board Status [PLC Comm Status] PLC Comm Status displays the status of the PLC Communications Adapter Board. You can use this parameter to determine if no fault occurred, or if a warning, soft fault, or hard fault occurred.
6–14 317 Data Input B2 [Data In B2] Data In B2 contains the fourth image word from the SCANport output image table. 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.
6–15 322 Channel A Remote I/O Input 0 [ChA RIOA In 0] –– adapter mode [ChA RIOS In 0] –– scanner mode ChA RIOx In 0 contains the first word or data group from the PLC controller output image table. The RIO scanner transfers the data to the drive every rack scan. The PLC Communications Adapter Board can use this value directly. Other drive functions can use this value through a configuration link.
6–16 325 Channel A Remote I/O Input 3 [ChA RIOA In 3] –– adapter mode [ChA RIOS In 3] –– scanner mode Parameter Number 325➀ Parameter Type Read Only, Source Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel A ChA RIOx In 3 contains the fourth word or data group from the PLC controller output image table. The RIO scanner transfers the data to the drive every rack scan.
6–17 328 Channel A Remote I/O Input 6 [ChA RIOA In 6] –– adapter mode [ChA RIOS In 6] –– scanner mode Parameter Number 328➀ Parameter Type Read Only, Source Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel A ChA RIOx In 6 contains the seventh word or data group from the PLC controller output image table. The RIO scanner transfers the data to the drive every rack scan.
6–18 331 Channel B Remote I/O Input 1 [ChB RIOA In 1] –– adapter mode [ChB RIOS In 1] –– scanner mode Parameter Number 331➀ Parameter Type Read Only, Source Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel B ChB RIOx In 1 contains the second word or data group from the PLC controller output image table. The RIO scanner transfers the data to the drive every rack scan.
6–19 334 Channel B Remote I/O Input 4 [ChB RIOA In 4] –– adapter mode [ChB RIOS In 4] –– scanner mode ChB RIOx In 4 contains the fifth word or data group from the PLC controller output image table. The RIO scanner transfers the data to the drive every rack scan. The PLC Communications Adapter Board can use this value directly. Other drive functions can use this value through a configuration link.
6–20 337 Channel B Remote I/O Input 7 [ChB RIOA In 7] –– adapter mode [ChB RIOS In 7] –– scanner mode Parameter Number 337➀ Parameter Type Read Only, Source Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel B ChB RIOx In 7 contains the eighth word or data group from the PLC controller output image table. The RIO scanner transfers the data to the drive every rack scan.
6–21 342 Analog Input 4 [Analog In 4] Analog In 4 displays the result of converting a ±10V signal to a ±32767 value using Analog In 4 Scale (parameter 399) and Analog In 4 Offset (parameter 398). You can link this digital value to other 1336 FORCE 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.
6–22 348 Data Output C2 [Data Out C2] Data Out C2 contains the sixth image word from the SCANport input image table. 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.
6–23 353 Channel A Remote I/O Output 2 [ChA RIOA Out 2] –– adapter mode [ChA/B RIOA Out2] –– adapter mode with redundancy [ChA RIOS Out 2] –– scanner mode Parameter Number 353➀ Parameter Type Read/Write, Sink Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel A ChA RIOx Out 2 contains the third word or data group to the PLC controller input image table.
6–24 356 Channel A Remote I/O Output 5 [ChA RIOA Out 5] –– adapter mode [ChA/B RIOA Out5] –– adapter mode with redundancy [ChA RIOS Out 5] –– scanner mode Parameter Number 356➀ Parameter Type Read/Write, Sink Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel A ChA RIOx Out 5 contains the sixth word or data group to the PLC controller input image table.
6–25 359 Channel B Remote I/O Output 0 [ChB RIOA Out 0] –– adapter mode [ChB RIOS Out 0] –– scanner mode Parameter Number 359➀ Parameter Type Read/Write, Sink Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel B ChB RIOx 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.
6–26 363 Channel B Remote I/O Output 4 [ChB RIOA Out 4] –– adapter mode [ChB RIOS Out 4] –– scanner mode Parameter Number 363➀ Parameter Type Read/Write, Sink Display Units / Drive Units None Factory Default None Minimum Value –32767 Maximum Value +32767 File – Group Communications I/O – Channel B ChB RIOx Out 4 contains the fifth word or data group to the PLC controller input image table. The data is transferred to the PLC controller every rack scan.
6–27 367 Channel A 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–28 370 Direction Owner [Dir Owner] Dir Owner displays which port currently has exclusive control of direction changes. 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.
6–29 375 Local Owner [Local Owner] Local Owner displays which port has requested exclusive control of all drive logic functions. If a port is in local lockout, all other functions (except stop) on all other ports are locked out and are non–functional. 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.
6–30 386 SCANport Analog Output [SP Analog Out] SP Analog Out passes the value it contains to the attached SCANport devices. For example, you can link one of the output parameters to SP Analog Out and each of the five SCANport devices could read the value of the output parameter. 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.
6–31 391 SCANport Analog Select [SP Analog Sel] SP Analog Sel indicates which port (1 through 5) is to receive the SCANport analog input value that appears in parameter 338, SP Analog In. 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.
6–32 395 Analog Input 2 Scale [Analog In 2 Scale] Analog In 2 Scale determines the scale factor or gain for the Analog In 2 value. A +10V dc signal applied to Analog In 2 at TB21 is converted to a +2048 digital value used by the 1336 FORCE. Before the digital value is displayed or transferred to the drive, the scale factor is applied allowing an effective digital range of ±32767 (16 x 2048). The absolute digital value is clamped at 32767.
6–33 399 Analog Input 4 Scale [Analog In 4 Scale] Analog In 4 Scale determines the scale factor or gain for the Analog In 4 value. A +10V dc signal applied to Analog In 4 at TB21 is converted to a +2048 digital value used by the 1336 FORCE. Before the digital value is displayed or transferred to the drive, the scale factor is applied allowing an effective digital range of ±32767 (16 x 2048). The absolute digital value is clamped at 32767.
6–34 403 Analog Output 2 Scale [Analog Out 2 Scale] Analog Out 2 Scale determines the scale factor or gain for the Analog In 2 value. A +2048 value corresponds to a +10V output signal at TB21. The value sent (linked) to Analog Out 2 is scaled by the corresponding scale parameter before it is offset and converted to an analog signal.
6–35 407 Analog Output 4 Scale [Analog Out 4 Scale] Analog Out 4 Scale determines the scale factor or gain for the Analog In 4 value. A +2048 value corresponds to a +10V output signal at TB21. The value sent (linked) to Analog Out 4 is scaled by the corresponding scale parameter before it is offset and converted to an analog signal.
6–36 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. 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.
6–37 416 SCANport Default Reference [SP Default Ref] SP Default Ref defines the default reference to be used when the drive is powered up. You can change the value of this parameter, but the change is only accessed when the drive is powered up.
6–38 425 Channel A Remote I/O Fault Select [ChA RIOA Flt Sel] –– adapter mode [ChA RIOS Flt Sel] –– scanner mode ChA RIOx Flt Sel dictates whether the PLC Communications Adapter Board will report a fault condition if a PLC controller RIO communications fault occurs at channel A. If a bit is zero, parameter 426 is checked to see whether a warning condition should be reported.
6–39 426 Channel A Remote I/O Warning Select [ChA RIOA Warn Sel] –– adapter mode [ChA RIOS Warn Sel] –– scanner mode ChA RIOx Warn Sel dictates whether the PLC Communications Adapter Board will report a warning condition if a PLC controller RIO communications fault occurs at channel A. ChA RIOx Warn Sel is not used if channel A is set up for DH+ communications.
6–40 427 Redundant Channel Number [Redund Chan No] (When Redundant RIO Is Used) Redund Chan No determines which channel number the 1336 FORCE will use for control purposes. Input image data and messages from the selected channel are passed to the drive, while input image data from the other channel are discarded. Messages from the other channel are still accepted if the other channel is configured for RIO adapter mode with block transfer. Output image data is sent to both channels.
6–41 430 Channel B Remote I/O Fault Select [ChB RIOA Flt Sel] –– adapter mode [ChB RIOS Flt Sel] –– scanner mode ChB RIOx Flt Sel dictates whether the PLC Communications Adapter Board will report a fault condition if a PLC controller RIO communications fault occurs at channel B. If a bit is zero, parameter 426 is checked to see whether a warning condition should be reported.
6–42 431 Channel B Remote I/O Warning Select [ChB RIOA Warn Sel] –– adapter mode [ChB RIOS Warn Sel] –– scanner mode ChB RIOx Warn Sel dictates whether the PLC Communications Adapter Board will report a warning condition or no action if a PLC controller RIO communications fault occurs at channel B. ChB RIOx Warn Sel is not used if channel B is set up for DH+ communications.
6–43 432 Channel B RIO Scanner Retries [ChB RIOS Retries] ChB RIOS Retries counts the number of communication retries for all entries in the scan list. This is only active when RIO scanner mode is selected for channel B on the DIP switches. 435 DIP Fault Setup [DIP Fault Setup] DIP Fault Setup indicates which DIP switch faults the PLC Communications Adapter Board has encountered.
6–44 437 Channel A Warning Status [ChA Warn Sts] ChA Warn Sts lists the current warning conditions at channel A of the PLC Communications Adapter Board. This is only present if channel A is defined to be either RIO adapter or RIO scanner.
6–45 439 Channel B Warning Status [ChB Warn Sts] ChB Warn Sts lists the current warning conditions at channel B of the PLC Communications Adapter Board. This is only present if channel B is defined to be either RIO adapter or RIO scanner.
6–46 442 SCANport Fault Status [SP Fault Sts] SP Fault Sts indicates which communications soft faults the drive has encountered at the ports.
6–47 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–48 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.
6–49 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–50 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. There is always a sample reserved for the instance when the trigger condition becomes true.
6–51 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–52 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.) (.NAND.) (.OR.
6–53 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–54 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.
6–55 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–56 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 Block Transfer Services Chapter Objectives Chapter 7 provides the following information: • a description of block transfer • a description of the block transfer status word • block transfer message structures Block Transfer PLC controllers use discrete transfer to transfer data to and from the PLC Communications Adapter Board during every rack scan. The PLC Communications Adapter Board transfers this data to and from the SCANport device.
7–2 Block Transfer Status Word In most cases, header word 2 of the drive response contains a negative value (bit 15 = 1) when a block transfer operation is not successful. A status word is also usually returned and indicates the reason for the block transfer failure. The location of the status word is typically header word 4 in the drive response, but will vary depending on the message. The following status word codes are defined: This value: 0 1 2 3 4 5 6 7 Publication 1336 FORCE–5.
7–3 The following table summarizes the valid command code that is displayed in word 2 of the block transfer write header message. A complete description of the block transfer write header message is provided on the specified page.
7–4 Parameter Read This message is sent by the PLC Communications Adapter Board and reads the 16–bit parameter data value for the parameter number selected.
7–5 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 0 1 2 3 5 6 7 8 ➀ BTW Data File N10:10 3 769 20 BTR Data File ➀ ➀ N10:90 0 769 20 4096 ➀ 4 These values vary depending on parameters and products.
7–6 Parameter Read 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.
7–7 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 BTR data file, beginning at N10:94. The values are in drive units.
7–8 Parameter Read 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.
7–9 Scattered Parameter Value Read Message Operation (continued) The Scattered Parameter Value Read function specified in the BTW reads a pre–defined group of parameter values, in any order, from the device. Word 3 of the BTW 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 BTR can respond with the parameter value as shown.
7–10 Parameter Read 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.
7–11 Parameter Read Full (continued) Drive Response –– Block Transfer 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 The Parameter Read Full fu
7–12 Parameter Read Full This example shows the response message N10:90 through N10:112 in both binary and ASCII. Note the ASCII information beginning with N10:99. The parameter name characters return in reverse order for each word. N10: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). These words, along with the following two words, form the word Velocity.
7–13 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.
7–14 Parameter Write The Continuous Parameter Value Write function writes to a continuous list of parameters beginning with the starting parameter number.
7–15 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 BTR status words.
7–16 Parameter Write 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.
7–17 Scattered Parameter Value Write Message Operation (continued) The Scattered Parameter Value Write function specified in the BTW writes data values to a defined group of parameters in any order. Word 3 of the BTW 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. The BTR response message returns a status word for each value written to, indicating whether the parameter write was successful.
7–18 Fault Queue The Fault Clear/Reset message activates one of several fault queue related functions shown in the message request.
7–19 Fault Clear/Reset Example (continued) In this example, a Fault Clear Request was sent to the drive through the block transfer. The BTR response indicated a successful clear by returning a value of 1792 in word 2, and a value of 0 in word 4. Data Format 0 1 2 3 1 BTW Data File N10:10 4 -30976 0 BTR Data File N90:0 0 1792 0 ➀ 4 5 6 7 8 ➀ 0 This value varies depending on parameters and products. Publication 1336 FORCE–5.
7–20 Fault Queue The Trip Fault Queue Number message provides the fault queue number of the fault that caused the drive to trip.
7–21 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.
7–22 Fault Entry Read Full Message Operation (continued) The Fault Queue Entry Read Full function specified in the BTW reads the contents of the fault queue for the input entry number specified in word 3 of the BTW 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. The Clock Time is returned in the order shown in the header message.
7–23 Warning Queue Warning Clear The Warning Clear message issues either a Clear Fault/Warning command or a Clear Warning Queue command to the drive.
7–24 Warning Clear 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 BTW. Word 2 of the BTR indicated a successful clear by returning a value of 2048. Data Format 0 1 2 3 BTW Data File N10:10 4 -30720 0 01 BTR Data File N10:90 0 2048 0 1 Publication 1336 FORCE–5.
7–25 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.
7–26 Warning Queue Read Full Drive Response –– Block Transfer 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 BTW reads the contents of the warning queue specified in word 3 of the BTW message. The response returns the warning text which can be shown as ASCII text.
7–27 EE Memory Request This message is sent by the PLC Communications Adapter Board to activate the BRAM functions detailed in the message request.
7–28 Save/Recall/Initialize Example (continued) This example is requesting an EEPROM save. Data Format 0 1 2 3 ➀ ➀ 0 1 BTW Data File N10:10 4 -31998 BTR Data File N10:90 0 770 ➀ Publication 1336 FORCE–5.13 –– September, 1998 4 5 6 7 ➀ 0 These values vary depending on parameters and products.
7–29 Link Read Link Parameter Read The Link Parameter Read message reads the source parameter number that is linked to the specified sink parameter.
7–30 Link Read 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.
7–31 Continuous Parameter Link Read Example (continued) A Continuous Parameter Link Read is requested for nine parameter links (word N10: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.
7–32 Link Read 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.
7–33 Scattered Parameter Link Read (continued) The corresponding source parameters are returned through the BTR response. If an error has occurred in reading any of the links: • Word 2 of the BTR returns a value of -32763. • Bit 15 of the BTR 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 BTW. Sink parameters 119 through 367 and 401 were defined as the desired links to be read.
7–34 Link Write The Link Parameter Write message writes the source parameter link to the linkable sink parameter. This function writes only one link.
7–35 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.
7–36 Continuous Parameter Link Write Example (continued) In this example, a group of four continuous links were sent to the drive, starting at parameter 119. Word 3 of the BTW 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 BTR message returns the status of the write request.
7–37 Link Write Scattered Parameter Link Write The Scattered Parameter Link Write function writes a scattered group of links to the drive.
7–38 Scattered Parameter Link Write 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 BTR response returns a negative value for the sink parameter, followed by a status or error code. (continued) If there is an error in the block transfer, word 2 of the BTR contains a value of -32763.
7–39 Link Write Parameter Link Clear The Parameter Link Clear message deletes all user–configured parameter links in the drive.
7–40 User Text String 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.
7–41 User Text String Read (continued) If an error has occurred in the BTW, word 2 of the BTR returns a value of -32507. Example In this example, the BTW defined a User Text String Read request in word 2 of the BTW with a value of 261. The BTR 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.
7–42 User Text String 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.
7–43 User Text String Write Example (continued) In this example, the BTW 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 BTR returned a value of 261 in word 2, indicating a successful write. In addition, it returned the text string in words 4 through 11. If an error had occurred in the BTW, the BTR would have returned an error code in word 3 of -32507.
7–44 Clock Data 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.
7–45 Real Time Clock Data Read (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. If an error occurs in the block transfer, a value of -29952 is returned in word 2 of the BTR response.
7–46 Clock Data 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.
7–47 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. If an error occurs in the block transfer, a value of -29952 is returned in word 2 of the BTR response.
7–48 Run Time Accumulator 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.
7–49 Run Time Accumulator Data Read Example (continued) In this example, the BTW requested the accumulated running time of the drive. The BTR 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 0 1 2 BTW Data File N10:10 0 2817 0 BTR Data File N10:90 0 2817 0 3 4 5 6 7 8 41 Publication 1336 FORCE–5.
7–50 Run Time Accumulator The Clear Run Time Accumulator message provides a way of clearing the run time accumulator data stored in the drive.
7–51 Time Stamp Reference Time Stamp Data Read The Reference Time Stamp Data Read message reads the reference time stamp value from the drive.
7–52 Reference Time Stamp Data Read If an error occurs in the BTW, a value of -29952 is returned in word 2 of the BTR response. (continued) Example In this example, a reference time stamp data read was requested through the BTW. Word 2 of the BTW defines this request with a decimal value of 2816 for the PLC command code. The BTR response indicates a successful request with a returned value of 2816 in BTR word 2. Words 4 through 7 then return the clock data.
7–53 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.
7–54 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:00am. You can then use this information to track scheduled maintenance down times or other information as desired. Data Format BTW Data File N10:10 0 1 2 3 4 7 -29952 0 0 0 N10:10 BTR Data File N10:90 6 2566 1283 00\00 00\00 0A\06 05\02 0 ASCII Display Values Publication 1336 FORCE–5.
7–55 Time Stamp Load Clock Info Reference Stamp The Load Clock Info Reference Stamp message loads the real–time clock data into the reference stamp.
7–56 Trend File The Number of Trends Available function indicates how many trend files the drive supports.
7–57 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.
7–58 Trend File 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.
7–59 Trend Command Example (continued) In this example, a disable trend command is sent for trend 4. Data Format 0 BTW Data File N10:10 4 BTR Data File N10:90 3 1 2 –28672 16384 4096 3 4 5 6 7 8 0 0 Publication 1336 FORCE–5.
7–60 Trend File The Trend Status function allows you to read the status of the specified trend file.
7–61 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 0 1 2 BTW Data File N10:10 3 4097 8192 BTR Data File N10:90 4 4097 8192 3 4 5 6 7 8 2 Publication 1336 FORCE–5.
7–62 Trend File The Setup Data Full function allows you to write the trend set up information in a single message. Setup Data Full If the set up data write is successful, it will auto–start the trend.
7–63 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.
7–64 Setup Data Full Trend Output Parameter specifies the sink parameter number that the Trend Output parameter is linked to. (continued) 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.
7–65 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.
7–66 All Info 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. In the tripped trigger state.
7–67 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.
7–68 Trend File The Trigger Time function allows you to read the trigger time for the specified trend file from the drive.
7–69 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.
7–70 Trend File The Run File Data function allows you to read the run–time data buffer within the drive for the specified trend file.
7–71 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.
7–72 Run File Data Index indicates the index into the 500 word buffer where the last data point was written. (continued) 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 passed the hour. Valid values are 0 through 59. The hour.
7–73 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.
7–74 Stored File Data 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. (continued) 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.
7–75 Trend File Trend Parameter Definition The Trend Parameter Definition allows you to read the list of trend parameter numbers from the database.
7–76 Trend Parameter Definition 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. Data Format 0 1 2 BTW Data File N10:10 3 4102 12228 BTR Data File N10:90 13 4102 12228 N10:100 476 474 Publication 1336 FORCE–5.
7–77 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.
7–78 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. This field: Seconds Minute Hour Date Day Year Month Publication 1336 FORCE–5.
7–79 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 0 1 2 3 4 5 6 7 8 9 500 400 1 6 0 101 4096 BTW Data File N10:10 3 4103 4096 BTR Data File N10:90 16 4103 4096 N10:100 0 101 33 17 28 14 03 17 10 05 Publication 1336 FORCE–5.
7–80 Publication 1336 FORCE–5.
Chapter 8 Troubleshooting Chapter Objectives Chapter 8 provides information to help you in trouble shooting the PLC Communications Adapter Board.
8–2 Application Processor (AP) Status D1 and D2 These LEDs reflect the operational status of the application processor. LED: D1 (Red) D2 (Green) State: LED on LED off LED blinking LED on LED off LED blinking Function: AP hard fault D6 on or hardware malfunction AP soft fault Normal AP operation D3 on or hardware malfunction AP warning Domino Processor (DP) Status D3 and D6 These LEDs reflect the operational status of the Domino processor.
8–3 Channel A Status D8, D10, and D12 Channel B Status D13, D14, and D15 These LEDs reflect the operational status of either RIO or DH+ communications. LED: D8 and D13 (Red) State: LED on LED off LED blinking D10 and D14 (Yellow) D12 and D15 (Green) RIO Adapter Function: RIO Scanner Function: Hardware malfunction Hardware malfunction Communications loss or D12 and D15 on.
8–4 Fault Queues 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.
8–5 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.
8–6 Fault Code Descriptions PLC Communications 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 = PLC Interface Board Processor 4 = Reserved 5 = Reserved 0 = General 1 = Motor 2 = Inverter 3 =Motor Control 4 = Reserved Adapter 5 = External Device 6 = Communications 7 = Reserved
8–7 Fault text and code: Drv Types Differ 24010 I11 Drive Type 24011 Fault type: Description: 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.
8–8 Fault text and code: Fault type: Adapter Config Err 24026 Soft No AP LM Exists 25023 Hard SP Pt1 Timeout 26038 SP Pt2 Timeout 26039 SP Pt3 Timeout 26040 SP Pt4 Timeout 26041 SP Pt5 Timeout 26042 Soft, warning, or none Soft, warning, or none Soft, warning, or none Soft, warning, or none Soft, warning, or none SP Comm Fault 26043 Hard SP Offline 26057 Soft, warning, or none HW Malfunction 34001 Hard HW Malfunction 34002 Hard HW Malfunction 34003 Hard HW Malfunction 34004 Hard Descript
8–9 Fault text and code: Fault type: HW Malfunction 34005 Hard ChA Rack Config 34006 Hard ChB Rack Config 34007 Hard ChA Module Group 34012 Hard Description: Suggested action: Reset the drive. If the fault persists, The integrity check on the board replace the PLC Communications hardware has failed. Adapter Board. The DIP switch settings indicate Verify the DIP switch settings for that more than one full rack channel A. RIO scanner can only scan should be scanned.
8–10 Fault text and code: Fault type: Description: Suggested action: Check parameters 303 and 304 (DIP Switch ChA and DIP Switch ChB). Verify the DIP switch settings. Both channels must have the same rack size. Redund Rack Size 34014 Hard The PLC Communications Adapter Board has detected different rack sizes for channels A and B when RIO with redundancy was selected.
8–11 Fault text and code: ChB Dup Nodeaddr 36020 Fault type: Soft Description: The PLC Communications Adapter Board has detected a duplicate channel B DH+ node address. Suggested action: Check parameter 304 (DIP Switch ChB) and refer to the table in Chapter 2 to verify the DIP switch settings. Reset the drive. If the fault persists, replace the PLC Communications Adapter Board. Check for a break in the communications cable. Verify that all connections are intact.
8–12 Fault text and code: Fault type: Description: Suggested action: Check for a break in the communications cable. Verify that all connections are intact. Clear the fault by issuing a Clear Fault or a Drive Reset command, or by recycling power. Check parameters 430 (ChB RIO Flt Sel) and 431 (ChB RIO Warn Sel) to determine the drive response to faults. These parameters determine the resolution of the condition, either fault, warning, or none. Both parameters are bit coded.
8–13 Fault text and code: Fault type: Description: Suggested action: Check the PLC mode switch and the I/O control reset. Clear the fault by issuing a Clear Fault or a Drive Reset command, or by recycling the power. Check parameters 425 (ChA RIO Flt Sel) and 426 (ChA RIO Warn Sel) to determine the drive response to faults. These parameters determine the resolution of the condition, either fault, warning, or none. Both parameters are bit coded.
8–14 Fault text and code: Fault type: Description: Suggested action: Check the PLC mode switch and the I/O control reset. Clear the fault by issuing a Clear Fault or a Drive Reset command, or by recycling the power. Check parameters 430 (ChB RIO Flt Sel) and 431 (ChB RIO Warn Sel) to determine the drive response to faults. These parameters determine the resolution of the condition, either fault, warning, or none. Both parameters are bit coded.
8–15 Fault text and code: Fault type: ChA G0 Rack Flt 36027 Soft, warning, or none ChA G2 Rack Flt 36028 Soft, warning, or none ChA G4 Rack Flt 36029 Soft, warning, or none ChA G6 Rack Flt 36030 Soft, warning, or none ChB G0 Rack Flt 36031 Soft, warning, or none ChB G2 Rack Flt 36032 Soft, warning, or none ChB G4 Rack Flt 36033 Soft, warning, or none ChB G6 Rack Flt 36034 Soft, warning, or none Description: The DIP switches indicate that a rack should be scanned at module group 0, but no
8–16 This Page Intentionally Blank Publication 1336 FORCE–5.
Chapter 9 Using the Trend Features Chapter Objectives Chapter 9 provides information that can help you use trends.
9–2 Using Trend Parameters The PLC Communications Adapter Board contains four trend buffers that you can set up to monitor any parameter. Each buffer can store up to 500 data points.
9–3 Understanding How Trending Works By using the trend parameters, you can monitor up to four parameters (trend 1 through trend 4). When trending is enabled or running, data points, or samples, are taken and stored in a circular buffer for the parameter linked to the Trend Input parameter. The PLC Communications Adapter Board continues to take data points until it either reaches a trigger point or a trigger is forced.
9–4 A trend may go through the following states: Force Trigger Trend Select set to 2. Last post sample gathered and one shot mode Last post sample gathered and continuous mode Stop Enabled Running Last post sample gathered and continuous mode Last post sample gathered and one shot mode Trigger Tripped Programmed trigger condition is true You can use the Trend Status parameter to determine the current state of the trend operation.
9–5 The following operators are available: This Operator: GT (Greater Than) LT (Less Than) EQ (Equal) NE (Not Equal) AND NAND (Negated AND) OR NOR (Negated OR) Compares: The data value for Operand X to the data value for Operand Y. If the comparison is true, the trend is triggered. The data value for Operand X to the data value for Operand Y. If the comparison is true, the trend is triggered. The data value for Operand X to the data value for Operand Y. If the comparison is equal, the trend is triggered.
9–6 Note: For ease of programming, the value of Operand Y is displayed in the same units as Operand X. For example, if Operand X is linked to Velocity Feedback, then the value of Operand Y is displayed in rpms. AND, NAND, OR, and NOR The AND, NAND, OR, and NOR logic operators are special in that they are not defined as you might expect. In addition, if you are using these logic operators, you will generally set either Operand X or Operand Y to a constant value.
9–7 Adjusting the Data Sample Rate You can specify how often you want the PLC Communications Adapter Board to take data samples. Data samples may be taken in a range of 2 milliseconds to 30 seconds, in 2 millisecond increments. The rate at which the data is sampled and at which the trigger condition is evaluated is the same up to 20 milliseconds. This assures that possible trigger conditions are monitored whenever the sample rate exceeds 20 milliseconds. To set the data sample rate: 1.
9–8 Setting the Buffer Type Each trend can also be set up as a one–shot or continuous trigger buffer. When you set up a trend as one–shot, the trend returns to the stopped state after all post samples have been taken. Even though the trend is stopped, the sampled data continues to be written to the Trend Output parameter. When you set up a trend as continuous, the trend operation continues after the post samples have been taken.
9–9 To create a cascading trend: 1. Set up your first trend as normal. 2. Set up your second trend with the same information as the first trend with one exception: you need to set the second trend to trigger when either the Trend Select parameter for the first trend is equal to Disable or the Trend Status parameter for the first trend is equal to Triggered. The order of the trends is important.
9–10 Example Trends In this first example, when the torque command is greater than 25%, the trend triggers and 50 post samples are taken at a rate of 4 milliseconds. To set up this trend, you would need to do the following: 1. Decide which trend you are setting up (trend 1, trend 2, trend 3, trend 4). For this example, trend 1 is used. 2. Link parameter 454 (Trend Input 1) to parameter 167 (Internal Torque Cmd). 3. Link parameter 455 (Tr1 Opnd Parm X) to parameter 167 (Internal Torque Cmd). 4.
Chapter 10 Specifications and Supplementals Information Chapter Objectives Chapter 10 provides specifications and supplemental information including a parameter cross reference by number or name, parameter block diagrams, a hardware block diagram, and PLC Communications Adapter Board DIP switch settings.
10–2 This category: Analog I/O Publication 1336 FORCE–5.
10–3 Software Block Diagram The following figures show the parameter linking and interactions within the PLC Communications Adapter Board. For more information about parameter linking, refer to Chapter 5, Understanding the Resources of Your Drive.
10–4 RIO Parameters ChA RIO Fault Select (Par 425) ChA RIO Warning Select (Par 426) ChA Fault Status (Par 436) ChA Warning Status (Par 437) Redundant Channel Number (Par 427) Dip Switch Setup (Par 435) RIO Image In to Drive ChA RIO Out 0 (Par 351) ChA RIO Out 1 (Par 352) ChA RIO Out 2 (Par 353) ChA RIO Out 3 (Par 354) ChA RIO Out 4 (Par 355) ChA RIO Out 5 (Par 356) ChA RIO Out 6 (Par 357) ChA RIO Out 7 (Par 358) ChA RIO In 0 (Par 322) ChA RIO In 1 (Par 323) ChA RIO In 2 (Par 324) ChA RIO In 3 (Par 325
10–5 Hardware Block Diagram The following is the hardware block diagram for the PLC Communications Adapter Board. J1 Language Module AP Status D3 AP Status D5 Fault Out D11 Ext Fault D12 Norm Stop D13 Fault Out D18 Drive Enable D21 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.
10–6 Parameter Cross Reference––By Number The following table lists the parameters in numerical order. No. Name Group➀ Page No.
10–7 No.
10–8 Parameter Cross Reference––By Name Name No. The following table lists the parameters alphabetically. Page Group➀ Name No.
10–9 Name Data In B2 Data In C1 No. 317 318 Group➀ 3 –– SCANport I/O 3 –– SCANport I/O No. 6–14 6–14 Name Tr1 Cont Trigger No. 460 Group➀ 9 –– Trends No.
10–10 PLC Communications Adapter Board DIP Switch Settings The following charts are designed to be used as reference for setting and checking your DIP switches. Refer to the appropriate chart for the protocol you are using.
10–11 DIP Switches U2 (Channel A) or U4 (Channel B) SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 DIP Switches U3 (Channel A) or U5 (Channel B) SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 20 Off On Off Off Off Off 21 Off On Off Off Off On 22 Off On Off Off On Off 23 Off On Off Off On On 24 Off On Off On Off Off 25 Off On Off On Off On 26 Off On Off On On Off 27 Off On Off On On On 30 Off On On Off Off Off 31 Off On On Off Off On 32 Off On On Off On Off 3
10–12 DIP Switches U2 (Channel A) or U4 (Channel B) SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 DIP Switches U3 (Channel A) or U5 (Channel B) SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 RIO Rack Address 70 On On On Off Off Off 71 On On On Off Off On 72 On On On Off On Off 73 On On On Off On On 74 On On On On Off Off 75 On On On On Off On 76 On On On On On Off 77 On On On On On On DH+ DIP Switches U2 (Channel A) or U4 (Channel B) DIP Switches U3 (Channel A) or U5 (Channel
10–13 DIP Switches U2 (Channel A) or U4 (Channel B) DIP Switches U3 (Channel A) or U5 (Channel B) RIO Rack Address 30 Off On On Off Off Off 31 Off On On Off Off On 32 Off On On Off On Off 33 Off On On Off On On 34 Off On On On Off Off 35 Off On On On Off On 36 Off On On On On Off 37 Off On On On On On 40 On Off Off Off Off Off 41 On Off Off Off Off On 42 On Off Off Off On Off 43 On Off Off Off On On 44 On Off Off On
10–14 RIO Scanner DIP Switches U2 (Channel A) or U4 (Channel B) SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 DIP Switches U3 (Channel A) or U5 (Channel B)➀ SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 Protocol RIO Scanner On On Baud Rate 57.6K Off Off 115.2K Off On 230.
10–15 Quarter 4 1/4 Quarter 3 Quarter 2 Quarter 1 1/4 1/2 Off Off Off On On Off On Off 1/4 1/2 Off On Off On On Off On Off Publication 1336 FORCE–5.
10–16 Publication 1336 FORCE–5.
Index A C address selection, 2–5 cable specifications for port wiring, 1–8 All Info, 7–65 channel, choosing for control, 6–40 Allen–Bradley, P–7 contacting for assistance, P–7 channel A ChA Fault Sts parameter, 6–43 ChA RIO Flt Sel parameter, 6–38 ChA RIO Warn Sel parameter, 6–39 ChA RIOS Retries parameter, 6–40 ChA Warn Sts parameter, 6–44 displaying current DIP switch settings, 6–12 displaying current LED state, 6–12 logic command parameter, 6–27 remote I/O input parameters, 6–15– 6–17 remote I/O
I–2 Index choosing protocol, 2–2 command set, 4–3– 4–8 features, 4–1 message instruction, 4–2 DIP switches ChA DIP Switch parameter, 6–12 ChB DIP Switch parameter, 6–12 DH+, 2–8, 10–12 identifying faults in set up, 6–43 RIO adapter settings, 2–3– 2–5, 10–10 RIO scanner, 10–14 setting, 2–1– 2–8 baud rate, 2–2 DH+ station address, 2–8 full rack for RIO scanner, 2–6 last/not last group, 2–3 protocol, 2–2 rack configuration for RIO scanner, 2–6 rack size for RIO adapter, 2–3 redundant RIO mode, 2–4 RIO rack a
Index Link Parameter Write, 7–34 links default, P–5, 2–14– 2–15 defined, P–5 pre–configured, 2–14– 2–15 Load Clock Info Reference Stamp, 7–55 M manuals, related, P–3 masking functions, 5–7 Maximum Trend Size Available, 7–57 motor thermo signal, 1–5 mounting instructions, 1–2 N norm stop signal, 1–5 Number of Trends Available, 7–56 O offsets, 2–11 one–shot trends, 9–8 ownership of drive functions, 5–5 P Parameter Link Clear, 7–39 Parameter Read Full, 7–10 Parameter Value Read, 7–4 Parameter Value Write,
I–4 Index Channel B Warning Status, 6–45 Clear Fault Command, 6–36 Clear Fault Owner, 6–29 conventions, 6–11 cross reference by name, 10–8 cross reference by number, 6–2, 10–6 Data Input A1, 6–13 Data Input A2, 6–13 Data Input B1, 6–13 Data Input B2, 6–14 Data Input C1, 6–14 Data Input C2, 6–14 Data Input D1, 6–14 Data Input D2, 6–14 Data Output A1, 6–21 Data Output A2, 6–21 Data Output B1, 6–21 Data Output B2, 6–21 Data Output C1, 6–21 Data Output C2, 6–22 Data Output D1, 6–22 Data Output D2, 6–22 defini
Index publications, related, P–3 R rack allocation, 2–6 rack size selection, 2–3 Real Time Clock Data Read, 7–44 I–5 using the capabilities, 2–14, 5–1 viewing fault/warning status, 5–9 Scattered Parameter Link Read, 7–32 Scattered Parameter Link Write, 7–37 Scattered Parameter Value Read, 7–8 Scattered Parameter Value Write, 7–16 Real Time Clock Data Write, 7–46 securing the PLC Communications Adapter Board, 1–2 redundant .
I–6 Index continuous, 9–8 data sample rate, 9–7 description of, 9–3– 9–4 example, 9–10 forcing trigger condition, 9–8 one–shot, 9–8 operators available, 9–5 Parameters Trend 1 Continuous Trigger, 6–48 Trend 1 Operand Parameter X, 6–46 Trend 1 Operand Parameter Y, 6–47 Trend 1 Operator, 6–47 Trend 1 Post Samples, 6–47 Trend 1 Sample Rate, 6–47 Trend 1 Select, 6–48 Trend 1 Status, 6–48 Trend 2 Continuous Trigger, 6–50 Trend 2 Operand Parameter X, 6–49 Trend 2 Operand Parameter Y, 6–49 Trend 2 Operator, 6–49
Rockwell Automation helps its customers receive a superior return on their investment by bringing together leading brands in industrial automation, creating a broad spectrum of easy-to-integrate products. These are supported by local technical resources available worldwide, a global network of system solutions providers, and the advanced technology resources of Rockwell. Worldwide representation.