background image

Modbus and I/O Data 

30

312785B

ProMix 2KS Modbus/TCP Variable Map

*

This column represents the rule that must be implemented by automation. Writing to Read Only registers must be 
avoided.

** For ProMix 3KS Systems only.

Table 4: ProMix 2KS Modbus/TCP Variable Map

* Read/Write 

Status

EasyKey 

Modbus 

Register

Description

Size

Units

Low Limit

High Limit

Read Only

40003

Current flow rate

16 Bit

cc/min

0

5000

Read Only

40004

Actual ratio

16 Bit

none

0

9999

Read Only

40005

Active recipe

16 Bit

none

0

60

Read Only

40006

Potlife 1 remaining

16 Bit

sec

0

9999

Read/Write

40007

Job complete

16 Bit

none

0

0xFFFF

Read/Write

40008

Reset job total

16 Bit

none

0

9

Read Only

40009

Potlife 2 remaining

16 Bit

sec

0

9999

Read Only

40010

Active fault

32 Bit

none

0

0xffffffff

Read Only

40032

Control version

32 Bit

none

0

0xffffffff

Read/Write

40040

Robot digital input

16 Bit

none

0x0000

0xFFFF

Read Only

40041

Robot digital output

16 Bit

none

0x0000

0xFFFF

Read/Write

40046

New recipe

16 Bit

none

0

60

Read Only

40048

Current fluid pressure

16 Bit

psi

0

5000

Read Only

40049

V/P percent output

16 Bit

%

0

100

Read Only

**40056

Actual ratio reducer

16 Bit

none

0

9999

Read Only

40114

Flow control option

16 Bit

0=proportioning only

1=1K flow control 

(future)

2=2K flow control

3=pressure override

4=manual percent 

override

0

4

Read/Write

40115

Flow setpoint data source

16 Bit

0=discrete
1=network

0

1

Read/Write

40120

Manual override percent 
opening

16 Bit

%

0

100

Read/Write

40125

Flow control range

16 Bit

0=0-300 cc/min
1=0-600 cc/min

2=0-1200 cc/min

0

2

Read/Write

40126

Flow control tolerance

16 Bit

%

0

99

Read/Write

40127

Flow control proportional 
gain Kp

16 Bit

default=400

0

9999

Read/Write

40128

Flow control integral gain 
Ki

16 Bit

default=40

0

9999

Read/Write

40129

Flow control alarm time

16 Bit

sec

0

99

Read/Write

40137

Flow control setpoint

16 Bit

cc/min

0

1200

Read/Write

43123

Flow control override 
mode

16 Bit

0=off (normal)

1=% open

2=pressure mode

0

2

Read/Write

43141

Flow control enable

16 Bit

0=off
1=on

0

1

Содержание 15V331

Страница 1: ...se with ProMix 2KS Electronic Proportioners For professional use only Not approved for use in European explosive atmosphere locations See page 3 for kit information Important Safety Instructions Read all warnings and instructions in this manual and in your proportioning system manual Save these instructions TI12933a ...

Страница 2: ...oting 32 General Troubleshooting 32 Graco Gateway Messages Troubleshooting 35 Serial Communication Troubleshooting 36 Ethernet Communication Troubleshooting 37 LED Functions 38 System Electrical Schematic 39 Parts 40 15V331 Gateway Ethernet Kit shown 40 15V963 Gateway DeviceNet Kit 40 15V964 Gateway Profibus Kit 40 Appendix A DeviceNet Slave Communication 42 Overview 42 Introduction 42 DeviceNet P...

Страница 3: ...ariables while operating as well as control the ProMix 2KS and change setup It does not provide access to job and alarm logs 15V964 Gateway Profibus Kit Allows communication between ProMix 2KS and a PLC using Profibus process control Enables process equip ment to read variables while operating as well as con trol the ProMix 2KS and change setup It does not provide access to job and alarm logs Rela...

Страница 4: ...ep a working fire extinguisher in the work area ELECTRIC SHOCK HAZARD This equipment must be grounded Improper grounding setup or usage of the system can cause electric shock Turn off and disconnect power at main switch before disconnecting any cables and before servicing equipment Connect only to grounded power source All electrical wiring must be done by a qualified electrician and comply with a...

