Gateway 312785C important safety instructions How Addressing Works, PLC Addressing Scheme

Page 70

Appendix B: ProfibusDP Slave Communication

How Addressing Works

PLC addressing is in byte and uses the scheme shown in FIG. 66.

Byte 0

Word 0

Byte 1

Dword 0

Byte 2

Word 2

Byte 3

Byte 4

Word 4

Byte 5

Dword 4

Byte 6

Word 6

Byte 7

Byte 8

Word 8

Byte 9

Note how a Dword or word address starts at the address of the first byte included in it.

FIG. 66. PLC Addressing Scheme

The Gateway addressing follows a different scheme, as shown in FIG. 67.

This means that the address number will be different when accessing words or Dwords in the Gateway data tags than the PLC. Table 6 shows the address relation- ship for integer tags mapped as word in the Gateway.

Byte 0

Word 0

Byte 1

Dword 0

Byte 2

Word 1

Byte 3

Byte 4

Word 2

Byte 5

Dword 1

Byte 6

Word 3

Byte 7

Byte 8

Word 4

Byte 9

Here, the word or Dword addresses follow the nor- mal numeric increment and are not directly related to the word or bytes they are composed of.

FIG. 67. Gateway Addressing Scheme

Table 6: Addressing Relationship

 

 

PLC

 

 

Gateway

 

 

 

 

 

 

Block Type

Input (bytes)

Output (bytes)

Input (words)

Output (words)

 

 

 

 

 

 

 

 

 

64 words in, 64 words out

256

...383

256

...383

0...

63

0...

63

 

 

 

 

 

 

 

 

 

16 words in

384...

415

 

-

64...

79

 

-

 

 

 

 

 

 

 

 

 

5 words out

 

-

384...

393

 

-

64...

68

 

 

 

 

 

 

 

 

 

70

312785C

Image 70
Contents Important Safety Instructions Gateway Network Communication KitsContents Related Manuals Graco Gateway KitsComponent Manuals in English Description Fire and Explosion Hazard Location Install the Gateway Module HardwareGraco Gateway Overview MountingNON-HAZARDOUS Area Connect the Module to EasyKey Cabling ConnectionsGateway Module Wiring Diagrams onEasyKey Bottom View IG EasyKey and Module Cable Connection PointsPower Connector Expansion Port RS232/PGUSB/PG Ethernet Install CompactFlash Card Mount the Control on DIN RailInstall the GracoConfig Software System RequirementsSoftware Updates Load the SoftwareDownload the Preconfigured Database to the Gateway Module Set Communications Port to USBCommunications Button Graco Gateway Network Communications ConfigurationStartup GracoConfig Main Balloon HelpSetup the Database Preconfigured DatabaseRename PLC1 Map Data Mapping Gateway BlocksSetting Block Size Block Mapping Data Stop Mix Process Modbus and I/O DataStart Mix Process Color Change ProcessStart Mix Mode Process Flow Chart Mixing Mode Process Flow Chart Purge Mode Process Flow Chart Color Change Mode Process Flow Chart Alarm Processing Alarm Processing Flow ChartModbus and I/O Data ProMix 2KS Digital Outputs Modbus Register ProMix 2KS Active Alarms Modbus RegisterBit Digital Input Binary Name Details ProMix 2KS Active Alarms Modbus Register Modbus Status Register Description ProMix 2KS Modbus/TCP Variable MapProMix 2KS Modbus/TCP Variable Map EasyKey Units Low Limit High LimitProMix 2KS Recipe Bits ProMix 2KS Recipe BitsTroubleshooting General TroubleshootingSee Serial Communication Trou Communication TroubleshootingBleshooting page 36 or Ethernet Problem Cause Solution Graco Gateway Messages Troubleshooting Serial Communication Troubleshooting Ethernet Communication Troubleshooting User Communication Ports TX/RX LEDs LED FunctionsStatus STS LED Ethernet LEDsSystem Electrical Schematic Non-Hazardous AreaParts Part No. Description QtyWiring Diagrams 417Introduction Appendix a DeviceNet Slave CommunicationOverview DeviceNet Port ProtocolsDeviceNet Port Pin Outs and PLC Connection Predefined Master/Slave Connection Set About DeviceNetLevel of Support Configure the Gateway DeviceNet Option Card Gateway ConfigurationHardware Select DeviceNet Server Device Settings Create Gateway Blocks Add a Gateway BlockSelect Data Type Word as Long DeviceNet Block Mapping Automatic Update of the EDS File Automatic EDS UpdateConfigure the RSNetWorx for DeviceNet Software EDS ValidationReview EDS Registration Apply and Save Configure the Allen Bradley ControlLogix PLC Create Valid DeviceNet ScannerWire the DeviceNet Network Main Task TreeProfibus Port Protocols Appendix B Profibus DP Slave CommunicationAlso see Appendix B Profibus DP Slave Communi- cation on About Profibus DP DP MasterSetup the PLC Install the GSD fileBrowse to GSD File Setup the Profibus Network DP Properties WindowOpen Profibus Properties Set Transmission Rate Add the Graco Gateway to the Profibus Network Add Graco Gateway to Profibus NetworkConfigure Data Blocks Graco Gateway Setup Setup the Profibus CommunicationSelect Profibus Server Setup Tags Create a VariableSelect Block Type How Addressing Works PLC Addressing SchemeUseful Formulas PLCAppendix C Graco Gateway to ControlLogix via Ethernet IP Ethernet PLC ConnectionControlLogix Configuration Ethernet Module PropertiesPort Configuration Window Ethernet Module Properties Ethernet Configuration Data Graco Gateway Configuration Ethernet Block SettingsAppendix C Graco Gateway to ControlLogix via Ethernet IP Dimensions Dimensions Technical Data Graco Standard Warranty Graco Information