FieldServer FS-RA-CLX-BAS Appendix A.6. Rules for Naming Logix driver Data Arrays

Page 31

FS-RA-CLX_SlotServer_Instruction_Manual_(T17011)

Page 31 of 34

Appendix A.6. Rules for Naming Logix driver Data Arrays

Unlike most other FieldServer drivers, the Logix driver attaches significance to the name of the Data Array used in the Logix Driver Map Descriptor. This is done to allow the user to easily declare a series of Data Arrays to be multiplexed through the input and output buffers of the SlotServer. Most users will probably stick to a naming convention where the Data Arrays are named In_1 to In_x for input buffer arrays, and Out_1 to Out_y for output buffer arrays (where x and y are numbers reflecting the maximum input and output Array numbers respectively).

For example, an application that multiplexes 6 Data Arrays worth of data through the Input buffer will probably use data arrays named In_1 though In_6. In this example, DA_Name_Start is declared as In_1, and DA_Count is declared as 6.

It is not absolutely necessary to use the naming convention described above, however, and while the user has some latitude for declaring names, the following restrictions must be understood before attempting a different naming convention:

The Data Array name must end in _x, where x is a positive integer number.

The total length of the Data Array name (including _x) must not exceed 15 characters.

No leading zeros should be used in the _x number (For example, use _5, not _05)

The “x” part of the _x in the data array name will be the number shown in offset 2 of the input buffer for the purposes of de-multiplexing in the CPU.

There can only be one Map Descriptor for linking Data Arrays to the input buffer, and one Map Descriptor for linking Data Arrays to the output buffer (Using wrbc in the function parameter links the Map description to the input buffer, and using rdbc links the map description to the output buffer). This means that trying to map Data Array number sequences that are not continuous will not be possible (For example, you can map numbers 5 through 25, but you cannot map numbers 1 through 3, and then 5 through 8 at the same time).

The Data Arrays must be declared individually in the Data Arrays Section. Declare all data arrays, not just the start Data Array.

The following examples describe legal and illegal naming conventions respectively:

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: (408) 262-2299 Fax: (408) 262-2296 Toll_Free: 888-509-1970 email: support@fieldServer.com

Image 31
Contents Applicability & Effectivity Table of Contents Appendix B Troubleshooting Tips Introduction About this product Rslogix Required configuration for the SlotServerLoad the SlotServer Configuration into the SlotServer Install the SlotServer in a ControlLogix RackWrite the SlotServer configuration Install the FieldServer UtilitiesSlotServer Ports and Displays SlotServer InstallationLED Inside Cover Door Label Technical SpecificationsSlotServer Topology Data Arrays/Descriptors Configuring the SlotServer as a Logix I/O ServerServer Side Node Descriptors Server Side Connection DescriptorsDriver Specific Map Descriptor Parameters Map Descriptors Example Establish an RSLogix project5 Add and configure the SlotServer as an IO Module Write Ladder Program to get Input Data from Data Arrays FS-RA-CLXSlotServerInstructionManualT17011 Very Important Note Write Ladder Program to Send Output Data to Data Arrays Set up the third party connectionDownload the RSLogix Program and Run Multiple Input Data Arrays Accessing Multiple Output Data ArraysVery Important Note FS-RA-CLXSlotServerInstructionManualT17011 SlotServer Data Transfer over IO Data Image Appendix A.2. The IO image header Appendix A.3. How to obtain Node Status from the SlotServerAppendix A.4. Dealing with ControlLogix RPI Settings Appendix A.5.3. RSLogix configuration Appendix A.5.2. Setup Appendix A.5.4. RSNetWorx configuration Appendix A.5.5. Testing FS-RA-CLXSlotServerInstructionManualT17011 Appendix A.6. Rules for Naming Logix driver Data Arrays Rdbc CPU1 INT Wrbc CPU1 INTFS-RA-CLXSlotServerInstructionManualT17011 This page Intentionally Left Blank