Gateway 312785C important safety instructions About Profibus DP, DP Master

Page 58

Appendix B: ProfibusDP Slave Communication

About Profibus DP

Profibus DP communication takes the form of block exchange. Profibus blocks are made of memory bytes where 2 bytes make a word and 4 bytes a double word, or Dword.

A block is a range of consecutive byte addresses and is unidirectional. This means the PLC will exchange data read only and write only blocks with DP slave units. Addresses in each device are independent and only rel- evant to the device for its own program. For example, the address range for the first block in the master can start at 256 with a 64 words block length and could result in the slave with a range starting from 0 with 64 words length.

However, since blocks are consecutive, this means the first block start address, in the above example 256, will be the slave start address 0. Then, 257 in the master would be 1 in the slave, and so on.

Block length can be defined in bytes, words, or double words. Since start addresses between the master and the slave can be different, one could give its start address and length in bytes, and the other in words.

For example, the master start address is byte 256, with a 64 words block length.

This results in a range from byte 256 up to byte 383. The slave start address is word 0, with a 64 words block length.

This results in a range from word 0 to word 63. FIG. 48 illustrates this exchange.

NOTE: Do not forget that the Input block is independent from the Output block, and although the address range is the same, the data are different.

NOTE: FIG. 48 has no connection with the Input Block and Output Block in Graco Gateway. The terminology used in the tags configuration is from the PLC point of view (DP Master). Refer to Graco Gateway Setup for more information.

DP Master

Output Block

byte 256 to byte 383

Input Block

byte 256 to byte 383

FIG. 48: Master/Slave Exchange

DP Slave

Input Block

word 0 to word 63

Output Block

word 0 to word 63

58

312785C

Image 58
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