Emerson 400501-08 manual Example #3 Index Type

Page 54

Epsilon Ei DeviceNet Drive Reference Manual

11.Set Output Bit O:1.1/3 high to Jog -.

12.Set Output Bit O:1.1/4 high to enable Jog Fast.

13.Set Output Bits O:1.1/12 - O:1.1/15 to select the index to initiate or to select the index to read from or write to using the Input/Output Word Select Data Pointer.

14.Using Output Word Select Data Pointer 0x02 to set the Index Velocity and Input Select Data Pointer 0x01 to read back the position feedback, use the following table to construct the proper words for the read and write:

 

 

 

Output Word Select

 

 

 

Input Word Select

Reserved

Reserved

Reserved

Data Pointer (See

Reserved

Reserved

Enable = 1

Data Pointer (See

 

 

 

page 15) = 0x02

 

 

 

page 14) = 0x01

X

X

X

00010

X

X

1

00001

 

 

 

 

 

 

 

 

Final Word = XXX00010XX100001

With zeros in for reserved bits Final Word = 545 (0x221)

15.Write to Words O:1.3 - O:1.4 to write to the selected index velocity. Data can be obtained from the online DN view described in the following step.

16.While online with PowerTools FM click on the DeviceNet tab and open up the Master Receive and Master Send Assembly Blocks. Verify that the correct data is moving back and forth through the assembly block and that the data pointers are reading and writing the data as expected.

Example #3: Index Type

This sample procedure for the Index Type Assembly Block will initiate both incremental and absolute indexes.

The Input and Output Word Select Data Pointer will read velocity feedback from the drive and write Jog Acceleration to the drive.

1.Start a new Ei-DN configuration in PowerTools FM and configure the drive for the particular motor that will be used. For more information consult the Epsilon Ei Drives Reference Manual (P/N 400507-01.)

2.Enter the DN setup and set the MacID to 1 and the Baud Rate to 125K. Select Index Type for both Master Send Assembly Block and Master Receive Assembly Block Setups.

42

Image 54
Contents Reference Manual Page Epsilon Ei DeviceNet Drive Reference Manual Page Website and Email Customer Support952 Technical Support 952 995-8033 or 800Document Conventions Training Services 952 995-8000 or 800Customer Service Sales 952 995-8000 or 800 Application Engineering 952 995-8000 or 800This Represents General Warning Safety InstructionsReference Materials Qualified PersonSetup, Commissioning and Maintenance Safety ConsiderationsSafety Precautions EnclosureSafety of Machinery General warningTable of Contents Drive Parameters Network Configuration Quick StartExplicit Messaging Quick Start Appendix Glossary IndexIntroduction PurposeDeviceNet Overview DeviceNet Communications LinkDeviceNet Messaging and Communications Master/Slave RelationshipMaster/Slave Relationship DeviceNet Hardware Components InstallationMechanical Installation CablesPower Supply Requirements Electrical InstallationConnectors Physical Connections to the DeviceNet NetworkInstallation Epsilon Ei DeviceNet Drive Reference Manual DeviceNet Tab Connection TypesSoftware Interface Polled I/O Connections Implicit MessagingBaud Rate Master Receive and Master Send Assembly Block SelectionsMacID Index Select Predefined Index Sel PredefConfiguring the DeviceNet Network Index Select User Defined Index Sel UserDefIndex Type Position ControlNo Operation CCWInput Word Select Data Pointer Code DescriptionOutput Word Select Data Pointer Command Assembly Code Response Assembly CodesConfiguring the DeviceNet Network Host Mode Enable Ei-DN Input Processing LogicDeviceNet Online Tab InformationCounters Network Status LED StatusEstablished Connections Module Status LEDInput and Output Tab DeviceNet BitsFaults and Diagnostic Display DN Allocation Choice Connections Established DN Allocation Master MacIDEi-DN Modbus Address DN Bus Off Counter DN Bus Off Fault CountDN Baud Rate DN Bus Off InterruptDN Device Type DN Comm Time-out Fault CountDN Duplicate MacID Fault Count DN FAB Master Receive BlockDN Host Mode DN FAB Master Send BlockDN MacID DN Master Receive Bitmap DN Master Receive FAB TypeDN Master Send Bitmap DN Master Send FAB Type DN Module StatusDN Network Status DN Status Major Recoverable FaultDN Status Major Unrecoverable Fault DN Receive CounterDN Transmit Counter DN Status Minor Recoverable FaultDN Status Minor Unrecoverable Fault DN Vendor IDAccessing the EDS File Hardware InterfaceModule Status LED Setting the Baud Rate and MacID Externally One Touch Network Status LEDViewing and Changing the Baud Rate and MacID Display Value Baud Epsilon Ei DeviceNet Drive Reference Manual Network Configuration Quick Start EquipmentPolled I/O Setup Example #1 Index SelPredefNetwork Configuration Quick Start Example #2 Index Sel Userdef DN Setup / Index Sel Userdef Inputs Tab Outputs Tab Example #3 Index Type DN Setup / Index Type Output Word Select Input Word Select Example #4 Position Control Dn Setup / Position Control Network Configuration Quick Start Master Configuration RS Networx ConfigurationScanlist Tab Input Tab Output Tab Epsilon Ei DeviceNet Drive Reference Manual How to Send Explicit Messages Explicit Messaging Quick StartExecute Explicit Messaging Examples Description of N10 Integer FileExplanation of PLC Program ExamplesExample 1 Read Index 0 Velocity Example 2 Write Index 1 Velocity Integer File N11 High Byte Low ByteInterger File N10 High Byte Low Byte Explicit Messaging Quick Start Epsilon Ei DeviceNet Drive Reference Manual Name Drive ParametersBy Name DeviceNet Data TypeUdint Drive Parameters ProductID.Option1IDFunctionModule By DeviceNet Class 0x01 DeviceNet.DeviceNetIdentityObject.DeviceType 104 0x68 See Note 0x09 Index.Instance#.RegistrationOffset 109 0x6D 0x01 0x04 Position.FollowingError 0x01 0x0D Status.TorqueFeedback Epsilon Ei DeviceNet Drive Reference Manual Appendix Index Select PredefinedMaster Receive Assembly Block Index Sel User Def Index Select User DefinedIndex Type Position Control CCWGlossary Explicit Message Drop LineEpsilon Drive Explicit Messaging ConnectionsLink Consumer Object One touch ConfigurationConnections Link Producer ObjectUcmm Index Epsilon Ei DeviceNet Drive Reference Manual Index Epsilon Ei DeviceNet Drive Reference Manual