Страница 5: ...ired communication protocol and RS485 Modbus RTU As a result the PLC has full access to all the registers for monitoring and controlling the ProMix 2KS It is the responsibility of the integrator or user to ensure proper configuration of the communi cation hardware on the PLC side Install the Gateway Module Hardware Location Install the Gateway module near the EasyKey in a non hazardous area Mounti...

Страница 6: ...teway Typical Installation TI13939a Computer PC Programmable Logic Controller PLC Graco Gateway Module EasyKey USB Cable included for initial setup only 2 wire twisted pair cable with shield wire PLC Communication Wire Cable protocol dependent NON HAZARDOUS AREA ...

Страница 7: ...m the EasyKey connector to the connector on the Gateway module Connect a communications wire cable protocol dependent from the Gateway module to the PLC See FIG 3 NOTE Graco provides expansion cards for DeviceNet and Profibus protocols DeviceNet setup procedures are on page 42 Profibus setup procedures are on page 57 See page 40 for Parts NOTE If using the Graco Gateway in your system dis connect ...

Страница 8: ...TI12930a TI12638a 2 wire twisted pair cable with shield wire to Gateway Module 2 wire twisted pair cable with shield wire to EasyKey See Wiring Diagrams on page 41 for pin connections EasyKey Bottom View Gateway Module Communication Wire Cable to PLC This connection is protocol dependent USB Port ...

Страница 9: ...o Gateway Port Pin Outs TI13974a Green Amber LED RS232 PG USB PG ETHERNET NIC Yellow LED COMMS COMMS Expansion Port Power Connector 24 Vdc 10 Common N C Pin 6 Pin 1 Pin 6 Pin 1 Pin 8 Pin 1 FIG 5 RS485 Communication Port Typical ProMix 2KS Connection TI13972a ...

Страница 10: ... Module Hardware 10 312785B FIG 6 Programming Ports TI13969a Green Amber LED RS232 PG USB PG ETHERNET OR OR Yellow LED FIG 7 RS232 PG Communication Ports TI13970a RS232 PG OR FIG 8 RS232 Communication Ports TI13971a RS232 ...

Страница 11: ...r Type I or Type II cards These cards are available at most computer and office supply retailers Use cards with a minimum of 4 Mbytes and a maximum of 2 Gbytes Use the Com pactFlash card for optional database storage only See FIG 11 FIG 9 Ethernet Connection TI13973a Green Amber LED ETHERNET Yellow LED Standard Ethernet Cable FIG 10 Mount the Control on a DIN Rail TI13965a 1 in 25 mm minimum clear...

Страница 12: ...DeviceNet and Profibus protocols DeviceNet setup procedures are on page 42 Profibus setup procedures are on page 57 See page 40 for Parts NOTE Contact your Graco distributor or Graco Techni cal Assistance for information regarding additional sup ported protocols System Requirements GracoConfig software will run on PCs with the following specifications A Pentium class processor as required by the c...

Страница 13: ...ect Install the software from a list or specific location then click Next The program location is C Program Files Graco GracoCon fig Device NOTE The name of the driver may be different Just accept the name and proceed by following the instructions on the screen Software Updates Contact your distributor or Graco Technical Assistance for software updates FIG 12 Gateway Module USB Port FIG 13 Found N...

Страница 14: ... the instructions on the screen to automatically find and select the drivers 1 Go to Start Programs Graco GracoConfig and run the program The GracoConfig main page will appear 2 Using the Link pulldown menu select Options to open the Link Options window Check that the Com munications Port is set to USB and click OK 3 Go to File Open and select the file with the xx gg2 extension The file name shoul...

Страница 15: ...emote device you can specify one or more devices to be accessed If using slave protocols i e protocols by which the Gateway receives and responds to requests from remote devices or computer systems you can set read or write access for specific data items Move data between one remote device and another Balloon Help The Balloon Help feature allows you to see help infor mation for each icon in the ma...

