background image

SlotServer Configuration Manual   

 

 

 

 

 

 

Page 27 of 37 

ProSoft Technology, Inc. is the exclusive provider of FieldServer SlotServers. 

 

For Technical Support call +1 661.716.5100

 

Appendix C.3.

 

Dealing with ControlLogix RPI Settings 

When setting up the SlotServer for ControlLogix, it is necessary to select the Request Packet Interval (RPI).  The RPI 
is the rate at  which  data  is transferred to and  from the SlotServer IO buffers.   The  following  factors need to be 
considered when deciding on an RPI: 

Minimum RPI setting for the SlotServer is 100ms. 

The Scan_Interval parameter of the two Logix Map descriptors must be faster than the RPI to ensure smooth 

communications and prevent timeouts. 

The number of message blocks used does not affect the RPI setting, but will affect the effective update rate 

for any one message block.  The effective update rate for data to/from the SlotServer’s Data Arrays to the 
Logix  CPU  tags  is  the  scan  interval  of  the  block  since  data  is  updated  to  the  block  every  scan  interval.  
Increasing the number of blocks will decrease the effective update rate per block.  This update rate does 
not include the time taken to obtain data from the third party network, which is dependant entirely on 
the third party protocol involved. 

The program scan rate should be set to run faster than the RPI.  We recommend twice as fast.  If the ladder 

program scan is slower than the RPI rate, it would be possible to miss some blocks altogether.  It is further 
recommended that diagnostics be added to the ladder program to detect missed blocks 

The effective update rate can be calculated using the following formula: 

