Allen-Bradley ControlLogix 1756 Reference Manual

Allen-Bradley ControlLogix 1756 Reference Manual

Controllers import/export
Hide thumbs Also See for ControlLogix 1756:
Table of Contents

Advertisement

Logix5000 Controllers
Import/Export
1756 ControlLogix Controllers
1769 CompactLogix Controllers
1789 SoftLogix Controllers
1794 FlexLogix Controllers
PowerFlex 700S DriveLogix Controllers
Reference Manual
Spare Allen-Bradley Parts

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ControlLogix 1756 and is the answer not in the manual?

Questions and answers

Summary of Contents for Allen-Bradley ControlLogix 1756

  • Page 1 Logix5000 Controllers Import/Export 1756 ControlLogix Controllers 1769 CompactLogix Controllers 1789 SoftLogix Controllers 1794 FlexLogix Controllers PowerFlex 700S DriveLogix Controllers Reference Manual Spare Allen-Bradley Parts...
  • Page 2 • avoid a hazard • recognize the consequences Identifies information that is critical for successful IMPORTANT application and understanding of the product. Logix5550 is a trademark of Allen-Bradley, Inc., a Rockwell International Company. Microsoft, Access, and Excel are trademarks of Microsoft.
  • Page 3 4-5 and 4-8) and structured text (see pages 6-5 and 6-8). • Addition of sequential function chart components (see page 7-1). • Addition of an appendix that lists the valid CommMethod and ConfigMethod values for the supported I/O modules (see page A-1) Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 4 Summary of Changes Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 5: Table Of Contents

    TAG guidelines ......3-30 Spare Allen-Bradley Parts TAG examples ....... 3-30...
  • Page 6 Defining a Program ......3-31 Specifying PROGRAM attributes ....3-32 PROGRAM guidelines .
  • Page 7 ATTACHMENT guidelines ..... . 7-21 ATTACHMENT example ......7-21 Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 8 Chapter 8 Structuring the Tag (.CSV) Introduction ........8-1 Conventions .
  • Page 9: Introduction

    See Page: projects import a text file to create a project export a project into a text (.L5K) file tags import tags into a project export tags into a text (.CVS) file Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 10: Importing A Complete Text File Into A Project

    Importing and Exporting Files Importing a Complete Text You can import controller information from a saved text file (that has a .L5K extension). This lets you use any text editor to create a project. File into a Project Select File → Open. Select the text file.
  • Page 11: Exporting A Complete Project To A Text File

    Select File → Save As. Define the project. Specify the name of the text file. Select the .L5K file format. Click Save. Any unsaved edits are automatically saved when you IMPORTANT Spare Allen-Bradley Parts OK the export operation. Publication 1756-RM084F-EN-P - July 2002...
  • Page 12: Importing A Tags Text File Into A Project

    Importing and Exporting Files Importing a Tags Text File When you are offline and have a project open, you can import tags from a saved text file (that has a .CSV extension). This lets you use a into a Project ®...
  • Page 13 You have to use the programming software to delete tags from the tag list. For more information about the structure of the partial import/export file, see: For information on: See chapter: structuring a partial import/export file Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 14: Exporting Tags To A Text File

    Importing and Exporting Files Exporting Tags to a When you have a project open, you can export tags to a text file. You can then use a database program (like Microsoft Excel) to edit tags. Text File Make sure the project you want to export tags from is already open. Select Tools →...
  • Page 15: Introduction

    You can place comments anywhere in an import/export file, except in keywords, names, component descriptions, and the value portion of attributes (before the delimiting comma or the end parenthesis). Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 16: Placing Information In An Import/Export File

    Structuring a Complete (.L5K) Import/Export File Format You can enter comments using either of these methods: • Start the comment with two percent (%%) characters and stop at the end of the line. • Start the comment with a “(*” and end with a corresponding “*)”. Comments can extend multiple lines.
  • Page 17: Display Style

    13,10 (carriage return, line feed) $N or $n 12 (form feed) $P or $p 13 (carriage return) $R or $r 9 (tab) $T or $t xxxx (4-digit character code that $xxxx represents a hexadecimal value) Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 18: Defining A Controller

    (optional) and the version statement: Import-Export Version := RSLogix 5000 - 11.00.00.00 Owner := User Name, Allen-Bradley Co., Inc. Exported := Fri June 14 10:25:38 2002 IE_VER := 2.2; Following the header and version statement, the CONTROLLER component follows this structure: CONTROLLER <...
  • Page 19: Specifying Controller Attributes

    Specify whether the SFC restarts at the most recently executed step (MostRecent) or at SFCRestartPosition the initial step (InitialStep). Specify: SFCRestartPosition := name Specify how the SFC manages its state on last scan. Select AutomaticReset, SFCLastScan ProgrammaticReset, or DontScan. Specify: SFCLastScan := name Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 20: Controller Guidelines

    Structuring a Complete (.L5K) Import/Export File Format CONTROLLER guidelines Keep these guidelines in mind when defining a data type: • All declarations must be explicitly ordered as shown in the syntax above. • The maximum number of tasks depends on the controller type: Controller: Maximum Number of Tasks: ControlLogix...
  • Page 21: Introduction

    DataType_name attributes of the data structure Attributes can also contain a description of the component separate each attribute with a comma (,) each member of the data structure member_definition Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 22: Specifying Datatype Attributes

    Creating a Complete Import/Export File Specifying DATATYPE attributes You can specify these attributes for a DATATYPE: Attribute: Description: Provide information about the data type. Description Specify: Description := ” text ” Specify StringFamily for a string datatype. Specify FamilyType NoFamily for all other datatypes. Specify: FamilyType := text Specifying a DATATYPE member...
  • Page 23 (for example, I/O structures) and without the space we could not tell where type name actually ends. Bit members cannot be defined before their host members. Note that BitPosition zero is the least significant bit. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 24: Specifying Datatype Member Attributes

    Creating a Complete Import/Export File Specifying DATATYPE member attributes You can specify these attributes for a member of a DATATYPE: Attribute: Description: Provide information about the data type member. Description Specify: Description := ” text ” Specify decimal, hex, octal, binary, exponential, float, Radix or ASCII.
  • Page 25: Defining A Module

    Specify the number of slots in the chassis (1-32). This only applies to the MODULE ChassisSize statement that defines the controller selected for the project. Specify: ChassisSize := number Specify the slot number (1-31) where the module is in the chassis. Slot Specify: Slot := number Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 26 Creating a Complete Import/Export File Attribute: Description: Specify the ControlNet node address (1-99) or the remote I/O rack address (0-63) of NodeAddress the module. Specify: NodeAddress := number If the module is a remote I/O module, specify the starting group (0-7). For a block-transfer Group module, this is the module group number under the remote I/O adapter.
  • Page 27: Specifying A Module Connection List

    Forces appear as arrays of bytes under the InputForceData and OutputForceData attributes of the connection list. Do not modify forces in the import/export file. Use the programming software to enter and enable forces. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 28: Specifying Module Connection List Attributes

    Creating a Complete Import/Export File Specifying MODULE connection list attributes You can specify these attributes for a MODULE connection list: Attribute: Description: Provide information about the connection list. Description Specify: Description := ” text ” Specify the requested packet interval (RPI) rate in microseconds. Rate Specify: Rate := microseconds...
  • Page 29 CommMethod := Full Diagnostics - Output Data, ConfigMethod := Diagnostic, Mode := 2#0000_0000_0000_0000, CompatibleModule := 2#0000_0000_0000_0000_0000_0000_1000_0000, KeyMask := 2#0000_0000_0001_1111) ConfigData := [44,19,1,0,0,0,0,0,0,0,65535,65535,65535,0]; CONNECTION Diagnostic (Rate := 5000, EventID := <NA>) END_CONNECTION END_MODULE Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 30: Defining A Tag

    3-10 Creating a Complete Import/Export File MODULE input_1 (Parent := Local, CatalogNumber := 1756-IA16, Major := 2, Minor := 1, PortLabel := RxBACKPLANE, Slot := 1, CommMethod := 536870913, ConfigMethod := 8388610, Mode := 2#0000_0000_0000_0000, CompatibleModule := 2#0000_0000_0000_0000_0000_0000_1000_0000, KeyMask := 2#0000_0000_0001_1111) ConfigData [28,16,1,0,0,0,1,9,1,9,0,0,0,0,65535,65535];...
  • Page 31: Defining A Tag Declaration For A Non-Alias Tag

    This is because type names can contain a colon and without the space it would be impossible to detect where the type name actually starts. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 32: Defining A Tag Declaration For An Alias Tag

    3-12 Creating a Complete Import/Export File Defining a TAG declaration for an alias tag A tag declaration for an alias tag follows this structure: < tag_name > OF < alias > [ Attributes ]; Where: Item: Identifies: name of the alias tag tag_name name of the base tag the alias tag references alias...
  • Page 33: Specifying Tag Attributes

    You must also specify a Producer and RemoteTag attribute. Specify: RPI := milliseconds If consume information is provided on an alias tag, IMPORTANT the alias tag is converted to a base tag before it can consume data. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 34 3-14 Creating a Complete Import/Export File Specifying attributes for a MOTION_GROUP tag A MOTION_GROUP tag differs from a basic tag. A motion group tag has these attributes: Attribute: Description: Provide information about the tag. Description Specify: Description := ” text ” Provide information about a tag component.
  • Page 35 If the communication method uses DH+, specify the destination node number (0-77 octal). DestinationNode Specify: DHPlusDestinationNode := value If the message type is CIP Generic, specify the service code (0-32,767 hexadecimal). ServiceCode Specify: ServiceCode := 16# value Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 36 3-16 Creating a Complete Import/Export File Attribute: Description: If the message type is CIP Generic, specify the object type (0-32,767 hexadecimal). The ObjectType ObjectType attribute is the same as the Class field on the MSG configuration dialog. Specify: ObjectType := 16#value If the message type is CIP Generic, specify the target object (0-32,767 decimal).
  • Page 37 Specify the home configuration bits. Enter a hexadecimal number. HomeConfigurationBits Specify: HomeConfigurationBits := 16# value Specify the desired absolute position, in positioning units, for the axis after the homing HomePosition sequence is complete (any positive number). Specify: HomePosition := value Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 38 3-18 Creating a Complete Import/Export File Attribute: Description: Specify the desired offset (any positive number) in position units the axis is to move, upon HomeOffset completion of the homing sequence, to reach the home position. In most cases, this value will be zero.
  • Page 39 ProgrammedStopMode := text Specify the intended use of the axis. Enter Servo or Feedback Only. AxisType Specify: AxisType := text Specify the configuration of the loop. Enter Position Servo. ServoLoopConfiguration Specify: ServoLoopConfiguration := text Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 40 3-20 Creating a Complete Import/Export File Attribute: Description: Specify the drive type for the servo loop. Enter Torque or Velocity. ExternalDriveType Specify: ExternalDriveType := text Specify the fault configuration bits. Enter a hexadecimal number. FaultConfigurationBits Specify: FaultConfigurationBits := 16# value Specify an axis attribute to transmit, along with the actual position data, to the controller.
  • Page 41 Specify the amount of distance traversed by the axis when executing the output and TestIncrement feedback test (any positive number). Specify: TestIncrement := value Specify the tuning travel limit in revolutions (any positive number). TuningTravelLimit Specify: TuningTravelLimit := value Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 42 3-22 Creating a Complete Import/Export File Attribute: Description: Specify the tuning speed in revolutions per second (any positive number). TuningSpeed Specify: TuningSpeed := value Specify the tuning torque % rated (any positive number). TuningTorque Specify: TuningSpeed := value Specify the damping factor (any positive number). DampingFactor Specify: DampingFactor := value...
  • Page 43 Specify the maximum acceleration rate of the axis in position units/second (any MaximumAcceleration positive number). Specify: MaximumAcceleration := value Specify the maximum deceleration rate of the axis in position units/second (any MaximumDeceleration positive number). Spare Allen-Bradley Parts Specify: MaximumDeceleration := value Publication 1756-RM084F-EN-P - July 2002...
  • Page 44 3-24 Creating a Complete Import/Export File Attribute: Description: Specify how a specific axis will stop when the controller changes mode or a motion group ProgrammedStopMode stop (MGS) instruction is executed. Enter Fast Disable, Fast Stop, Fast Shutdown, Hard Disable, or Hard Shutdown. Specify: ProgrammedStopMode := text Specify the intended use of the axis.
  • Page 45 Specify the tuning speed in revolutions per second (any positive number). TuningSpeed Specify: TuningSpeed := value Specify the tuning torque % rated (any positive number). TuningTorque Specify: TuningTorque := value Specify the damping factor (any positive number). DampingFactor Specify: Spare Allen-Bradley Parts DampingFactor := value Publication 1756-RM084F-EN-P - July 2002...
  • Page 46 3-26 Creating a Complete Import/Export File Attribute: Description: Specify the drive model time constant (any positive number). DriveModelTimeConstant Specify: DriveModelTimeConstant := value Specify the maximum allowable value for position bandwidth (any positive number), given PositionServoBandwidth the damping factor. This parameter is disabled if the loop configuration is set to velocity. Specify: PositionServoBandwidth := value Specify the unity gain bandwidth that is to be used to calculate the subsequent gains for a...
  • Page 47 Specify the amount of torque available to stop the motor (0-1000). StoppingTorque Specify: StoppingTorque := value Specify the maximum amount of time that the drive amplifier will remain enabled while StoppingTimeLimit trying to stop (0-6553.5). Specify: StoppingTimeLimit := value Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 48: Defining Tag Initial Values

    3-28 Creating a Complete Import/Export File Attribute: Description: Specify the amount of time that the drive maintains torque when the servo axis is disabled BrakeEngageDelayTime and the drive decelerates to a minimum speed (0-6.5535). Specify: BrakeEngageDelayTime := value Specify amount of time that the drive ignores command values from the controller when BrakeReleaseDelayTime the servo axis is enabled and the drive activates the torque (0-6.5535).
  • Page 49: Defining A Comment For A Tag Component

    Enter: bit 3 of a tag COMMENT.3 := “ description ” element 8 of an array tag COMMENT[8] := “ description ” COMMENT.PRE := “ description ” preset value of a tag Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 50: Tag Guidelines

    3-30 Creating a Complete Import/Export File TAG guidelines Keep these guidelines in mind when defining a tag: • Tags must be defined after devices (if there are no devices, then after the data types) within the controller body. • Base tags and aliases can be defined out of order within a tag block.
  • Page 51: Defining A Program

    5 structured text routine for this program STX_ROUTINE see chapter 6 sequential function chart routine for this program SFC_ROUTINE see chapter 7 You can intermix ROUTINE, FBD_ROUTINE, STX_ROUTINE, and SFC_ROUTINE declarations. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 52: Specifying Program Attributes

    3-32 Creating a Complete Import/Export File Specifying PROGRAM attributes You can specify these attributes for a PROGRAM: Attribute: Description: Provide information about the program. Description Specify: Description := ” text ” Name of the main routine of the program. Main Specify: Main := name Name of the program fault routine, if any.
  • Page 53: Program Example

    The maximum number of tasks depends on the of controller: Controller: Maximum Number of Tasks: ControlLogix SoftLogix5800 FlexLogix CompactLogix (L20, L30) DriveLogix A TASK component follows this structure: TASK < task_name > [ Attributes ] < program_name >; END_TASK Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 54: Specifying Task Attributes

    3-34 Creating a Complete Import/Export File Where: Item: Identifies: the task task_name attributes of the task Attributes can also contain a description of the task separate each attribute with a comma (,) each program within the task program_name all program names are followed by a semi colon (;) Specifying TASK attributes You can specify these attributes for a TASK: Attribute:...
  • Page 55: Task Example

    (,) Controller objects are optional. There can be only one of each controller object you choose to define. Controller objects appear at the end of the import/export file. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 56: Specifying Config Attributes

    3-36 Creating a Complete Import/Export File Specifying CONFIG attributes The attributes depend on the type on CONFIG object you specify. Some objects do not have any attributes. The following table lists those objects that have attributes and descriptions of each: Object: Attribute: Description:...
  • Page 57 Specify the maximum station address (0-31). MaxStationAddress Specify: MaxStationAddress := value Specify the token hold factor (1-4). TokenHoldFactor Specify: TokenHoldFactor := value none none ExtendedDevice none none FaultLog none none none none PCCC none none Redundancy Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 58 3-38 Creating a Complete Import/Export File Object: Attribute: Description: Specify the communication rate for the serial port. Enter 110, 300 SerialPort BaudRate 600, 1200, 2400, 4800, 9600, 19200, or 38400 Specify: BaudRate := value Specify the parity setting for the serial port. Parity provides Parity additional message-packet error detection.
  • Page 59 Specify the user mode character. PendingSystemMode Character Specify: PendingSystemModeCharacter := value none none UserMemory Specify any local time adjustment. WallClockTime LocalTimeAdjustment Specify: LocalTimeAdjustment := value Specify the time zone. TimeZone Specify: TimeZone := value Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 60: Config Examples

    3-40 Creating a Complete Import/Export File CONFIG examples The following two examples show a DF1 controller object and a SerialPort controller object. CONFIG DF1 DuplicateDetection := -1, ErrorDetection := BCC Error, EmbeddedResponseEnable := -1, DF1Mode := Pt to Pt, ACKTimeout := 50, NAKReceiveValue := 3, DF1ENQs := 3, DF1Retries := 3,...
  • Page 61: Entering Ladder Diagram Logic

    (,) ladder logic ladder rungs Specifying ROUTINE attributes You can specify these attributes for a ROUTINE: Attribute: Description: Provide information about the routine. Description Specify: Description := ” text ” Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 62: Entering Rung Logic

    Entering Ladder Diagram Logic Entering Rung Logic You enter rung logic within a ROUTINE component in an import/export file. Each rung follows this structure: < RungType > : < RungNeutralText >; Where: Item: Identifies: the rung RungType the logic RungNeutralText The following rung types are available: Rung type: Description:...
  • Page 63: Ladder Routine Example

    BranchNeutralText the logic Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 64: Example With A Single Branch

    Entering Ladder Diagram Logic Example with a single branch N: XIC(conveyor_a)[,XIC(input_1) XIO(input_2) ]OTE(light_1); Example with two simultaneous branches N: XIC(conveyor_b)[,XIC(input_1) XIO(input_2) ,XIC(input_a) XIO(input_b) ]OTE(light_2); Entering Rung Comments The comments for rungs are similar to those for components except that the syntax is a bit different. The rung comment syntax is: RC: “comment”...
  • Page 65 EOT( data_bit ); EQU( source_A,source_B ); FAL( control,length,position,mode,destination,expression ); FBC( source,reference,result,cmp_control,length,position,result_control, length,position ); FFL( source,FIFO,control,length,position ); FFU( FIFO,destination,control,length,position ); FIND FIND( source,search,start,result ); FLL( source,destination,length ); FOR( routine_name,index,initial_value,terminal_value,step_size ); Spare Allen-Bradley Parts FRD( source,destination ); Publication 1756-RM084F-EN-P - July 2002...
  • Page 66 Entering Ladder Diagram Logic Instruction: Neutral text format: FSC( control,length,position,mode,expression ); GEQ( source_A,source_B ); GRT( source_A,source_B ); GSV( class_name,instance_name,attribute_name,destination ); INSERT INSERT( sourceA,sourceB,start,destination ); JMP( label_name ); JSR( routine_name,input_1,...input_n,return_1,..return_n ); JXR( external_routine_name,external_routine_control,parameter, return_parameter ); LBL( label_name ); LEQ( source_A,source_B ); LES( source_A,source_B );...
  • Page 67 MSO( axis,motion_control ); MUL( source_A,source_B,destination ); MVM( source,mask,destination ); NEG( source,destination ); NEQ( source_A,source_B ); NOP(); NOT( source,destination ); ONS( storage_bit ); OR( source_A,source_B,destination ); OSF( storage_bit,output_bit ); OSR( storage_bit,output_bit ); Spare Allen-Bradley Parts OTE( data_bit ); Publication 1756-RM084F-EN-P - July 2002...
  • Page 68 Entering Ladder Diagram Logic Instruction: Neutral text format: OTL( data_bit ); OTU( data_bit ); PID(PID ,process_variable,tieback,control_variable,pid_master_loop, inhold_bit,inhold_value); RAD( source,destination ); RES( structure ); RET( return_1,...return_n ); RTO( timer,preset,accum ); RTOS RTOS( source,destination ) SBR( routine_name,input_1,...input_n ); SFP(SFC_routine_name,target_state); SFR(SFC_routine_name,step_name); SIN( source,destination ); SIZE SIZE( souce,dimension_to_vary,size );...
  • Page 69 Entering Ladder Diagram Logic Instruction: Neutral text format: XIO( data_bit ); XOR( source_A,source_B,destination ); XPY( source_A,source_B,destination ); Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 70 4-10 Entering Ladder Diagram Logic Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 71: Entering Function Block Diagram Logic

    (such as sheet Attributes size or sheet orientation) can also contain a description of the routine separate each attribute with a comma (,) you enter function block logic in sheets function block sheets Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 72: Specifying Fbd_Routine Attributes

    Entering Function Block Diagram Logic Specifying FBD_ROUTINE attributes You can specify these attributes for a FBD_ROUTINE: Attribute: Description: Provide information about the routine. Description Specify: Description := ” text ” Select one of these sizes: SheetSize • Letter (8.5x11in) • Legal (8.5x14in) •...
  • Page 73: Sheet Guidelines

    • WIRE and FEEDBACK_WIRE statements must appear after all the other components. • Be careful when copying and pasting function block components within an import/export file. Each component within a sheet must have a unique ID number within that sheet. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 74: Fbd_Routine Example

    Entering Function Block Diagram Logic FBD_ROUTINE example FBD_ROUTINE My_FBD_Routine (SheetSize := "Tabloid (11x17in)", SheetOrientation := Landscape) SHEET (Name := Input_Scaling) MUL_BLOCK (ID := 0, X := 440, Y := 60, Operand := MUL_01, VisiblePins := "SourceA, SourceB, Dest") END_MUL_BLOCK SCL_BLOCK (ID := 1, X := 240, Y := 60,...
  • Page 75 ToParameter := In) END_WIRE WIRE (FromElementID := 4, FromParameter := "", ToElementID := 2, ToParameter := In) END_WIRE WIRE (FromElementID := 0, FromParameter := Dest, ToElementID := 6, ToParameter := "") END_WIRE Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 76: Entering Irefs And Orefs

    Entering Function Block Diagram Logic WIRE (FromElementID := 1, FromParameter := Out, ToElementID := 0, ToParameter := SourceA) END_WIRE WIRE (FromElementID := 2, FromParameter := Out, ToElementID := 5, ToParameter := "") END_WIRE END_SHEET END_FBD_ROUTINE Entering IREFs and OREFs Input and output references have similar formats and identical attributes.
  • Page 77: Iref And Oref Guidelines

    IREF and OREF examples IREF (ID := 8, X := 200, Y := 380, Operand := PMUL_InitVal) END_IREF OREF (ID := 9, X := 480, Y := 340, Operand := FB_PMUL) END_OREF Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 78: Entering Icons And Ocons

    Entering Function Block Diagram Logic Entering ICONs and OCONs Input and output wire connectors have similar formats and identical attributes. They follow this format: ICON (ID := < unique_identifier > X := < internal_grid_x_location >, Y := < internal_grid_y_location >, Name := <...
  • Page 79: Icon And Ocon Examples

    ToElementID enter unsigned, 32-bit integer Specify: ToElementID := ” number ” the pin on the destination drawing element ToParameter For: Enter: blocks parameter name OREFs OCONs Specify: ToParameter := ” pin ” Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 80: Wire Guidelines

    5-10 Entering Function Block Diagram Logic WIRE guidelines • Wires that are not correctly specified will not be imported. • A feedback wire follows the same format as a wire. Just connect the source and destination elements to form a feedback. WIRE example WIRE (FromElementID := 11,...
  • Page 81: Block Guidelines

    SoakValue (required) SoakTime (required) • The X and Y grid locations are a relative position from the upper-left corner of the sheet. X is the horizontal position; Y is the vertical position. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 82: Entering Parameters For Function Block Instructions

    5-12 Entering Function Block Diagram Logic Entering Parameters for The following tables lists each function block instruction and its format in the Block component of an import/export file. For details Function Block Instructions about a specific instruction, see one of these manuals: Instruction Type: Documents: General, sequential...
  • Page 83 VisiblePins := “ Source, Dest” ) Operand := GEQ_01, VisiblePins := “ SourceA, SourceB” ) Operand := GRT_01, VisiblePins := “ SourceA, SourceB” ) Operand := HLL_01, VisiblePins := “ In, Out, HighAlarm, LowAlarm ”) Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 84 5-14 Entering Function Block Diagram Logic Instruction: Default Operand and VisiblePins formats (components within the Block structure): Operand := HPF_01, VisiblePins := “ In, Out ”) INTG Operand := INTG_01, VisiblePins := “ In, Out ”) JKFF Operand := JKFF_01, VisiblePins := “...
  • Page 85 ProgOperReq, ProgAutoReq, ProgManualReq, ProgHoldReq, Out, CurrentSeg, SoakTimeLeft, GuarRampOn, GuarSoakOn, ProgOper, Auto, Manual, Hold ”, RampValue := array_name , SoakValue := array_name , SoakTime := array_name ) RTOR Operand := RTOR_01, Spare Allen-Bradley Parts VisiblePins := TimerEnable, PRE, Reset, ACC, DN”) Publication 1756-RM084F-EN-P - July 2002...
  • Page 86 5-16 Entering Function Block Diagram Logic Instruction: Default Operand and VisiblePins formats (components within the Block structure): Operand := SCL_01, VisiblePins := “ In, Out ”) SCRV Operand := SCRV_01, VisiblePins := “ In, Out ”) Operand := SEL_01, VisiblePins := “ In1, In2, SelectorIn, Out ”) SETD Operand := SETD_01, VisiblePins := “...
  • Page 87 Default Operand and VisiblePins formats (components within the Block structure): UPDN Operand := UPDN_01, VisiblePins := “ InPlus, InMinus, Out ”) Operand := XOR_01, VisiblePins := “ SourceA, SourceB, Dest” ) Operand := XPY_01, VisiblePins := “ SourceA, SourceB, Dest” ) Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 88 5-18 Entering Function Block Diagram Logic Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 89: Entering Structured Text Logic

    (‘) Specifying STX_ROUTINE attributes You can specify these attributes for a ROUTINE: Attribute: Description: Provide information about the routine. Description Specify: Description := ” text ” Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 90: Entering Structured Text Logic

    Entering Structured Text Logic Entering Structured Text You enter structured text logic within an STX_ROUTINE component in an import/export file. Each line of structured text must begin with a Logic single quote (‘). Structured text is not case sensitive. Structured text can contain: Term: Definition: Examples:...
  • Page 91: Structured Text Stx_Routine Example

    END_STX_ROUTINE Entering Comments Enclose comments between (* and *) characters. Comments can include carriage returns. You can place comments anywhere in structured text logic. For example: (*------------------------------------------------------------------------------------------ ----------- Example comment ---------------------------------------------------------------- ------------------------------------------------------------------------------------------*) Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 92: Entering Structured Text

    Entering Structured Text Logic Entering Structured Text The following tables lists each structured text instruction and function. For more details, see one of these manuals: Instruction Type: Documents: General, sequential Logix5000 Controllers General Instructions Set Reference Manual , publication 1756-RM003 instruction Process control or drives Logix5000 Controllers Process Control and Drives Instructions Set Reference Manual , publication 1756-RM006...
  • Page 93 FOR count := initial_value TO final_value BY increment DO < statement >; END_FOR; IF sourceA >= source B THEN < statements >; ENDIF; IF sourceA > source B THEN < statements >; ENDIF; GSV( ClassName,InstanceName,AttributeName,Dest ); Spare Allen-Bradley Parts HLL( HLL_tag ); Publication 1756-RM084F-EN-P - July 2002...
  • Page 94 Entering Structured Text Logic Instruction: Neutral text format: HPF( HPF_tag ); IF...THEN IF bool_expression THEN <statement> ; END_IF; INSERT INSERT( SourceA,SourceB,Start,Dest ); INTG INTG( INTG_tag ); JKFF JKFF( JKFF_tag ); JSR( RoutineName,InputCount,InputPar,ReturnPar ); LDL2 LDL2( LDL2_tag ); LDLG LDLG( LDLG_tag ); IF sourceA <= source B THEN <...
  • Page 95 MVMT( MVMT_tag ); dest := - source ; IF sourceA <> sourceB THEN < statements >; END_IF; IF NOT source THEN < statements >; END_IF; dest := sourceA OR sourceB Spare Allen-Bradley Parts OSFI OSFI( OSFI_tag ); Publication 1756-RM084F-EN-P - July 2002...
  • Page 96 Entering Structured Text Logic Instruction: Neutral text format: OSRI OSRI( OSRI_tag ); data_bit [:=] BOOL_expression ; IF BOOL_expression THEN data_bit := 1; END_IF; IF BOOL_expression THEN data_bit := 0; END_IF; PI( PI_tag ); PID(PID ,ProcessVariable,Tieback,ControlVariable,PIDMasterLoop,InholdBit, InholdValue); PIDE PIDE( PIDE_tag ); PMUL PMUL( PMUL_tag );...
  • Page 97 WHILE bool_expression DO < statement >; END_WHILE; IF data_bit THEN < statement >; END_IF; IF NOT data_bit THEN < statement >; END_IF; dest := sourceA XOR sourceB ; dest := sourceX XPY sourceY ; Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 98 6-10 Entering Structured Text Logic Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 99: Entering Sequential Function Chart Logic

    You enter sequential function chart logic in an SFC_ROUTINE component in an import/export file. Each routine follows this Function Chart Routine structure: SFC_ROUTINE < routine_name > [Attributes] <STEP_component> <TRANSITION_componment> <SBR_RET_component> <STOP_component> <BRANCH_component> <DIRECTED_LINK_component> <TEXT_BOX_component) <ATTACHMENT_component> END_SFC_ROUTINE Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 100 Entering Sequential Function Chart Logic Where: Item: Identifies: the name of the SFC routine. routine_name attributes of the SFC routine Attributes see page 7-3 SFC step block, contains actions STEP_component see page 7-9 SFC transition block TRANSITION_component see page 7-14 subroutine call SBR_RET_component see page 7-15...
  • Page 101: Specifying Sfc_Routine Attributes

    ActionName := name the prefix for the name of the stop blocks in this SFC routine. RSLogix 5000 software uses StopName this prefix when it automatically generates an SFC_STOP tag. Specify: StopName := name Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 102: Sfc_Routine Example

    Entering Sequential Function Chart Logic SFC_ROUTINE example This SFC routine: Publication 1756-RM084F-EN-P - July 2002...
  • Page 103 (ID := 12, X := 460, Y := 1160, Operand := Tran_UsedTwice, HideDescription := Yes, DescriptionX := 495, DescriptionY := 1145, DescriptionWidth := 0) CONDITION (LanguageType := STX) ’TempTag > 0 END_CONDITION Spare Allen-Bradley Parts END_TRANSITION Publication 1756-RM084F-EN-P - July 2002...
  • Page 104 Entering Sequential Function Chart Logic BRANCH (ID := 14, Y := 940, BranchType := Selection, BranchFlow := Diverge, Priority := UserDefined) (ID := 15) END_LEG (ID := 16) END_LEG END_BRANCH BRANCH (ID := 17, Y := 1320, BranchType := Simultaneous, BranchFlow := Converge) (ID := 18) END_LEG (ID := 19)
  • Page 105 InitialStep := No, PresetUsesExpression := No, LimitHighUsesExpression := No, LimitLowUsesExpression := No, ShowActions := Yes) END_STEP BRANCH (ID := 39, Y := 1220, BranchType := Selection, BranchFlow := Converge) (ID := 40) END_LEG (ID := 41) END_LEG Spare Allen-Bradley Parts END_BRANCH Publication 1756-RM084F-EN-P - July 2002...
  • Page 106 Entering Sequential Function Chart Logic STEP (ID := 42, X := 280, Y := 1260, Operand := Step_000, HideDescription := No, DescriptionX := 360, DescriptionY := 1240, DescriptionWidth := 0, InitialStep := No, PresetUsesExpression := No, LimitHighUsesExpression := No, LimitLowUsesExpression := No, ShowActions := Yes) END_STEP STEP (ID := 44, X := 460, Y := 1080, Operand := ConsumedTag_Step,...
  • Page 107: Entering Steps

    DescriptionX := < numerical_value >, DescriptionY := < numerical_value >, DescriptionWidth := < numerical_value >, InitialStep := <yes|no>, PresetUsesExpression := <yes|no>, LimitHighUsesExpression := <yes|no>, LimitLowUsesExpression := <yes|no>, ShowActions := <yes|no>) <PRESET_block> <LIMIT_HIGH_block> <LIMIT_LOW_block> <ACTION_LIST_block> END_STEP Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 108 7-10 Entering Sequential Function Chart Logic Where: Item: Identifies: the step identifier. This ID uniquely identifies this step from all other blocks. Enter an unsigned, 32-bit integer value. Specify: ID := number x-coordinate on internal grid. Enter an unsigned, 32-bit integer value. Specify: X := number y-coordinate on internal grid.
  • Page 109: Entering The Preset Block

    The limit low block contains a structured text expression that specifies the preset time in milliseconds for a limit low alarm. Each line of structured text begins with a single quote (‘). LIMITLOW (LanguageType := STX) ‘<structured_text> Spare Allen-Bradley Parts END_LIMITLOW Publication 1756-RM084F-EN-P - July 2002...
  • Page 110: Entering The Action_List Block

    7-12 Entering Sequential Function Chart Logic Entering the ACTION_LIST block Each step can contain multiple actions. Each action follows this format: ACTION ( ID := < unique_identifier >, Operand := < tag_reference >, Qualifier := < character(s) >, IsBoolean := <yes|no>, PresetUsesExpression := <yes|no>, IndicatorTag := <...
  • Page 111: Step Example

    LimitLowUsesExpression := No, ShowActions := Yes) ACTION (ID := 18, Operand := LastAction, Qualifier := N, IsBoolean := No, PresetUsesExpression := No, IndicatorTag := "") BODY (LanguageType := STX) ’LastExecuted := 1; END_BODY END_ACTION END_STEP Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 112: Entering Transitions

    7-14 Entering Sequential Function Chart Logic Entering Transitions Transitions follow this format: TRANSITION ( ID := < unique_identifier >, X := < internal_grid_x_location >, Y := < internal_grid_y_location >, Operand := < tag_reference >, HideDescription := <yes|no>, DescriptionX := < numerical_value >, DescriptionY := <...
  • Page 113: Entering The Condition Block

    The subroutine calls let you pass values into and out of the SFC routine. Subroutine calls follow this format: SBR_RET ( ID := < unique_identifier >, X := < internal_grid_x_location >, Y := < internal_grid_y_location >, In := <“list”>, Out := <“list”>) END_SBR_RET Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 114: Sbr_Ret Example

    7-16 Entering Sequential Function Chart Logic Where: Item: Identifies: the SBR_RET identifier. This ID uniquely identifies this subroutine call from all other blocks. Enter an unsigned, 32-bit integer value. Specify: ID := number x-coordinate on internal grid. Enter an unsigned, 32-bit integer value. Specify: X := number y-coordinate on internal grid.
  • Page 115: Stop Example

    Branches follow this format: BRANCH ( ID := < unique_identifier >, Y := < internal_grid_y_location >, BranchType := < text >, BranchFlow := < text >, Priority := < text >) <LEG_block> END_BRANCH Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 116: Entering The Leg Block

    7-18 Entering Sequential Function Chart Logic Where: Item: Identifies: the branch identifier. This ID uniquely identifies this branch from all other blocks. Enter an unsigned, 32-bit integer value. Specify: ID := number y-coordinate on internal grid. Enter an unsigned, 32-bit integer value. Specify: Y := number the type of branch.
  • Page 117: Branch Example

    Enter an unsigned, 32-bit integer value. ToElementID Specify: ToElementID := number whether or not to show the link. Enter TRUE or FALSE. ShowLink pecify: ShowLink := text Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 118: Directed_Link Guidelines

    7-20 Entering Sequential Function Chart Logic DIRECTED_LINK guidelines • All DIRECTED_LINK blocks must come after all STEP, TRANSITION, STOP, and BRANCH blocks. • A directed link links only one element to one other element. DIRECTED_LINK example DIRECTED_LINK (FromElementID := 16, ToElementID := 12, ShowLink := True) END_DIRECTED_LINK Entering Text Boxes The text box blocks in an SFC routine hold descriptions about SFC...
  • Page 119: Text_Box Guidelines

    • Use an attachment to link a text box to an SFC element. • All ATTACHMENT blocks must come after all TEXT_BOX blocks. ATTACHMENT example ATTACHMENT (FromElementID := 7, ToElementID := 2) Spare Allen-Bradley Parts END_ATTACHMENT Publication 1756-RM084F-EN-P - July 2002...
  • Page 120 7-22 Entering Sequential Function Chart Logic Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 121: Introduction

    White space characters include spaces, tabs, carriage return, newline, and form feed. These characters can occur anywhere in an import/export file, except in keywords or names. If white space characters occur outside of descriptions, they are ignored. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 122: Internal File Comments

    The overall format is: remark,”CSV-Import-Export” remark,”Date = Fri Mar 16 14:16:47 2001” remark,”Version = RSLogix 5000-8.00.00.00” remark,”Owner = User Name” remark,”Company = Allen-Bradley Co., Inc.” TYPE,SCOPE,NAME,DESCRIPTION,DATATYPE,SPECIFIER remark Controller Tags ALIAS TYPE,SCOPE,NAME,DESCRIPTION,DATATYPE,SPECIFIER remark 1st program...
  • Page 123: Specifying A Tag Record

    • for a tag comment, specifies the tag name and member or bit Specifying a Tag Record Each TAG record defines a tag within a controller project. A TAG record follows this format: TAG,”Scope”,”Name”,”Description”,”Datatype”,”Specifier” Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 124: Specifying Dimensions

    Structuring the Tag (.CSV) Import/Export File Format Specifying dimensions You specify tag dimensions the same way as you enter the tag in logic. To specify: Enter: 1 dimension number 2 dimensions number,number 3 dimensions number,number,number TAG examples The following examples show TAG records. Example: Description: TAG,,timer_1,”this is the first timer”,”TIMER”,””...
  • Page 125: Specifying A Comment Record

    Important: If you use the COMMENT statement for a tag, it overwrites the description part of the TAG statement for that tag. The COMMENT tag essentially defines a new description for the tag. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 126: Sample Scenarios Of Importing/Exporting Tags

    Structuring the Tag (.CSV) Import/Export File Format Sample Scenarios of The following examples show how you can use the partial import of tags (the collision mode is overwrite): Importing/Exporting Tags Scenario: Result: Export tags Changed attributes overwrite existing Edit tag attributes, but not names tag attributes Import tags back into controller project Export tags (contains tag named Joe)
  • Page 127: Example Tag Import/Export File

    Example Tag The following example shows a partial, tag (.CSV) import/export file. Import/Export File remark,”CSV-Import-Export” remark,”Date = Fri Mar 16 14:16:47 2001” remark,”Version = RSLogix 5000-8.00.00.00” remark,”Owner = User Name” remark,”Company = Allen-Bradley Co., Inc.” TYPE,SCOPE,NAME,DESCRIPTION,DATATYPE,SPECIFIER TAG,,remote_cnb:I,"","AB:1756_CNB_10SLOT:I:0","" TAG,,remote_cnb:O,"","AB:1756_CNB_10SLOT:O:0","" TAG,,Local:1:C,"","AB:1756_DI:C:0","" TAG,,Local:1:I,"","AB:1756_DI:I:0","" TAG,,Local:2:C,"","AB:1756_DO:C:0",""...
  • Page 128 Structuring the Tag (.CSV) Import/Export File Format The above example tag file would look like this if opened using a spreadsheet program: Publication 1756-RM084F-EN-P - July 2002...
  • Page 129: 1734 Modules

    Listen Only - Input Data 28000002 00800002 1734-IT2I Input Data 20000001 00800001 Listen Only - Input Data 28000002 00800002 1734-IV2 Input Data 20000001 00800001 Listen Only - Input Data 28000002 00800002 Spare Allen-Bradley Parts Rack Optimized 40000000 00800003 Publication 1756-RM084F-EN-P - July 2002...
  • Page 130 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1734-IV4 Input Data 20000001 00800001 Listen Only - Input Data 28000002 00800002 Rack Optimized 40000000 00800003 1734-MODULE Data - INT 20000003 00800003 Input Data - INT 2000000B 0080000B Data - SINT 20000002 00800002...
  • Page 131: 1747 Modules

    Velocity Control 20000001 00800001 Position Control 20000002 00800002 User-Defined Control 20000003 00800003 1756-DMF30 User-Defined Control 20000003 00800001 1756-DNB Data 20000001 1756-ENBT None 20000002 Rack Optimized 30000001 Listen Only - Rack Optimized 38000003 Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 132 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1756-ENET None 20000002 Rack Optimized 30000001 Listen Only - Rack Optimized 38000003 1756-HSC HSC Data 20000001 00800001 Listen Only - HSC Data 28000001 00800002 1756-IA16 Input Data 20000001 00800002 CST Timestamped Input Data 20000002...
  • Page 133 Listen Only - CST Timestamped Integer Data - High Speed Mode 28000012 00800024 1756-IF4FXOF2F Float Data 20000001 00800001 CST Timestamped Float Data 20000003 00800003 Listen Only - Float Data 28000002 00800002 Listen Only - CST Timestamped Float Data 28000004 0800004 Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 134 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1756-IF6I Float Data 20000001 00800001 Integer Data 20000002 00800002 CST Timestamped Float Data 20000003 00800003 CST Timestamped Integer Data 20000004 00800004 Listen Only - Float Data 28000001 00800005 Listen Only - Integer Data 28000002 00800006...
  • Page 135 20000010 00800010 Input Data - SINT 2000000C 0080000C Input Data - SINT - With Status 2000000D 0080000D Input Data - REAL 2000000E 0080000E Input Data - REAL - With Status 2000000F 0080000F Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 136 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1756-OA8 Output Data 20000001 00800001 Scheduled Output Data 20000002 00800002 Listen Only - Output Data 28000001 00800003 Rack Optimized 40000000 00800004 1756-OA8D Full Diagnostics - Scheduled Output Data 20000001 00800001 (standard) 00800002 (diagnostic)
  • Page 137 Listen Only - Float Data 28000001 00800005 Listen Only - Integer Data 28000002 00800006 Listen Only - CST Timestamped Float Data 28000003 00800007 Listen Only - CST Timestamped Integer Data 28000004 00800008 Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 138 A-10 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1756-OF8 Float Data 20000001 00800001 Integer Data 20000002 00800002 CST Timestamped Float Data 20000003 00800003 CST Timestamped Integer Data 20000004 00800004 Listen Only - Float Data 28000001 00800005 Listen Only - Integer Data 28000002...
  • Page 139 Listen Only, No Transmit Data\n4 Direct Words, 18 Buffered 200A6000 00800036 Listen Only, No Transmit Data\n4 Direct Words, 8 Buffered 200A7000 00800037 Listen Only, No Transmit Data\n, No Receive Data 200A9000 00800038 Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 140: 1769 Modules

    A-12 Valid CommMethod and ConfigMethod Values 1769 Modules This table lists the valid CommMethod and ConfigMethod values for 1769 modules. I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1769-HSC HSC Data 20000001 00800001 1769-IA16 Input Data 20000001 00800001 1769-IA8I Input Data 20000001 00800001 1769-IF4...
  • Page 141: 1784 Modules

    Input Data - SINT - With Status 2000000D 0080000D Input Data - REAL 2000000E 0080000E Input Data - REAL - With Status 2000000F 0080000F Input Data - INT - With Status 20000010 00800010 Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 142: 1794 Modules

    A-14 Valid CommMethod and ConfigMethod Values 1794 Modules This table lists the valid CommMethod and ConfigMethod values for 1794 modules. I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1794-ACN15 None 20000002 Rack Optimized 30000001 00800001 1794-ACNR15 None 20000002 Rack Optimized 30000001 00800001 1794-AENT None...
  • Page 143 1794-OB4D Output Data 20000001 00800001 Rack Optimized 40000000 00800002 1794-OB16 Output Data 20000001 00800001 Rack Optimized 40000000 00800002 1794-OB16P Output Data 20000001 00800001 Rack Optimized 40000000 00800002 Spare Allen-Bradley Parts 1794-OB32P Output Data 20000001 00800001 Publication 1756-RM084F-EN-P - July 2002...
  • Page 144: 1797 Modules

    A-16 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1794-OB8 Output Data 20000001 00800001 Rack Optimized 40000000 00800002 1794-OB8EP Output Data 20000001 00800001 Rack Optimized 40000000 00800002 1794-OC16 Output Data 20000001 00800001 Rack Optimized 40000000 00800002 1794-OE4 Output Data 20000001...
  • Page 145: Powerflex Modules

    Data 20000001 1336S-PLUSDriveSM-CN1 Data 20000001 1336T Data 20000001 1336T-FORCEDriveCNA-CN1 Data 20000001 1336T-FORCEDrivePLC-CN1 Data 20000001 1336T-FORCEDriveStd-CN1 Data 20000001 1394C-SJT05-D Data 20000001 00800001 1394C-SJT10-D Data 20000001 00800001 1394C-SJT22-D Data 20000001 00800001 Spare Allen-Bradley Parts 1395 Data 20000001 Publication 1756-RM084F-EN-P - July 2002...
  • Page 146 A-18 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: 1407-CGCM Data 20000001 00800001 150-SMCDialogPlus-CN1 Data 20000001 2094-AC05-M01 Data 20000001 00800001 2094-AC09-M02 Data 20000001 00800001 2094-AM01 Data 20000001 00800001 2094-AM02 Data 20000001 00800001 2094-BC01-M01 Data 20000001 00800001 2094-BC02-M02 Data 20000001...
  • Page 147: Miscellaneous

    Input Data - REAL - With Status 2000000F 0080000F Input Data - DINT - Run/Program 20000011 00800011 Input Data - INT - Run/Program 20000012 00800012 Input Data - SINT - Run/Program 20000013 00800013 Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 148 A-20 Valid CommMethod and ConfigMethod Values I/O Module: Configuration: CommMethod Value: ConfigMethod Value: PanelView Data - 32 INT 20000001 Data - 8 INT 20000002 RIO-ADAPTER Rack 20000001 00800001 Publication 1756-RM084F-EN-P - July 2002...
  • Page 149: Introduction

    • Do not create descriptions or comments that start with a +, -, or = symbol. Even if you add text after the symbol, Excel displays #NAME? in the cell. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 150: Rslogix 5000 Data Transformations

    Considerations for Using Microsoft Excel to Edit a .CSV File RSLogix 5000 Data When RSLogix5000 programming software exports tags, it performs these conversions: Transformations Original content: Content in .CSV file after export: ‘ $’ “ newline $N$L Microsoft Excel Data When you open the exported .CSV file in Excel, these conversions occur: Transformation...
  • Page 151 -text “-text” #NAME? #NAME? Do not start a description or comment with a minus sign (-). =text “=text” #NAME? #NAME? Do not start a description or comment with an equal sign (=). Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 152 Considerations for Using Microsoft Excel to Edit a .CSV File Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 153: Introduction

    The import/export utility does not support backward compatibility for export operations. This means that older version of the RSLogix 5000 programming software cannot read .L5K files that were created with newer versions of the programming software. Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 154: Import/Export Version 2.1 Rslogix 5000 Version 10.0

    Import/Export Revision History Each version of the RSLogix 5000 programming software exports .L5K files with a specific import/export version number. The RSLogix 5000 programming software imports any .L5K file with the same major revision number and the same or lower minor revision number. The major revision number increments when there are conditions such that the programming software cannot support backward compatibility for import operations.
  • Page 155: Changes To Support Message Tag Enhancements

    If the communication method uses DH+, specify the DH+ channel. Enter either A or B. DHPlusChannel Specify: DHPlusChannel := letter If the message is to cache connections, enter TRUE. If the message is not to cache CacheConnections connections, enter FALSE. Specify: CacheConnections := text Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 156: Import/Export Version 2.0 Rslogix 5000 Version 9.0

    Import/Export Revision History Attribute: Description: If the message type is CIP Generic, specify the service code (0-255 hexadecimal). ServiceCode Specify: ServiceCode := #16 value If the message type is CIP Generic, specify the object type (0-65,535 hexadecimal). ObjectType Specify: ObjectType := 16#value If the message type is CIP Generic, specify the target object (0-65,535 decimal).
  • Page 157: Motion Changes To Support The Sercos Protocol

    9.0 software (after changing the import/export version line to 2.0), the AXIS tags convert to: If the AXIS type is: It converts to: unused AXIS_SERVO position only AXIS_SERVO servo AXIS_SERVO consumed AXIS_CONSUMED virtual AXIS_VIRTUAL Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 158 Import/Export Revision History MOTION_GROUP tag structure (version 1.1) Attribute: Description: Provide information about the tag. Description Specify: Description := ” text ” Provide information about a tag component. Comment Specify: Comment< specifier > := ” text ” Where the specifier is: .
  • Page 159 Specify the maximum positive travel (any positive number). MaximumPositiveTravel Specify: MaximumPositiveTravel := value Specify the maximum negative travel (any positive number). MaximumNegativeTravel Specify: MaximumNegativeTravel := value Specify the position error tolerance (any positive number). PositionErrorTolerance Spare Allen-Bradley Parts Specify: PositionErrorTolerance := value Publication 1756-RM084F-EN-P - July 2002...
  • Page 160 Import/Export Revision History Attribute: Description: Specify the position local tolerance (any positive number). PositionLockTolerance Specify: PositionLockTolerance := value Specify position proportional gain (any positive number). PositionProportionalGain Specify: PositionProportionalGain := value Specify the position integral gain (any positive number). PositionIntegralGain Specify: PositionIntegralGain := value Specify the velocity feedforward gain (any positive number).
  • Page 161 RSLogix 5000 programming software, RSLogix 5000 Version 8.0 version 8.0 included these major enhancements: • addition of function block instructions and routines • addition of ASCII instructions • verification of all instruction attributes and parameters Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 162 C-10 Import/Export Revision History Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 163 5-10 component FBD_ROUTINE 5-11 guidelines ICON 7-12 block IREF BRANCH MODULE 7-17 entering OCON 7-19 example OREF 7-18 LEG block 3-31 PROGRAM 4-3, 7-17 branches ROUTINE SFC_ROUTINE STX_ROUTINE 3-10 3-33 TASK Spare Allen-Bradley Parts WIRE Publication 1756-RM084F-EN-P - July 2002...
  • Page 164 7-15 CONDITION block examples (continued) CONFIG function block logic 3-35 component ICON 3-40 examples IREF connection list MODULE CONTROLLER OCON attributes OREF component partial project 3-33 example PROGRAM guidelines ROUTINE 3-35 controller objects rung logic 2-1, 8-1 7-16 conventions SBR_RET CSV format scenarios of partial import/export operations sequential function chart logic...
  • Page 165 OREF importing component .CSV format example .L5K format guidelines complete project overview file structure partial project project tags types 3-28 initial values 4-4, 5-12, 6-4 instructions 2-1, 8-2 internal file comments Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 166 sequential function chart logic (continued) 7-14 entering transitions partial example ALIAS record 7-18 LEG block COMMENT record 7-11 LIMIT_HIGH block comments 7-11 LIMIT_LOW block components 7-11 PRESET block conventions SFC_ROUTINE CSV format attributes dimensions component example example file format SHEET remark example scenarios...
  • Page 167 3-33 component 3-35 example 3-34 guidelines 7-20 text boxes text file TEXT_BOX 7-20 entering 7-21 example 7-21 guidelines TRANSITION 7-15 CONDITION block 7-14 entering 7-15 example WIRE component 5-10 example 5-10 guidelines Spare Allen-Bradley Parts Publication 1756-RM084F-EN-P - July 2002...
  • Page 168 Notes: Publication 1756-RM084F-EN-P - July 2002...
  • Page 169 ___Yes, please email me at __________________________ ___Yes, please contact me via ________________________ Spare Allen-Bradley Parts Return this form to: Allen-Bradley Marketing Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705 Phone: 440-646-3176 Fax: 440-646-3525 Email: RADocumentComments@ra.rockwell.com Publication ICCG-5.21- January 2001 PN 955107-82...
  • Page 170 PLEASE FASTEN HERE (DO NOT STAPLE) Other Comments PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE 1 ALLEN-BRADLEY DR MAYFIELD HEIGHTS OH 44124-9705...
  • Page 171 Spare Allen-Bradley Parts...
  • Page 172 Back Cover Publication 1756-RM084F-EN-P - July 2002 PN 957689-82 Supersedes Publication 1756-RM084E-EN-P - November 2001 Copyright © 2002 Rockwell Automation. Printed in the U.S.A.
  • Page 173 Spare Allen-Bradley Parts...

Table of Contents