Страница 16: ...tabase gg2 The file is already setup for ProMix 2KS See FIG 18 2 See FIG 19 Highlight Protocol 1 Click the Edit but ton on the right side of the window to open the Driver Picker window Choose a protocol from the lists provided in this example Modbus and TCP IP Slave The system will create device PLC1 FIG 18 Preconfigured Database FIG 19 Select Protocol ...

Страница 17: ...ons Configuration 312785B 17 3 See FIG 20 Right click on device PLC1 to rename it to something meaningful for your system 4 See FIG 21 Add as many Gateway blocks as desired under each device FIG 20 Rename PLC1 FIG 21 Add Gateway Blocks ...

Страница 18: ...eld on the right side of the window The Select Address win dow will open 2 Refer to Table 4 on page 30 for a Modbus map Select the desired Modbus register address as a starting point in this case 40002 Enter the appro priate values in the Select Address window and click OK The desired register address will populate the Start Address field FIG 22 Mapping Gateway Blocks ...

Страница 19: ... of Mod bus register addresses in the range from the start ing address entered in step 2 to the desired ending address inclusive In this example 7 The addresses must be contiguous This means that each address must be available and addressable from the ProMix 2KS If one of the 7 addresses does not exist within the ProMix 2KS Modbus structure the complete block will not communicate FIG 23 Setting Bl...

Страница 20: ...ow NOTE In this example a Modbus device master communicating via TCP IP will have direct access to Modbus registers 40002 through 40008 of the Pro Mix 2KS For example see Block 1 address line 1 5 The Direction field typically should remain set to Device to G3 Modbus address command from TCP IP master connected to Gateway Modbus address of ProMix 2KS FIG 24 Block Mapping Data ...

Страница 21: ...the Mix Active bit bit 1 of 40041 is on to ensure that the Mix request was received Stop Mix Process See FIG 26 Table 1 and Table 2 1 Clear the Mix bit 2 The Mix Active output should clear and Mix Ready should now be set NOTE The ProMix 2KS will automatically go into Idle mode after 2 minutes of inactivity A general alarm will be present and Mix Active will remain High The Alarm bit 40010 will ind...

Страница 22: ... 61 See Alarm Pro cessing on page 26 or Startup from Recipe 61 see NOTE below Set Mix bit 1 Is Mix Active bit 1 ProMix 2KS in Mix Mode Complete Mix Active 1 while the ProMix 2KS is in Mix mode YES NO NO YES NOTE At power up the system defaults to Recipe 61 which is not a valid recipe number Initiate a color change to Recipe 0 or a valid recipe number 1 60 ...

Страница 23: ...ng Mode Process Is Mix Active bit 1 Check Alarm Condition is Alarm_ General bit 1 YES NO NO YES Mixing Mode is desired PLC is polling to ensure Mixing Mode is main tained Mixing Process active 2KS is in Standby Go to Start Mix Process page 21 Go to Alarm Process ing page 26 ...

Страница 24: ...tup from Recipe 61 see NOTE below YES NO NO YES ProMix 2KS in Purge_CC Mode Process Started Set Purge bit 1 Is Purge_CC_Active bit 1 Is Mix Ready bit 1 NO YES Wait for Mix Ready Set Purge Bit 0 ProMix 2KS Purge Process Complete NOTE At power up the system defaults to Recipe 61 which is not a valid recipe number Initiate a color change to Recipe 0 or a valid recipe number 1 60 ...

Страница 25: ...YES NO NO YES Is Active Recipe to desired recipe Register 40005 Clear ColorChange CC bit momentary input CC process started Load ccNewRecipe Register 40046 with recipe number to Color Change to 0 through 60 is valid Do nothing Spraying at desired recipe NO YES Set ColorChange CC bit 1 ProMix 2KS Color Change Process Complete Is Mix Ready bit 1 Wait for Mix Ready YES NO Ensure Color Change bit is s...

