Emerson 400501-08 manual Example 2 Write Index 1 Velocity, Integer File N11 High Byte Low Byte

Page 69

 

 

Explicit Messaging Quick Start

 

 

 

 

Integer File N10

High Byte

 

Low Byte

N10:0

TXID= 0x01

 

COMMAND= 0x01

 

 

 

 

N10:1

PORT= 0x00

 

SIZE OF DATA FIELD= 0x06

 

 

 

 

N10:2

SERVICE= 0x0E (GET)

 

MacID= 0x04

 

 

 

 

N10:3

 

CLASS= 0x68

 

 

 

N10:4

 

INSTANCE= 0x01

 

 

 

N10:5

 

ATTRIBUTE= 0x09

 

 

 

 

After the N10 file is set, B3:0/0 can be set high to send the explicit message to the scanner card. After bit I:3/15 is set by the PLC, the message can be viewed by setting B3:0/2 high which copies the M1: file to the N11: file.

The response from the drive should resemble the following.

Figure 23: PLC Configuration Example 1

The following table reflects the results of the Index 0 Velocity example. Note that the Low Data Word is 1000 (0x3E8), the velocity requested.

Integer File N11

High Byte

Low Byte

N11:0

TXID=0x01

COMMAND=0x01

 

 

 

N11:1

PORT=0x00

SIZE OF DATA FIELD=0x04

 

 

 

N11:2

SERVICE=0x8E (Successful Response)

MacID=0x04

 

 

 

N11:3

LOW DATA WORD = 0x3E8

 

 

N11:4

HIGH DATA WORD = 0x00

 

 

 

Example 2 Write Index 1 Velocity

This example will show how to use explicit messaging to write the current index velocity to an Ei-DN drive.

Assume the drive configuration for example 1.

57

Image 69
Contents Reference Manual Page Epsilon Ei DeviceNet Drive Reference Manual Page 952 Customer SupportWebsite and Email Technical Support 952 995-8033 or 800Customer Service Sales 952 995-8000 or 800 Training Services 952 995-8000 or 800Document Conventions Application Engineering 952 995-8000 or 800This Represents Reference Materials Safety InstructionsGeneral Warning Qualified PersonSafety Precautions Safety ConsiderationsSetup, Commissioning and Maintenance EnclosureGeneral warning Safety of MachineryTable of Contents Explicit Messaging Quick Start Network Configuration Quick StartDrive Parameters Appendix Glossary IndexPurpose IntroductionDeviceNet Communications Link DeviceNet OverviewMaster/Slave Relationship DeviceNet Messaging and CommunicationsMaster/Slave Relationship Mechanical Installation InstallationDeviceNet Hardware Components CablesConnectors Electrical InstallationPower Supply Requirements Physical Connections to the DeviceNet NetworkInstallation Epsilon Ei DeviceNet Drive Reference Manual Software Interface Connection TypesDeviceNet Tab Polled I/O Connections Implicit MessagingMacID Master Receive and Master Send Assembly Block SelectionsBaud Rate Index Select Predefined Index Sel PredefIndex Select User Defined Index Sel UserDef Configuring the DeviceNet NetworkPosition Control Index TypeCCW No OperationCode Description Input Word Select Data PointerOutput Word Select Data Pointer Response Assembly Codes Command Assembly CodeConfiguring the DeviceNet Network Ei-DN Input Processing Logic Host Mode EnableDeviceNet Online Tab InformationCounters Established Connections StatusNetwork Status LED Module Status LEDDeviceNet Bits Input and Output TabFaults and Diagnostic Display DN Allocation Choice Connections Established DN Allocation Master MacIDEi-DN Modbus Address DN Baud Rate DN Bus Off Fault CountDN Bus Off Counter DN Bus Off InterruptDN Duplicate MacID Fault Count DN Comm Time-out Fault CountDN Device Type 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 Module Status DN Master Send FAB TypeDN Status Major Unrecoverable Fault DN Status Major Recoverable FaultDN Network Status DN Receive CounterDN Status Minor Unrecoverable Fault DN Status Minor Recoverable FaultDN Transmit Counter 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 Equipment Network Configuration Quick StartExample #1 Index SelPredef Polled I/O SetupNetwork 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 RS Networx Configuration Master ConfigurationScanlist Tab Input Tab Output Tab Epsilon Ei DeviceNet Drive Reference Manual Explicit Messaging Quick Start How to Send Explicit MessagesExecute Description of N10 Integer File Explicit Messaging ExamplesExplanation of PLC Program ExamplesExample 1 Read Index 0 Velocity Integer File N11 High Byte Low Byte Example 2 Write Index 1 VelocityInterger File N10 High Byte Low Byte Explicit Messaging Quick Start Epsilon Ei DeviceNet Drive Reference Manual By Name Drive ParametersName 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 Index Select Predefined AppendixIndex Select User Defined Master Receive Assembly Block Index Sel User DefIndex Type CCW Position ControlGlossary Epsilon Drive Drop LineExplicit Message Explicit Messaging ConnectionsConnections One touch ConfigurationLink Consumer Object Link Producer ObjectUcmm Index Epsilon Ei DeviceNet Drive Reference Manual Index Epsilon Ei DeviceNet Drive Reference Manual