Emerson 400501-08 manual Example #2 Index Sel Userdef

Page 50

Epsilon Ei DeviceNet Drive Reference Manual

13.Using Output Word Select Data Pointer 0x0A to set Jog Velocity and Input Select Data Pointer 0x06 to read back the torque command, use the following table to construct the proper words for the read and write:

Reserved

Reserved

Reserved

Output Word Select

Reserved

Jog -

Jog +

Input Word Select

Data Pointer (See

Data Pointer (See

 

 

 

page 15) = 0x0A

 

 

 

page 14) = 0x06

X

X

X

01010

X

X

X

00110

 

 

 

 

 

 

 

 

Final Word = XXX01010XXX00110 With zeros in for X’s = 2566 (0xA06)

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

14.While online with PowerTools FM click 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 blocks and that the data pointers are reading and writing the data as expected.

Example #2 Index Sel (Userdef)

This sample procedure for the Index Sel (Userdef) assembly block will use the DN bits set up from Example #1 to initiate indexes and a home. This procedure will also initiate Jog + and Jog - and select between Jog Fast. Corresponding to these initiates, DeviceNet will read back End of Index and End of Home bits, indicate in + Motion and in - Motion, Faults, and Drive OK.

Using the Input and Output Word Select Data Pointer, this procedure will send index velocities to the drive and receive position feedback from the drive.

1.Start a new Ei-DNconfiguration 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 DeviceNet setup and set the MacID to 1 and the Baud Rate to 125K. Select the Index Sel (Userdef) in both Master Send Assembly Block and Master Receive Assembly Block setups.

38

Image 50
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 LogicCounters DeviceNet Online TabInformation Network Status LED StatusEstablished Connections Module Status LEDInput and Output Tab DeviceNet BitsFaults and Diagnostic Display Ei-DN Modbus Address DN Allocation Choice Connections EstablishedDN Allocation Master MacID 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 MacID DN Host ModeDN FAB Master Send Block DN Master Send Bitmap DN Master Receive BitmapDN Master Receive FAB Type 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 IDModule Status LED Accessing the EDS FileHardware Interface Viewing and Changing the Baud Rate and MacID Setting the Baud Rate and MacID Externally One TouchNetwork Status LED 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 FileExample 1 Read Index 0 Velocity Explanation of PLC ProgramExamples 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