Страница 26: ...n has been found previously Alarm_General 1 Two options Purge or Color Change to remove mixed material in the line Place in Mix mode and spray the Potlife Volume set in the ProMix 2KS NOTE The Reset key only silences the alarm To clear the alarm you must use one of these two options Go to next process as desired Determine the exact alarm from Table 3 on page 29 and solve what caused the alarm as r...

Страница 27: ... maintained 9 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 Job_Complete Set bit to 1 to initiate Job Complete input momen tary 10 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 External CC Ready Set bit to 1 to initiate External Color Change momentary 11 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 Not Used 12 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 FC _Calibrate Set bit to 1 to initiate a Flow Control Calibrate input momentary 13 0 0 1 0 0 0 0 ...

Страница 28: ... 0 0 0 0 0 1 0 0 0 0 0 Flow_Rate_Alarm 1 indicates the Flow Rate Alarm Warning is active 6 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 Special_1 1 indicates the Special_1 output is on monitor only 7 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 Special_2 1 indicates the Special_2 output is on monitor only 8 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 Special_3 1 indicates the Special_3 output is on monitor only 9 0 0 0 0 0 0 1 0 0 0 0...

Страница 29: ..._Error_Alarm Low Byte 0 0001 0000 0000 0000 High_Flow_Alarm Low Byte 0 0010 0000 0000 0000 Low_Flow_Alarm Low Byte 0 0100 0000 0000 0000 System_Idle_Alarm Low Byte 0 1000 0000 0000 0000 Setup_Change_Alarm High Byte 0 0000 0000 0000 0001 Power_On_Alarm High Byte 0 0000 0000 0000 0010 Defaults_Loaded_Alarm High Byte 0 0000 0000 0000 0100 IO_Alarm High Byte 0 0000 0000 0000 1000 Purge_Initiate_Error ...

Страница 30: ...gital output 16 Bit none 0x0000 0xFFFF Read Write 40046 New recipe 16 Bit none 0 60 Read Only 40048 Current fluid pressure 16 Bit psi 0 5000 Read Only 40049 V P percent output 16 Bit 0 100 Read Only 40056 Actual ratio reducer 16 Bit none 0 9999 Read Only 40114 Flow control option 16 Bit 0 proportioning only 1 1K flow control future 2 2K flow control 3 pressure override 4 manual percent override 0 ...

Страница 31: ... 1 0 1 0 42 0 0 1 0 1 0 10 1 0 1 0 1 1 43 0 0 1 0 1 1 11 1 0 1 1 0 0 44 0 0 1 1 0 0 12 1 0 1 1 0 1 45 0 0 1 1 0 1 13 1 0 1 1 1 0 46 0 0 1 1 1 0 14 1 0 1 1 1 1 47 0 0 1 1 1 1 15 1 1 0 0 0 0 48 0 1 0 0 0 0 16 1 1 0 0 0 1 49 0 1 0 0 0 1 17 1 1 0 0 1 0 50 0 1 0 0 1 0 18 1 1 0 0 1 1 51 0 1 0 0 1 1 19 1 1 0 1 0 0 52 0 1 0 1 0 0 20 1 1 0 1 0 1 53 0 1 0 1 0 1 21 1 1 0 1 1 0 54 0 1 0 1 1 0 22 1 1 0 1 1 1 5...

Страница 32: ...n the display Add objects to the User Interface in Graco Gateway Backlight is off Push one of the soft keys to turn it back on Backlight tube is broken Replace the backlight tube Unit continually cycles on and off Cross references between tags e g Var1 uses Var2 as maximum which in turn uses Var1 as minimum Remove one of the references or use formula tags for indirect reference e g Form1 is equal ...

Страница 33: ...ag in this case Value shows BIG or BIG Not enough digits before the decimal point to show the number For exam ple data is 1000 5 and format is three digits before the decimal point and one after Increase the number of digits before the decimal point in the tag format Value deviates by a factor of ten The tag format is not correct Change the decimal point position in the tag format Value is invalid...

Страница 34: ...the viewer Check that all displayed tags in the trend viewer have a Minimum and a Maximum setup USB Drivers location for Windows Location of the drivers unknown The drivers are located under Graco Gateway 2 0 Device installation folder For example C Program Files Graco Gateway Device USB Driver installation The operating system is unable to find the driver or the installation failed In your operat...