Effective update rate (EUR) = Scan interval * (number of msg block pairs

6

e.g.  (EUR)  

=  

0.2s * 1 = 0.2s 

when using only one input and output block 

e.g. (EUR)  

=  

0.2s * 25 = 5s                 

when using the full LonWorks Open Interface configuration. 

Appendix C.4.

 

Rules for Naming Logix driver Data Arrays 

The Logix driver attaches significance to the name of the Data Array used in the Logix Driver Map Descriptor.  This 
allows the user to declare a  series of Data Arrays to be multiplexed through the input and output buffers of the 
SlotServer.  In general, Data Arrays would be 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 
would  use  Data  Arrays  named  In_1  through  In_6.    In  this  example,  DA_Name_Start  is  declared  as  In_1,  and 
DA_Count is declared as 6. If an alternative naming convention is required, the following restrictions apply: 

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  is  only  one  Map  Descriptor  for  linking  Data  Arrays  to  the  input  buffer  (function  Wrbc),  and  one  for 

linking  Data  Arrays  to  the  output  buffer  (function  Rdbc).    It  is  therefore  not  possible  to  map  non-
continuous Data  Array number sequences.   (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). 

                                                                 

6

 a message block pair consists of an output and input block 

Содержание PS56-PRO-407

Страница 1: ... manual provides instructions for the following FieldServer products Description PS56 BAS xxx PS56 FIR xxx PS56 PRO 407 The instructions are effective for the above as of September 2012 SlotServer Configuration Manual Kernel Version 1 04 Document Revision 5 ...

Страница 2: ...Module 10 4 3 Step 3 Write Ladder Program to get Input Data from Data Arrays 12 4 4 Step 4 Write Ladder Program to Send Output Data to Data Arrays 15 4 5 Step 5 Download the RSLogix Program and Run 15 4 6 Step 6 Set up the third party connection 15 5 Programming the ControlLogix CPU for larger SlotServer Interfaces 16 5 1 Multiple Input Data Arrays 16 5 2 Accessing Multiple Output Data Arrays 16 5...

Страница 3: ...Description of Data Transfer Process 30 Appendix A 9 The IO image header 32 Appendix A 10 Available Data Types for Data Arrays 32 Appendix A 11 Permissible Values for Configuration File Variables 33 Appendix A 11 1 Common Information 33 Appendix A 11 2 Data Arrays 33 Appendix A 11 3 Data Array Function 34 Appendix A 11 4 Connections Adapters 35 Appendix A 11 5 Nodes 35 Appendix A 11 6 Map Descript...

Страница 4: ...he third party protocols residing in the SlotServer 1 2 Required Configuration for the SlotServer To achieve data transfer between CPU tags and the SlotServer third party protocols it is necessary to write and load a configuration into the SlotServer that tells the SlotServer how to map the ControlLogix Tags to the required protocol addresses This configuration is written in a Comma Separated Vari...

Страница 5: ...r to the Start up guide for further information 2 2 Load the SlotServer Configuration into the SlotServer Refer to the SlotServer Start up Guide for information on the FieldServer Graphic User Interface FS GUI 2 3 Program the ControlLogix CPU to communicate with the SlotServer The sections that follow highlight a few examples on how this is done 2 4 Commission the third party network Refer to stan...

Страница 6: ... Mode Nodes Comments Server 1 Only one IO image connection supported Common Information FieldServer Title System_Station_Address SlotServer Server v1 03d 1 3 2 Data Array Parameters The configuration file tells the SlotServer about its interfaces and the routing of data required In order to enable the SlotServer for Logix communications the driver independent SlotServer buffers need to be declared...

Страница 7: ...ays section the SlotServer virtual node s needs to be declared in the Server Side Nodes section and the data to be provided to the Clients needs to be mapped in the Server Side Map Descriptors section Details on how to do this can be found below Note that in the tables indicates an optional parameter with the bold legal value being the default 3 4 Client Side Connection Parameters Section Title Co...

Страница 8: ...tch data from One of the node names specified in Client Node Descriptor above IO_Data_Type Data type of IO image Use same as used in RSLogix to add the module INT 16 bit integer SINT 8 bit signed DINT 32 bit double REAL 32 bit float DA_Name_Start 1 Name of Data Array to include in IO image data One of the Data Array names from Section 3 2 Data Arrays must be named as follows DaName_x where x is a ...

Страница 9: ...re permitted one to transfer data to the Logix CPU and one to accept data from the Logix CPU Client Side Map Descriptors Map_Descriptors Map_Descriptor_Name Scan_Interval Function Node_Name IO_Data_Type DA_Name_Start 3 DA_Count Input_BP_Image 0s Wrbc SlotServer_CPU Int TestOut_1 2 Output_BP_Image 0s Rdbc SlotServer_CPU Int TestIn_1 2 3 Refer to Appendix C 4 for information specific to naming Logix...

Страница 10: ...filled with Lon variables is created Each item uses a different amount of bytes and the total adds up to 104 Lon Network Variables This limit of 104 does not apply when using customized data items the actual limit is 496 bytes Refer to the Advanced Project to access more than 104 Network Variables 4 1 Step 1 Establish an RSLogix project4 Use File New to create a new project or File Open to open an...

Страница 11: ...l Page 11 of 37 ProSoft Technology Inc is the exclusive provider of FieldServer SlotServers For Technical Support call 1 661 716 5100 Choose the 1756 MODULE Select the Slot number in the rack where the SlotServer resides Click Next ...

Страница 12: ...o get Input Data from Data Arrays Add a CPS Synchronous Copy File Ladder element to synchronize the incoming Data from the Input Data Arrays Use the Input Image Data as Source Click Finish to complete the Module Properties setup Create the Destination Tag by right clicking on Destination and choosing New Tag Choose a RPI of 100 0 ms This is the rate at which the I O image data will be transferred ...

Страница 13: ...n the first Data Array has been received The block number is at offset 2 of the input image Finally add another CPS ladder element to copy the LonWorks Data from the InData_Copy Tag to a new Controller Tag called Lon_In_01 Also create the Tag by right clicking on Destination and choosing New Tag The New Tag must be of type REAL and a dimension of 76 Create a Controller Tag of Type REAL dimension 8...

Страница 14: ...hnical Support call 1 661 716 5100 Below is the final ladder program to access data from LonWorks Function Block In 0 Very Important Note It is very important to first make a synchronous copy of the input image data before using it If this is not done the input data cannot be guaranteed to be from a specific SlotServer Data Array ...

Страница 15: ...Tag The LonWorks Data are present from Lon_Out_01 4 to Lon_Out_01 79 You can create a User Defined Data Type to replace the type of Lon_Out_01 mapping the points to LonWorks point names Very Important Note It is very important to only update all the data of the Output Image Tag once using a Synchronous File Copy element It is not permissible to update the block number into the Output Image Tag and...

Страница 16: ..._Copy 2 Very Important Note It is very important to first make a synchronous copy of the input image data before using it If this is not done the input data cannot be guaranteed to be from a specific LonWorks Function Block 5 2 Accessing Multiple Output Data Arrays To access more output Data Arrays it is necessary to create a Multiplexer in Ladder The Flash drive supplied with the product includes...

Страница 17: ... For Technical Support call 1 661 716 5100 Very Important Note It is very important to only update all the data of the Output Image Tag once using a Synchronous File Copy element It is not permissible to update the block number into the Output Image Tag and then the data as this will cause an asynchronous transfer of data ...

Страница 18: ...Parameter On startup the value will be loaded from the Non Volatile Memory into the Data Array This value will only be stored 3 times a minute so if more writes than that are done the values will be stored in the Data Array but not to the Non Volatile Memory Storing this value has performance impacts so care must be taken to store this value only if needed There is a limit to the number of values ...

Страница 19: ...nce the communications have been re established the FieldServer will wait for a period called Probation_Delay before marking the Node as online Note 1 The Ic_Timeout parameter monitors the time between characters in a response If the time exceeds the Ic_Timeout the response is discarded and is considered a Timeout Note 2 All parameters in bold above are configurable See table below for where they ...

Страница 20: ...nical Support call 1 661 716 5100 FieldServer Server Device Poll Response Scan Interval Poll Delay Poll Response Poll Timeout Retry interval Poll Poll Recovery Interval Status Node Online Status Node Offline Poll Response Poll Response Poll Response Probation Delay Status Node Online Time Retries Figure I SlotServer Timing Diagram ...

Страница 21: ... status is good then the Node Status is set to 1 The communication status goes bad if it does not receive a response to a poll Typical Data Array Parameters are Section Title Data_Arrays Column Title Function Legal Values Data_Array_Name Provide name for Data Array SlotServerNodes Data_Format Provides Data format Bit Data_Array_Length Number of Data Objects 1 to 256 Data_Array_Function Special fun...

Страница 22: ...ot being used Refer also to Appendix B 2 Appendix B 2 Driver Error screen returns Illegal Protocol Error Ensure that the configuration is not set to write to offset 0 of the output buffer Offsets 0 1 and 3 should be clear and the correct non zero buffer number should be written into offset 2 If the output buffer is not being used then the corresponding Logix Map descriptor should be removed Append...

Страница 23: ...a Remote Rack using CNB Cards5 Appendix C 2 1 RSLogix configuration In order to see the SlotServer from the CPU the Hardware must be configured in RSLogix as follows Configure the cards in the local rack in the I O Configuration section including the CPU and the local CNB card Right click on the local CNB card and add the remote CNB card using the New Module function Right Click on the remote CNB ...

Страница 24: ... similar to this Appendix C 2 2 RSNetWorx configuration Open up RSNetWorx and add the two CNB Cards to the Network by dragging them onto the Network in the Graph tab Must be done with Edits Enabled Follow the prompts on the screen to configure the Chassis being used and the cards in each Chassis Rack Go Online with RSNetWorx and then press save This will transfer the RSNetWorx Configuration to the...

Страница 25: ... visible to the CPU Go Online with RSLogix and check the Input buffer of the SlotServer for data Examine offset 2 of the input tag for a non Zero value If the SlotServer is multiplexing DA_Count 1 then this value will be cycling through the Buffer numbers if DA_Count 1 then offset 2 will be fixed at 1 If offset 2 is zero then the SlotServer is not being seen by the CPU and Diagnostics will need to...

Страница 26: ...f FieldServer SlotServers For Technical Support call 1 661 716 5100 Appendix C 2 4 Connection limitations Controlling the SlotServer using ControlNet Only one remote I O rack is supported I O can only be added online using a direct connection The following Vendor information provides clarification ...

Страница 27: ...pdate rate EUR Scan interval number of msg block pairs 6 e g EUR 0 2s 1 0 2s when using only one input and output block e g EUR 0 2s 25 5s when using the full LonWorks Open Interface configuration Appendix C 4 Rules for Naming Logix driver Data Arrays The Logix driver attaches significance to the name of the Data Array used in the Logix Driver Map Descriptor This allows the user to declare a serie...

Страница 28: ...he exclusive provider of FieldServer SlotServers For Technical Support call 1 661 716 5100 All Data Arrays not just the start Data Array must be declared individually in the Data Arrays Section The following examples describe legal and illegal naming conventions respectively ...

Страница 29: ...l Function Node_Name IO_Data_Type DA_Name_Start DA_Count Input_BP_Image 0s Wrbc CPU1 INT Test_5 2 Output_BP_Image 0s Rdbc CPU1 INT Test_3 2 Example 2 Illegal Map Descriptors Map_Descriptors Map_Descriptor_Name Scan_Interval Function Node_Name IO_Data_Type DA_Name_Start DA_Count Input_BP_Image 0s Wrbc CPU1 INT Test_05 2 Output_BP_Image 0s Rdbc CPU1 INT Test 2 Output_BP_Image2 0s Rdbc CPU1 INT Test_...

Страница 30: ... reserved for the IO image header Refer to Appendix D 2 The SlotServer acts as a multiplexer when it sends data to the Logix CPU and as a demultiplexer when it receives data from the Logix CPU The diagram on the next page describes the SlotServer operation methodology For input data the input data from the external device is placed into the 25 Data Arrays numbered In_1 to In_25 The SlotServer send...

Страница 31: ...r Tag Logix CPU Input Data Multiplexer Output Data DeMultiplexer SlotServer Input Data In 24 Out 24 Out 0 External Device eg LonWorks Modbus 0 1 2 3 4 79 Protocol Type Node Status Data Block Number Reserved In_x Data Out_x Data Offset Description SlotServer Data Transfer over IO Data Image In 1 Offset Description In 0 0 1 2 3 4 79 Protocol Type Node Status Data Block Number Reserved Output Data Ou...

Страница 32: ...tate the choice of data type each of the data types available are described below Data Format Description Float Format used to store Floating Point Analog values e g temperature volts Each point in the array represents one 32 bit Floating Point value Bit Format for storing Binary Data Each point in the array represents one bit Byte Format for storing Bytes of data Each point in the Array represent...

Страница 33: ...ta is not too old This parameter specifies the length of time cached data is valid Time in seconds 300s Cache_Size Specify size of Cache 0 1000 80 Cache_Time_To_Live Used for Port Expansion A cache is created for data from a Node for which no Map Descriptor is configured If this data is not accessed for longer that the time specified by this parameter the cache will be cleared Time in seconds 300s...

Страница 34: ...overview of all devices configured on the FieldServer Cycles through all the devices on the FieldServer in the order that they are configured Note that the Data Array needs to be long enough to store all device information 0 Handle 1 station 2 port 3 adapter 4 status 6 old station 10 Historical message count 11 minutes 12 hour 13 day 14 month 15 Historical error count 16 minutes 17 hour 18 day 19 ...

Страница 35: ...FieldServer that tier will start acting as a Server Setting this parameter to Client_Only will prevent this happening Client_Only Write_Queue_Mode Mode for dealing with potential accumulation of successive writes to the same point can be configured Overwrite Blocking Write_Queue_Size The length of the queue can be configured if blocking mode is set Blocking will occur when there is no more space o...

Страница 36: ...ponse if ALL of the responsible Client Nodes for the data range concerned are offline Always_Respond overrides the data validity as well i e it forces the Server Node to regard data as valid even if the Client Node is offline or the data has expired Ignore_Clients Any_Offline All_Offline Always_Respond Write_Ack_Option Ack_Complete default the Server waits for the Client Side write transaction to ...

Страница 37: ...PLC Data_Array_Low_Scale Buffer_Low_Scale Scaling zero in Data Array Any signed 32 bit integer in the range 2 147 483 647 to 2 147 483 647 0 Data_Array_High_Scale Buffer_High_Scale Scaling max in Data Array Any signed 32 bit integer in the range 2 147 483 647 to 2 147 483 647 100 Node_Low_Scale Scaling zero in Connected Node Any signed 32 bit integer in the range 2 147 483 647 to 2 147 483 647 0 N...

Отзывы: