Gateway 312785C important safety instructions Wire the DeviceNet Network, Main Task Tree

Page 56

Appendix A: DeviceNetSlave Communication

Configure the DeviceNet Scanner to be address 0. Make sure to set up the 32-bit Input and Output memory spaces for a size of 32 (to match the configuration made above in both Gateway and RSNetWorx for DeviceNet).

Select the RSNetWorx tab, and navigate to the RSNet- Worx for DeviceNet configuration that you have previ- ously created. Open the configuration from here and download it to the network.

FIG. 46: Main Task Tree

In the Main Task tree, open the Main Routine Ladder Logic file. Create a rung of ladder to enable the Devi- ceNet network. The required output is always:

Local:YourDNBSlot:0.CommandRegister.Run

Create a few rungs by taking the DeviceNet Input data, Local:2:I.Data[0…3], and adding 1 to them. Store the results in Local:2:O.Data[0…3]. Based on the configura- tion in the Gateway, if values are changed on the Gate- way Write tags, the Read tags will display the respective values, plus one.

Save and download this configuration to the Control- Logix PLC.

Wire the DeviceNet Network

All DeviceNet networks require a termination resistor at the two end nodes on the network. Place a ¼ watt 120 ohm resistor between CAN H (White) and CAN L (Blue) of the DeviceNet connection.

56

312785C

Image 56
Contents Important Safety Instructions Gateway Network Communication KitsContents Component Manuals in English Description Graco Gateway KitsRelated Manuals Fire and Explosion Hazard Install the Gateway Module Hardware Graco Gateway OverviewLocation MountingNON-HAZARDOUS Area Connect the Module to EasyKey Cabling ConnectionsWiring Diagrams on EasyKey Bottom ViewGateway Module 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 USBGraco Gateway Network Communications Configuration Startup GracoConfig MainCommunications Button Balloon HelpSetup the Database Preconfigured DatabaseRename PLC1 Map Data Mapping Gateway BlocksSetting Block Size Block Mapping Data Modbus and I/O Data Start Mix ProcessStop 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 Bit Digital Input Binary Name Details ProMix 2KS Active Alarms Modbus RegisterProMix 2KS Digital Outputs Modbus Register ProMix 2KS Active Alarms Modbus Register ProMix 2KS Modbus/TCP Variable Map ProMix 2KS Modbus/TCP Variable Map EasyKeyModbus Status Register Description Units Low Limit High LimitProMix 2KS Recipe Bits ProMix 2KS Recipe BitsTroubleshooting General TroubleshootingBleshooting page 36 or Ethernet Communication TroubleshootingSee Serial Communication Trou Problem Cause Solution Graco Gateway Messages Troubleshooting Serial Communication Troubleshooting Ethernet Communication Troubleshooting LED Functions Status STS LEDUser Communication Ports TX/RX LEDs Ethernet LEDsSystem Electrical Schematic Non-Hazardous AreaParts Part No. Description QtyWiring Diagrams 417Appendix a DeviceNet Slave Communication OverviewIntroduction DeviceNet Port ProtocolsDeviceNet Port Pin Outs and PLC Connection Level of Support About DeviceNetPredefined Master/Slave Connection Set Hardware Gateway ConfigurationConfigure the Gateway DeviceNet Option Card 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 TreeAlso see Appendix B Profibus DP Slave Communi- cation on Appendix B Profibus DP Slave CommunicationProfibus Port Protocols 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