Страница 35: ...No USB Drivers Check that the USB drivers were installed successfully Reinstall Graco Gateway USB driver under the PC device manager if necessary No reply from terminal Cable is not connected Make sure the cable is connected or check above solutions If the message appears while down loading to the device Download again with Link Update or F9 CompactFlash required for upgrade The version of Graco G...

Страница 36: ...match your protocol Incorrect communication port Check if the cable is connected to the correct communication port If the above is correct check that the protocol settings are on the correct communication port in Graco Gate way Communication port connector pins bent inward Although unlikely check the commu nication port connector pins on the Graco Gateway in case some are bent inward resulting in ...

Страница 37: ...ort in Graco Gateway is enabled Graco Gateway and target devices are in a different address domain If no routers are present on the network Check that the target device IP address and Graco Gateway device IP address are different but in the same domain For example both start with the same three first num bers ex 192 168 2 xxx if the mask is 255 255 255 0 If a router is present on the net work Chec...

Страница 38: ...ing Contact Graco Technical Assistance for further information Status Indication Rapidly Flashing Graco Gateway is currently running the boot loader and or being upgraded Steady Graco Gateway is operating normally Status Indication Green Transmitting Red Receiving Status Indication Yellow Steady Link Established Yellow Flashing Network Activity Green 10 BASE T Communications Amber 10 BASE TX Commu...

Страница 39: ...SHIELD FLOW CONTROL CAL BLK GUNTRIGGER WHT DIGITAL IN COMMON RED REMOTE STOP GRN ALARM RESET BRN ALARM OUTPUT BLU DIGITAL OUTPUT COMMON ORG POT LIFE YEL FLOW RATE ANALOG IN PUR FLOW RATE ANALOG COMMON GRAY 1 2 3 4 5 6 7 8 DIGITAL INPUT COMMON RECIPE BIT 0 INPUT RECIPE BIT 1 INPUT RECIPE BIT 2 INPUT RECIPE BIT 3 INPUT RECIPE BIT 4 INPUT RECIPE BIT 5 INPUT RECIPE CHANGE INPUT 1 2 3 4 5 6 7 8 DIGITAL...

Страница 40: ...EWAY 1 8 186620 LABEL ground 1 9 n a COVER wireway 1 10 CONTROL BOX Gateway 10a 15V966 BOX DeviceNet includes items 20a 23 and 27 used on 15V963 Kit only 1 10b 15V965 BOX Profibus includes items 20b 23 and 27 used on 15V964 Kit only 1 10c 15X492 BOX ethernet includes items 23 and 27 used on 15V331 Kit only 1 11 120838 BLOCK clamp end 2 12 103833 SCREW machine 4 13 112443 BLOCK terminal ground 1 14...

Страница 41: ...9a 3 4 5 6 8 10 11 12 13 14 15 17 14 18 18 17 14 7 9 12 1 2 To 4 To 10 Wiring Diagrams TI12931a 1 2 3 4 5 6 7 8 shsh 1 2 3 A SH B ProMix 2KS EasyKey RS485 Network Terminals DRRJ45 Network Terminals 16 4 10a b or c 20a or b USB Port ref item 23 ...

Страница 42: ...Communi cation on page 42 DeviceNet Option Card Pin Outs V Position 1 of the pluggable connector provides a CAN ground connection This terminal is isolated from the Graco Gateway CAN_L Position 2 of the pluggable connector provides the CAN_L bus line active low This terminal is iso lated from the Graco Gateway DRAIN optional Position 3 of the pluggable connector is provided for optional drain conn...

Страница 43: ... A DeviceNet Slave Communication 312785B 43 FIG 30 DeviceNet Port Pin Outs and PLC Connection XCDN NET STS CAN_L DRAIN CAN_H V V V LED CAN_L DRAIN CAN_H V TI13962a TI13963a DeviceNet Option Card PLC Connection ...

