Emerson 400501-08 manual Explicit Messaging Quick Start, How to Send Explicit Messages

Page 65

Explicit Messaging Quick Start

To send explicit messages, the Epsilon Ei-DN drive should be configured and successfully connected to the DeviceNet system as a unique node. This chapter will present examples that should be used as a tutorial.

Equipment

Ei-DN DeviceNet Digital Drive NT 207 Motor

Allen Bradley SLC 500 PLC™, 1747-L542 (4 Slot Chassis), P1 Power Supply, 1747 SDN Scanner Card (slot three)

1770 KFD RS 232 to DeviceNet Interface module with 96881501 RS232 cable DeviceNet thin cable

RS Logix 500 Industrial Programming Software (PLC)

Ei DeviceNet Drive Parameter Tables from the “Drive Parameters” chapter of this manual

How to Send Explicit Messages

An Explicit Message is compiled using an integer file (for example N10). Format the message using the following table.

 

Integer File N10

High Byte

 

Low Byte

 

N10:0

TXID

 

COMMAND

 

 

 

 

 

Message Header

N10:1

PORT

 

SIZE OF FIELD

 

 

 

 

 

 

N10:2

SERVICE

 

MacID

 

 

 

 

 

 

N10:3

 

CLASS

 

 

 

 

 

N10:4

 

INSTANCE

Message Data

 

 

 

N10:5

 

ATTRIBUTE

 

 

 

 

 

N10:6

 

VALUE LOW WORD

 

 

 

 

 

N10:7

 

VALUE HIGH WORD

 

 

 

 

 

Once formatted, use the copy command to transfer it to the M0 file. The copy initiates the explicit message transfer from the scanner to the Ei DeviceNet drive. The Ei drive response will be placed into the M1 file by the scanner. Using the scanner message received status flag (in the example of this chapter the location would be I:3/15), copy the M1 file to an integer file (N11). Once the message has been copied, the results may be examined from the N11 file.

TXID is set at 0x01 for all of the following examples. PORT will be set to 0x00 indicating a 1 port network.

53

Image 65
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 EnableCounters DeviceNet Online TabInformation Established Connections StatusNetwork Status LED Module Status LEDDeviceNet Bits Input and Output TabFaults and Diagnostic Display Ei-DN Modbus Address DN Allocation Choice Connections EstablishedDN Allocation Master MacID 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 MacID DN Host ModeDN FAB Master Send Block DN Master Send Bitmap DN Master Receive BitmapDN Master Receive FAB Type 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 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 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 ExamplesExample 1 Read Index 0 Velocity Explanation of PLC ProgramExamples 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