Home
KEPDirect for PLCs
Contents
1. 4 26 2004 1 18 14 PM Default User KEPDirect for P Starting AutomationDirect ECOM device driver 4 26 2004 1 18 14 PM Default User AutomationDire AutomationDirect ECOM Device Driver 4 60 62 U ti 4 26 2004 1 18 21 PM Default User KEPDirect for P Stopping AutomationDirect ECOM device driver 4 26 2004 1 18 21 PM Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC 4 26 2004 1 18 21 PM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OP iJ 4 26 2004 1 18 21 PM Default User KEPDirect for P Starting AutomationDirect ECOM device driver KJI j Bana oe Po iane action bones AAA 7 55 KEP Direct for PLCs rs Step 3 Import the Elements continued Select the Tag Import Settings in the Device Properties pop up window Browse and select the location where the DirectSOFT32 export file that you created is stored Click on Apply when done x General Timeout Database Creation NetEdit Tag Import Settings Tag Import Settings Tag Import File z C KEPDirect T ag example csv ea g Imported file Select properties location IV Display Descriptions OK Cancel Apply Help Next select the Database Creation tab Configure the Database Creation settings to fit your application Refer to page 31 Step 6 for an explaination of the three settings options Click Auto Create after making you settings Device Propertie
2. El Example Source Code fa Simple VB OPC Automation Client Z 4 Space Required on C 7748K Space Available on C 13073132K lt Back Cancel KEP Direct for PLCs eee Step 8 Select Program Folder The wizard continues with the Select Program Folder window which will allow you to select or create a folder to install the KEPDirect application files These are the KEPDirect launch help and application files The installation program automatically creates a new program folder for KEPDirect You may keep this folder type a new name over it or select an existing program folder on the list Once you have chosen or entered a program folder name click on the Next button ity xj Select Program Folder s Select the location where setup is to create new shortcuts k Dm Setup will add program shortcuts to the Program Folder listed below You may type a new folder name or select one from the Existing Folders list Click Next to continue Program Folder Use the default name p AutomationDirect KEPDirect OPC Servers or create a new name Existing Folders Administrative Tools Adobe AutomationDirect Tools DitectSOFT 4 DirectSOFT 32 Firmware Update Tool Interleaf Jasc Software xi InstallShield lt Back Next gt Cancel The window shown below appears Verify the folder name where the KEPDirect files are to be stored If this is the selected folder click on the Next button to continu
3. drop down window click New to close the simulated project and start the new project lt KEPDirect for PLCs C Program File KEPDirect for PLCs C Program File File Edit view Users Tools Help File Edit view Users Tools Help De Hemas Channel_O_User_Defined Ramp Save ffl Random Save As m Sine aa m User Iperi 5 i E P Channel_1 Export ES m Davi a Project Properties Device_2 GP Channel_2 1 simdemo opf m Device_3 z B GP Channel_3 Bet mm Device_4 Til Device_4 S P Channel_4 E P Channel_4 m Device_5 m Device_5 ffl Device _6 A Device_6 Open 19 KEP Direct for PLCs B Step 4 Adding and Configuring a Channel A channel represents a communication medium from the PC to one or more external devices A channel can be used to represent either a serial port or a Ethernet card installed in the PC Serial channels will either be DirectNet or K Sequence while the Ethernet channels will be UDP IP protocol A number of channels can be defined within a single project for organizational purposes A channel acts as the basic building block of an OPC link Adding channels is done by using the New KEPDirect for PLCs untitled opf Channel wizard The wizard will guide you Seqgenmc gt 9 through the channel definition process Click F cick to add a charnel on the Click to add a channel text in the new project window to open the New Channel wizard sho
4. modules use TCP IP or UDP IDs consist of four values separated by periods Each value has a range of 0 to 255 Details on the specific nature of the device ID can be found in KEPDirect for PLCs help for the driver Enter the ID for your device ECOM Click Next for the wizard to continue with the device installation New Device ID i xj The device you are defining may be multidropped as part of a network of devices In order to communicate with the device it must be assigned a unique ID our documentation for the device may refer to this as a Network ID or Network Address Device ID lt Back Cancel Help Note With the server s on line full time operation you can change any of these parameters at any time The Device ID parameter can be changed at any time and will take effect immediately 28 KEP Direct for PLCs Step 5 Set the Device s Communication Parameters The wizard will prompt you for the Communication Parameters shown below and displays the default communication settings New Device Communications Parameters x xj Enter the parameters you wish to use while communicating with the device Connect timeout refers to the time to wait for a successful initial connection Request timeout refers to the time to wait for a request to be serviced Connect timeout seconds Request timeout fico milliseconds Fail after 3 successive timeouts lt Back
5. the server must perform the conversion and return the value to the client as a Long This is the case when Allow client to override data type is disabled When this selection is enabled the server will attempt to 41 KEP Direct for PLCs EE LS Sm force the OPC client to use the data type you have selected for the tag The default condition is to allow the OPC client to select the data type of their choice After entering all the data for the new tag you can either click on the Apply button add another tag by clicking on the new tag button in the Tag Properties dialog or click on the OK button There are two ways to get data from a device to your client application using the server The first method and most common method requires that you define a set of tags in the server project then use the name which you assigned to each tag as the item of each link between the client and the server The primary benefit to this method is that all user defined tags are available for browsing within most OPC clients NOTE It s best to see if your client can browse or import tags from the server before deciding on creating static tags In addition user defined tags also support scaling Scaling Static Tags Scaling allows raw data from your device to be scaled to a more General Scaling C None Linear C Square root r Raw Value Range r Scaled Value Range Data type Float Data type Double 7 High 1000 High 100000 I C
6. 42 48 AM Default User KEPDirect for P Closing project C Program FilestAutomationDirectiKEPDirect OPC Servers Projects Test opf 4 21 2004 10 42 50 AM Default User KEPDirect for P Simulator device driver loaded successfully 4 21 2004 10 44 39 AM Default User KEPDirect for P Starting AutomationDirect ECOM device driver X 4 Ready Clients 0 Activetags OofO 4 43 KEP Direct for PLCs a E Setup Tag Groups A tag group is used to organize a collection of tags items with a common set of properties Tag groups allow you to tailor the layout of OPC data in logical groupings that fit the needs of your application Using tag groups allows multiple sets of identical tags to be added under the same device This can be very convenient when a single device handles a number of similar machine segments To add a new tag group to your project either right click on an existing device and select New Tag Group from the context menu or click on the New Tag Group tool on the toolbar as shown in the figure below amp KEPDirect for PLCs untitled opf g l x File Edt Yiew Users Tools Help WML Ton t BEXAR Tag Name Scaling Description Start Yo Boolean 100 None Start motor Click either place to add a New Tag Group Me u u I III I I I II i E r Date Time User Name Source Event p 4 21 2004 10 40 27 AM Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPD
7. AC power source and the computer and has battery backup for blackout and brownout conditions Review Package Contents Now is the time to review the contents of your KEPDirect software package You should have the following items e CD ROM e Installation and Setup Manual e Installation Key Code and Registration Key Code KEP Direct for PLCs d Supported Devices The DLO5 DL105 DLO6 DL205 DL305 and DL405 PLCs support RS232 C and RS422 may require an RS422 adapter serial The DLO5 DLO6 DL205 and DL405 PLCs also support 10Base T and 10Base FL Ethernet interfaces Below is a list of supported devices e DLO5 and DLO6 PLCx Supports the HO ECOM Ethernet Communications Module e DL205 PLCs Supports the D2 DCM Data Communications Module serial H2 ECOM Ethernet Communications Module and H2 ECOM F Ethernet Communications Module fiber optic e DL305 PLCs The DL330 and DL340 supports the D3 232 DCU and the D3 422 DCU The D3 350 only supports the D3 DCM Data Communications Module serial e DL405 PLCs Support the D4 DCM Data Communication Module serial H4 ECOM Ethernet Communications Module and H4 ECOM F Ethernet Communications Module fiber optic KEP Direct for PLCs Installation of KEP Direct for PLCs Server Step 1 Load the CD KEPDirect for PLCs Server Software is available on the AutomationDirect Product Showcase CD To install KEPDirect insert the AutomationDirect CD into your PC s CD driv
8. Cancel Help This screen provides three different communication settings for the device being installed The following list explains the purpose of each available setting Connection Timeout This is used primarily with Ethernet based drivers The connection timeout allows the time required to establish a socket connection to a remote device to be adjusted In many cases the connection time to a device can take longer than normal communications request to that same device The valid range is 1 to 30 seconds The default is typically 3 seconds but can vary depending on the specific nature of the chosen driver Request Timeout This is used by all drivers to determine how long the driver will wait for a response from the target device The request timeout has a valid range of 100 to 30000 milliseconds The default is typically 1000 milliseconds but can vary depending on the specific nature of the chosen driver The default timeout for most serial drivers is based on a baud rate of 9600 baud or better When using the driver at lower baud rates you may need to increase the timeout to compensate for the increased time required to acquire data 29 KEP Direct for PLCs amp amp amp amp Sam Step 5 Set the Device s Communication Parameters continued e Fail After This parameter is used to determine how many times the driver will retry a communications request before considering the request to have failed
9. Sequence device driver loaded successfully 4 16 2004 3 29 27 PM Default User KEPDirect for P Starting K Sequence device driver 4 16 2004 3 29 27 PM Default User K Sequence K Sequence Device Driver V4 30 50 U 4 16 2004 3 29 43 PM Default User K Sequence Device Channel DLO6 is not responding 4 16 2004 3 40 23 PM Default User KEPDirect for P Stopping K Sequence device driver 4 16 2004 3 40 23 PM Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test opf 4 16 2004 3 40 30 PM Default User KEPDirect for P Simulator device driver loaded successfully 4 16 2004 3 41 31 PM Default User KEPDirect for P Starting K Sequence device driver X Ki i a Ready Clients 0 Active tags 0 of 0 P Static Tags A tag represents addresses within the PLC or other hardware device which the server communicates with The server allows both dynamic tags tags entered directly in the OPC Client which specify device data and user defined static tags User defined static tags are created in the server and benefit the user by allowing the tag to be browsed from OPC clients that support tag browsing The user defined tags also support tag scaling Step 1 Open the Tag Properties Dialog To add a static tag to your project either click on the text Click to add a static tag or click on the New Tag tool on the tool bar The Tag Properties dialog shown on the next page will a
10. Starting Simulator device driver 3 9 2004 2 41 07 PM Default User Simulator Simulator Device Driver 4 30 81 U v Generate a driver or plug in license file from a serial number Clients 0 Active tags 0of0 Us From the menu bar click on Help then click on Purchase a Driver License from the drop down menu shown in the diagram above This opens the Unlicensed Drivers and Plug ins window shown below This window allows you to select the driver which will be used for your system protocal The diagram shows the Unlicensed Drivers and Plug ins E xl Drivers License Close Help K Sequence Plug ins 14 KEP Direct for PLCs AutomationDirect ECOM driver selected but either DIRECT NET or K Sequence could have been selected Once the driver has been selected click on the License button NOTE You must go through the Purchase Driver License procedure for each individual driver that you install The ECOM Driver License window shown below now opens Find the label located on the back side of the CD case for the KEPDirect program This label shows the license code for the software included with the case Enter the registration code on the space provided in the window This code can be entered either from your PC s keyboard or by clicking on Keypad and using the pop up keypad to enter the code Once the code has been entered click OK to accept the code and complete registration AutomationDire
11. The valid range is 1 to 10 retries The default is typically three retries but can vary depending on the specific nature of the chosen driver The number of retires configured for your application is dependent largely on your communications environment If your environment is prone to noise induced communication failures you may want to increase the number of retries the driver performs Keep in mind however whenever the driver encounters a communication issue it will attempt to reacquire the data for the lost request Based on the Request timeout and the Fail after count the driver will pause on a specific request until either the device responds or the timeout and retires have been exceeded With this in mind you wouldn t want to set the timeout to 30000 milliseconds and 10 retries with the hope of covering every possible issue as this would result in a potential communications pause of 5 minutes Once the three Communication Parameters settings have been selected click on Next to continue with the device installation 30 KEP Direct for PLCs Step 6 Setup the OPC Tag Database The wizard now shows a Database Creation window This window allows two settings for the database and allows you to provide a name for the group if you wish New Device Database Creation xj The device you are defining has the ability to automatically generate a tag database Determine if the device should create a database on star
12. below Review the Summary and click on Finish to complete the device setup New Device Summary a x If the following settings are correct click Finish to begin using the new device Tag database startup Do not generate on startup Tag database action Delete on create Create tags in DLOS Allow automatically generated subgroups Yes Tag Import File Name C KEPDirect T ag example csv Display Tag Descriptions true Channel Assignment DLOG Driver Name AutomationDirect ECOM File Name PLCDirect_ECOM_u dll Cancel Help Repeat These Steps for Additional Devices lt Back Repeat these steps to install more devices as needed by your project 35 KEP Direct for PLCs Adding Tags to the New Project The project is now ready to add tags Your KEPDirect for PLCs Server window should look something like the diagram below KEPDirect for PLCs untitled opf q 5 x File Edit View Users Tools Help OSk PMoos o sBaxle TagName Address Data Type ScanRate Scaling Description Click to add a static tag Tagg are not required but are browsable by OPC clients Click either place to open tag dialog rT gt Date Time User Name Source Event s 4 16 2004 3 29 27 PM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test opf ti 4 16 2004 3 29 27 PM Default User KEPDirect for P K
13. on the item will display the property sheet for that item Clicking on the Item ID column heading will cause the item list to be sorted based on Item ID The column headings can be resized Panel 3 is the Message Window This window logs status messages generated by the application This window does not support sorting but the column headers can be resized Step 3 Select and Tag the Output to Test A simple test of your setup is to read and write to an output or a data location in the PLC As an example a tag named Start was previously entered as YO Click on Channel1 PLC DLO5 to open the tag s in the Item ID window 212 x Ge GR Yer tet tee OSE seoe s Bex xeon seoa ian 47 KEP Direct for PLCs _ _ _ _ _ _ _ _ _ lt _ lt _ lt _ lt _ __ e SS SSS RnDODp Step 4 Forcing an Output After selecting the output to test right click on the output that you want to test A drop down menu will be displayed ffs Synchronous Write 2j Ready Dew Cor 13 From the drop down menu select either Synchronous Write or Asynchronous Write by clicking on the text Selecting Synchronous Write will open the window shown below Synchronous Write a OK Item ID Current Value Write Value i Channel1 DLOS5 Start 0 The cursor will be blinking in the Write Value area of the window Type the number 1 and
14. the capabilities of both a server and a client application allowing it to access collect organize and link data from other OPC servers and offer that data to any OPC DDE client It provides the means of linking data between OPC servers thus acting as a universal bridge for OPC server client components OPC technology reflects the move from closed proprietary solutions to open architectures that provide more cost effective solutions based on established standards 16 KEP Direct for PLCs ell Start a New Project Step 1 Things to check Before starting a new project be sure that KEPDirect for PLCs Server has been properly installed Also any devices to be added to your project must be installed with modules in place powered up and working properly For ECOM Ethernet If you have selected the ECOM Driver License you must provide the proper IP addresses for each device that will be used in your project You can use NetEdit 3 to setup the ECOM module if needed The IP addresses will be required during the project setup in order to ensure successful communication between the KEPDirect for PLCs Server and the devices If you will be using more than one device in your project an industrial Ethernet Switch such as the E SWO5U is highly recommended For DirectNET or K Sequence serial If the Driver License selection which you have made is either DirectNET or K Sequence the PLC s serial port should have been established
15. will be used if the communication driver supports the data type The Data Type modifier can be handy when you want to insure that a communication driver interprets a piece of data exactly as you desire Example OPC Client Using Dynamic Addressing 1 Start the OPC client application and connect to the server 2 Create a channel called channel1 and device called Device1 using the simulator driver 3 In the client application define an item name of Channel1 Devicel V3000 BCD 4 The client project will automatically start receiving data The default data type for address V3000 in the device is Word To override this the BCD has been appended to select a data type of BCD When using dynamic tags in an OPC client application the use of the Data Type modifier is not normally required OPC clients can specify the desired data type as part of the request when registering a link for a specific data item The data type specified by the OPC client will be used if the communication driver supports the data type The Data Type modifier can be handy when you want to insure that a communication driver interprets a piece of data exactly as you desire NOTE 1 The server creates a special Boolean tag for every device in a project that can be used by a client to determine whether that device is sasam functioning properly To use this tag you would specify the item in the link as Error The value of this tag is zero if the device
16. Description Me Click to add a static tag Tags are not required but are browsable by OPC clients fa qc qt q q yY 4 Date time User Name Source Event a 4 26 2004 12 47 38 PM Default User KEPDirect for P Stopping AutomationDirect ECOM device driver 4 26 2004 Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC 4 26 2004 Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OP 4 26 2004 12 47 38 PM Default User KEPDirect for P Starting AutomationDirect ECOM device driver 4 26 2004 1 01 26 PM Default User KEPDirect for P Attempting to automatically generate tags for device ENET DL26 4 26 2004 1 01 26 PM Default User AutomationDire Database Status Importing Tags 4 26 2004 1 01 26 PM Default User AutomationDire Database Status Building Project Please Wait 4 26 2004 1 01 26 PM Default User KEPDirect for P Completed automatic tag generation for device ENET DL260 gt gt Ready Clients 0 Active tags 0 of 0 a 57 Glossary Client The computers devices that use the server connection are called the clients The client devices need to be physically connected to the server via a hub or a serial cable DDE Dynamic Data Exchange DDE is a generic client server technology provided Microsoft DDE provides a basic architecture that allows many Windows applications from a wide range of vendors to shar
17. Disabled Review the Channel Setup Summary Network Adapter efault Write Optimization Write all values for all tags 10 writes per read El Cancel Help 24 KEP Direct for PLCs EY The Channel has been setup as indicated in the new project window shown below A device s can now be added to your project lt KEPDirect for PLCs untitled opf File Edit wiew Users Tools Help D eH dr A 25 KEP Direct for PLCs Adding Devices to the New Project Devices represent PLCs or other hardware that the server will communicate with The device driver that the channel is using restricts device selection Step 1 Add a Device s KEPDirect for PLCs untitled opf File Edit Yiew Users Tools Help Now that a channel has been setup a Ose Villas gy device can be added by using the New aq Channel Device Wizard An IP address will be aks ai needed for the Ethernet device If a serial device is to be setup be sure that the COM port on the PLC or other hardware Select either to has been set up for communicating on Add a Device either a DirectNET K Sequence or MODBUS network Once the channel setup is complete the application window displays a directory tree on the screen showing the newly created channel name Directly beneath the channel name is a device symbol Either click on the text next to the symbol Click to add device or click on the Add Device tool on the tool bar to initiate th
18. Folder Click here to select a different folder C AutomationDirect KE PDirect OPC Servers Browse InstallShield If you accept the displayed folder or select a preferred directory click on the Next button to continue with the KEPDirect installation Step 7 Select Components to Install The wizard now displays the Select Components window This window allows you to select the components to install for use with KEPDirect It is recommended that you select only the components you want to install When a main component is selected all sub components are selected automatically In this case only the KEPDirect for PLCs is selected This window includes a Description box indicated below which provides a brief description of each component when it is selected When all selections have been completed click on the Next button to proceed with installation AutomationDirect Setup Utility x Select Components h sS Choose the components Setup will install Select the components you want to install and clear the components you do not want to install Eh KEPDirect OPC Servers peui a E KEPDirect EBC 1 0 Server KEPDirect for PLCs provides Description AutomationDirect EBC device connectivity through 5 Select main the use of a plugin window communication driver A com po nent VjAutomationDirect ECOM simulator driver is also installed i DIRECT NET with the server IK Sequence
19. Help OSh viMhiogos sexs Channelt Tag Name Scaling Description ff oros Ri clickto add a static tag Tags are not required but are browsable by OPC clients Time User Name Source Event 10 40 27 AM Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test2 opf 10 40 27 AM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test opF Default User KEPDirect for P K Sequence device driver loaded successfully Default User KEPDirect for P Starting K Sequence device driver Default User K Sequence K Sequence Device Driver 94 30 50 U Default User KEPDirect for P Stopping K Sequence device driver Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test opF Default User KEPDirect for P Simulator device driver loaded successfully F gt Default User KEPDirect for P Starting AutomationDirect ECOM device driver lents 0 Active tags OofO 4 Tag groups can be added at any level from the device level down Multiple tag groups can be nested together to fit the needs of your application 45 KEP Direct for PLCs Use OPC Quick Client to Test Device Setup With the KEPDirect for PLCs Server setup complete a quick test using the OPC Quick Client can be performed to test the connection between the device and th
20. KEP Direct for PLCs Introduction The purpose of this supplementary Manual This KEPDirect for PLCs Setup manual provides the basics to install the PLC server software however complete setup and operational details are found in the KEPDirect for PLCs Help file once the software has been installed Exercise caution This manual is not intended to replace the online Help documentation This is intended only as a supplement therefore use it only as a quick start guide Who can and should use KEP Direct If you have a PLC belonging to the DirectLOGIC PLC family you can use KEPDirect to connect your PLCs with your favorite Windows client The families of PLCs DLO5 DLO6 DL105 DL205 DL305 and DL405 can be connected to your favorite Windows client software This means that KEPDirect has the following capabilities e Connect your favorite HMI SCADA software to low cost AutomationDirect DirectLOGIC PLC systems over a serial or a 10Mbit Ethernet network e Design a low cost data acquisition monitoring system using affordable AutomationDirect PLCs This means that any industrial HMI SCADA data historian MES or ERP software package that includes an OPC client driver can connect directly to DirectLOGIC PLC serial or Ethernet ports e Interface custom VisualBASIC or Visual C applications to AutomationDirect PLC systems and eliminate time consuming driver development KEP Direct for PLCs Diagram Showing the Basic System Com
21. Morr startar for The Export Documentation dialog shown below will appear for you to select the location and file where you want to save the exported csv file Select Comma Delimited csv and Standard Format then click on Save Export Documentation Save in Sy Projects tae c Fe 2x r Content Format OSexample 350example File name ooo i Standard Format Element Nickname Wiring Info Description C EZ Touch Format Tag Name Nickname Value Type Element Save as type Comma Delimited csv hi Cancel co directsoft32 projects Help Your cvs file will look similar to the diagram on the following page 54 KEP Direct for PLCs j El Microsoft Excel Tag example csy Ei File Edit Yiew Insert Format Tools Data Window Help Acrobat Denge Mr z Asg 2 Aral 10 BZ Uw aa start swite Blue 000 part preser Blue 001 part lockec Blue 002 part unlock Blue 003 lower limit Blue 004 upper limit Blue 005 index cony Blue 006 one cycle Blue 007 stop switcl Blue 008 clamp Red 000 arbor dowr Red 001 conveyor Red 002 Automatic mode press complete release clamp 1 cycle mode Conveyor delay Part Counter Start switch on operator panel Limit that detects part in fixture Confirms that the clamp is locked Confirms that the clamp is unlocked Lower arbor limit Upper arbor limt Confirms that the conveyor ac
22. al Scaling m Identification Name Start E Address fro 2 Description Start motor Check address button CT0 177 octal Boolean 0 377 octal Boolean SP0 777 octal Boolean T0 177 octal Boolean V0 176 octal DWord V0 176 octal Float 0 176 octal LBCD V0 176 octal Long 0 177 octal BCD V0 177 octal Short V0 177 octal Word 1000 1176 foctall DWord fa Hints button using Hints provide a quick reference guide to the address format of the driver The primary driver Help can also be invoked from the hints dialog if needed The address entered can be up to 128 characters in 37 KEP Direct for PLCs A length Once you have entered an address you can test it using the check address button When pressed the check address button attempts to validate the address with the driver If the driver accepts the address as entered no message will be displayed If an error is detected a pop up window will inform you of the error Keep in mind that some errors will be related to the data type selection and not the address string DL05 06 DL105 DL205 Series D3 350 and DL405 Series General Addressing Data Types Boolean Word Bit Number AEF Word Number Octal Octal Address Type Address Form IInput Points READ ONLY Outnput Points Control Relays Special Relays Timer Status Bits Counter Stauts Bits V lt XXXXX gt S
23. allation you will be asked for an optional name and company name Type the names or click the Next button to continue User Information x Type your name below You must also type the name of the company you work for Name MO Company jADC lt Back Canc _ 11 KEP Direct for PLCs The NetEdit 3 install wizard will ask for the name of the destination folder where NetEdit 3 is to be installed Either chose a file folder or accept the default folder as shown in the dialog below Click on the Next button to continue Choose Destination Location x Setup will install NetEdit 3 in the following folder To install to this folder click Next To install to a different folder click Browse and select another folder You can choose not to install NetEdit 3 by clicking Cancel to exit Setup Destination Folder e HAPTools Browse Cancel Select the type of setup in the next dialog window then click on Next to continue with the installation Setup Type E x Program will be installed with the most common options Recommended for most users C Compact Program will be installed with minimum required options C Custom You may choose the options you want to install Recommended for advanced users lt Back Cancel 12 KEP Direct for PLCs The dialog window below is an indicator that the NetEdit 3 installation is complete Setup Complete Se
24. ck on the OK button 6 KEP Direct for PLCs eee Step 4 Welcome Window The KEPDirect install wizard starts and opens the Welcome window shown below This window issues a reminder to exit all other Window applications If you are unsure of the programs that may be running open the Task Manager by pressing the Ctrl ALT Delete keys at the same time Close any opened applications by selecting them and clicking on the Close button of the Task Manager Click on the Next button to proceed with the installation AutomationDirect Setup Utility Welcome to the InstallShield Wizard for KEPDirect OPC Servers It is strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup Click here to proceed with the KEPDirect installation Step 5 License Agreement The wizard displays the Software License Agreement shown below Read the agreement and select Yes if you agree with the terms and conditions AutomationDirect Setup Utility x License Agreement TIE Please read the following license agreement carefully Press the PAGE DOWN key to see the rest of the agreement AUTOMATI JONDIRECT COM END USER LICENSE AGREEMENT AND LIMITED WARRANTY The software accompanying this license agreement the Software is the property of AutomationDirec
25. click on the Apply button The Write Value now displays a 1 reflecting the Synchronous Write that was just applied and the Current Value displays a 1 The indicator for the output point just written to should now be illuminated on the PLC Follow the same procedure to write a zero to turn off the output 48 KEP Direct for PLCs Step 5 Repeat to Test Other Outputs All outputs can be tested in the same manner by repeating Steps 3 and 4 and select each Boolean output available Other data types such as BCD can also be tested using this method NOTE Reading a HEX value with BCD format results in an invalid number If there are other devices with tagged outputs they can be tested in the same manner by first selecting the device The ouputs tagged to a group can also be tested in the same manner Dynamic Tags The other method for entering and defining tags is called Dynamic Tag addressing Dynamic tags allow you to define tags strictly in the client application Instead of creating a tag item in your client that addresses another tag item you have created in the server you need only to create tag items in the client that directly accesses the device driver s addresses On client connect the server will create a virtual tag for that location and start scanning for data automatically Add a New Dynamic Tag With the OPC client running click on the device in order to add the new tag to the Item ID panel Ei
26. ct ECOM Driver License xj Please contact technical support to purchase a serial number that will license this device driver Cancel Serial number Keypad 15 KEP Direct for PLCs lt lt amp amp _ lt lt _______ _ _ __ _ _ at KEPDirect for PLCs Server Setup Summary KEPDirect for PLCs Server is a software driver that provides a means of communication between other software OPC clients and components In other words KEPDirect is a translator server that provides the communication bridge between the software OPC clients and components OPC OLE for Process and Control servers provide a standardized method of allowing multiple industrial applications to share data in a quick and robust manner The OPC server and LinkMaster products provided in this package have been designed to meet the demanding requirements found in the industrial environment This OPC server has been designed as a two part program The primary component provides all of the OPC and DDE connectivity as well as the user interface functions The second part is comprised of plug in communications drivers This two part design allows you to add multiple communications options to your SCADA application while utilizing a single OPC server product thus reducing your learning curve as your project grows LinkMaster has
27. ct the device driver you want to assign to the channel The drop down list below contains the names of all the drivers that are installed on your system Device driver DIRECT NET x Select the Device Driver lt Back Cancel Help If the selection is the AutomationDirect ECOM driver the wizard will prompt you to select a Network Adapter Click on the arrow to open the drop down list This list shows the network adapters which are installed in your PC Either select the adapter you wish to use or select Default and allow the operating system to select the adapter New Channel Network Interface x This channel is configured to communicate over a network You can select the network adapter that the driver should use from the list below Select Default if you want the operating system to choose the network adapter for you Network Adapter Deft sf 3Com EtherLink PCI 10 1 1 1 Select the 3Com EtherLink PCI 192 168 10 58 Network Adapter lt Back Cancel Help 21 KEP Direct for PLCs Step 7 Select the Communications Settings If the device driver chosen supports multiple channels serial the wizard will prompt you for the communications parameters Set up the communication parameters then click on the Next button New Channel Communications q xj o C Baud rate 3600 ha Data bits 8 X Parity Odd X Stop bits 1 x Flow c
28. e The CD should start automatically and open the Install Software window shown below Note If the DirectSOFT32 CD does not start automatically go to the Windows START button select RUN and type E startup exe Change the letter E above to Essential Tools match your CD drive Then SS x L Contact information click on OK and the program p will start Exit to the Desktop 2 Step 2 Select the Install Software Option The DirectSOFT32 Install Software window offers all the options available with this CD To install KEPDirect select the Install Software option indicated on the figure above This selection opens the Product Key window shown below F Install Software J xl Please enter your Product Keycode below exactly as it appears on your CD case Note You may need to remove the Product Keycode label from the shrink wrap packaging of the box your software came in and place it on your CD case Enter Product Key here Product Keycode TIP IF Setup prompts you to enter a Password press CTRL V to paste in this same Product Keycode Then click on the OK button DirectSOFT32 a Step 3 Enter the Product Key Code From this window enter the Product Key located on the back cover of your CD case This software package is protected by this Product Key code Only licensed users that have a Product Key code may install the software After entering the Product Key cli
29. e data OLE This is an abbreviation of Object Linking and Embedding OLE is a compound document standard developed by Microsoft Corporation It enables you to create objects with one application and then link or embed them in a second application Embedded objects retain their original format and links to the application that created them OPC This is an abbreviation for Object Process Control This is the same as OLE defined above but for Process Control SCADA Supervisory Control and Data Acquisition SCADA A SCADA system normally consists of a host software program an HMI unit a telemetry system and Remote Terminal Units RTUs and or Programmable Logic Controllers PLCs that are typically installed in remote areas and communicate over long distances to the Host system Server A server is a computer device which provides information or services to computers on a network 59
30. e KEPDirect Server Step 1 Launch KEPDirect for PLCs Server To perform this test make sure the device is installed and mink powered Launch the KEPDirect for PLCs Server program Step 2 Launch the OPC Quick Client From the KEPDirect Server program window either click on TOOLS menu bar and select Launch OPC Quick Client or click on the OPC Quick Client tool on the toolbar as shown in the in the diagram below Either action opens the OPC Quick Client window shown below File Edit View Users cols Help Reinitialize Event Log gt Channeli ees Address fl ptos Launch OPC Quick Client fe yg Click either place to Launch DCOM Configuration launch OPC Quick Client Greate Startup Shortcut Options Er g alti xi fe Et Yew Toots thee OSE cece sRex rp Birer 46 KEP Direct for PLCs T From the OPC Quick Client window panel 1 shown on the previous page is the Group Window This window manages a list of server connections along with group objects By right clicking on any of the items in the list will display a pop up menu of options Double clicking on the item in the list will bring up the property sheet for that item Panel 2 the larger panel is the Item Window This window displays a list of items tags information for the selected item in the Group Window Right clicking on an item name in the list will display a pop up menu of options Double clicking
31. e add device setup New Device Name xi l device name can be from 1 to 256 characters lin length lt must begin with a letter but the remaining icharacters can be any combination of letters numbers and the underscore character Device name Type a logical name Step 2 Name the Device The wizard begins by asking for a Device name Unlike the channel name the device name can be the same from one channel to the next The device name is a user defined logical name for the device The device name can be up to 256 characters long Keep in mind that some OPC client applications may have a limited display window when browsing the tag space of an OPC server This will be the browser branch name used in OPC links to access tags assigned to this device Click on Next to continue 26 KEP Direct for PLCs Step 3 Select the Device Model The wizard now asks for a Device Model a specific type of device associated with a device ID Click on the down arrow to open the drop down list of the devices PLCs CPUs The contents of the PLC CPU model selection drop down will vary depending on the chosen communication driver Click on the PLC CPU to select it then click on the Next button to continue with the device installation New Device Model x The device you are defining uses a device driver that supports more than one model The list below shows all supported models Select a mod
32. e with the installation KEPDirect OPC Servers InstallShield Wizard xj Location to Save Files d Where would you like to save your files Q an Please enter the Folder where you want these files saved If the folder does not exist it will be created for you To continue click Next Save files in folder Change InstallShield Bac Next gt Cancel KEP Direct for PLCs amp K amp amp K SSS S _ SS aaam Step 9 Start Copying Files The wizard now displays the Start Copying Files window shown below and displays the installation information as configured through all previous steps Verify that the installation information is correct If incorrect click on the Back button to return to previous windows If correct click on the Next button to start copying the KEPDirect files to your PC s hard drive AutomationDirect Setup Utility E x Start Copying Files Review settings before copying files L Setup has enough information to start copying the program files If you want to review or change any settings click Back If you are satisfied with the settings click Next to begin copying files Current Settings Target Directory C Program Files AutomationDirect KEPDirect OPC Servers Displays the installation information configured during the previous installation steps Start Menu Folder Program Files AutomationDirect KEPDirect OPC Servers Se
33. eal value IEEE format Null terminated ASCII string Two byte packed BCD value range is 0 9999 Four byte packed BCD value range is 0 99999999 Unsigned 8 bit value Signed 8 bit value Float Double String BCD LBCD Byte Char If you omit the data type the driver will choose a default data type based on the device and address you are referencing The default data types for all locations are documented in the individual driver help files If the data type specified is not valid for the device location the server will not accept the tag and an error will be posted in the Event Log window Example OPC Client Using Dynamic Addressing 1 Start the OPC client application and connect to the server 2 Create a channel called channel1 and device called Device1 using the simulator driver 3 In the client application define an item name of Channel1 Devicel V3000 BCD 4 The client project will automatically start receiving data The default data type for address V3000 in the Simulator device is Word To override this the Short has been appended to select a data type of Short 51 KEP Direct for PLCs a When using dynamic tags in an OPC client application the use of the Data Type modifier is not normally required OPC clients can specify the desired data type as part of the request when registering a link for a specific data item The data type specified by the OPC client
34. el that best describes the device ou are defining Device model lt Bach DL 450 Step 4 Type the Device ID The wizard requests a Device ID next The device ID parameter allows you to specify the driver specific station or node for a given device The type of ID entered will vary depending on the communication driver you are using For many communication drivers the ID is a numeric value The drivers supported by KEPDirect for PLCs use a numeric ID The menu option allows you to enter a numeric value as shown in the dialog below Additionally the format of the entered numeric value can be changed to suit the needs of either your application or the characteristics of the MISI i xl chosen communication driver By default the format is set by the driver either Decimal Octal or Hexadecimal The device you are defining may be multidropped as part of a network of devices In order to communicate with the device it must be assigned a unique ID our documentation for the device may refer to this as a Network ID or Network Address Device ID fil a Decimal x It is good practice to leave the ID on Decimal Cancel Help 2 KEP Direct for PLCs B Step 4 Type the Device ID continued If the driver in use is either an Ethernet based driver or supports a unconventional station or node name the dialog below will be shown In this case the device ID is a TCP IP ID such as the ECOM
35. f Optimization Method These choices are described in the list below e Write all values for All Tags This is the default mode It forces the server to attempt to write every value to the controller In this mode the server will continue to gather OPC write requests and add them to the server s internal write queue The server will then process this write queue and attempt to empty the queue by writing data to the device as quickly as possible This mode insures that everything written from your OPC client applications will be sent to the target device This mode should be selected if the order of your write operations or the content of every write item must uniquely be seen at the target device e Write Only Latest Value for Non Boolean Tags Any value that is not a Boolean value will be updated in the server s internal write queue and will then be sent to the device at the next possible opportunity This feature must be used with a clear understanding of how it will affect the operation of your application This mode does not attempt to optimize writes to Boolean values This allows you to optimize the operation of HMI data such as a slide switch without causing problems with Boolean operations like a momentary push button e Write Only Latest Value for All Tags The final write optimization mode takes the operation described for the second mode and applies it to all tags If your application needs only to send the latest value to your de
36. in order to communicate between the KEPDirect for PLCs Server and the PLC This is accomplished by using DirectSOFT32 to establish and set up the communication link Setting up the communications port will also assure you that the proper interface cable is being used with the PLC Once all the above items have been confirmed a new project can be started 17 KEP Direct for PLCs Step 2 Launch KEPDirect for PLCs Click on the KEPDirect for PLCs Server icon shown on the Pele left to launch the application The application will start and open the KEPDirect for PLCs Server window shown below lt KEPDirect for PLCs C Program Files AutomationDirect KEPDirect OPC Servers projects simdemo opl 5 xj Eile Edit View Users Tools Help Daeh w Ma as ot texlA E G Channel_0_User_Defined Scaling Ramp Random Ml sine m User E P Channel_1 Device_1 Device_2 B P Channel_2 fl vevice_s E Channel_3 m Device _4 2 Channel_4 m Device_5 Device_6 Description Date time Username Soce Event tid 3 9 2004 2 40 28 PM Default User KEPDirect for P Starting Simulator device driver 3 9 2004 2 40 28 PM Default User Simulator Simulator Device Driver Y4 30 81 U iJ 3 9 2004 2 40 40 PM Default User KEPDirect for P Stopping Simulator device driver fi 3 9 2004 2 40 40 PM Default User KEPDirect for P Closing project C Program Files AutomationDi
37. irect OPC Servers Projects Test2 opf 4 21 2004 10 40 27 AM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test opf 4 21 2004 10 40 27 AM Default User KEPDirect for P K Sequence device driver loaded successfully 4 21 2004 10 40 27 AM Default User KEPDirect for P Starting K Sequence device driver 4 21 2004 10 40 27 AM Default User K Sequence K Sequence Device Driver 44 30 50 U 4 21 2004 10 42 48 AM Default User KEPDirect for P Stopping K Sequence device driver 4 21 2004 10 42 48 AM Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test opf 4 21 2004 10 42 50 AM Default User KEPDirect for P Simulator device driver loaded successfully 4 21 2004 10 44 39 AM Default User KEPDirect for P Starting AutomationDirect ECOM device driver x 4 j Clients 0 Active tags 0 of 0 The following dialog will appear You can either type in a unique name or use the default name New Tag Group i x Ready Name Cancel Help After clicking the OK button the main KEPDirect window will appear with the new group branch and the text Click to add a static tag as shown on the next page 44 KEP Direct for PLCs ll Static tags can now be added to the new group by using the method previously described KEPDirect for PLCs untitled opf d 5 x File Edit view Users Tools
38. is communicating l properly otherwise it is one NOTE2 If you use a device address as the item of an link such that the address matches the name of a user defined tag in the server the link will reference the address pointed to by the user defined tag NOTE3 In order to scale your data in the server you must use static tags 52 KEP Direct for PLCs Se eel Import Export DirectSOFT32 CSV Files The server supports the import and export of tag data in a csv Comma separated variable file The csv functions are only available when a Device or Tag Group is selected When using csv import and export tags can be created quickly in the application of your choice Creating a csv file from your DirectSOFT32 project is the best way to import the element nicknames and descriptions to your KEPDirect project Importing the nicknames and devices is done in two parts First is to create an export file from DirectSOFT32 then to generate the tag database in the OPC server The following steps will simplify the process Step 1 Create Nicknames in the DirectSOFT32 Project Open your DirectSOFT32 project that contains the tags elements you wish to export to the OPC server The DirectSOFT32 project should have all the elements documented if not open the Documentation Editor by selecting Tools then click on Documention Editor To add elements enter the nickname and description for each element of interest F DirectSOFT32 Programming test x Fi
39. lamp Low 25 Low 400 I Clamp Units Ltr Hr Cancel Apply Help appropriate range for your application Selecting either Linear or Square Root will enable scaling operations for the tag in the above diagram The raw data range allows you to specify the range of raw data from the device The valid range is dependent upon the data type of the raw tag value If for example the raw value is set to Short the valid range of the raw value would be 32768 to 32767 The raw high range must be greater than the raw low range 42 KEP Direct for PLCs l Normally a scaled value is assumed to result in a floating point value The server does not make that assumption for you The Data type of the Scaled Value Range can be set to any valid OPC data type This gives you the ability to scale from a raw Data type such as Short to an engineering value with a data type of Long if needed The default scaled Data type is Double The Scaled Data Range allows you to specify the range of the resulting scaled value The valid range is dependent upon the Data type of the scaled value If for example the scaled Data type is set to Long the valid range is 2147483648 to 2147483647 The scaled high range must be greater than the scaled low range In many cases the raw data from the device exceeds the range you have specified for the raw data When this occurs the scaled value is also forced outside of the range you have established To preve
40. le Edt Search View Tools PLC Debug Window Help Tools gt Documentation Editor Raada gt in n start switch i Start switch on operator panel part present i Limitthat detects part in fiture part locked i Confirms thatthe clamp is locked part unlocked Confirms that the clamp is unlocked lower limit i Lower arbor limit upper limit i Upper arbor limt index conveyor j Confirms thatthe conveyor actually moved forward one cycle switch i Switch on operator panel selects one Ir 53 KEP Direct for PLCs amp amp amp lt Step 2 Export the Elements and Descriptions Click on File to open the drop down menu then select Export gt Element Documentation to open the Export Documentation dialog F DirectSOFT32 Programming test x Ladder View E Fie Edit Search View Tools PLC Debug Window Help New Project Open Project Close Project Save Project Save Project As Backup Project Cthrl O ol relay used to that press isin e cycle mode Stop Switch on operator panel Blue 008 stop switch x50 Read Program Write Program cycle mode c3 Import Export Print Preview Print Print All Print Setup Ctrl P Properties hat detects part in fixture Blue 001 1 TEST X PRI 2 EASYFLIPFLOP PRI 3 EASY LCD DEFAULT SCREEN PRI 4 TEST1 PRI Exit Control relay that controls the releasing Confirms that me
41. lected Components Simulator Driver Step 10 KEPDirect Files Installation The installation Setup Status window opens and displays the progress of the installation and setup of the KEPDirect files A progress bar is displayed and a number indicating the percentage of the process completed is shown next to the progress bar AutomationDirect Setup Utility E x Setup Status _ s KEPDirect OPC Servers Setup is performing the requested operations Installing C Complex VB OPC Automation Example OPCServerClass cls Progress ba ran d Percentage completed 40 Cancel 10 KEP Direct for PLCs Step 11 Install NetEdit After the setup status bar reaches 100 the NetEdit 3 install wizard appears a Webco to the Neild I Senp pogam This Deogam vel inate Met dit 3 on yoa comete ie storny recommended tal you ead al Windows progama Delere nunning the Seu progam Qich Cancel to gat Setup and then cione ary progamo you hae narewg Ock Net to Conta wih tha Sap progam If you have not previously installed NetEdit 3 or if you have an earlier version of NetEdit you can install this version now Click on the Next button to proceed with the installation If you feel that you do not need NetEdit 3 now click on the Cancel button to finish the KepDirect for PLCs installation NOTE NetEdit3 is required to setup DirectLOGIC Ethernet devices For those who continue with the NetEdit 3 inst
42. nt this the High and Low clamps can be used to constrain the scaled value to the range specified The server also allows a Units string to be assigned to a scaled tag The Units string can be up to 32 characters long The server supports the OPC tag properties available in the 2 0 Data Access specifications If the OPC client that you are using supports these properties it can automatically configure the range of objects like user input objects or displays using the data entered here 2 KEPDirect for PLCs untitled opf y 5 x File Edit View Users Tools Help OSE ViMbog sBexls EP Channelt Tag Name Address Data Type ScanRate _ Scaling Description m start vo Boolean 100 None Start motor New Tag Date Time User Name Source Event S 4 21 2004 10 40 27 AM Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test2 opf 4 21 2004 10 40 27 AM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OPC Servers Projects Test opF 4 21 2004 10 40 27 AM Default User KEPDirect for P K Sequence device driver loaded successfully 4 21 2004 10 40 27 AM Default User KEPDirect for P Starting K Sequence device driver 4 21 2004 10 40 27 AM Default User K Sequence K Sequence Device Driver 4 30 50 U 4 21 2004 10 42 48 AM Default User KEPDirect for P Stopping K Sequence device driver 4 21 2004 10
43. of options on the menu bar located on the top left portion of the window below lt 2 KEPDirect for PLCs C Program Files AutomationDirect KEPDirect OPC Servers projects simdemo oph File Edit View Users Tools Help aes o imaa Contents Search Driver Help Data Type ScanRate scaing Description Click on Purchase a Driver License Ramp Random f sre Unlock a Licensed Driver or Plugeir I User Transfer a Driver or Plug in License B Channel_1 m Device_1 Technical Support Device _2 BG Hl dove About m Device_3 E P Channel_3 Mm Device_ E P Channel_4 Mm Device_5 Device_6 3 9 2004 2 40 28 PM Default User KEPDirect for P Starting Simulator device driver 3 9 2004 2 40 28 PM Default User Simulator Simulator Device Driver 4 30 81 U ri 3 9 2004 2 40 40 PM Default User KEPDirect for P Stopping Simulator device driver 3 9 2004 2 40 40 PM Default User KEPDirect for P Closing project C Program Files AutomationDirect KEPDirect OPC Servers pro 3 9 2004 2 41 07 PM Default User KEPDirect for P KEPDirect for PLCs Server Started 6 3 9 2004 2 41 07 PM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OPC Serverslpr 3 9 2004 2 41 07 PM Default User KEPDirect for P Simulator device driver loaded successfully 3 9 2004 2 41 07 PM Default User KEPDirect for P
44. ontrol None x F Use modem IV Report comm errors I Use Ethernet encapsulation lt Back Cancel Help NOTE The ID selection in addition to allowing you to select a COM port to be used with your driver many drivers also support Ethernet Encapsulation mode Ethernet Encapsulation mode allows you to use an Ethernet based serial port gateway instead of your normal PC based serial port More information about Ethernet Encapsulation can be found in the KEPDirect for PLCs Server Help file Step 8 Write Optimizations Setup The wizard will now prompt you to setup the Write Optimizations after a device driver has been chosen and setup This window shown on the next page allows you to control how write data is passed to the underlying communications driver as well as adjust the ratio at which those writes will be processed and sent to the device 22 KEP Direct for PLCs New Channel Write Optimizations x Nou can control how the server processes writes on this channel Set the optimization method and write to read duty cycle below Note Writing only the latest value can affect batch processing or the equivalent m Optimization Method Qf gS write only latest value for non boolean tags Write only latest value for all tags r Duty Cycle Perform fio a writes for every 1 read lt Back Cancel Help The write optimizations provides three choices o
45. or PLCs amp amp amp amp SS SS Step 8 Tag Import Settings The next dialog the wizard presents is the Tag Import Setting shown below You are to enter the exact location of the DirectSOFT32 export file you want to import tags from The exported file should have been created in DirectSOFT32 see page 49 Click on the button next to the file entry window to select the location and import file name You can also type the location and the import file name if you wish Only two types of files can be imported e Program via export txt extension e Element Documentation via export Standard Format csv New Device Tag Import Settings a x Set the location of the tag import file to be used in tag database creation Select whether descriptions should be displayed if provided Tag Import File CAKE PDirect T ag example csv IV Display Descriptions Click here to select the import file lt Back Next gt Cancel Help extension After selecting the import tag file you have the option to have the tag descriptions imported or not Check the Display Descriptions box to have the descriptions imported If necessary a description will be given to tags with long names stating the original tag name Click the Next button to continue 34 KEP Direct for PLCs Step 9 Review the Device Setup Summary The Summary is the final wizard dialog shown
46. patibility Pump 1 Flam Wiener Pnp 2 pz KEP Direct for PLCs a Preparing for Installation Getting to Know Windows KEPDirect software runs under 32 bit Windows operating systems 98 2000 NT XP If you are more accustomed to using 3 1 please take a moment to study your PC s reference manual on the operation of Windows 98 2000 NT XP Check your PC Hardware Requirements Please check the following requirements when choosing your PC configuration Minimum System Requirements e Windows 98 e Pentium 200MHz or higher e 32Mb RAM e 10Mb available disk space e MS Internet Explorer 5 0 or newer Recommended System a T _ wih FEES ee ce e Windows NT 4 0 SP5 or later Windows 2000 XP e Pentium 400 MHz e 64 Mb RAM e 10Mb hard disk space e MS Internet Explorer 5 0 or newer NOTE The server is designed to run on Windows 98 NT 4 0 and all versions of Windows 2000 and XP Some of the older Win 98 PC s will probably not have the Microsoft DCOM patch loaded since DCOM is not native to them KEP Direct for PLCs Surge Protection It is highly recommended that the computer KEPDirect operates on has some form of power surge protection A quality surge protector will protect your computer from most surges and spikes however an uninterruptible power supply UPS will provide the ultimate protection A UPS provides isolation between the
47. ppear for you to enter the Name Address and Description for the tag being entered Step 2 Name the Tag The tag Name parameter allows you to enter the string that will represent the data available from this tag The tag name can be up to 256 characters in length While using long descriptive names is generally a good idea keep in mind that some OPC client 36 KEP Direct for PLCs Tag Properties 5 xj General Scaling m Identification New Tag Name Start g button Address Y0 71a Description Start motor Data properties Data type Boolean Bal Client access Read write 7 Scan rate 100 j milliseconds I Do not allow clients to override data type applications may have a limited display window when browsing the tag space of an OPC server The tag name is part of the OPC browse data Tag names must be unique within a given device branch or tag group branch If your application is best suited for using blocks of tags with the same names you can use tag groups to segregate the tags Step 3 Enter the Tag Address The Address parameter allows you to enter the desired driver address for this tag The format of the address entered here is based entirely upon the driver being used To determine how an address should be entered you can use the Hints button to open a pop up window with a list of addresses and ranges for the particular PLC that you are fao Properties O x Gener
48. rect KEPDirect OPC Servers pro iJ 3 9 2004 2 41 07 PM Default User KEPDirect for P KEPDirect for PLCs Server Started fil 3 9 2004 2 41 07 PM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OPC Servers pr 3 9 2004 2 41 07 PM Default User KEPDirect for P Simulator device driver loaded successfully fil 3 9 2004 2 41 07 PM Default User KEPDirect for P Starting Simulator device driver v fi 3 9 2004 2 41 07 PM Default User Simulator Simulator Device Driver Y4 30 81 U Clients O Active tags 0 of 0 When the KEPDirect for PLCs Server application is launched for the first time it opens with an operational simulation program This is a sample program which can be used to practice adding devices and channels The window is divided into three areas as explained below see the window above for reference 1 This area displays any existing channels devices and groups in a project In addition from this area new channels devices and groups can be added to projects 2 This is the tag entry window of the server Tags that you enter for a given device or tag group will be displayed here 3 This area is the event log window of the server Any of the messages generated by the server or the underlying driver will be displayed here 18 KEP Direct for PLCs EEE Step 3 Open a New Project Now to start the new project Click on File located on the menu bar On the
49. relays Step 4 Enter a Tag Descriptiom The optional Description parameter allows you to attach a comment to this tag A string of up to 64 characters can be entered for the description If you are using an OPC client that supports Data Access 2 0 Tag Properties the description parameter will be accessible from the Item Description property of the tag Step 5 Select the Data Type The Data Type selection allows you to specify the format of this tag s data as it is found in the physical device In most cases this is also the format of the data as it returned to the client The data type setting is an important part of how a communication driver reads and writes data to a device For many drivers the data type of a particular piece of data 39 KEP Direct for PLCs a rigidly fixed In these cases the driver knows what format it is needs to use when reading data from the device In some cases however the interpretation of device data is largely in the user s hands An example would be a device that uses 16 bit data registers Normally this would indicate that the data is either a Short or a Word Many register based devices also support values that span two registers In these cases the double register values could be a Long Dword or Float When the driver you are using supports this level of flexibility you must tell the driver how you want to read data for this tag By selecting the appropriate data type you are telling the dri
50. s j x Database General Timeout ge Database Creation NetE dit Tale Creation Settings Automatic tag database generation on device startup Do not generate on startup z Perform the following action on previously generated tags Delete on create x Add generated tags to the following group _ JV Allow automatically generated subgroups Auto Create NOTE The database can be generated in either a group or in the device 56 KEP Direct for PLCs ell The OPC Server will attempt to create the tag database while posting messages to the event log on the status of the import When finished all elements exported out of DirectSOFT32 will appear in the OPC Server in the main window layout After the tag database has been created the KEPDirect Server window look like the diagram below The OPC tags generated are given meanigful names in the OPC Server and are based on the variables imported These tags are also placed in meaningful tag groups to provide a structured and manageable interface to the tags The end result is a well organized OPC server project that directly reflects the variable import file KEPDirect for PLCs C Program Files AutomationDirect KEPDirect OPC Servers Projects File Edit View Users Tools Help CSE ePMhogs smaxiZ 15 x E P ENET Tag Name Address Data Type Scan Rate Scaling
51. stallation 32 KEP Direct for PLCs Step 7 NetEdit for ECOM Users If you are using the AutomationDirect ECOM driver the wizard will show the NetEdit dialog shown below The device ID which was New Device NetEdit 5 x The Device ID IP address previously entered can be set in the device at this time by using the NetEdit configuration utility NetEdit also provides network querying and device information Press the Launch NetE dit to access this tool Launch NetEdit Select Next when finished previously entered for the device can now be set in the device If you have previously set the ID in the device this step can be bypassed Clicking on Launch NetEdit will open the NetEdit window below BEE File Network View Help Ethernet Address F B C Module Type IP Address ID Name Description 00 E0 62 20 20 36 SPS HO ECOM 192 168 100 5 3 OSECOM 005 Ethernet data communication 00 0 62 20 01 08 H2 ECOM 10 1 1 31 55 00 E0 62 20 01 OF H2 ECOM 192 168 63 22 56 Auditorium Auditorium Light and Screen Cont Module Info ECOM Settings ECOM Help General Help p General Info Ethemet Stats Reset Stats Firmware Version 1 0 350 pE Missed Frames ee Bad Packets a Boster Version 30 102 TX Collisions 1 Unknown Type a Switch Setting 00000000 Los Packatt 11581 Sed Enae 0 Ready 33 KEP Direct f
52. t com or its suppliers and is protected by United States and Intemational Copyright laws and International treaty provisions No ownership rights are granted by this Agreement or possession of the Software Therefore you must treat the Licensed Software like any other copyrighted material e 9 a book or musical recording except that you may make a single copy for backup or archival purposes Your rights and obligations in its use are described as follows xl Do you accept all the terms of the preceding License Agreement If you choose No the setup will close To install KEPDirect OPC Servers you must accept this agreement InstallShield If you agree with the License Agreement s terms and conditions click here The Back button returns you to the Welcome window Selecting No will cancel the installation KEP Direct for PLCs Se Step 6 Select the Installation Directory The File Destination window displays the folder or directory where the KEPDirect files will be installed You may choose a different folder by clicking on the Browse button and selecting a preferred directory AutomationDirect Setup Utility d x Choose Destination Location b Select folder where Setup will install files N ha Setup will install KEPDirect OPC Servers in the following folder To install to this folder click Next To install to a different folder click Browse and select another folder Destination
53. t until the proper ID is located Click on the ID to select it then click on the Add Leaves button This will place the selection in the Item ID window Edit the ID by removing Hints and by typing the correct PLC address Y1 Clicking on the y button will test the ID If the ID is not correct an error message window will pop up If the ID is correct the Data Type will be automatically chosen The Data Type is used when communicating between the OPC server and the OPC Quick Client This should be specified to agree with the size and type of the register or memory location that is being addressed Click on the down arrow next to the Data Type window to open a list of supported data types and select the proper type Active is checked by default The item ID will be active after the OK button is pressed Clicking on the OK button will write the new item ID to the OPC Item ID panel To learn more about other ways to use the OPC Quick Client refer to the Help selection on the tool bar 50 KEP Direct for PLCs I Specify Optional Data Types To specify an optional data type append one of the strings from the Data Types chart below after the symbol Boolean Data Types Description Description Single bit Prefix X Y C SP T CT 10 Word Unsigned 16 bit value V Short Signed 16 bit value DWord Unsigned 32 bit value Long Signed 32 bit value 32 bit Real value IEEE format 64 bit R
54. tages Timer Current Values Counter Current Values Data Words Data Words Non Volatile System Parameters NOTE Bit Access to V memory Bit information can be directly accessed within V memory registers To access a bit within a V memory register a bit number can be appended to any V memoryt address Vmemory addressing with bit access would appear as follows V lt xxxxx gt lt yy gt where xxxxx is the V memory location and y is the bit number 0 to 15 within that register If the V memory location is either a Long or DWord the bit number yy can be 0 to 31 Examples V40401 bits 20 27 octal of X Input V41100 Timer status bits 0 17 octal CT165 Counter contact 165 38 KEP Direct for PLCs eee Examples continued S57 Stage control bit 57 V2000 1 Bit access to V2000 bit 1 V2000 30 Long Bit access to V2000 as a Long bit 30 DL330 and DL340 General Addressing Data Types Boolean Word Bit Number Register Form oe Octal 8 Octal Address Type Address Form IInput Output Points IO0 lt xxx gt Control Relays C lt xxx gt Special Relays SP lt xxx gt Timer Counter Status Bits Shift Registers SR lt xxx gt CT lt xxx gt Timer Counter Current Values Data Words None System Parameters None None Examples R37 bits 374 377 octal of the special relays 10157 bit 157 of the I O points R16 bits 160 167 of the control
55. tep 6 Setup the OPC Tag Database continued e Overwrite as necessary The second selection will allow the server to remove only the tags that the communications driver is replacing with new tags Any tags that are not being overwritten will remain in the server s tag space e Do not overwrite The third choice will prevent the server from removing any tags that had been previously generated or may have already existed in the server With this selection the communications driver can only add completely new tags e Do not overwrite log error The final selection has the same effect as the third choice except for an error message which will be posted to the server s event log whenever a tag overwrite occurs naa Note The removal of OPC tags affects tags that have been automatically generated by the communications driver and any tags you have added using names that match generated tags It is recommended that you try to avoid adding your own tags to the server using names that match tags that may be automatically generated by the driver To aid in keeping automatically generated tags from mixing with tags that you may enter manually the parameter Add to group can be used This parameter allows you to specify a sub group that will be used when adding all automatically generated tags for this device The name of the sub group can be up to 256 characters in length Once the database has been setup click Next to continue with the device in
56. ther select New Item from the drop down menu or click on the New Item toolbar button to define an item using the item editor dialog 49 KEP Direct for PLCs SS _ The Add Items dialog shown below will appear The Access Path is required by some OPC servers to complete an item Test ID button Add Items xi OK Eal Cancel ajej a r ltem Properties Edited ID Access Path Item ID Channel DLO5 1 Data Type Boolean X i Active Vv Browsing Branch Filter Leaf Filter Type Access b h ig Native 7j Any he PLC ranc AutomationDirect KEPDirectServer Channel1 DLO5 _Hints Y0 377 octal Boolear Channel d Channel1 DLO5 _System _AutoCreateT agD at Available G E _System d Channel1 DLO5 _System _ConnectT imeout IDs Hints tga DLOS Channell DLOS _System _Deviceld E Channell DLO5 _System _Enabled Channel DINS Sustem Frrr ec IV Browse flat address space on selected branch Add Leaves Validate item before adding it to the list Item Count 1 definition Entry of a path is not necessary Item ID is the OPC server item used to reference the data KEPDirect for PLCs supports tag browsing so open the server tree branches on the lower left portion of the dialog to locate the PLC branch This will place the available IDs on the lower right portion of the dialog You can browse through the lis
57. tually moved forward Switch on operator panel selects one cycle or automatic operation Stop Switch on operator panel Clamp to hold part in place Output for downard movement of the arbor Motor starter for conveyor motor Control relay used to signal press is in automatic mode Control relay showing that the part has been pressed Control relay that controls the releasing of the fixture clamp Control relay used to signal that press is in one cycle mode Delay timer for conveyor Self resetting parts counter to count number of parts made Step 3 Import the Elements Now that you have the DirectSOFT32 nicknames and descriptions in a csv file they can be imported to your OPC Server project Open the Device Properties from the KEPDirect Server main window by right clicking on the device and selecting Properties Right click on the device lol x File Edit View Users Tools Help DOSE ViMhog tex A New Tag Group New Tag Import CSV Export CSV Copy Delete Time Cut Ctrl x Ctrl C Tag Name Data Type Scaling Description X5 Click to add a static tag Tags are not required but are browsable by OPC clients Select Properties User Name Source Event 1 18 14 PM Default User KEPDirect for P Opening project C Program Files AutomationDirect KEPDirect OP iJ 4 26 2004 1 18 14 PM Default User KEPDirect for P AutomationDirect ECOM device driver loaded successfully
58. tup what action should be performed on previously generated tags group to add tags to and allowing subgroups Startup Do not generate on startup x Action E 7 Add to group MV Allow automatically generated subgroups lt Back Cancel Help The Startup selection allows you to configure when OPC tags will be automatically generated There are three possible selections Do not generate on startup This is the default selection which will prevent the driver from adding any OPC tags to tag space of the OPC Server e Always generate on startup This selection causes the driver to always evaluate the device for tag information and to add OPC tags to the tag space of the server each time the server is launched e Generate on first startup This selection will cause the driver to evaluate the target device for tag information the first time this OPC Server project is run and to add any OPC tags to the server tag space as needed The Action selection allows you to control how the server will handle OPC tags which were automatically generated and currently exist in your project This allows you to tailor the server s operation to best fit your application s needs Four choices are available for selection e Delete on create The first selection allows the server to remove any tags that had previously been added to the tag space before the communications driver can add any new tags 31 KEP Direct for PLCs rs S
59. tup has finished installing NetE dit 3 on your computer Setup can launch NetEdit 3 Choose the options you want below Click Finish to complete Setup Step 12 Installation Complete For KEPDirect the install status bar will be showing When the bar reaches 100 the window closes and the Installation Complete window opens This window is an indication that the KEPDirect installation process has finished AutomationDirect Setup Utility InstallShield Wizard Complete Setup is finished copying files If you wish to cancel either of these options click on the respective option checkmark to uncheck the option M Yes want to launch the server after installation Click Finish to complete the setup This window provides two options that are checked by default The first option will open the Read Me file which contains the latest information for the KEPDirect Software The second option will launch the KEPDirect Server Program Both options will open after clicking on the Finish button You can either check or uncheck the option selections and click on the Finish button to end the installation process 13 KEP Direct for PLCs Step 12 Registration With the installation of KEPDirect for PLCs completed you may launch the program now by gt clicking on the KEPDirect icon shown on the right located on the Desktop window The program opens the main window and offers a set
60. ver to read either one register or two or possibly a Boolean value The driver governs the data format you choose You can access the driver s help system through the Hints button to get specific help on what data types are available for a given driver Below is a chart of available data type selections Boolean Data Types Description Description Single bit Prefix X Y C SP T CT IO Word Unsigned 16 bit value V Short Signed 16 bit value DWord Unsigned 32 bit value Long Signed 32 bit value Float 32 bit Real value IEEE format Double 64 bit Real value IEEE format String Null terminated ASCII string BCD Two byte packed BCD value range is 0 9999 LBCD Four byte packed BCD value range is 0 99999999 Byte Unsigned 8 bit value Char Signed 8 bit value NOTE Reading a HEX value with BCD format results in an invalid number 40 KEP Direct for PLCs ll Step 6 Set the Client Access The Client access selection allows you to specify whether this tag is Read only or Read Write By selecting Read only you can prevent client applications from changing the data contained in this tag By selecting Read Write you are allowing client applications to change this tag s value as needed The Client access selection also has an effect upon how this tag will appear in the browse space of an OPC client Many OPC client applications allow
61. vice this mode will optimize all writes by updating the tags currently in the write queue before they are sent 23 KEP Direct for PLCs rs OOOO Before ending the write operations the Duty Cycle needs to be set The Duty Cycle selection allows you to control the ratio of write operations to read operations The ratio is always based on one read for every one to ten writes By default the duty cycle is set to ten This means that ten writes will occur for each read operation If your application is doing a large number of continuous writes but you need to insure that read data is still given time to process you may want to reduce the Duty Cycle A setting of one will result in one read operation for every write operation In all cases if there are no write operations to perform reads will be processed continuously Note It is strongly recommended that you characterize your application for compatibility with these write optimization enhancements before using them in a production environment Step 9 Review the Channel Setup Summary After setting up the write optimizations click on the Next button The wizard ends with a view of the new channel setup Review the Summary then click on Finish to complete the setup New Channel Summary x If the following information is correct click Finish to save the settings for the new channel Name Channel1 Device Driver AutomationDirect ECOM Diagnostics
62. wn below New Channel Identification x channel name can be from 1 to 256 characters in length It must begin with a letter but the remaining characters can be any combination of letters numbers and the underscore character Type a unique channel name or use the default name Channel name Cancel Help Step 5 Name the Channel Each channel name must be unique in a KEPDirect project Each unique channel name can be up to 256 characters long While using long descriptive names is generally a good idea keep in mind that some OPC client applications may have a limited display window when browsing the tag space of an OPC server The channel name entered here will be part of the OPC browser information The New Channel wizard prompts you to type a unique name for the channel by typing over the default Channel1 label Once the name has been typed click on the Next button 20 KEP Direct for PLCs Step 6 Select the Device Driver The wizard now prompts you to select a Device Driver to use Protocal selections are made from this window The arrow to the right side of the name provides a drop down list for all the drivers that are installed on your system The list will allow you to chose one of the following drivers AutomationDirect ECOM DIRECT NET or K Sequence Select the driver of your choice then click on the Next button New Channel Device Driver x Sele
63. you to filter tags based on their attributes Changing the access method of this tag may change how and when the tag will appear in the browse space of your OPC client Step 7 Enter a Tag Scan Rate The Scan rate parameter allows you to specify the update interval for this tag when used with a non OPC client OPC clients can control the rate at which data is scanned by using the update rate that is part of all OPC groups Normally non OPC clients don t have that luxury The server allows you to specify an update rate on a tag per tag basis for non OPC clients By using the scan rate you can tailor the bandwidth requirements of the server to suit the needs of your application If for example you need to read data that changes very slowly there is no reason to read the value very often By using the scan rate this tag can be forced to read at a slower rate reducing the demand on the communications channel The valid range is 10 to 99999990 ms with 10 ms increment The default is 100 milliseconds Step 8 Set Override Data Type The Allow client to override data type selection allows you to force OPC clients to use the data type you have specified for this tag OPC clients can specify how they desire to view the data from a particular tag Normally the server must make a good effort to satisfy this request For example if you set the data type for this tag as Short and the OPC client registers a link to this tag with a data type of Long
Download Pdf Manuals
Related Search
Related Contents
Monarch Specialties I 1826 Instructions / Assembly dreamGEAR DGUN-2744 headphone Trust USB-A/USB-B, 3m Samsung 2343NW Manual de utilizare Vote FSU - Mode d`emploi - SNUipp-FSU du Bas Nike C6 User's Manual BTMT72393 8" BENCH GRINDER INSTRUCTION MANUAL Velleman DVM8855 Prospectus - UFA-Samen Nützlinge Copyright © All rights reserved.
Failed to retrieve file