Страница 44: ...er Slave Connection Set The DeviceNet specification details a number of con nections that facilitate data transfer between a Master and Slave devices The following sections detail the con nection types supported by the Gateway I O Bit Strobe Connection The Bit Strobe connec tion is an I O connection over which Bit Strobe I O command and response messages are transferred The Bit Strobe command is b...

Страница 45: ...eated DeviceNet Interface port Gateway Configuration The following example requires use of an Allen Bradley 1756 ControlLogix PLC along with RSLogix 5000 and RSNetWorx for DeviceNet software and a Gateway Configure the Gateway DeviceNet Option Card Install the Gateway DN0000 option card in the Gateway as per the provided instructions Click on File New to create a new Gateway database and select Ga...

Страница 46: ...he DeviceNet Option Card item On the right hand pane click on the Edit button to open the driver picker dialog box Select the DeviceNet Pre defined Group 2 Server driver FIG 32 Set the appropriate Station Address Baud Rate and I O Poll Size Make sure the Data Format Settings are set to Transform Swap Bytes In Word FIG 33 FIG 32 Select DeviceNet Server ...

Страница 47: ...ORTANT NOTE The I O Polled Size is determined by the settings in both the DeviceNet Master and the registered EDS file for the Gateway To change these settings see Automatic Update of the EDS File on page 51 before setting up the PLC FIG 33 Device Settings ...

Страница 48: ... at the left and add two Gateway Blocks one for Read Data and one for Write Data using the Add Gateway Block button on the right hand pane Select the first Gateway Block and select the Edit button at the right Set the block for I O Polled Command Data starting at element PollC 00000 FIG 35 FIG 34 Add a Gateway Block ...

Страница 49: ...pport select Word as Word For 32 bit support select Word as Long The latter is recom mended as DeviceNet uses 32 bits integer addressing Set the block size for 4 and the Direction for Device To Gateway This will be the Read Data block FIG 35 Select Data Type Word as Long ...

Страница 50: ...ck A so the Gateway can read data On the other hand the master can only pull data from Block B so the Gateway can only write data The addressing scheme available is outlined below BitC Identifies the I O Bit Strobe command data Mas ter to Slave BitR Identifies the I O Bit Strobe response data Slave to Master PollC Identifies the I O Poll command data Master to Slave PollR Identifies the I O Poll r...

Страница 51: ...e a file that matches your Gateway settings This file can therefore be used to configure the Master To generate this file enter the Communications module and select the DeviceNet interface on the left Under the Electronic Data Sheet select Yes in Synchronize and choose the path and name where the file should be saved using the Browse button FIG 37 Saving the database using the File Save command wi...

Страница 52: ...New DeviceNet Configuration Register the EDS file generated by Gateway as shown in the previous section of this document by selecting Tools EDS Wizard Register an EDS file s Select Register a single file and browse to the location where you saved the Gateway EDS file Make sure that the EDS file validation is successful If desired select a new image file to represent the Gate way FIG 38 Register th...

Страница 53: ...Select the Gateway Slave by navigating in the tree on the left Navigate to DeviceNet Vendor Graco Con trols Generic Device Select the Gateway SERVER and drag it into the network workspace at the right Configure the master to add the slave device to the scanlist Right click the DNB module and select proper ties From the Scanlist tab select the Gateway SERVER from the Available Devices pane and add ...

Страница 54: ...e above in the Gateway In DeviceNet networks 4 bytes constitute a full word Therefore the 16 bytes selection represents 4 full words of addressable 32 bit data Select the Input tab Verify that the four words of Gate way SERVER data are mapped to YourDNB Slot I Data 0 3 From the Output tab verify that the four words are mapped to YourDNBSlot O Data 0 3 Apply the changes and save your RSNetWorx for ...

Страница 55: ...radley ControlLogix PLCs are programmed with RSLogix 5000 programming software To begin the DeviceNet configuration launch RSLogix 5000 from your development PC Create a ControlLogix program containing a valid Devi ceNet Scanner In this application a 1756 DNB was used FIG 45 Create Valid DeviceNet Scanner ...

Страница 56: ... 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 valu...

Страница 57: ...us for Decentralized Peripherals Profibus DP is a device level bus that sup ports both analog and discrete signals It has wide spread usage for such items as remote I O systems motor control centers and variable speed drives Profi bus DP communicates at speeds from 9 6 Kbps to 12 Mbps over distances from 100 to 1 200 meters The protocol supported by the Profibus DP option card is Profibus DP Slave...

Страница 58: ... 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 wi...

Страница 59: ...to our device Contact Graco Techni cal Assistance for Profibus GSD files Start Simatic Manager and open or create a new PLC project Select the Simatic 300 Station in the navigation pane as shown in FIG 49 Double click Hardware in the right hand window This will start the HWConfig where most of the work is done The HWConfig shows the current PLC hardware config uration Close this configuration NOT ...

Страница 60: ...ed previously is select the file and click Install FIG 51 Once the GSD file is installed successfully the PLC hardware setup can be opened again by doing Station and selecting the latest opened file which should be number 1 If this is a new project configure your PLC with the right modules FIG 51 Browse to GSD File ...

Страница 61: ...ollowing steps show how to set up the Profibus DP network Skip these steps if your PLC application already possesses a Profibus DP network In the floating window that represents the PLC double click the DP area to open the properties window as shown in FIG 52 FIG 52 DP Properties Window ...

Страница 62: ...he General tab click the properties button to open the Profibus properties FIG 53 In the properties window go to the Parameters tab and click on the New button to create a new network FIG 54 FIG 53 Open Profibus Properties FIG 54 Create a New Profibus Network ...

Страница 63: ...e the Trans mission Rate that fits the application In this example it will be 12 Mbps The profile should be DP FIG 55 Close the popup windows by clicking OK HWConfig should now show the Profibus DP master system next to the PLC FIG 56 FIG 55 Set Transmission Rate FIG 56 Profibus DP Master System ...

Страница 64: ...vigation situated on the right hand side of HWConfig to the Profi bus DP Master System The card is situated under Profi bus DP Additional Field Devices MMI In the properties window that popped up select the Pro fibus address the Gateway will take on the network This address should be unique In this example the Gateway will take address 5 FIG 57 Click OK FIG 57 Add Graco Gateway to Profibus Network...

Страница 65: ...ks can be inserted in the following slots to fit your application FIG 58 shows an example with a 16 words input block in slot 2 and 5 words output block in slot 3 Addresses are given automatically but can be edited by the user NOTE If the starting address for a block in slot 2 or above changes and creates a gap in the address range it will not affect the Gateway blocks as all data are con secutive...

Страница 66: ...Profibus DP a Profibus Option card has to be fitted in the unit Refer to the device manual to find the proper option card and installation procedure Setup the Profibus Communication Enter the communication module and select the Gate way On the right hand pane click the Edit button to select the Option card Select Profibus Option card and click OK FIG 59 FIG 59 Select Profibus Option Card ...

Страница 67: ...ss can be changed This address is the Gateway address on the Profibus network In our example this address is 5 as setup in the PLC earlier NOTE There are no Baud Rate settings as the Profibus option card detects the transmission rate automatically A device called PLC1 is now displayed under the Profi bus Interface This device represents the Profibus Mas ter and can be renamed to fit the applicatio...

Страница 68: ...bus Communication page 66 is important First create a variable that correspond to the data type required In this example an integer FIG 62 Select the variable and rename it eventually Then click on Internal next to mapping on the right hand side pane and select PLC1 which is the Profibus Master FIG 63 FIG 62 Create a Variable FIG 63 Variable Properties Select PLC1 from pulldown menu ...

Страница 69: ... up as Read Only Select the data offset which points the address to read or write in the block Select the data type to read or write This defines how many bytes to access in the block to get the correct data In this example we choose output block with data offset 0 Which points to 256 in the PLC and as a Word FIG 64 NOTE Since the output block is a reading block from the Gateway standpoint this va...

Страница 70: ...4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Word 0 Word 2 Word 4 Word 6 Word 8 Dword 0 Dword 4 Note how a Dword or word address starts at the address of the first byte included in it FIG 67 Gateway Addressing Scheme Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9 Word 0 Word 1 Word 2 Word 3 Word 4 Dword 0 Dword 1 Here the word or Dword addresses follow the nor mal numeric increment ...

Страница 71: ...at byte 410 in the PLC and so would be composed of byte 410 and 411 The following formula can be used to find the byte num ber from a Dword address ByteAddress PLCOffset DWordAddress x 4 where ByteAddress is the address we are looking for in the PLC PLCOffset is the first byte number in the complete block mapping in the PLC here 256 DwordAddress is the address mapped in the Gate way So for example...

Страница 72: ... B by flashing the firmware you should check the hardware version with your vendor before hand to ensure its suitability You will also need Rockwell Software s RSLinx and RSLogix 5000 software configuration utilities Introduction In the following example the ControlLogix will establish a Class1 connection and I O data will be exchanged between the ControlLogix and the Graco Gateway termi nal The n...

Страница 73: ...NET B or 1756 ENBT A node proper ties under the I O Configuration in the Controller Organizer h Select the Port Configuration Tab from the Mod ule Properties window See FIG 70 i Enter the IP Address and Subnet Mask The IP Address must match the IP Address entered in the Properties window FIG 69 j Apply the settings using the Set button k You can now verify the network module network communications...

Страница 74: ...Appendix C Graco Gateway to ControlLogix via Ethernet IP 74 312785B FIG 70 Port Configuration Window IP Address Subnet Mask Set Button FIG 71 Ethernet Module Selection ...

Страница 75: ... Gateway and will be used for writing data from the ControlLogix to the Gateway i Enter 1 in the Configuration Connection Point and a size of 0 Configuration data is not sup ported by the Gateway j Press Finish to add the Gateway to the I O con figuration The connection points and sizes are arbitrary as long as the connection point size and direction are matched in the configuration of the Gateway...

Страница 76: ... You should also see three new entries in the Con troller Tags view Gateway_HMI I to view the input data Gateway_HMI O to modify the output data Gateway_HMI C to view the configuration data 4 Download the new I O configuration to the control ler Once the download is complete the controller will automatically establish a new Class1 connection with the Gateway FIG 73 Ethernet Configuration Data ...

Страница 77: ...ecked extra space must be allocated in the Gateway block to receive the status information all data is accepted regardless of the device state 3 Device Settings A Gateway block must be created for each connection point For the purpose of configuring the data transfer terms input and output are relative to the device and not the Gateway An input connection is therefore specified as Gateway to Devic...

Страница 78: ...ateway_HMI I PLC1 Block2 5 Testing Using the RSLogix5000 program you can modify tags Gateway_HMI O and verify they are written into Var1 and Var2 and verify changes made in the Gateway to tags Var3 and Var4 are updated in Gateway_HMI I Ensure the device is in the Run mode otherwise the data transfer will be ignored by the Gateway Table 7 Input Connection Points Connection Point 2 Data Offset 0000 ...

Страница 79: ...Dimensions 312785B 79 Dimensions TI12825a 16 57 in 420 9 mm 15 07 in 382 8 mm 4 52 in 114 8 mm 5 31in 134 9 mm 8 71in 221 2 mm TI12930a ...

Страница 80: ...Dimensions 80 312785B ...

Страница 81: ...ytes of non volatile Flash memory 2 Mbytes CompactFlash Type II slot for Type I and Type II cards Used for optional database storage only Real time clock Typical accuracy is less than 1 minute per month drift Lithium coin cell battery typical lifetime of 10 years at 25 C This unit is not field serviceable All work must be done by a qualified tech nician Environmental conditions Operating temperatu...

Страница 82: ...al or workmanship repairs will be made at a reasonable charge which charges may include the costs of parts labor and transportation THIS WARRANTY IS EXCLUSIVE AND IS IN LIEU OF ANY OTHER WARRANTIES EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO WARRANTY OF MERCHANTABILITY OR WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE Graco s sole obligation and buyer s sole remedy for any breach of warranty sha...

Отзывы: