Home
Operation Manual - Pro
Contents
1. Lea Lol Description S Poweron PL siatus on Please choose the provider s conditions RE and timing Hein OH Time Tad Status OFF Upper Edge S Interval ESCH K Advanced ie Rewrite J Lower Edge Trigger Trigger Provider Node Consumer Node s eet MELSEC_ONA eil VINDOWS_NT E Symbol Name Symbol Length Constant Value F HC fil MELSEC_QNA Symbol Name K Consumer Node s Designate the LS area name that the host PC will use You should designate the LS area name that you wish to use among LS LSA LSB LSY and LSZ For detailed Provider information refer to 3 3 Registering Provider Data When Creating an LS Area inside your GP Creating an LS area inside your GP will allow your PC to easily read out data periodically from the GP The setting of this feature allows data to be read out faster This feature also speeds up data writing Personal Computer LS Area GP The GP s LS area will vary depending on the GP system used The following table shows LS area sizes according to GP system versions LS Area Size GP 4096 GP77R SERIES 8192 GP 2000 SERIES GLC2000 SERIES IT SERIES For the GP s L
2. ovider Informa E Tte Sheet Conter P EI Power on JPL status on Bon ns lass Upper Edge e Phen IB Rewrite Lower Edge A ees Provider Node Consumer Node s E St MeLsec_ona g WNDows_NT a Z Symbol Name Symbol Length Constant Value d 5a MKT j e E MELSEC_oNA SEL Symbol Name For details of each item refer to On line Help Reference On line Help If the Provider and Consumer s symbols are not the same data type they cannot be selected When a large volume of data is sent the GP will not refresh its display while data is being provided In addition the volume of data that can be sent at one time will vary depending on each PLC type Please refer to your PLC s manual to confirm the volume of data that can be sent at one time Range of Provider Data Length Bit data 1 to 16 Others 1 to 255 You can register up to three symbol names for one Provider information The following items are displayed by selecting the provider s condition Setup Items Condition Processing Remarks after Providing Power ON X X X D On Time Interval Rewrite Trigger Status ON Status OFF Upper Edge Trigger Lower Edge Trigger Symbol Name Time Interval Setup Designated Inter
3. za Se Saving time is shown 4 When the saving process has been completed successfully the following window appears Save Complete To open an SRAM backup data file you saved using Excel start Excel click Open on the File menu and then select Text file prn txt csv as Save as type File name Book Save as type Text Tab delimited Microsoft Excel 97 amp 5 0795 Workbook 3 30 3 7 Device Data Backup and Restoration 3 7 Device Data Backup and Restoration 3 7 1 The device data backup function allows you to collect a series of device data via the Internet and to save it as data files The device data restoration function allows you to restore collected data from a series of devices The data saving format can be either BIN binary or CSV Device Data Backup 1 Click the Tools T menu in the Device Backup window SAPS Pro Studio UI FielE Edit E Tools T Programming Support E DataviewlD ConfigurelS View He Isi Check Provider Information Search Active Node Ce APS Save SRAM Backup Data Symbolfltern Type _ Address Data Type Folling Tir B El Network Transfer Netwark Project D40 WORD Local D40 16 BilSigned 1000
4. TI gt F cs JE Res EFi ten HCE Fr 2 E Fea Tee Ki 8060 REA0 4 9 40 9 2 Examples of Simple DLL Function 20 Select the symbol name that you wish to read among symbols registered on Pro Server Select the heading symbol to read from 2 ProjectA Pro Studio Bm Fief FOE Took Programming Support P Dataview D Configure Weu Hen DiS el aes 2 Project Dee V Addiess Data Type Poling D DI Network Entry Node J loca DI 16 Buff ored 1000 lglg GP 10100 0 10 OMRON SYSMAC C SERIES 3 Local DOOM 1688illSigned 1000 Oe GP2 10 100 01 MITSUBISHI MELSECAnAfLINK 00042 WORD Local DONOd2 16 BijSigned 1000 i amp WINDOWS 10 100 0 20 windows Personal Computer LEE Provider Information L t Action List Help is F1 key i NUM A 21 Click VC Read Function on Programming Support of the menu vi ProjectA Pro Studio Me E Halt EOuEI Tool Programming Suppor E Dataview D Configures deu He Ol alen WB cDeclare Function WBAcWrite function Project WBAcRead function A es Addes Data Type Polling Be DI Network Entry Modh Local D00040 TB Bit Signed 1000 Lil GP 10 100 0 WO Declare Function 000041 WORD Local D00041 16 BitS
5. E Tag specifying a range Yes Yes the number of ranges Yes Yes setting a range Yes Yes specifying a number color Yes Yes blinking a number color Yes Yes specifying a background pattern Yes Yes specifying a background color Yes Yes blinking a background color Yes Yes operation Yes Yes specifying display rotation Yes Yes F Tag specifying a display direct indirect Yes Yes type of screen base screen image screen Yes Yes type of screen CF card image screen No No screen number Yes Yes specifying a word address Yes Yes specifying a display data form when relative is selected Yes Yes operation mode area move move between 2 points Yes Yes displaying a display data form Yes Yes G Ta specifying data absolute relative Yes Yes Yes display mode Yes Yes Yes display a data form when absolute is selected BIN BCD Yes Yes Yes input range when relative is selected Yes Yes Yes chart type bar chart pie chart half pie chart Yes Yes Yes fill patterns for a bar chart Yes Yes Yes chart fill patterns except for a bar chart No No No indicating a starting point of a meter type pie or half pie chart Yes Yes Yes specifying a display color Yes Yes Yes specifying a background color No No No blinking a background color No No No displaying alarm Yes Yes Yes specifying alarm background color No No No blinking alarm ba
6. Mesure data read performance 2 The Data Read Performance Measurement window appears After designating all items click Begin Node Data Read Performance Measurement Node sP2300L F L80000 h Number 255 H ReadType Geh Direct Cache Access Type 1 DD Dip zz Close HelpiHi Device Address C 320it CO Double Select the node name All entry node names have been registered If unselected the error dialog will appear 6 3 Read Performance Measuring Tool Device Address Enter the device address or the symbol name to start measuring This is defaulted to LS0000 This will vary depending on the PLC model If not entered or entered an incorrect address the error dialog will appear If you click the right side icon the Device Address Entry window appears and you can designate the device address from this window Number Enter the number of device addresses to measure This is defaulted to 255 The minimum value is 1 and the maximum value depends on the device address or the address type You can enter the value up to 65535 Access Type Select the access type This is defaulted to 16 Bit Read Type Designate the read type This is defaulted to Direct Time The measured read performance value after the execution is displayed 3 The
7. String Value Value display format err Error No Hex pr ProjectID Hex ow OwnerApp Hex ma MajorNo Hex mi MinorNo Hex Argument2 lt String gt lt Value gt String Value Value display format code Device code Hex addr Device address Hex pack DataPack Hex kind DataKind Hex count Data count by word Hex do First data 1WORD Hex Argument3 lt String gt lt Value gt String Value Value display format pr ProjectID Hex ow OwnerApp Hex ma MajorNo Hex mi MinorNo Hex dl DataLen Hex va Validity Hex Argument4 lt String gt lt Value gt String Value Value display format rn ResourceNo Hex pack DataPack Hex kind DataKind Hex count ProvidCount Hex howto HowTo Hex ext ExtDevType Hex code Device code Hex addr Device address Hex retry RetryCount Hex wait RetryWaitTime Hex A 13 A 3 Scale Conversion using Excel A 3 Scale Conversion using Excel This section explains the use of Microsoft Excel s scale conversion feature for input data The following example converts a range of 1 to 1000 to a range of 1 to 100 Ka Microsoft Excel scale xls SS File Edit view Insert Format Tools Data Window Help DS B 4ea7 s Bed o wee AH arial lo le z ole ssples 2 H4 Ki F DA DAF Ze OUOTIENTODAAAE A 13 A l B C D E E G H 1000 1l 100 500 zol
8. Reserved Nica Decimal Hex ee 9371 249Bh The specified number is not registered 9372 249Ch 9373 249Dh Reserved 9374 249Eh Cannot find the file Core ID 9375 249Fh Does not support the designated GP 9376 24A0h_ Cannot read the file Core ID 9377 24A1h Reserved 9399 24D7h 9400 24B8h The function of Pro Easy DLL was doubly called up 9401 24B9h The specified access handle for Pro Server is not effective 9402 24BAh Pro Server has stopped and can not perform processing 9403 24BBh The error occurred in the function of OLE Data cannot be converted 9404 24BCh The effective data for the specified data type variant does not exist in the original data or is not enough 9405 24BDh Original data and destination data types cannot be converted by data type variant 9406 24BEh The specified argument is not enabled 9407 24BFh Can not create the time bar 9408 24C0h Public memory of provide sheet could not open 9409 24C1ih The symbol name is not registered 9410 24C2h The specified time bar has already been locked 9411 24C3h The specified handle has already been linked 9412 24C4h The specified handle is not linked 9413 24C5h The specified handle is not linked to the database 9414 24C6h Specified handle is locked or played Please excute after clearing to its status 9415 24C7h Designate the internal format of the argument s Variant as either date type or com
9. Save as type Pes erver DataBase File DB File name I Save 7 32 7 3 GP Viewer 4 The Sampling method dialog appears Check the desired Sampling Method The contents of the Condition field differ depending on the Sampling method selected You should perform the setting according to the contents displayed When You Selected Regular Sampling on Sampling method The setup contents are as the following You should designate Data Sampling in specified seconds and Sampling using cache in the Condition field Sampling method EE oarmpling method Regular Sampling OH Periodic Sampling Sampling data after change in device OH Sampling data when distributed Condition e 1 Data Sampling in specified seconds Sampling using cache Polling data file Change Ch Documents 20 0B Sawing Method Mo maximum size ewe Data Sampling in specified seconds Designate the device data capturing interval in second This is defaulted to 1 second Sampling using cache Check this box to use the cache to sample device data 7 33 7 3 GP Viewer When You Selected Periodic Sampling in Sampling method The setup contents are as the followin
10. EE a ew i e g a Dest 156 59 p ates faan Al amr Al BR m Gel Button 40 Select the symbol name to write to among symbols registered on Pro Server Select the heading symb o SE ep Eat Tous Programming Supporti DataView D Configure S Wei epp Basch 5y molten Type Address Datatype L o BEF Network Enty Node E Local DUO TEBitGgned 1000 Pa GM 00 100 010 OMRON SYSMAC C SERIES DOMH WORD Local DOOM 16 BifSigned 1000 Le GP2 10 100 011 MITSUBISHI MELSECAnA LINK D00042 WORD Local Dann 16BHSioned 1000 E WINDOWS 10 100 0 20 windows Personal Computer e Provider Information L t Action List D D Help is F1 key ial NUM E 41 Click VC Write Function on Programming Support of the menu Project Pro Studio IO ep Eat Tout Progamming Supponip Dataview O Configure S Wei epp SE V riecae Function VBAcWrite function Project VBA Read function Soso Type Address Datatype Poling T E DI Network Enty Nod Local Di TEBitSgned 1000 Re GP D IMAl VC Deche Function DOUOH_WORD Local DOOI 15 BiSigned 1000 Oe GP2 10 1000 inky I D00042 WORD Locali
11. 20001102 Uhu ap K l 200171202 131023 Jang Si 13 SS m 14 15 sec E 2 The Data Edit dialog appears You can edit data in various methods The following part describes the major operation method after the Data Edit dialog appeared Data Source Kei 4 2 3 Append Hem name 2030 2034 2032 Node name GP2300L GP2300L GP2300L Delete Device name 2030 2031 2032 Value 0 000000 0 000000 16 000000 Data Type 16 BitiSignedy 16 Bit Signech 16 Bittsig Item Status Error Code D a D Data number 1 1 1 Upper Limit popogi O 000000 O 000000 Alarm Upper Limit 0 000000 O 000000 O 000000 Alarm Lower Limit 0 000000 O 000000 O 000000 EK 14 2101 1 10 23 PM Ge 111001 1 10 24 DM 112001 1 10 25 PM 116201 1 10 26 Ph 11001 1 10 27 PM 1162001 1 10 28 Ph 1102001 1 10 29 PM 147201 1 10 30 Ph 11001 1 10 31 PM 147201 1 10 32 Ph 112001 1 10 33 PM 147201 1 10 34 Ph afofofofofalafojolalala afofofofolalafojolalala a 4 b Edit Ok Cancel Search o Although you can start multiple Device View windows you cannot edit data simultaneously 7 2 Device View Appending Sampled Data 1 Click Append of the Data Edit dialog 2 The next dialog appears Designate each item about the
12. 2 The following dialog appears Click Yes DATAVIEwW Now performing Data Collection setup First designate the name of the file used to shore collected data 3 The Save As dialog appears and you can create the file to save the sampled data The file extension is DB After you designated the file name click Save Save As US Save in My Documents SI q na E Save as type Fro Server DataBase File DB C u 7 2 Device View 4 The Sampling method dialog appears Check the Sampling method that you wish to execute The contents of the Condition field differ depending on the Sampling method selected You should perform the setting according to the contents displayed When You Selected Regular Sampling in Sampling method The setup contents are as the following You should designate Data sampling in specified seconds and Sampling using cache in the Condition field ee Bis oampling method Regular Sampling Periodic Sampling Sampling data after change in device Sampling data when distributed Condition 1E 4 Data Sampling in specified seconds Sampling using cache Polling data file Change CiMy Docurments 20 08 Saving M
13. After you have selected an advanced setting the following message appears Pro Studio A If the advanced settings are changed data transfer may be effected Do you wish to continue JL cma Clicking Use Defaults resets all values to the default values 3 45 3 11 Configuring the Network 3 11 1 Configuring Ethernet Cards If the PC for Pro Server has equipped with two or more Ethernet cards it is required to designate the specific card for Pro Server to use If the PC has only one Ethernet card there is no need to change the settings These settings are not available on a PC running Windows 95 1 Select Configure s menu s Network Configuration item Network Configuration OK pre mp 1208710120 15 46 4 caret Advanced PortNo 8000 Hein pMetwork Remote Password Password E Ethernet Card Using 32 bit access with a 16 bit device LowiHigh order is fixed GI Automatic device detection 2 Click the Ethernet Card button The Ethernet Card window will appear Ethernet Card IP Address Cancel Use Defaults Help H 3 Select the IP address of the card to be used by Pro Server and click OK After changing the Ethernet card make sure to restart both Pro Server and Pro Studio 3 46 3 12 Printing the Setting Data 3 12
14. ica HTAA zle Dean 2 40 EES a Sample Microsoft Visual C Sample rc IDD_SAMPLE_DIALOG Dialog Fie Edt View Insert Project Build Layout Tools Window Help I ja Gisela ll Du Een Resource Symbols EE chance HR e g E Resource Includes Full Screen Workspace At D st Alez Debug Windows t Raih T Propetties Hesouce Fies Pesche txt Alls Enter 9 46 9 2 Examples of Simple DLL Function 36 Select IDC_EDIT1 in Control IDs of the Member Variables tab and then click Add Variable MFC ClassWizard EIS D Message Maps Project ple Member Variables Automation i Actives Events Class Info Class name e CSemeedig Ch AMS amples Control IDs IDC_EDIT2 WWickS amples S ampleDlg cpp Type ampleDIg h CN Member Add Class Y Add Variable Glebe ierebb Upda Eden Binet Description a e 37 Enter m_Edit1 in Member variable name select short in Variab
15. Ready Hu II 90120 A 9 2 Examples of Simple DLL Function 14 Right click the pasted ListBox and then select Property After the ListBox Properties window appears uncheck Sort List Box Properties a Ff General Styles Extended Styles Selection Single D E Border D Horizontal scroll Want key input Dee draw im Sart H Yettical scroll Disable no scroll E Noatity o No redraw No integral height im Hezbtee D Mult column D Use tabstops 15 Click ClassWizard on View of the Microsoft Visual C menu we lal L8N_SELCHANGE Resource Includes bd Full Goreen Workspace Ath Output Alt 2 Debug Windows Properties Alt E nter e d ID Resource Symbols 16 Select the Member Variables tab and then select IDC_LIST1 in Control ID MFC ClassWizard ei es Message Maps Member Vanables Automation Actives Events Class Info Project Class name Add Class e R e CS ampleD ig Add Variable c WESS amples S ampleDlg h c WESS amples S ampleD Ig cpp Control D Type Member Dekial IDCANCEL LUckstckus G awa Description 9 39 9 2 Examples of Simple DLL Function 17 Click Add Variable and then enter m_List in Member Variable name S
16. MEMO If the designated project file name is incorrect an alarm message dialog box will appear 3 Select the Tools T menu Import GLC Symbol command SA PS Pro Studio FiefF Edit E Toak T Programming Suppor DataviewD Configure S Met Help LE Import Symbol Export Symbol on 808 f Provider Sp Action Li Status Monitor Deelen Remote Logon Remote Logotf Device Backup Device Restore Check Provider Information Search Active Node Save SRAM Backup Data Transfer Network Project Save GP Capture Data Data Read Performance Measurement hl Computer EC OPL Computer Import symbols from GLC Fe 4 The following dialog box will appear and the GLC symbols will be imported 3 11 3 3 Registering Provider Data 3 3 Registering Provider Data Here you can designate the data each network node GP provides periodically or when the trigger condition is satisfied as well as the data storage location for the GP or PC that receives the data The following descrip tion assumes that the Pro Studio main window is open 1 Click Register Provider Information in the Edit E menu SAPS Pro Studio KD File F Team Tools T Programming Suppon P DateView D ConfiquelS View
17. E Sample files AA Source Fies Debug Remols Connection weryDragIcon ien A Header Files a Resource Files RB FleadMe t Executes the program Set Active Confiauation Cortiguiatons Broil Si UodeteDate vData 0 A Edit1 g MData l m Edit S vDatal2 m Edit3 onli J uritepericer6 eer Diren WORD wData 3 Lr 88 CoS J BEC COU E pile Sampletig Dr a Buld Sample se G GEIER Ha je ag t E Batch Build Clean a Sree Debug VE to obtain the cursor to display whil Microsoft Visual C cAPAOGRAM FILESSPAO FACESPRO SERVER WITH STUDIONPRO SDRAVO S amplesDebughs ample exe This file does not exist Do you want to build it 9 51 9 2 Examples of Simple DLL Function 51 After entering three write data to EditBox s click Button1 to execute writing three data from the symbol _D40_ WORD d Sample RER 1111 2222 E Butter 3533 9 52 10 OPC Server This chapter describes OPC server for Pro Server 10 1 OPC Server 10 2 Example of Connection from the OPC Client Collect Pro 10 1 OPC Server 10 1 OPC Server Installing the Pro Server OPC Server allows you to use applications which contain the OPC Client feature ex Intellution s iFIX etc The OPC I F functions like a DLL to the OPC Client In Process Server E
18. Precautions When Using String Data Functions For variables to receive string data be sure to keep data space large enough to receive the data 9 2 9 1 Simple DLL ProEasy DLL Function Single Thread Function and Multi Thread Function A single thread function accesses to multiple GPs from a single application sequentially GP j 3 Reply Application Pro Server GH 6 Reply GP E ee N 4 Read request 5 Read execution GP te fina Y 7 Read request 8 Read execution Cl 9 Reply A multi thread function accesses to multiple GPs from multiple applications Multiple read requests can be realized simultaneously and an access speed to multiple GPs increases GP j GH 7 Reply Application Pro Server GH 8 Reply GP rs 2 Read request 5 Read execution a GP 3 Read request 6 Read execution Cl 9 Reply eS Precautions When Using Simple DLL from Multiple Threads in Function for Multi Thread Acquire the handle per thread CreatProServerHandle and then designate arguments 9 3 9 1 Simple DLL ProEasy DLL Function Precautions When Threads Other Than the Main Thread Use Simple DLL in Func tion for Multi Thread If the thread that uses the simple DLL is not the application s main thread which starts when
19. 9 16 9 1 Simple DLL ProEasy DLL Function Backup Data s Write Function Single INT WINAPI EasyBackupDataWrite LPCTSTR sSourceFileName LPCTSTR sNodeName INT BackupDataType Multi INT WINAPI EasyBackupDataWriteM HANDLE hProServer LPCTSTR sSourceFileName LPCTSTR sNodeName INT BackupDataType lt Function gt Writes the designated Binary file to the GP s internal SRAM lt Argument gt HProServer Pro Server handle sSourceFileName File path for the value to be written to the GP s SRAM sNodeName Node name of GP to be written to Node must be previously registered as a Pro Server Network Project BackupDataType Designates the type of write file Must be the EasyBackupDataType_FILING type filing data supported by Ver 2 0 lt Return value gt Normal Completion 0 Write Error Error Code Entry Node Status Read Function Single INT WINAPI GetNodeProperty LPCTSTR sNodeName DWORD dwTimeLimit LPCTSTR GPType LPCTSTR SystemVersion LPCTSTR ComVersion LPCTSTR ECOM Version Multi INT WINAPI GetNodePropertyM HANDLE hProServer LPCTSTR sNodeName DWORD dwTimeLimit LPCTSTR GPType LPCTSTR SystemVersion LPCTSTR ComVersion LPCTSTR ECOM Version lt Function gt The connected GP status can be acquired This can also be used to check a connection since the response timeout value can be a variable 9 17 9 1 Simple DLL ProEasy DLL Function lt Argument gt hProSe
20. IOPCGroupStateMgt IConnectionPointContainer IEnumOPCltemAttributes IEnumOPClItemAttributes lEnumString lEnumString lEnumUnknown lEnumUnknown O olololololololololooooololololoololoooloooooooooooooooox X IOO ooox X X X X eleieit t eleleleiele O Supported X Not supported 10 5 A 1 A 2 A 3 A 4 Appendices DDE Function Details Error Messages Scale Conversion using Excel GP Ethernet Settings A 1 DDE Function Details A 1 DDE Function Details The Pro Server software contains the DDE server function and can therefore exchange data with applications that support the DDE client function A 1 1 DDE Address Sending receiving data to from the DDE server is accomplished by specifying an address that consists of three components the application name the topic name and the item name Address components required for connecting to a DDE server Application Name The name of the DDE server application To have access to Pro Server data use the name PROSERVR Topic Name The name of the data group in the DDE server In Pro Server specify the node name of the GP on the network Item Name The actual data name used in the data group on the DDE server In Pro Server specify the device address of the PLC connected to the GP You ca
21. 26 Click VBA Write function on Programming Support of the menu A COU D Edit E Tools L Pragrarming SupponiPi Data View ConfiguelS Viewty Help H E mien clare Function Dech WBA Raad function Sable Tag Ades tata ype Paing E D Network Entry Nogyp Local D00040 g s 1000 n GPI D mn YC Declare Function DOOD WOND Local DODO 16 DiSignes 1000 Ae GP2001000 WC wite Function wo EG WORD Local DZ 16 BiSigned 1000 D WINDOWS DI WC Read function rmputer PAGE Provider Informatio m L t Acton List DDE String Copy R Copy the VBA wite commend statement by date type to clipboard in HUH A 9 30 9 2 Examples of Simple DLL Function 27 The write function will be copied into the Clipboard Message Err WriteDeviceT6CSP 2 D00040 WORD Enter valuednteger type here 1 This string was copied to the clip board Please paste and use in your application 28 Double click Command1 on Form1 to paste the contents write function in the Clipboard between the Sub and the EndSub statements Fa Project Form Code mm es El Private Sub Commandl Click 29 Declare the area to store data to write You should designate three or more area elements if the number of write data is three The number of area elements is
22. D General E i Awl Co H a S SE m P E e H ff Option Explicit Prokasy TXT Pro Server API Declarations for Vis Copyright C 1998 2001 Digital Eleerron Prokasy DLL Version Version Version Version Version Sa KH EC E Project Project1 aa Forms i P Formi Form D s Modules L Module Modulel Hodulet Hecke EI Module Complying with Pro dery Complying with the The version of the Pro Complying with Group It The version of the Pro ua gt Returns the name used in code to identify a Form control or data access object SRAM backup data write It is changed from the The version of the Pro Cp Ven Version 1 0 Operations from Step 1 through 8 mentioned above are common to both read and write For the subsequent part each procedure is described separately because procedures are different between read and write Refer to Step 9 through 21 to create the Read application Refer to Step 22 through 33 to create the Write application 9 23 Creating Read Application 9 2 Examples of Simple DLL Function 9 This section describes the application to read and display three data 16 bits signed when clicking Command1 ia Formi Command Displays three read data 10 Click Tool
23. FUsing 32 bit access with a 16 bit device LowHigh order is fixed Automatic device detection Hein Ethernet Card When selecting a node via a personal computer that has not been registered as a network node and selecting Tool s Remote Logon from the Menu Bar a dialog box will appear asking for the password Remote Connection MELSEC_QMNA 10 230 244 254 MITSUBISHI MELSEC QnA CPL Remote Connection al T CANCEL 3 41 3 10 Configuring the System 3 10 Configuring the System The following describes how to enter Pro Server and Pro Studio system information The following description assumes the program s main window is open 1 Select System in the Configure S menu QA PS Pro Studio De FOE Tock Programming Suppo DataviewlD Configure S Viewty HelplH Cs fl les el Pasa IS eren DEI UDP Port Number FF Network Ent Node Network 10 2015 8000 E WINDOWS VI 210 160 181 172 Windows Personal Ci D Ven 88 MELSEC_QNA 10 230 254 254 MITSUBISHI MELSEC UnS CPUT ZS WINDOWS_95 10 290 230 119 Windows Personal Computer Ne GP2300L1 10 100 0 100 MEMORY LINK SIO Type LE Provider Information t Action List i HOM EI Setup system configuration
24. 3 2 Registering Symbols 2 The Register Symbol window then appears Enter all items and click OK Create frorn mupp rs Device Address Ell D Global symbol Data Type Bit 32 Bit Float Double String Signed O Unsigned O Hex O BCD Polling Time 1000 ing EI append P Foe Cancel Help A symbol must Consist of 31 characters or fewer Begin with an alphabetic letter Use alphanumeric characters no differentiation between upper and lowercase letters _ underscore tilde and 80h or higher ASCH characters Create from Address After selecting a Device Address click on this button to automatically register the Device Address as a symbol You can use up to 27 names as PC exclusive device names that is LS LSA LSB LSC LSD LSY and LSZ The device address ranges from 0000 to 9999 in Word Address using in Decimal The bit values range from 00000 to 9999F which designates the first four 4 digits in Decimal then the last digit in HEX The PC exclusive LS area can also be used for the setup area of the simple DLL function the provider function or the action item function Global Symbol Clicking on the Global Symbol check box automatically designates the same symbol for all of the registered network nodes This setting wil
25. PRECAUTIONS Product Usage Precautions To prevent program malfunctions or accidents be sure to observe the following instructions A Warning Q Touch panel switches should NOT be used for a device s Emergency Stop switch Generally speaking all industrial machinery systems must be equipped with a mechanical emergency stop switch that can only be operated by people Also for other kinds of systems similar mechanical switches must be provided to ensure safe operation of that system A Cautions S e Do not turn off your personal computer s power switch during the execution of a program e Do not change the contents of this product s project files using the Text Editor software m CD ROM Usage Precautions To prevent CD ROM damage or malfunctions please observe the following instructions e Do not remove a CD ROM disk from the CD ROM drive while the operation lamp is lit e Do not touch the CD ROM recording surface e Do not store the CD ROM disk in a place where it may be exposed to extremely high or low tempera tures high humidity or dust PACKAGE CONTENTS The Pro Server with Pro Studio for Windows 4 0 package includes the following items Check that there are no missing items before using the software E Pro Server with Pro Studio for Windows 4 0 Packing List Japanese English Application CD ROM Front Rear m User Registration Japanese English Japanese English J
26. 3 42 3 10 Configuring the System 2 The System Configuration window will appear Enter all necessary data and click OK DDE Polling Time Es Pro Studio Folder DDE Polling Time caProgram Files P 1000 rs GP PROIPB3 for Windows Folder Ste Metal tine CAP rogram Files Pro facelPro Server with Studio RESCH ms Network Project File Auto Load Auto Log on DJ Auto Load 8 e Auto Log on Netvork Projest lis e ERR amp seministatar wade UL Q Beate Made DDE Fop Up Message E Display Message O Read Only iade Display Period 10000 ms O Dibres iois OK Cancel Helpt The DDE polling time designated here will be used as an initial value of the polling time when a symbol is registered GP PRO PBIII for Windows Folder Designate the folder where GP PRO PBIII for Windows is installed The default is C ProPB Win Network Project File Auto Load The designated network project file is loaded automatically when Pro Server starts For access rights by modes Reference 3 9 1 User Level Password Settings For the detailed information for other items Reference On line Help e The polling time used set for collecting or writing data for each symbol providing data and monitoring devices may not be able to be performed under certain conditions These conditions include the currently regis
27. Add Microsoft UsarConnection Ha RH e Bea St B More Activex Designers Add Fie Cdep DH B Remove Forml p ES References Components viet l SS Posch Propertias 9 21 9 2 Examples of Simple DLL Function 6 Select Standard Module on the New tab and then click Open Add Module New Existing im Don t show this dialog in the ue 7 Click Paste on Edit of the Microsoft Visual Basic menu to paste the declaration the con tents in the Clipboard to the added standard module Delete Dal Delete Table fram atabsse Select All Chrl A Select lakmng Table Cor F Find Mest Fa Chrl H Replace Tab Shift Tab Insert File Gi List Properties Metbods Cl E List Constants Craft es Quick Info tril Si Parameter Info Chr At Complete Word CtrH Space Go To Row Bookmarks 9 22 9 2 Examples of Simple DLL Function 8 The declaration will be pasted This completes function read write functions declaration ze Project Microsoft Visual Basic design Module Code 4 Eie Edit View Project Format Debug Bun Query Diagram Tools Add Ins Window Help 2 amp Sleeleeed o l gt op SE SSPtos General F Declarations kal
28. Save form Selects from Excel xls or text csv file formats Template File Location If Use template file is selected be sure to enter the Drive Folder and Template File name 4 3 Action Item Contents 2 Clicking the previous Setting screen s Next button calls up the following screen Select a Data write Patter Return Z y D D 9 D Use all cells CH Use designated range Use Excel Al Less sheet GH ltem names are used CH Item names are not used GH Call up Excel display OH Ho Excel display GI Time stamp is used CH Time stamp is not used Select a Data Write Pattern Select the radio button that corresponds to the data write direction desired Write Data Range Select the data range used for the data written to the file Clicking Use Excel Sheet will call up an Excel sheet and allow you to designate the range directly When CSV is selected as a saving format Template and Data write pattern can not be selected Data write is fixed to Z type Use all cells Item names are not used and Time stamp is not used 4 12 4 3 5 4 3 Action Item Contents Automatic Download of GP Filing Data This action item will automatically download filing data to a Provider s SRAM area CF Car
29. 7 53 Supported Tag Commands The following GP PRO PBIII tag commands are supported by GP Web Only the following tags are supported C tag E tag F tag G tag K tag L tag N tag S tag T tag U tag 7 3 GP Viewer Among these tag commands there are some features not available with GP Web Refer to the following list for each tag command The display may differ for GP and for your Web browser even if drawing commands are supported C Tag character size Yes Yes specifying a display color Yes Yes blinking a display color Yes Yes specifying display rotation Yes Yes specifying a tiling pattern Yes Yes specifying a background color Yes Yes character size full half Yes Yes specifying a background color at tiling Yes Yes E Tag specifying data absolute relative Yes Yes specifying a sign Yes Yes rounding off numbers Yes Yes specifying a display data form Yes Yes specifying display address indirect No No bit length when relative is selected Yes Yes input sign when relative is selected Yes Yes input display when relative is selected Yes Yes input range when relative is selected Yes Yes display range when relative is selected Yes Yes character size Yes Yes the number of digits to be displayed Yes Yes the number of decimals Yes Yes display style Yes Yes 7 54 7 3 GP Viewer
30. Cancel The process is stopped and goes back to GP Viewer Although you can start multiple GP Viewer programs you cannot export data simultaneously Saving Data 1 If you wish to save displayed data to GP Viewer click Save S on the File F menu Data are overwritten If you wish to save displayed data to GP Viewer as a separate file name click Save As A on the File F menu The Save As dialog appears Enter the file name and then click Save Print 1 Click Print on the File E menu The printing process is executed 7 48 7 3 GP Viewer Page Setup 1 Click Page Setup P on the File F menu 2 The Page Setup dialog appears Designate each item and then click OK Print Setup IS Printer Name Properties Status Ready Type OK MICROLINE S03PSIII F Where LP Comment Paper Orientation Sizer Ad be 2 Portrait Source Automatically Select Kl CH Landscape DK Cancel The contents of the Page Setup dialog differ depending on your printer Refer to the user manual of your printer for details Preview 1 Click Preview on the File F menu 2 The print preview appears Copy to Clipboard 1 Click Copy to Clipboard on the File Eil menu 2 The data value displayed on GP Viewer is copied into the clipboard 3 Paste the data value onto the applicat
31. Minimum input value JAH e 2 Maximum input value m N Minimum conversion value F2 Maximum conversion value D4 Input value H4 Conversion value The formula for H4 is as follows IF D4 D2 F2 lt 1 1 QUOTIENT D4 D2 F2 1 To use the abovementioned formula you must first install Excel s Analysis ToolPack To do this us Excel s Tools gt Add Ins dialog to add the Analy sis ToolPack A 14 A 4 GP Ethernet Settings A 4 GP Ethernet Settings Prior to sending data to the GP the proper settings must be entered After data transfer or setup are finished the GP s OFFLINE menu will appear Select INITIALIZE SETUP OPERATION SURROUNDINGS and then EXTENDED SETTINGS and the following screen will appear When using the 2 Way driver perform self diagnosis of the Ethernet unit from the following Expanded Settings screen not from the OFFLINE mode s Main Menu screen Expanded Settings The screens shown here are setup examples Jeune sur 2 Les sene OTHERS SETLE SELFOIAGNOSIS 1JETHERNET SETUP se ms vun rn e MY IP ADDRESS My IP ADDRESS SUBNET MASK L H DE l i l The IP addresses 32 bits used are divided into 4 groups of H ops 8 Use Base 10 numbers only e SUBNET MASK If unused enter all zeroes here e MY PORT NO Port number range is from 1024 to
32. lef Hi wi r r 2 The Data Sampling Status dialog appears The sampling status of each registered database is displayed so that you can check the contents Tip Data Sampling Status File E Oppen Registered Database Database Na Access Co l Scan Time l Overrun l Status 20 2 428 a Polling File F You can open a database not displayed here or close the Data Sampling Status dialog Option ON You can set the Data Sampling Status dialog to be displayed on the front always 7 59 7 4 Checking the Data Sampling Status Polling Start If you select a database that a sampling is not currently executed this button becomes active If you click this button the data save is started Polling Stop If you select the database that a sampling is currently executed this button becomes active If you click this button the data save is stopped Detail After selecting the database that you wish to check the detail click the Detail button If you click it the Detail dialog appears The detailed contents of the selected database are displayed Set After selecting the database that you wish to change the data sampling condition click the Set button If you click it the Sampling method dialog appears so that you can change the data sampling condition of the selected databas
33. lt Back Next Finish Cancel 4 Click OK to complete the project Application type of Sample wing Classes to be created Features About box on sprtem menu 3D Controls Localizable text iri English United States Dialog Based Application targeting New Project Information IS App izard will create a new skeleton project with the following specifications Application CSampledpp in Sample h and Sample cpp Dialog CSampleD g in Sample Dlg h and Sample Dla cpp Uses shared DLL implementation MFO42 DLL Active Control support enabled Project Directory STUDIO PRO SDKWICSS ample cNPROGRAM FILESSPRO FACESPRO SERVER WITH ae em 5 Pro Serer provides read write functions as DLLs You should designate the LIB file to use those DLLs Click Setting on Project of the Microsoft Visual C menu x Sample Microsoft Visual C Eile Edit View Insert Project Build Layout Tools Window Help ddd To Project Set Active Project gt H eja Dependencies Export Malek CSampleDig AMPLE_DIALOG Dialog Insert Praject into String Table B E Version Workspace 9 34 9 2 Examples of Simple DLL Function Designate the LIB file using Object library modules in the Link tab and then click OK Pro SDK Pu
34. vEspont File Name KE Start Time End Time The First aay 301 Specified 1 10 23 Pw H Time theend It 201 Specified 1 20 31 Pr H Time rD uicg Condition Valid O Keyword DU mag DI Other Export Header Gives G No Cancel Designate the location and the file name to save exported data The file extension is CSV 7 26 7 2 Device View Start Time Designate the time to start exporting data To export Polling data immediately click on the The First checkbox To export Polling data after a specific period of time elapses click on the Specified Time checkbox If you checked Specified Time you should also designate the start time to export End Time Designate the time to end exporting data To wait until all data is polled before exporting click on the The End checkbox To export Polling data after a specific period of time elapses click on the Specified Time checkbox If you checked Specified Time you should also designate the end time to export Device Condition This is the reserved data You should not change the designated value Export Header If you wish to include the header information in exported data check Yes If not check No Export Executes the data export Cancel The process is stopped and goes back to
35. CSanpleDig OnButtoni ORD wDatal3 ReadDevicel GP2 _DO0040__WORD wData 3 CString str 3 atr 0 Fornat sd wData 0 str L Format d wDatel1 str 2 Format d wData 2 mList InsertString 0 str 0 nList InsertString 0 str 1 mList InsertString 0 str 2 Ki 30 Click Execute Smaple exe on Build of the Microsoft Visual C menu ample Microsoft Visual C SampleDig cpp R Fie Edt View Insert Project Buid Tools window Help CIS EI HO D Compile Zonge em Ctrl F IS Build Sample exe Ki Co ampleDig ef Al cll ey getaag all HA lees AN a Batch Build GS Workspace Sample 1 project Clean D E Sample files to obtain the cursor to display while t Start Deb EN DA Source Files BE ueryDraglcon D Sample cep Debugger Remote Connection e niIcon D I Samplete 7 Ge ES GampleDig cop Con cpp Set Active Configuration j 9 Header Fies Configurations SC EI Resource h Profile Sample SampleDlg h ReadDevicei GP2 _D00040__WORD wData 3 bof Stich CString str 3 EK Resource Fies str O Fornati wData 0 Sample ico str 1 Fornat d wData 1l Sample rc2 str 2 Fornati zd wData 2 E ReadMe txt more mList InsertString 0 str 0 mListInsertString 0 str 1 mList Inse
36. Time Setup You can designate the time unit for one graduation of the time bar Now Play Display Switch Now and Play buttons are available You can playback the saved data from the designated time either by sliding the time bar control to the time that you wish to start the playback or by clicking the Play button after clicking the time for currently displayed data the center field of Saved Time and then entering the time to start the playback 7 25 7 2 6 Other Features This section describes the File menu and options of Device View 7 2 Device View 1 If you click File EI of Device View 8 options are available The following describes the overview of each option Exporting Data Tel ES File F Option Data Edit Sampling Data Export Savoli Device name valule Save asl GP2300L 2030 a an GP2300L 2031 a Page set pees GP2300L Een 16 Copy to Clipboard GP2300L 2033 0 Ente GP2300L 2034 o GP2300L 2035 1101 2036 GP2300L 2036 10 2037 GP2300L 2037 o 2038 GP2300L 2038 1968 2039 GP2300L 2039 DU 29 30 sec a 1 Select Data Export on the File F menu 2 The Export dialog appears Designate each item and then click Export Export File Name 2001711702 fra am E zo 13 10 23 iaoa Eil 13 20 31 ER
37. 7 3 GP Viewer Week Designate a day of a week to sample device data Check the day that you wish to sample device data You can also click Everyday Fri Weekday Mon Tue Wed Thu Fri or Weekend Sat Sun under the day check boxes Month Designate a day of a month to sample device data You can designate either a particular day one day or the last day every month Device data are sampled on the day designated here every month If you click Next the Designate the sampling time dialog appears Designate each item in the Designate the sampling time dialog and then click OK Append allows you to create the new sampling schedule and it will be displayed in the schedule field Edit allows you to change the contents of the selected schedule i Designate the sampling time E p Start time Ae E Starttime 05 55 aw roampling count One time only Hour tepeatt EI ties gieny panad Back Ok Cancel Start Time Designate the time to start capturing device data The sampling will start at the time designated here Sampling count If you wish to sample device data once check One time only If you wish to repeat device data sampling designate the sampling condition You should designate the sampling interval and the number of sampling 7 35 7 3 GP Viewer When You Selected Sampling dat
38. from start to finish of data reception 7 2 Device View Designate the sampling method before and after receiving the Provider information You should designate sampling times before and after receiving in second and the sampling interval in second 5 7 2 Device View Designate each item in the Polling data file field of the Sampling method dialog and then click OK ampling method _ E oarmpling method Gi Regular Sampling OH Periodic Sampling Sampling data after change in device OH Sampling data when distributed Condition Data Sampling in specified seconds Polling data file Change Cd Documents 20 0B Sawing Method Mo maximum size Change Use this button to change the folder to save sampled data Saving Method If you click this button the Saving Method dialog appears Designate each item in the Saving Method dialog and then click OK Saving Method WISS Saving Method No maximum size is designated as much as storage media allows Designate maximum size Weer 2met Dien sample data exceeds meriiou Conte numbering enews Save over oldest data Ping Aaf Een Do natsaa fies aer ale Dr Disssiel Periodic saving Nom sven day Q
39. gt GP PRO PBIII for Windows Help Files Transferring your screen data in on line mode temporarily causes the GP to display the transfer screen The initial screen will be restored as soon as data transfer is completed 8 2 Transferring Only Updated Screen Data to GPs 3 Click Send in the Transfer menu or on the Send Screen button to transfer the information to the GP i ay a Z Transfer MEIGS Setup View Options Help Prepare IR Receive Transfer Method Automatic iT est pr 4 Abort Transfer System Setup Automatic Pp titled i Exit Send To GP Transfer Status Prepare Status Overall Progress Send screens L J Transter Send Screen Transfer Setup View Options Help System Setup Automatic Send To GP Transfer Status Prepare Status The GP displays the following information when the screen data is being transferred Receive the application data Downloading the screen data from the upper screen for maintenance Don t turn the GP power off To turn the GP power off while downloading might destroy the data inside the GP For how to setup a GP for Ethernet refer to A 5 Setting Up a GP for Ethernet From GP PRO PBIII for Windows Ver 4 0 only screen data transfer is required The Network Project file s data is not sent As a result the sending of the same
40. Enter the book name Zero Suppress If you check this option no zeros are supplied to the file name even though the file name includes any of 7M D h M s month day hour minute second If you do not check this option 0 zero is supplied to the file name if the file name includes any of M D h M s month day hour minute second and that number is one digit The default is checked 4 5 4 3 Action Item Contents Writing in the Excel sheet is performed while searching blank cells A large amount of data in a sheet will slow down a writing process A sheet is divided by setting a book name as Y M D h m s so that a writing process will be speeded up File Save Method When you normally wish to make a new book check the upper button If you wish to add historical data etc click on the lower button Template File Location If you wish to use a previously made template file click the Use Template file button and then select the desired template file xlt Only the sheet1 should exist within the designated template file Book is Currently Open Select the action from Do not save data or Use Temporary Book when books with the same filename are open on writing If you selected Do not save data written data are not saved when book files with the same filename are open in advance If you selected Use Temporary Book written data are saved as a separate filename t
41. If you have any questions about the contents of this manual please contact your local GP distributor Also If you have any question about your personal computer or Windows please contact your local distributor or manufacturer Safety Symbols and Terms This manual uses the following symbols and terms for important information related to the correct and safe operation of this product Symbol Description A Warning Incorrect operation resulting from negligence of this instruction may cause death or serous injury A Caution Incorrect operation resulting from negligence of this instruction may cause injury or damage to equipment Q Indicates Instructions Procedures that must be performed to ensure correct product use S Indicates Actions Procedures that should not be performed General Information Symbols and Terms This manual uses the following symbols and term for general information Symbol Description Provides hints on correct use or supplementary informa tion Reference Indicates manual name page number related informa tion Pro Server with Pro Studio for Windows Downloading Ethernet 2 Way Driver information to the GP allows the Host PC to use the network to send and receive data from a PLC via the GP Screen editor software Indicates GP PRO PBIII for Windows PLC Acronym for Programmable Logic Controller
42. Memory 64 MB or more e Depending on the type of Ethernet hub used Pro Server may be unable to transmit data Be sure to test and confirm the compatibility of Pro Server with your Ethernet network prior to installing a complete Pro Server with Pro Studio for Windows system e When using a Switching Hub if the GP and the Switch Hub are started at the same time a communication error can occur If the Switching Hub cannot be started first Set the GP s START TIME to slow the start of the GP kal You can not use this feature with the OPC Server 2 Until the TCP IP protocol is set Pro Server with Pro Studio cannot be used 11 When installing and using the GP Viewer the following system environment is required Microsoft Internet Explorer Ver 5 0 or Includes JavaVM higher Ver 5 0 3176 or higher e When using Microsoft Internet Explorer Ver 5 0 some of the features may not display as desired To solve this problem please use Microsoft Internet Related Software Explorer Ver 5 01 or later in combination with the latest version of Microsoft Java VM The latest versions of Microsoft Internet Explorer and Microsoft Java VM can be downloaded from Microsoft s homepage e When using GP Viewer on a PC with GP Web installed please be sure the version of GP Web is 1 5 or later 12 m 2 Way Driver Ha
43. Time Setup Saved Time This field shows the saved time of the saved device data The field shows from the left the saving start time the time for currently displayed data and the last saved time When the current status is displayed the time for currently displayed data is identical to the last saved time Time Bar Saved data can be displayed by sliding the time bar control to either side The data saving process continues even while you operate the control Time Setup You can designate the time unit for one graduation of the time bar Now Play Display Switch Now and Play buttons are available You can playback the saved data from the designated time either by sliding the time bar control to the time that you wish to start the playback or by clicking the Play button after clicking the time for currently displayed data the center field of Saved Time and then entering the time to start the playback Polling Start If you click this button the data save is started Polling Stop If you click this button the data save is stopped Close If you click this button you can exit the System Time Bar 7 62 7 5 System Time Bar Change Database If you click this button the Open dialog appears If you select the database that you wish to display and click Open it is displayed in System Time Bar Purpose of System Time Bar System Time Bar has been developed for the purpose of using
44. before and after the device change occurred and the sampling condition was satisfied Intervals designated here should be longer than the sampling interval 7 36 7 3 GP Viewer When You Selected Sampling data when distributed in Sampling method The contents of the Condition field are as the following You should enter the Provider information setup name in Provider Sheet of the Condition field and then click Provider Data Registration to designate the new Provider information setup If you have already designated Provider information setups you can select it from the pull down list Sampling method EE p5ampling method Regular Sampling OH Periodic Sampling Sampling data after change in device Condition Provide Sheet bk Sampling using cache Data Sampling from start to finish of data reception Before oF zer ater H zer Interval zer Polling data file Change Ch Documents 20 08 Sawing Method Mo maximum size Provide Sheet If pre defined Provider information setups exist select it from the pull down list If it does not exist you should enter the name Be sure to set the Provide Information interval to 1000ms or longer Sampling using cache Check
45. cccsssecceccsssseeeeeceeeseseeeeeeeeeeseeeeeeeseeneeseeeeeneas 3 44 3 11 1 Configuring Ethernet Cards cscccsscssecesseeseeeesseesseesseeeaseeseeesaseeseeeesseesaseeseeesaeeeseeeenes 3 46 3 12 Printing the Setting Data ccssecccsssseeeeeseeeeeessseeeeeeseneeeeenseneeeesseeeeeeess 3 47 Chapter A Action Items A Ass e TE E 4 2 4 2 Action Item Registration cccccsssseeessceeeesessnnnnneneeesesensssneneeeeeseenssees 4 3 4 3 Action HEM CONTCMIS Tester Geet EEN 4 4 4 3 1 Start Application eiert Seed eege 4 4 4 3 2 Write Data to Excel BOOK cccssecssseeneseneeenseeeeenseeneaseeeeeseeeeeasenesasseensaseeeeensneneneenensnseenens 4 5 4 3 3 Alarm Log with Sound Alert Features csscsseseeesseeeseeeseeeeseeeeseeenseeseeeseseeeaeeneaee 4 8 ZS Upload of GP Log Data areor ao esnean eege Eed geed Eege dg 4 10 4 3 5 Automatic Download of GP Filing Data ccccceseesseeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeesneeeeseeenee 4 13 4 3 6 Automatic Upload of GP Filing Data cccessseeseeesseeeeseeeseeeeseeeeeeeseneenseeeseeenseeeeeeenes 4 15 4 3 7 Automatic Upload of Access Dat cccsesenesseeeeseeeeeeseeeeeaseeeeenseeesaseensaseeneenseneaseeees 4 17 4 3 8 Automatic Download of Access Dat ceessseeesseeeeseenenenseeeeensenesaseeeneaseeesensenneaseees 4 19 4 3 9 Download Recipe Data for Excel ccssessseessseeeesseeeeeseeensnseeeeesseeeeneeeeeeseeeeenseneeasenens 4 21 4 3 10 Writing Data
46. contents of the GP system 7 44 7 3 GP Viewer 7 3 5 Playback Feature This feature allows you to playback sampled device data on GP Viewer 1 Select Open Data View Q on Data View D of the menu bar amp mtom Pro Studio UI FielE Edit E Ton Programming SupportP DatsView D Configures View He El mtom DI Network Enty Node Aue eGr2300L 10 100 0 99 MEMORY LINK S 1 E Provider Information t Action List System time bar Option Device View GP Viewer Symbollltern Type Address Data Type Polling Ti Data Sampling Status THEO APIECE WMA WU 2 The Open dialog appears Select the device data DV that you wish to playback and then click Open Open I Es Look in I E My Documents File name Open Files of type l S Cancel A You can also playback data in the saving process 7 45 7 3 GP Viewer 3 The contents of sampled data are displayed on GP Viewer You can playback saved data using various buttons on GP Viewer 1 GP VYiewer Mm File E Setti Data Edit Sampling Saved Time Time Bar Now Play Display Switch Time Setup Saved Time This field shows the saved time of the saved device data The fie
47. det tet OF 4 Se CSV Pro Server gt Data View Less E gt Printing ata BMP Ethernet E E e PLC PLC PLC SESS e Transferring screen data in on line mode or downloading a network project file will temporarily cause the Transfer screen to appear and all other data transfer operations to stop e After screen transfer is completed the screen will re activate and regular operation will resume Pro Studio Performs Network project file editing setting This software is used to set and register symbols for the GPs and PLCs designated as data providers Physical IP addresses PLC device addresses etc can all be converted into symbols Pro Server Performs Data exchange between applications and GPs This software that communicates with GPs according to the requests made by Excel VB SCADA or other applications 2 Way Driver Protocol conversion driver built into GPs This driver selects the applicable PLC protocol based on the Pro Server read write command GP77R series units requires setup and then transfer to the GP unit via the screen editor software GP2000 and GLC2000 series unit 2 Way Driver software is factory installed 1 6 1 3 System Configuration Using an Ethernet protocol with the 2 Way Driver Pro face s GP2000 GP 2501 does not support this function and GLC2000 Series units can simultaneously use an Ethernet
48. tered number of GPs number of Tags used on each screen sent type of PLC connection and number of other currently open Windows applica tions Entering 0 will allow the system to operate at its maximum speed Use this value as a benchmark when entering other values to fine tune your system If you create and add Pro Server s short cut to the Windows Start Up menu Pro Server will start automatically with a network project that has been designated via Network Project File Auto Load 3 43 3 11 Configuring the Network 3 11 Configuring the Network Follow the procedure below to change the Network Port Number setting The ports to be used should be consecutive ports beginning with the first port number entered The default port number setting is 8000 which uses ports 8000 and 8001 The following description assumes the Pro Studio main window is open 1 Click Network in the Configure S A o Studio M j E Piff Edi Tee Progamming Suppon E DataView D Contiqure S Viewty He Ss System REI Ee ject ID UDP Port Number CD Network Entry Node 8710 2015 8000 S WINDOWS NT 210 160 181 172 Windows Personal CH BE en Ma MELSEC_QNA 10 230 254 254 MITSUBISHI MELSEC Qna CPU WINDOWS_S5 10 230 2301119 Windows Personal Computer by GP2300L1 10 100 0
49. 1142101 1 10 27 PM 112 01 1 10 28 PM 1 2030 GP2300L 2 Bit 16 Bit Signed 16 Bit Unsigned 16 Bit Hex 16 BiKBCD 32 Bit Signed 32 Bit Unsigned 32 BIHE 32 BIKBCD Float Double String 2 3 Append 2031 2032 GP2300L GP2300L Delete 2031 2032 D D00000 16 000000 16 Bit Signec 16 Bit Sig 1 0 000000 0 000000 0 00000 Edit 1142101 1 10 29 PM 11201 1 10 30 PM 1142101 1 10 31 PM 112 01 1 10 32 PM 1412 01 1 10 33 PM 11201 1 10 34 PM alofofojala oalofofofalofofajalajala D Data cannot be edited during Polling Editing Saved Data 1 Click Edit of the Data Edit dialog Enter the new contents from the keyboard The contents of the selected field are updated DH Search 5 7 2 Device View Click the data source field that you wish to edit The column including the selected field is highlighted so that you can enter data from the keyboard in the selected field The pull down 2 The Edit button in the Data Edit dialog is dimmed and the Delete Record button appears be deleted Data Source 27 1 3 item name 2030 2032 Node name GP2300L GP2300L G
50. 2 Click Delete The selected data will be deleted Searching Sampled Data 1 Click Search in the Data Edit dialog 2 The Search dialog appears Enter the date that you wish to search and then click OK Search The First Record 11412001 11 13 42 AM The Last Record 142101 11 20 12 AM i Find Date E am 11 13 42 AM a OK Cancel 3 The display contents are updated and data are displayed showing one closest to the date entered in the middle 7 41 Editing Data Source 7 3 GP Viewer 1 Click the data source field that you wish to edit The column including the selected field is highlighted so that you can enter data from the keyboard in the selected field The pull down list may appear depending on the selected item Data Source 1 2 item name DO 0100 3 0200 Node name GP2300L GP2300L Device name oooo 0100 GFP2300L Delete 0200 16 Bit Siqned 16 Bit Signedt item Status Error Code D 16 Bit D Signed Data number 1 1 16 Bit Unsigned 16 Bit Hex 16 BIKBCD Signed A201 11 13 42 AM A201 11 13 47 AM Search 5 A201 11 13 52 AM 10201 11 13 57 AM Edit A201 11 14 02 AM 1201 11 1407 AM A
51. Designate each item and then click Export 26 5er pExpor File Name H Start Time End Time The First aay 301 Specified 44 13 42 AME H Time theend It 201 Specified 44 99 97 AME H Time pDOevice Condition Valid O Keyword D Imeaig DI Other Export Header Gh ves O No Cancel Export File Name Designate the location and the file name to save exported data The file extension is CSV 7 47 7 3 GP Viewer Start Time Designate the time to start exporting data If you wish to start exporting immediately after you clicked Export check The First If you wish to start exporting at the designated time check Specified Time If you checked Specified Time you should also designate the start time to export End Time Designate the time to end exporting data If you wish to export the entire sampled data check The End If you wish to export until the designated time check Specified Time If you checked Specified Time you should also designate the end time to export Device Condition This is the reserved data You should not change the designated value Export Header If you wish to include the header information in exported data check Yes If not check No Export Executes the data export
52. EVT_BSTR String type EVT_BOOL BOOL type 10 4 10 1 OPC Server Interface Interfaces that this software s OPC server supports are as follows Object Interface Method Remaek AddGroup GetErrorString GetGroupByName GetStatus RemoveGroup CreateGroupEnumerator l1OPCServerPublicGroups GetPublicGroupByName Optional RemovePublicGroup QueryOrganization ChangeBrowsePosition BrowseOPCltemIDs GetltemID BrowseAccessPaths IsDirty Load Save SaveComplated GetCurFile QueryAvailableltemProperties OPCltemProperties GetltemProperties LookupltemID GetState SetState SetName CloneGroup lIOPCPublicGroupsStateMgt GetState Optional Move ToPublic Read lOPCSynclO Write Read IOPCAsynclO Write Optional Refresh Cancel Read Write Refresh IOPCAsynclO2 Cancel OPCGroup SetEnable GetEnable Additems Validateltems Removeltems IOPCltemMgt SetActiveState SetClientHandles SetDatatypes CreateEnumerator IDataObject Dadvise Optional Dunadvise EnumConnectionPoints FindConnectionPoints GetConnectionInterface GetConnectionPointContainer IConnectionPoint Advise Unadvise EnumConnections Next Skip Reset Clone Next Skip Reset Clone Next Skip Reset Clone Q SS i B lOPCServer Supports only Flat Always returns an error due to supporting only Flat Supports only Flat OPCBrowsServerAddressSpace OPCServer Optional IPersistFi Optional o
53. Help H A Register Node Project ID UDP Port Number 1998 10 2015 8000 Sl peor mid dyna J Windows Personal Computer ITSUBISHI MELSEC Qn4 CPU Delete Sua indows Personal Computer vA Eeli Provelsten li fama Deko Powel fanaa Register Action Ek Action Debie Aai Register new provider data i NUM EI Right clicking on the provider information list can also be used to select Register Provide Informa tion 2 The Provider Node window appears Select the desired node and click OK Provider Node pselect Provider Node WINDOWS NIT 210 160 181 172 Windows Personal Computer MELSEC_QMA 10 230 254 254 MITSUBISHI MELSEC QnaA CP WINDOW S_95 10 230 230 119 Windows Personal Computer Please register all node names and symbols Symbols are start addresses for provider and consumer data areas Note After editing this data please save it before sending to the GP Ifyou set PC node s for consumer you must restart Pro Server po cancel Ging 3 12 3 3 Registering Provider Data 3 The Provide Information dialog box will appear Perform all the settings and click the OK button For Advanced settings click on Advanced
54. The latest data Data Type Designated device data type Item Status reserved Error Code Error code when an error occurred in sampling normaly 0 Data number reserved Upper Limit The upper limit value to display the graph Even if you designate a greater value than this the graph remains in the 100 status Alarm Upper Limit The alarm upper limit value to display the graph including this value Alarm Lower Limit The alarm lower limit value to display the graph including this value Lower Limit The lower limit value to display the graph If you designate a less value than this the graph will not be displayed Graph The horizontal bar graph is displayed according to values of Upper Limit Alarm Upper Limit Alarm Lower Limit and Lower Limit 7 22 7 2 Device View Line count per page Designate the number of data lines per page that you wish to display in the data display area If the actual number of data exceeds the number of data per page the Previous and the Next buttons are displayed in the left and the right sides under the data display area respectively You can switch pages using these buttons Setting the Graph Color 1 Click Graph Setting tab in the Option dialog 2 Items in the Graph Setting tab appear Designate each item and then click OK Line Setting Character Setting Display Setting Graph Setting Normal colar ee p
55. Windows 95 Operating System Windows 98 Microsoft Windows 98 Operating System Windows 98 SE Microsoft Windows 98 SE Operating System Winoows Me Microsoft Windows Me Operating System Windows NT Microsoft Windows NT Operating System Windows 2000 Microsoft Windows 2000 Operating System HOW TO USE THIS MANUAL Structure of This Manual This manual titled Pro Server with Pro Studio for Windows Operation Manual describes how to use the Pro Server with Pro Studio for Windows software hereinafter referred to as this software The following table describes the GP PRO PBIII for Windows software s manuals which are often referred to in this manual j Describes the procedures for the installation and Not Operation Manvel operation of GP PRO PBIII for Windows Includes detailed descriptions on the tags used to NOME Tag Reference Manual specify the functions used on the GP s screen e Describes the library of pre made Parts included with Vol 3 Eales this product as well as a variety of diagram symbols f Describes the procedures to create connections be KE PLG Connection Manual tween GP series units and other manufacture PLCs In addition to this manual information on additional modified functions may be provided as data files TABLE OF CONTENTS PREFACE teen 1 NET de Edel 1 TRADEMARK RIGHTS scdeasetiseedescusdenavetesecmsnusaduareresetiansqansasctiaceneme
56. Windows Personal Computer Bo GP2300L1 10 100 0 100 MEMORY LINK SIO Type pe Provider Information Sr Action List Setup password NUM A 3 38 3 9 Security Function 2 The Password window appears Specify whether you enable or disable the password check by turning on the corresponding option If you select Enable enter all the items and then click OK Password Disable e Dk Enable pPAdministrator Mode y Cancel Password een Confirm pReadirite Wo de Password Confirm Read Only Mode Password Confirm Disconnect Mo d e Password Confirm Operations available for each level are as follows Level Change settings Writing data Reading data Administrator Q O O Read Write x O O Read only x x O Disconnect x x x Change Settings Provider information setting changes etc Writing data Data write via device monitor Reading data Data read via device monitor If you enter a password the following Login window will appear at the start of Pro Server Pro Studio Login ProS erver Password OK Cancel 3 39 3 9 Security Function 3 9 2 Remote Password Setup In order to prevent illegal accesses by a personal computer that has not been registered on the network
57. add mode and a new node will be added 3 4 3 2 Registering Symbols 3 2 Registering Symbols The following describes how to enter symbol name device address data type and polling time data The device address you enter will be converted internally into a device code that can be used inside the GPs Polling time refers to how often Pro Server polls the GP when data is read out through a DDE You may also import symbols that have been exported from GP PRO PBIII Symbols can be registered for each network entry node The following description assumes that the program s main window is open 1 Click on the right section of the window Or click on the right side window and then click Register Symbol in the Edit E menu RHA PS Pro Studio E m es File Lac Tootsi Programming Support DataviewD Configure S Viewl Beet Oje Pese Nede Edit Node Co AF Delete Node Ei Spmbellitem Type Address Data Type Paling Tr _b4t_WORD Local D40 16 BiSigned 1000 Windows Personal Computer D41 WORD Local DA 16 BifSigaed 1000 MITSUBISHI MELSEC Und C PU indows Personal Computer F iz Delete Symbal w l Resist Provider Information e FdSeueenen Delete Provides Infamaation Rregjehen Agam Ed dation Dalat kaian DE Register new symbol in this nade ol NUM
58. filename table name 1 c ACCESSDEMO mdb Table 1 2 c ACCESSDEMO mdb Table 2 3 c ACCESSDEMO mdb Table 3 4 c ACCESSDEMO mdb Table 4 5 c ACCESSDEMO mdb Table 5 Database Table Name Ex Table 1 Node Symbol Type Data Number _GP1 D1000_WORD 2 10 20 30 3 _GP1 D1010_WORD 2 15 25 35 3 _GP2 DM1000_WORD 2 30 40 50 3 Table 2 Table 3 1 Delimited by commas 4 19 4 3 Action Item Contents 1 When the Setting Screen Appears enter the following data based on the above example Version 4 00 Access Data Folder ae El Cancel El Program Files E Fro tace HelpiH EA Pro Server with Studio ZS NPJDalaBase mdb Filename Field Name Details Access Data Folder Designate the Access file name drive and folder Book Location Folder does not exist C AMy Documents Data Do you create new folder tes No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled mdb Filename Select the desired mdb file Table Select the desired Table file Be sure to select the mdb file with the KEY Master Table Type data 4 20 4 3 9 4 3 Action Item Contents Download Recipe Data for Excel This feature writes Micros
59. that you wish to playback and then click Open Open Look in I SS My Documents SI al 21 db Lei 21 get Lal 21 0 H07 File name Files of type INS Cancel P You can also playback data in the saving process 7 24 7 2 Device View 3 The contents of device data that you wish to playback are displayed on Device View You can playback device data using various buttons on Device View i Device View ls File E Option DataEdit Sampling ltem name Node name Device name Valu 2030 GP2300L 2030 o 2031 GP2300L 2031 a 2032 GP2300L 2032 16 2033 GP2300L 2033 o 2034 GP2300L 2034 a 2036 GP2300L 2036 105 2036 GP2300L 2036 10 Saved Time 2037 GP2300L 2037 a 2038 GP2300L 2038 En 2039 GP2300L 2039 Time Bar Now Play Display Switch m Time Setup Saved Time This field shows the saved time of the saved device data The field shows from the left the saving start time the time for currently displayed data and the last saved time When the current status is displayed the time for currently displayed data is identical to the last saved time Time Bar Saved data can be displayed by sliding the time bar control to either side The data saving process continues even while you operate the control
60. 100 MEMORY LINK SIO Type K Provider Information t Action List Setup network configuration i MUM A 2 The Network Configuration window will appear Enter all necessary data and click OK To enter advanced settings click on Advanced E Cancel Projectip 1998 10 20 15 46 4 Advanced PortNo 2000 Network Remote Password Help H Password EIN Ethernet Card Using 32 bit access with a 16 bit device Low High order is teed Automatic device detection Port No For port numbers ten numbers in series are used starting from the designated number Network Remote Password For a remote password through network refer to 3 10 2 Setting the Remote Password Using 32 bit Access with a 16 bit device Selects the access order of sequential two 16 bit devices which are regarded as a single 32 bit device 3 44 3 11 Configuring the Network 3 The Advanced Configuration window will appear Enter all necessary data and click OK Advanced Configuration Character Time Out Em ms Connection Time Out 20000 ms Device RA Time Out 3000 e Action Time Out pmo ms Frame Time Out mo me TCP IP Time Out p000 Jus j Cancel Use Defaults Help H
61. 13 42 AM 0 0 0 0 117 2 17 141201 11 13 47 AM 0 0 0 0 1 17 2 17 A201 11 13 52 AM 0 0 0 0 1 17 2 17 A201 11 13 57 AM 0 0 0 0 1 17 2 17 A201 11 14 02 AM 0 0 0 0 1 17 2 17 A201 11 1407 AM 0 0 0 0 1 17 2 17 A201 11 14 12 AM 0 0 0 0 1 17 2 17 ABT 11 1417 AM 0 0 0 0 1 17 2 17 A201 11 14 22 AM 0 0 0 0 1 17 2 17 A201 11 14 27 AM 0 0 0 0 1 17 2 17 UNDI 11 14 32 AM 0 0 0 0 1 17 2 17 71200 11 14 37 AM 0 0 0 0 1 17 2 17 cloloieleloioleloloicle D La C ee Search Edit 7 40 7 3 GP Viewer Appending Sampled Data 1 Click Append of the Data Edit dialog 2 The next dialog appears Designate each item about the device that you wish to append and then click OK Items are equal to those in the Data sampling source dialog Reference 7 3 1 Setting the Sampling Target Device Data sampling source Enter the data sampling source and sampling frequency then click Next Node Name Gp hd Device Name 2040 B Data Type 116 Bit Signed kk Count Ok Cancel Apply 3 The device data that you wish to append are displayed in the Data Edit dialog Deleting Sampled Data 1 Select the data that you wish to delete in the Data Edit dialog
62. 65535 Sequential ten ports from MY PORT NO are used e GATEWAY If unused enter all zeroes here There is only one GATEWAY setting A 15 A 4 GP Ethernet Settings 2 SYSLOG SETUP e HOST IP ADDRESS oe Fees IP Address for the SYSLOG destination output Where HOST IP ADDRESS 1 Let run GPSYSLOG EXE is running OUTPUT LEVEL e FACILITY Default value 1 reserved You may not change the default value e OUTPUT LEVEL Designate the output level Setting range 0 to 4 Default value 0 3 OTHERS SETUP BUZZER ON ERROR OTHERS SETUP PREVIOUS Buzzer sounds when a 2 Way Driver error occurs BUZZER ON ERROR ON Default value ON DISPLAY WARNING e DISPLAY WARNING This screen designates if warning messages are displayed on the GP s screen A 16
63. 7 4 5 5 7 7 4 22 1 4 3 Action Item Contents After selection the following setting window will appear Version 4 00 Book Location a Cancel Hen Book Name Select Cell Sheet Sheet Use template os Select Mode G One Sheet Mode Any Sheet Mode Book Location Designate the Excel file name If you check the Save To Folder location in the action parameter display and if the folder exists the contents you designated are displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documernts Data Do you create new folder tee No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled Select Cell Sheet Select the desired Excel sheet name to read When Any Sheet Mode is selected in Column change sheet name will change to Sheet n Select Cell Cell Designate the first cell to be read Click Reference to allow you to designate the cell at Excel Select Mode Designate the data sheet type to be written 4 23 4 3 10 4 3 Action Item Contents Writing Data to E Mail E Mail can be sent without
64. DLL Function 45 Paste the contents of the Clipboard write function into the OnButton1 member function ejang e Crs SampleD eso Elo EG SamsleDig co5 Blender Fes B E Resource Files RB ReadMe t 2rer Mra 7 o memben o OnBurront Hu 2 ag t E F 7 z The systen calls this to obtain the cursor to display whi ve the mininized vi ECURSOR CSanpleDlg QnQuergDzagloon ki ECURSOR n iere i CSanpleDlg OnButton1 is MriteDevicel6 GP2 _D90040__WORD Enter value Transaittin G intel co Redec E number of write data is three els ng ls eB CSonplebig io o memben o fs uset Edi 2 ai E Sample files Source Fies D Sdt opo A feier Flea D Resource Files Heite ot EE E k S S The systen calls this to obtain the cursor to display vhil Si the nininized window i EECURSOR CSampleDlo OnQuersDzacLoon S BCIRSOR n_hTeon gt CSonpleD1g OnButton1 NORD wDate 31 E UriteDevice GP2 _D00040_VORD Enter value Transaitting a E ES JEE 47 Set three write data entered into th e EditBox to the area CH els ag s eB Sampled TSamplebig Eloi nenbora BEE Eli fe ag E Sample files DE Source Fies S Sample
65. Device View e Although you can start multiple Device View programs you cannot export data simultaneously e Data can be exported during Polling However if the Designate maximum size Save over oldest data selection is used data export cannot be performed Saving Data 1 If you wish to save displayed data on Device View click Save S on the File F menu Data are overwritten If you wish to save displayed data on Device View as a separate file name click Save As A on the File F menu The Save As dialog appears Enter the file name and then click Save 7 27 7 2 Device View Print 1 Click Print on the File F menu The printing process is executed Page Setup 1 Click Page setup P on the File F menu 2 The Page setup dialog appears Designate each item and then click OK Print Setup IS Printer Name Properties Status Ready Type OK MICROLINE S03PSIII F Whee LP Comment Paper r Orientation Size Ad be 2 Portrait Source Automatically Select Kl Oh Landscape DK Cancel The contents of the Page setup dialog differ depending on your printer Refer to the user manual of your printer for details Preview 1 Click Preview on the File F menu 2 The print preview appears Copy to Clipboard 1 Click Copy to Clipboard on the File F menu 2
66. Editor from the Tools menu s Macro feature X Microsoft Excel Book SS pe Edit View Insert Format Tools Data Window Help Ce BSR elk HY sain Lej Ag ajig feo AutoCorrect S Ex D at Fl Share Workbook E C Track Changes Wi F G H SC A 8 Hemes gGarhbeskz Protection a Goal Seek Scenarios Auditing D 1 2 En 4 5 B ES g 10 TT 12 E Add Ins Record New Macro Customize F11 Options wizard k 3 22 3 5 Using the VBA VC Support Function 4 Select Module from Insert in the Visual Basic Editor 5 Paste the declare statement in the inserted standard module EL Microso Ea EE SS Microsoft Visual Basic Bonk Eile Edit view Insert Format Debug Bur 6 This completes function declaration Copyright Cc ProEasy DLL Version 1 0 Version 1 1 Version 15 Version 2 0 Version 3 0 BE VEH Cant Und Chae Ca Redo Paste Ea een Gier SS ste MV Clear Del Select All Ctrl mI ind Ctrl F Find Next Pa Modu Replace Ctrl H General Declarations IF Option Expl
67. Ex When converting D100 from 0 to 4096 of PLC connected to GP1 node name to LIN to 100 and accessing ItemID GP1 D100 LIN 0 4096 0 100 Program ID The accompanying OPC server s Program ID is as follows DIGITAL OPCPRO 1 Since CLSID is automatically registered to the registry at program installation use this Program ID to perform the connection 10 3 10 1 OPC Server Initialization File Editing the OPCIODRV INI file allows you to change each initial value The items included in this file are as follows The numbers shown are the initial default values Server Server_MAX 10 Group_MAX 10 Item_MAX 100 Number of servers Number of groups Number of items InproSvr_ScanRate 250 In Proc server s scanning cycle Unit ms LocalSvr_ScanRate 500 Local server s scanning cycle Unit ms Client CharacterStringCode 0 Character string format 0 UNICODE 1 Multibyte ItemID_Separator Designates the ItemID separator Data Type VARIANT data types that the accompanying OPC server has supported are as follows The I O driver converts all analog data to 4 byte actual values and process them internally Therefore VT_I2 VT_I4 VT_UI2 VT_UI4 and VT_R8 will be all converted to VT_R4 s EVT JW 4 byte real number type e EVT ID 2 byte real number type e EVT US 2 byte no code integer type s EVT UI 4 byte no code integer type s EVT RA 4 byte real number type e EVT_R8 8 byte real number type
68. GI Date O Week Os Clan One Cord CO ti Cen Ces p Dote vais Month ei dy Oltiwendormantiy E Cancel Date Designate the date to sample device data Device data are sampled on the day designated here 7 10 7 2 Device View Week Designate a day of a week to sample device data Check the day that you wish to sample device data You can also click Everyday Fri Weekday Mon Tue Wed Thu Fri or Holiday Sat Sun under the day check boxes Month Designate a day of a month to sample device data You can designate either a particular day one day or the last day every month Device data are sampled on the day designated here every month If you click Next the Designate the sampling time dialog appears Designate each item in the Designate the sampling time dialog and then click OK Append allows you to create the new sampling schedule and it will be displayed in the schedule field i Designate the sampling time otart time II E Start time Bus zz am Sampling count One time only 1 Hour Fel repeat El tits coeny penton Back Ok Cancel Start Time Designate the time to start capturing device data The sampling will start at the time designated here Sampling count If you wish to sample device data once chec
69. LH 5 HL 1 Store from the end LH LH 6 data HL 7 HL LH 8 HL 3 The detailed settings of the selected network entry node are shown in the right side window 3 After registration is completed the registered node name will be added to the network node list If you wish to change a node topic s data after it has been registered simply right click on the topic to bring up a list of selections From these click either the Edit Node or Delete Node selections or from the menu bar click the Edit menu s Edit Node or Delete Node items SA PS Pro Studio Fiel EE ToolsiT Programming Supporti Dataview D Configure Wed Help H REIS ode NT V S a MELSEC_ONA 10 230 254 254 MITSUBISHI 3 WINDOWS 2 10 230 230 119 Windows Personal Computer Wa GPT 192 168 1 101 OMRON SYSMAC C SERIES Node Topic IP Address PLC Type Project Fie foe G WINDOWS_NT MELSEC_ONA WINDOWS_95 GPI 210 160 181 1 Windows 10 230 254 254 MITSUBIS 10 230 230 119 Windows 1921681 101 OMRON Help is F1 key Clicking either al or allows you to edit the registered nodes in the order of registration When is Clicked on while the last registered node is highlighted the edit mode will change to the
70. LPCTSTRbsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBCD16DM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount 9 7 9 1 Simple DLL ProEasy DLL Function 32 bit BCD data INT WINAPI ReadDeviceBCD32DM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDeviceBCD32M HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDeviceBCD32DM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName DWORD pdwData WORD wCount Single precision floating point data INT WINAPI ReadDeviceFloatDM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName FLOAT pflData WORD wCount INT WINAPI WriteDeviceFloatM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName FLOAT pflData WORD wCount INT WINAPI WriteDeviceFloatDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName FLOAT pflData WORD wCount Double precision floating point data INT WINAPI ReadDeviceDoubleDM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName DOUBLE pdbData WORD wCount INT WINAPI WriteDeviceDoubleM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName DOUBLE pdbData WORD wCount INT WINAPI WriteDeviceDoubleDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName DOUBLE pdbData WORD wCount String data INT WINAPI ReadDeviceStrDM HANDLE
71. Newile svenymantiy Saving Method Designate the folder to save sampled data You should designate the total volume size of data to save among No maximum size is designated as much as storage media allows Designate maximum size and Periodic saving 6 7 2 Device View If you selected Designate maximum size you should also designate the maximum data size in MByte and the sampling method Selecting Continuous numbering for new files When the maximum allowed size is exceeded the following new file is created zez Sequence number DT ABCD 0 4DT gt ABCD 1 4DT Selecting Save over oldest data The oldest Polling data is overwritten when the maximum allowed size is exceeded Selecting Do not save files after size limit reached When the maximum allowed size is exceeded Polling is stopped and an error message appears If you selected Periodic saving you should also designate the interval to upload the files Execute the device data sampling If you wish to test the sampling click ot button The sampling process starts and the contents are displayed on Device View The sampled data are not saved at this time If you wish to sample data once click Le ft button Data are sampled and saved every time you click the jet button regardless of the designated data sampling condition If you wish to sample data according to the designated data samp
72. PS Pro Studio H jmi E Pe EdE Tools T Programming Suen DataView D Configure Mech Heft BA E Ec VBA Declare Function APS VBA Read function Symbal tem Type Addess Data Type Poling Ti E Network Entry Nod Local Dadi D reg 1000 D WINDOWSN VC Declare Function brsonal Computer Du WORD Local Pai 16 BifSigned 1000 De MELSEC_ONA WC Wite function ELSEC QnA CPU iB WINDOWS 0 YC Read function sonal Computer Pl Provider Information BR Acton List DDE Sting Copy z F Copy the VBA wite command statement by data type to clipboard WISS EI Em WiiteDevice1 6 MELSEC_QNA _D40_ WORD Enter value integer type here 1 This string was copied to the clip board Please paste and use in your application 3 24 3 5 Using the VBA VC Support Function 10 In Microsoft Excel select the Control Toolbox from the Views menu s Tool bars feature X Microsoft Excel Book1 File gdt wiew Insert Format Tock Data Window Help D el s Maa Page Break Preview o H30 Standard CIA 2 Formatting ER chart 3 SR Header and Footer iai EN DS Comments 2 Exit Design Mode LG Custom Views External Data E Full Screen Forms SR Zoom Picture 10 PivotTable TI Reviewing T2 Visual Basic 13 IN wes E Worda
73. Port No in the Config ure gt Network area 1 7 The following table describes what each setting is used for 1 3 System Configuration Setting PLC Transfer Settings 2 Way Driver Settings Remarks IP Address el x These settings apply to a single Ethernet I F and only one setting value can be entered When the Subnet Mask 9 a PLC Transfer Settings are not Gateway entered the 2 Way Driver Settings IP Route Address 9 X will be enabled Be sure the Port No s used are not the same Port numbers are Port No O O allocated continuously for a total of 10 No s starting from the 2 Way Driver Port No entered O Setting enabled X Setting disabled 1 8 1 3 System Configuration When using the GP GLC Unit s Rear Face Expansion Ethernet I F PC Ethernet Eq Expansion Ethernet I F Unit Ethernet After attaching the Expansion Ethernet I F Unit your GP unit is now equipped with two Ethernet I F units The Ethernet Expansion Unit cannot be used with the GP 2300 GP 2400 GLC2300 or GLC2400 series units The Expansion Ethernet I F Unit is used for PLC data transfer and the internal Ethernet I F is used for data transfer via the 2 Way Driver Use of the Expansion Ethernet I F Unit will require the setting of a separate IP Address In order to transfer data to a PLC you will need to enter your GP GLC unit s Ethernet settings via the OFFLINE mode s INITIALI
74. Printing the Setting Data You can Print Pro Studio Setting data The items that can be printed are as follows Provider s list IP address sub net mask PLC type Registered symbol information by provider Symbol name symbol type device address data type polling time Registered provider information data by provider Provider title provider contents conditions symbol name check interval provider receiver 1 Select the File F menu s Print P command D ll Edi Test Programming Suppor DatdView D Configuiet Mecht De Vert DN Open Q Cro SavelS De Save a 1358710720 15 8000 160 181 172 Windows Personal Computer O ee e 0 254 264 MITSUBISHI MELSEC Qra CPU 0 230 113 Windows Personal Computer 1Aps 00 MEMORY LINK SIO Type 2A PS 2ws 3 Sample Augen Cat Pre SE Print this Network Project File When no Network Project file npj is open a dialog box will appear to ask a target file to print 2 The default printer will print the data Printable paper size is A4 only 3 47 4 4 1 4 2 4 3 4 4 Action Items This chapter describes the detail about Action Items Overview Action Item Registration Action Item Contents Action Item Designation 4 1 Action Items SSS 4 1 Overview Using the action item function you can designate the des
75. Reason Error Code Type 7 5 3 Code 30 Fatal Unused Unused Unused Insufficient GP resources FF30 31 Fatal Unused Unused Unused Cannot release GP resources FF31 32 Fatal Unused Unused Unused Cannot release GP resources FF32 40 Fatal Unused Unused Unused IP address amp Port number are not registered FF40 41 Fatal Unused Unused Unused The symbol state is different than GLC control FF41 Refer to 51 Fatal Unused Unused AE Protocol Stack Call up error FF51 np Unused 2580 After transmit command was sent Device Read was 2580 ignored due to insufficient Receiver memory Fo Warn Inge 25A8 After transmit command was sent Receiver unable to find data 25A8 ing o Unused 25A9 After transmit command with reply was sent no reply was 25A9 received from Receiver 0 Refer to each PLC s After transmit command was sent Receiver was unable to EFFO error code list write to device Refer to each PLC s Manual A 10 A 2 Error Messages Protocol Stack Error Codes The following protocol stack error codes are displayed on the GP screen Error Code Meaning 1000 Current node IP Address entry failed during initialization 1005 Initialization failed 1006 Transmit Halt processing failed 1007 Initialization is performed again without previous initialization being completely terminated 1008 Provider Node Port number error 1009 Receiver Node port
76. Receipt X Data Sending by Mail Wi O O O O O O O O O O O O Specifying an Subject Data Sending by Mail TA X O O O X X X X X X X X Specifying a Table Data Sending by Mail e E X X X X xX X X X X X X O no specifications Download to Database O O O O O O O O O O O O Upload from Database X O O O xX X D X X X X O Upload of GP JPEG Data O O O O O O O O O O O O 4 36 When an Action designates a Data Type using a value 1 to 12 be sure to use the following table values Value Data Type Value Data Type 1 Bit 7 Unsigned 32 Bit 2 Signed 16 Bit 8 HEX 32 Bit 3 Unsigned 16 Bit 9 BCD 32 Bit 4 HEX 16 Bit 10 Float 5 BCD 16 Bit 11 Double 6 Signed 32 Bit 12 String 4 37 GP Setup This chapter explains how to transfer a Pro Studio network project file npj and a GP PRO PB III project file PRW to a connected GP 5 1 Transferring Data to GPs 5 1 Transferring Data to GPs 5 1 Transferring Data to GPs In the GP PRO PBIII screen editor software select the network project file and node name and transfer the desired data to the connected GPs The following description assumes that the GP PRO PBIII Ver 3 0 Transfer feature s window is open Be sure to first install the 2 Way driver in order to transfer a network project file npj from the GP PRO PB III for Windows to a GP unit Reference 2 1 Installing the Software 1 Click on 2WayD
77. WINDOWS_NT 210 180 181 172 Windows Personal Computer D WORD Local D i TGBi Signed 1000 De MELSEC_QNA 10 230 254 254 MITSUBISHI MELSEC GnA CPU BB WINDOWS _95 10 230 230 19 Windows Personal Computer Le Provider Information iege Action List lt 7 Help is F1 key NUM E With Excel you cannot use DDE to write data because Excel does not support data writing as a DDE client To write data to Excel use the VBA function 2 Click DDE String Copy on the Programming Support P menu Or right click the symbol name and then select DDE String Copy ER SLAPS Pro Studio Ee EE Tech Programming SupponiF DsteViewD ConfiguelS View HelplH DES GE VBA Declare Function Ile ss VBAAWiite function APS VBA Flead function Address Data Type Polling Ti Local D40 16 frans 1000 E Network Entry Model D WINDOWS_N VC Deche Function rsonal Computer Local Dat 16 Bit Signed 1000 pOu MELSEC_QNAJ VC Write function ELSEC QnA CPU D WINDOWS_99 VC Fead function onal Computer peg Provider Informatio ep Action List Copy the string for DDE PROSERVRINode Symbo to slip board 3 18 3 4 Using the DDE Function 3 When the following dialog appears you can paste the copied string into any DDE compa
78. base screen and the image screen Yes Yes Yes delete action enable unable Yes Yes Yes display a data form when indirect is selected BIN BCD Yes Yes Yes calling image screens in the CF Card No No No 7 56 7 3 GP Viewer N Tag specifying data absolute relative Yes Yes Yes specifying if to show a negative number Yes Yes Yes specifying a display data form Yes Yes Yes access a data length Yes Yes Yes input range when relative is selected Yes Yes Yes text size Yes Yes Yes text font No No No number of digits to be displayed Yes Yes Yes specifying a display color Yes Yes Yes blinking a display color Yes Yes Yes specifying a background color Yes Yes Yes blinking a background color No No No alarm process Yes Yes Yes specifying an alarm color Yes Yes Yes blinking an alarm color Yes Yes Yes specifying an alarm background color Yes Yes Yes blinking an alarm background color No No No operator process Yes Yes Yes specifying display rotation No Yes Yes S Tag starting method Yes Yes Yes post start read Yes Yes Yes text size Yes Yes Yes text font No No No number of texts to be displayed Yes Yes Yes specifying a text color Yes Yes Yes blinking a text color Yes Yes Yes specifying a background color Yes Yes Yes blinking a background color Yes Yes Yes display location Yes Yes Yes clearing display Yes Yes Yes specifying display a
79. can be monitored via this feature which allows you to check the status of data commu nication Also in the Device Monitor window you can specify the IP and device addresses 1 Click on the symbol name you want to monitor QA PS Pro Studio KR Del Fait Tools T Programming Support P DataView D Configure S Ver Heel Pia E e APS Zocken Type Address Data Type Polling Ti Network Entry Node Local D4 TESS vell 1000 E WINDOWS MI 210 160 181 172 Windows Personal Computer _b41_ WORD Local D41 16 Bit Signed 1000 De MELSEC_QNA 10 230 254 254 MITSUBISHI MELSEC QnA CPU E WINDOWS _95 10 230 230 119 Windows Personal Computer PAGE Provider Information Log Action List Help is F1 key aE NUM Symbol Item The registered symbol names are listed here 2 Click Device Monitor in the Tools T menu QA PS Pro Studio CD DEI Edi Liest Programming Suppo DataViewlD ConfiguelS View Hee Tics IO Check Provider Information Search Active Node APS m Save SRAM Backup Data Zorte Type Address Datatype Poling Ti f Network fer bienak Faika Local D40 16 Done 1000 B wi Ta bi Computer D41 WORD Local D41 16 med 1000 Dr MEU eat EC Ons CPU Pom wl z Computer Le Piovider pst iEzudd jog Act
80. clicking on the desired network project file npj in Windows Explorer automatically starts Pro Studio 2 The program s main window will appear The left side window shows a list of network entry node GPs the right side window shows the symbols registered for each GP Use this screen to enter a variety of settings to configure your system p Untitled Pro Studio UE File E FOE Tool Programming SupportE Datadeu Configurel Weu Help Ois H Ek el Untitled Project ID UDP Port Number F PI Network Enty Node 2001711702 13 8000 je Provider Information Laie Action List Help is F1 key 2 5 2 2 Starting and Exiting the Software e Starting Pro Studio automatically starts Pro Server Pro Server resides in memory and its indicator appears on the right side of the taskbar e Quitting Pro Server automatically exits Pro Studio as well To start Pro Server only click the Start button and when the Start menu appears point to Programs Pro face and Pro Server with Studio and then click on Pro Server Creating a Network Project File A network project file npj file stores information such as the network entry nodes symbols and provider information settings Creating a New Network Project The following explains how to open a window and create new network projects 1 Select New N in the F
81. commercial applications SCADA or MMI software and Excel which supports the DDE client function that provides for program less data exchange Once a DDE link is established Pro Server monitors the internal data and if a stored value changes notifies the client of the change Pro Server provides the client with the data being monitored when a read out request is received and writes the data when a write request is received DDE function Windows appl ication DDE client Excel s client feature does not support data write so the DDE s write feature cannot be used When writing data using Excel please use the VBA feature 1 4 Application Interface 1 4 2 Simple DLL Function The applications you create with Visual Basic or Visual C will request Pro Server to read write PLC data via a GP The function API for this is provided in the form of a DLL In both read and write operations the function will not be completed until communication between the two units is finished Simple DLL Connection User application DDL API Pro Server d Es In environments where data transfer errors can frequently occur be sure your applications include a data transfer retry feature 1 4 Application Interface 1 4 3 OPC Interface Function Installing a Pro Server OPC server allows you to use applications that have an OPC client function such as Intellution s iFLX as well as others The OPC inte
82. communication protocol and the 2 Way Driver feature to communicate with a PLC How ever the IP address and the Port No used for differ depending on whether the internal Ethernet I F or the Expansion Ethernet I F is used When using the GP GLC Unit s Internal I F PC Ethernet Using the GP GLC s internal Ethernet I F to communicate with a PLC allows you to also use the 2 Way Driver feature However while you will need only one IP Address you will need to designate two Port No s One will be for when you transfer data to a PLC and the other will be when using the 2 Way feature In order to transfer data to a PLC you will need to enter your GP GLC unit s Ethernet settings via the OFFLINE mode s INITIALIZE gt PLC SETUP gt PLC SETUP gt SETUP ETHERNET INFORMA TION screen However the Subnet Mask and IP Address must be entered in the PLC SETUP gt SETUP ETHERNET EXT INFORMATION screen This data must also be entered in the GP PRO PBIII for Windows software s Project Manager screen GP Setup menu s Communication Settings tab The entering of Ethernet settings for communication using the 2 Way Driver feature is done via the previ ously mentioned OFFLINE mode Select the INITIALIZE gt PLC SETUP gt EXPANSION SET TINGS gt ETHERNET SETUP area and enter the required setting data there You need to also enter the required settings in the Pro Studio program s Register Edit Node area and the
83. device that you wish to append and then click OK Items are equal to those in the Data sampling source dialog Reference gt 7 2 1 Setting the Sampling Target Device Data sampling source Enter the data sampling source and sampling frequency then click Next Device Name EB D Data Type 16 Bit Signed lad Count OK Cancel Apply 3 The device data that you wish to append are displayed in the Data Edit dialog Deleting Sampled Data 1 Select the data that you wish to delete in the Data Edit dialog 2 Click Delete The selected data will be deleted Searching Sampled Data 1 Click Search in the Data Edit dialog 2 The Search dialog appears Enter the date that you wish to search and then click OK Search The First Record 11423001 1 10 23 PM The Last Record 142101 1 16 26 PM Find Date E x01 E 1 10 23 PM E es Ka 3 The display contents are updated and data are displayed showing one closest to the date entered in the middle 7 17 Editing Data Source 1 2 list may appear depending on the selected item Data Source 1 item name Node name Device name item Status Error Code Data number Upper Limit Alarm Upper Limit Alarm Lower Limit 1412 01 1 10 23 PM A201 1 10 24 PM A201 1 10 25 PM 112701 1 10 26 PM
84. ee Ready Dee IK epp s Add Member Function E ES em M rrber function name BE tton Message BM_CLICKE D Object ID IDC_BUTTON y rect Height cyIcon 1 2 s2 Draw the icon dco DrawIcontx y wihIcon CDialog OnPaint H Z The system calle this to obtain the cursor to display while the user drags the minimized window CURSOR CSampleDlg OnQueryDragIcont HCURSOR n hIcon CSanpleDlg OnButtonl eadDevicelo GP2 _DO0040_ WORD Enter value Receive buffer here Li SampleDlg cpp ei E 9 42 9 2 Examples of Simple DLL Function 26 Declare the area to store read data You should designate three or more area elements if the number of read data is three SampleDIg cpp 4 Draw the icon do Drawlcon x y m_hIcon CDialog OnPaint i4 vf the mininized window CURSOR CSampleDlg OnQueryDragIcont d HCURSOR n_hIcon CSampleDlg OnButton1 t NORD wDatel 21 F H y rect Height cylcon 1 7 2 ve The systen calls this to obtain the cursor to display while the user drags ReadDewicel6 GP2 _DO0040_ WORD Enter value Receive buffer bere 1 Ao 27 Designate the header area to store read data wData 0 and 3 as the number of read data You should also add a semicolon at the end o
85. file de Transferring project files to your GPs Transfer the project files the network project file and the GP system setting to each connected GPs one by one Vv Performance Measurement aT N Measure the performance with the read performance measuring tool EN Vv Operation Connect the GPs and the PC using a network cable Start Pro Server on your PC GEN Reference 2 1 Installing the Software Reference GP PRO PBIII Operation Manual Reference GP PRO PBIII Operation Manual Reference 2 2 Starting and Exiting the Software Reference 2 2 Starting and Exiting the Software Chapter 3 Operation Reference 5 1 Transferring Data to GPs GP PRO PBIII Operation Manual Reference 6 3 Read Performance Measuring Tool Reference 2 2 Starting and Exiting the Software Chapter 6 Tools Chapter 7 Database 2 Pro Server Fundamentals This chapter describes how to install this software It also explains the procedures for starting and exiting the software 2 1 Installing the Software 2 2 Starting and Exiting the Software 2 3 Screen ltem Names and Functions 2 1 Installing the Software 2 1 Installing the Software Install this software from the CD ROM to your hard disk The following explanation assumes that Windows is already installed on your hard disk e Prior to installing
86. from 0 to 2 in this example However the area type Integer in this example needs to be matched to the symbol data type to use PA Project Form Code Command1 Private Sub Commandl Clicki Dim whata 2 As Integer Pa Project Form Code Command1 Private Sub Commandl Clicki Dim whata 2 As Integer wDatai0 CInt Textl Text ubatatil CInt Texct2 Text mData 2 CInt Text3 Text 9 31 9 2 Examples of Simple DLL Function 31 Designate the header area wData 0 where written data have been set Also designate three as the number of write data PA Project Form Code Command1 Private Sub Commandl Clicki Dim whata 2 Ae Integer wDatai0 CInt Textil Text ubatatil CInt Texct2 Text mData 2 CInt Texr3 Text 1Ere WriteDevicele GP2 _DODO40 WORD wDaraloy 3 End Sub Stark with Full Compile Chr 1 Break Chall Eine Private Sub Commi g Epa Tim wbata zj Ae Bastart Shifts ES A El Co whatalQ Clout Textl1 Text viataill CIlnt Text2 Text nf be Nd OTe ee D Tare 33 After entering three data to write in TextBox click Command1 to write three data form the symbol _D40_WORD ia Formi imi ed Command1 9 32 9 2 Examples of Simple DLL Function 9 2 2 VC Function Help This section describes h
87. number error 100A Receiver Node IP Address error 100B UDP was used to register this port number 100C TCP was used to connect an adjacent port with a port having the same number 100D Protocol Stack establishment refused 100E Protocol Stack Open Failure value was returned 100F The communication connection has been cut 1010 All connections are currently in use 1013 Receiver has aborted communication 1030 No response from the protocol stack 1032 No response from the Receiver e When the error type is fatal the 2 Way Driver cannot be restored e When the error type is Warning the 2 Way Driver continues to operate Once the cause of the error is removed the error display will disappear when the GP s screen changes e When the Reason Code is FO the Alarm Issued Time and Receiver IP Address will also be displayed A 2 Error Messages SYSLOG If the SYSLOG file S YSLOG EXE located inside the Pro Server s system folder is started the following data can be checked The 2 Way Driver downloaded to the GP can perform a variety of tasks among them being the output of SYSLOG data You can select the type of SYSLOG data output via the GP OFFLINE mode s SYSLOG Information Settings The correspondence of the Output Level and the output producing SYSLOG Priority level is shown below Output Level SYSLOG Output Priority Level 0 No correspondence 1 INFO 2 INFO NOTICE 3 INF
88. on the type of Ethernet unit used i e built in type or expantion unit type Reference Using an Ethernet protocol with the 2 Way Driver An expansion Ethernet unit sold separately is required 2 An expansion Ether net sold separately unit and a bus conversion unit sold separately are required to use a external Ethernet unit 13 E Software GP PRO PB III for Windows Screen creation software Screen Software System Version Creation Software Language Version GP70 GP77R GP377R GP2000 Japanese Ver 3 0 Ver 1 51 Ver 2 40 GP PRO PB III for ML Ver 3 0 Ver 1 51 Ver 2 40a e Japanese Ver 4 0 Ver 1 54 Ver 2 60 Ver 2 60 Windows Japanese ML Ver 5 0 Ver 1 55 Ver 2 64 Ver 2 64 Ver 3 10 Japanese ML Ver 6 0 Ver 1 55 Ver 2 68 Ver 2 68 Ver 3 30 The following restrictions apply to Pro Server and any related software Pro Server and GP PRO PB III for Windows Feature Compatibility Requirement GP screen capture capturing JPEG files GP PRO PB III for Windows V6 0 or later LS area extension GP PRO PB III for Windows V6 0 or later Online screen upload GP PRO PB III for Windows V6 0 or later 14 E Pro Server compatible PLC Vendors and Models Vendor Name Device PLC Type in GP PRO PBIII for Windows GP GLC Series GP77R GP 2501 GP 2000 GLC 2000 GP 2300 GLC 23
89. ponose G r oed 1000 E WINDOWS D VC Read function mputer EE Provider Informatio L Action List DDE Sting Copy D D Copy the write command sentence far Visual C by deta ype to clipboard IC Tu Al 9 48 9 2 Examples of Simple DLL Function 42 The write function will be copied into the Clipboard Message writeDevicel DC GP2 D00040 WORD Enter valueTransmitting bufer here 1 This string was copied to the clip board Please paste and use in your application 43 Double click Button1 pasted on Dialog of the Microsoft Visual C menu Sample Microsoft Yisual C Sample rc IDD_SAMPLE_DIALOG Dialog File Edt View Insert Project Build Layout Tools Window Help Ss Sleoelu pel oa s erla GE E lc era Kllau cen EIS e E EASE Sample Workspace Sample 1 project B Sample files DEN Source Files JE Sample cpp Sample te Wl SampleDig cop i Std opp E Header Files E Resource Files E Pesche dl Buttont uji o Iomlv lena E 3l D be Re all th Se iE Ready 44 Click OK Add Member Function Member function name Oriel Massage BM_CLICKED Object ID DC BUTTON 9 49 9 2 Examples of Simple
90. programming The provider s data or the message sheet created by Excel can be used as mail contents Multiple error information can also be sent to E Mail and this feature allows you to urgently contact employees or managers about site problems without a human intervention There are three mailing methods available e Send Provider data as Title e Send fixed Title e Send Title and message using Provider data The following describes the setup contents of each method Send Provider Data as Title Uncheck Title name and Table and designate the symbol type to the Provider information setup Send Fixed Title Check Title name field and designate a Title Send Title and Message Using Provider Data Check Table name and designate the template file created by Microsoft Excel If Provider data matches to the value in the Key_Code field data in that line will be sent Example of Microsoft Excel Message Sheet Key_Code Title Message Address 1 Device A Failure Valve 1 failed a zzzzz com ab zzzzz com Device A Failure Device A stopped due to a failure kanri zzzzz com Device A Failure Valve 1 failed The repair part is at F1 c zzzzz com Device C Failure Valve 2 failed a zzzzz com Device C Failure Device C stopped due to a failure kanri zzzzz com Device C Failure Valve 2 failed The repair part is at F1 b zzzzz com Device B Failure Oil pressure of device B is abnorma
91. s designated provider node Maximum size of provider information data is 64 kbytes Rule of thumb age Ee 36bytes Register Node 72bytes Register Provide Information 120bytes 3 16 3 3 Registering Provider Data ee El 3 3 2 Action Items Using the action item function you can designate the desired action item s called action item contents so that a Consumer only a Windows OS personal computer which has received provider information will perform them You can start action items by setting the symbol name of the Provider node to the action name Action items must be set up however it is possible that they are not used during normal operation For a detailed explanation of action item functions refer to Chapter 4 Action Items 3 17 3 4 Using the DDE Function 3 4 Using the DDE Function Pro Server incorporates the DDE server function and therefore can exchange data with applications that support the DDE client function The following description assumes that the program s main window is open DDE String Copy 1 Click the desired symbol name LA PS Pro Studio ale El De FAE Tod Programming Suppor P DataView D Configure S Mecht Hei Symbalter Type Address Data Type Paling Ti 2 Network Enity Node Local D40 TEBHSigned 1000 S
92. the application is started and terminates when the application is terminated but a thread generated in the main thread the following procedures are needed Before using the simple DLL initialize it by executing EasyInit in the thread that uses the simple DLL efore the thread that uses the simple DLL terminates terminate the simple DLL by executing EasyTerm Unless the above procedures are followed the resources used by the simple DLL may not be released for use by other programs Perform initialization and shutdown processing once for each application If these are used multiple times the system may not return from simple DLL Precautions When LPVARIANT Returns an Undefined Error at ProEasy h Compila tion by VC When Visual C ver 6 is used to compile Pro SDK VC Public ProEasy h or the header data copied to the clipboard via Pro Studio s Programming extension VC Text the LPVARIANT may return an undefined error Since the LPVARIANT is defined within afxdisp h if the data is not included an error will occur To avoid this error to occur you should define include lt afxdisp h gt in stdafx h in a normal case GLC 32 Bit Device Bit Access Method The GLC unit s 32 bit addressing integer variables integer array variables can access data in individual bit units Adding a suffix descriptor Xm to a variable name allows this type of bit unit access Also adding the suffix lt n gt to a variable name allows you to desig
93. this box to use the cache to sample device data Data sampling from start to finish of data reception Designate the sampling method before and after receiving the Provider information You should designate sampling times before and after receiving in second and the sampling interval in second 7 37 5 7 3 GP Viewer Designate each item in the Polling data file field of the Sampling method dialog and then click OK ampling method Oik p5ampling method Gi Regular Sampling Periodic Sampling OH Sampling data after change in device OH Sampling data when distributed p Condition 5 Data Sampling in specified seconds O Eampiing using cache e Pollo data file Change Ciy Documents 20 408 Saving Method No maximurn size Change Use this button to change the folder to save sampled data Saving Method If you click this button the Saving Method dialog appears Designate each item in the Saving Method dialog and then click OK i Saving Method Es poaving Method No maximum size is designated as much as storage media allows Designate maximum size Heyeti When sampling data eesede nainun Gi Cantinas mum eg Dr Hem ies O Sage wer akestdata Pig SufEpa a Bo n
94. to E Mail ccssseeesseeeeseseeeeseceeeaseeeeaseneeensneesaseeeeesseeesaseeeeeseneeenseneeasenees 4 24 4 3 11 Upload to Database ccctessseeesseeeeseeeneneeeeeenseeeeaseeeeeseeeeeasneeaseeeeeaseeeeessneseneeneeaseneees 4 26 4 3 12 Download from Database cccessseesseeesseeeesseeeenseneeaseeeesaseeeeenseeesaseeeeesseeeeaseneeasenees 4 29 4 3 13 Upload of GP JPEG Data EE 4 32 4 4 Action ltem Designation ccciencciivisstedesidsensaceanente hovandeendees nuaennetetenceentnnannne 4 35 Chapter5 GP Setup 5 1 Transferring Data to Geesse eeh EECH 5 2 Chapter 6 Tools 6 1 DEVICE Monitoring eenceiccends2ciceivarussvenatteaiedcaxesuteutssuiestuautivesmsrdensastavesesninurarent 6 2 6 2 GP Status Monitoring 22 6 4 6 3 Read Performance Measuring TOOL cseseeeeeeeeesseeeeeeeeeeeeeeeeseeeeeeeeeeenens 6 6 Chapter 7 Data View 7 1 Data VieW Overview cccccccesseeeeeeeeeeensseeneneeeeeeeseeeeseeneeseeeeeneneenaeeeeeeenseas 7 2 TEP Devlee leese Guer sat ieteseddcdealevennateencentuasecetiaternaieoraserectiesesanevenens 7 4 7 2 1 Setting Sampling Target Device cscceeecsseeeeeeeeneeseeeeeneeeseeeseeeeeeeeeseeeeseesseeesseeeaeeeeeaee 7 4 7 2 2 Setting the Data Sampling Condition cssesseeseeesseeeseeeeseeenseeeeneesseeseeeenseeenseeneees 7 8 7 2 3 Editing Sampled fr EE 7 16 TQ OPtiOM EE 7 19 7 2 5 Playback Feature ccsseseseesssseeesseeeeeseeeesnseeeeesseeesaseeeseseneeeasenesasseeesaseeeeea
95. will be displayed on the personal computer where Pro Server is currently operating In addition these error codes will be used when the simple DLL completes abnormally s indicates character strings and x indicates hexadecimal values Error Code Meaning Decimal Hex 9300 2454h Cannot find network project file 9301 2455h 5 Reserved 9329 2471h 9330 2472h Cannot execute the command because resources are insufficient Terminated program 9331 2473h _ The system resource was dead locked Terminated program 9332 2474h System error 9333 2475h Cannot execute the command because program versions do not match 9334 2476h d Reserved 9339 247Bh 9340 247Ch An error occurred when accessing the lt s gt file 9341 247Dh Pro Server is being used by too many applications 9342 247Eh OS resources are insufficient insufficient memory 9343 247Fh The set connector is used by another application 9344 2480h Pro Server has not been started Could not reference data 9345 2481h Pro Server has been terminated Could not reference data 9346 2482h _ Cannot continue Pro Server has been terminated 9347 2483h_ Cannot continue Pro Server has been terminated 9348 2484h_ Could not start Pro Server 9349 2485h_ Could not start Pro Studio 9350 2486h_ Unsupported command Cannot continue 9
96. window will appear Download from the data base Version 4 00 Data base inf d ta base information ok Login name Cancel Password I Hei Server name Driver name SOL Server HM Gil accesses a data base directlh EXCEL CO Indirect accesses a data baselACCESS File designation Sc H E Program Files a Ey Fro face z EH Pro Server with Studio Database Information Designate the required information to access the database server Database Access Method Select data is written from the database at once Excel or written after being saved Access File designation Designate a file location and a sheet table name If you check the Save To Folder location in the action parameter display and if the folder exists the contents exactly as you designated is displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documents Data Do you create new folder tee No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled 4 30 4 3 Action Item Contents 2 When clicking Details the f
97. 00 Comment Mitsubishi Electric MITSUBISHI MELSEC AnN LINK MITSUBISHI MELSEC AnN CPU MITSUBISHI MELSEC AnA LINK MITSUBISHI MELSEC AnA CPU MITSUBISHI MELSEC A JPCN1 MITSUBISHI MELSEC A ETHER 2 MITSUBISHI MELSEC FX CPU MITSUBISHI MELSEC FX2 LINK MITSUBISHI MELSEC QnA LINK MITSUBISHI MELSEC QnA CPU MITSUBISHI MELSEC Q CPU MITSUBISHI MELSEC Q ETHER 2 MITSUBISHI MELSEC NET 10 1 3 MITSUBISHI FREQROL SERIES Omron OMRON SYSMAC C SERIES OMRON SYSMAC CV SERIES OMRON SYSMAC CS1 SERIES OMRON SYSMAC CS1 ETHER 1 3 OMRON THERMAC NEO SERIES Sharp SHARP NewSatellite JW Series Yokogawa Electric YOKOGAWA FACTORY ACE 1 1 Comm YOKOGAWA FACTORY ACE 1 n Comm YOKOGAWA FA M3 ETHER 2 Fuji Electric FUJI MICRES F SERIES FUJI MICREX F SERIES FLT FUJI MICREX F SERIES T LINK FLEX PC SERIES LINK FLEX PC SERIES CPU FUJI INVETER FUJI TEMPERATURE PXR Toyoa Machine Works TOYOTA TOYOPUC PC2 SERIES TOYOTA TOYOPUC PC2 1 n Comm TOYOTA TOYOPUC PC3J SERIES TOYOTA TOYOPUC PC3J 1 n Comm Yasukawa Electric YASKAWA Memocon SC SERIES YASKAWA GL120 130 SERIES YASKAWA PROGIC8 SERIES YASKAWA GP9200SH SERIES Hitachi HITACHI HIDIC S10f SERIES HITACHI HIDIC S10f JPCN1 el HITACHI HIDIC H SERIE
98. 1 and this is defaulted to 255 Mode Select the saved type This is defaulted to BIN binary Format Select the data type This is defaulted to 16 bits unsigned decimal Select the number system only when the saved type is CSV 3 The backup processing status is displayed in the now dialog Now saving device data to file 3 32 3 7 Device Data Backup and Restoration 4 When the backup process has been completed successfully the following window appears Click OK to exit the process Pro Studio 37 Save Complete e The following shows the data contents for CSV device data Node name Node name for backup CR Device name Device address to start backup CR Number Number of backup data CR Device length Bit length of the backup device CR Data type unsigned decimal CR Date Backup date CR CR Data comment CR Value of the first device address Name of the first device address CR Value of the second device address Name of the second device address CR e The backup date should be written in a format of year month day space hour minute If minute if it is one digit use 0 zero in the second digit 3 33 3 7 Device Data Backup and Restoration 3 7 2 Restoring Device Data 1 Click Device Restore on the Tools il menu of the Menu Bar J APS Pro Studio LOL Pie Edit E Tools T Programming Supp
99. 1 a 2032 GP2300L 2032 16 2033 GP2300L 2033 0 2034 GP2300L 2034 o 2035 GP2300L 2035 10 2036 GP2300L 2036 10 2037 GP2300L 2037 o 2038 GP2300L 2038 T2 2039 GP2300L 2039 D EI 2001111 02 111 3101 E 200111702 13 10 23 314316 E 13 14 16 sec E 2 The Option dialog appears You can change the display contents or format of the data display area in various methods The following part describes the major operation method after the Option dialog appeared Line Setting l Character Setting if Display Setting Graph Setting Line style Image Line Te Width Color HH _ Other Cancel Apply Setting a Line 1 Click the Line setting tab in the Option dialog 7 2 Device View 2 Items on the Line setting tab appear Designate each item in the Line Style field and then Width Te oer click OK Une Setting l Character Setting j Display Setting Graph Setting Line style Image Color BS WW mies _ OK l Cancel Apply Line Select the ruled line that you wish to use
100. 201 11 1412 AM A201 11 1417 AM A201 11 14 22 AM A201 11 14 27 AM 110201 11 1432 AM 0 0 0 0 1 17 2 17 ololoieololoioaleololololo A201 11 1437 AM 0 0 0 0 1 17 2 17 D 2 Enter the new contents from the keyboard The contents of the selected field are updated Data cannot be edited during Polling Editing Saved Data 1 Click Edit of the Data Edit dialog 2 The Edit button in the Data Edit dialog is highlighted and the Delete Record button appears Data Source 27 1 2 3 Append item name Oooo 0100 0200 Node name GP2300L GP2300L P2300L Delete Device name Oooo 0100 O200 Value Data Type 16 Bit Signed 16 Bit Signech 16 Bit Siqnedt item Status Error Code D D D Data number 20 1 1 UNDI 11 13 42 AM 0 0 0 0 147 217 Search IUNI 11 13 47 AM 0 0 0 0 1 17 2 17 10X01 11 13 52 AM 0 0 0 0 1 17 2 17 1X01 11 13 57 AM 0 0 0 0 1 17 2 17 11201 11 1402 AM 0 0 0 0 1 17 2 17 10201 11 1407 AM 0 0 0 0 1147 217 14201 11 1412 AM 0 0 0 0 1 47 217 Delete Record 10201 11 1417 AM 0 0 0 0 1 17 2 17 11201 11 14 22 AM 0 0 0 0 1 47 217 110201 11 1427 AM 0 0 0 0 1 17 2 17 11201 11 14 32 AM 0 0 0 0 1 47 217 10201 11 1
101. 32 ae Mask Unused Use the same data as in your PC Control Panel s PROIPBS es String data mode EI Append Ic OK Cancel HelpiH A Node indicates a name of a communicator that performs communication activities on the network which is usually a GP unit or personal computer This node name must e Consist of 31 characters or less e Begin with an alphabetic letter e Use alphanumeric characters no differentiation between upper and lowercase letters _ under score tilde and 80h or higher ASCII characters e Select the GP PRO PBIII for Windows project file prw you wish to use e You may also drag the file from Windows Explorer and drop it in the Pro Studio s main window nly Node Ue GP1 180 187 2 43 OMRON SYSMAC C SERIE Provide Infomation H iF Kl 3 1 Registering Network Entry Nodes The character string data mode is set according to the data storage order of the used PLC Normally it is automatically set to the mode according to the data storage order of the used PLC therefore you do not have to change it I Device Storage Il Byte LH HL III Word LH HL Character String Order of Data Storage Order in Storage Order in Data Mode Word Double Word Store from the front LH LH 4 data HL 2 HL
102. 351 2487h Failed in loading the network project file 9352 2488h_ The entered node name has already been registered 9353 2489h_ The entered node name has not been registered 9354 248Ah Backup data type specified is not supported 9355 248Bh_ Failed to writing to the file 9356 248Ch Could not create a file to store the SRAM backup data 9357 248Dh_ The node name entered has not been registered 9358 248Eh Pro Server is already operating Cannot start two copies 9359 248Fh Reserved 9360 2490h _ s has not been entered 9361 2491h_ O cannot be entered in s 9362 2492h s should be xxx XXX XXXx XXX format where xxx is a value between 0 and 255 9363 2493h An invalid value has been entered in s 9364 2494h A character unavailable for s is involved 9365 2495h s has not been entered yet 9366 2496h Cannot start a new process until the process result is returned from the server 9367 2497h Cannot terminate the application while waiting for the process result 9368 2498h Read permission required to execute this command Log on to the network again 9369 2499h Write permission required to execute this command Log on to the network again 9370 249Ah Administrator permission required to execute this command Log on to the network again A 5 A 2 Error Messages
103. 437 AM 0 0 0 0 1 17 2 17 o lojala olala olajaja a D DH 3 Select the data that you wish to delete and then click Delete Record The selected data will be deleted Click on OK to set the selections made in Edit and or Delete Record Click on Cancel to delete all current selections 7 42 7 3 GP Viewer 7 3 4 Setting Drawing This feature allows you to change the display format of the data display area in GP Viewer 1 Click Option of GP Viewer GP Viewer LEI File E Option DataEdit Sampling 200111102 u am ES 2001702 11 13 42 111367 11 13 57 DI E WS SCH 53 54 55 56 Fac sec B H 2 The Wizard dialog appears Perform required settings and then click Option of GP Viewer to close the dialog Display Control J Display Mode ____ screen No i Previous Next Set Synchronous Mode synchronous ull Synq GP Syne Async Refresh Screen Data 7 43 7 3 GP Viewer Display Control You can designate the synchronization style between GP screens and GP Viewer There are 3 synchro nous modes available Full Synchronous GP Synchronous and Asynchronous The following de scribes the detail of each style Asynchronous Screens can be switched on GP Viewer Switching a screen on GP Viewer does not sync
104. 9 3 2 3 Importing the GLC Symbols cccsecsesesseeeeeeeeseeeeeeeeeeeeneeeeseesnseesneeeneeasneeeeseesneeeeseeenae 3 10 3 3 Registering Provider Data iciicciciissiseecensecsstsssesscecdenavesnscebenadndansdesnnseenaeieane 3 12 3 3 1 Checking for Provider Data Errors ccssessssesesseeesseeeseeseeeeeeeesseeenseeseeeeseeeenseeeeeeenes 3 15 3 3 2 tellt EE 3 17 3 4 Using the DDE Eupen ccs scicdherdesnteieclarseieadataweciniatinasesacnautiaisindsersnaleie 3 18 3 5 Using the VBA Support Function ceeceeseseeeeeeeeeeeesseeeeeeseeeenenseeeeeeess 3 22 3 6 Saving Backup Data in SRAM ccccssseeeeesseeeeneeeeeeeeneeeeeeeeeeeeeenseeeeeeess 3 29 3 7 Device Data Backup and Restoration ccccssseeseeeeeeeeeeeeseeeeeeeeeenees 3 31 3 7 1 Device Data Backup cccsesenseseeesseeeeessceneseneesasseesenseneeaseeeeeaseeeeesseeeaseeensnseeeeaneneneneenes 3 31 3 7 2 Restoring Device Data ccccecesseeeessneeenseeeeenseeeasseeeeseeeeeeseneeenseeesaseeeeaseeesensenaeasenees 3 34 3 8 GP Capture Data Saving FUNCTION cccessseeeeeeeeeeeeseeeeeeeeeeeeneneeeeeeeess 3 36 ET PUMCT OM RE 3 38 3 9 1 User Level Password Settings cssccesscseccsseeeeeeesseeeeseesseeeseeeseeeesseeeseeeseeeesseeseeeeseeeenes 3 38 3 9 2 Remote Password Setup ccsccsscccsseesseeesseeseeesseeeseeesseesneeesseesnseesseeesseesaeeeseeeenseeeeneenes 3 40 3 10 Configuring the System sccssc hii NEES 3 42 3 11 Configuring the Network
105. AIN_TABLE Key Code eeneg eee table name Table 1 S Table 2 Z Table 3 1 If a duplicate file name exists leave this cell blank Database Table Name Ex Table 1 Node Symbol Type Data 2 Number _GP1 D1000_WORD 2 1 2 3 4 5 5 _GP1 D1010_ WORD 2 7 _GP2 DM1000_WORD 2 5 Table 2 Table 3 2 PLC device data is read out according to the data in the table Data Structure Multiple data items are delineated by commas within a single field 1 When the Setting Screen Appears enter the following data based on the above example Access Data Folder Save Folder Setting Parameters Version 4 00 l Sc id l Gi E Program Files Za Program Files D EJ Pro tace yPro face E Pro Server with Studio E Pro Server with Studio E ZS NPJDataBase D mdb Filename Save Filename Ich ebeh mes Zero Supress Reset dog Reset Field Name Details Help H Cancel 4 3 Action Item Contents Access Data Folder Enter the save destination drive and folder mdb Filename Designate the mdb filename Table Select the reference table When an mdb file is selected all the mdb tables are automatically displayed Save Folder If you check the Save To Folder location in the action parameter display and if t
106. Action Registration Action Name JACTION1 Cancel Helpt Action Registration It is necessary to register the action item contents to the registry when you created it by yourself To register new action items click the Action Registration button Action item contents prepared by Pro Server with Pro Studio are automati cally registered at the installation time so that you do not need to perform this operation for those 3 Clicking the Parameter button will call up detailed settings for each selected action item 4 3 4 3 Action Item Contents 4 3 Action Item Contents 4 3 1 The following description explains how to enter settings for individual action items The following explanations assume that the Register Action dialog box has been opened an action selected from the pull down menu and the Parameter button has been pressed to bring up that action items Setting Parameters dialog box Start Application 1 The following screen will appear Setting Parameters Application Name Reference Startup Options D Node name Ti rite data Current Folder OK cancel Heinen Application Name Enter the name of the application to be started here This includes any user created applications as well e g exe com Startup Options When a start up option or Provider data are used as a param
107. By i wt Set ha WORD Local DA 16 Bi Signed 1000 ESN 3 AEE Provider MPO GLE Symbol H 7 Status Monitor bai Action Li Dente Hantar Remote Logon Remote Logoff Device Restore Save GP Capture Data Data Read Performance Measurement H F Save device data to file NUM EI 2 The Device Backup window appears After selecting all items click Backup Node MELSEC GNA F SaveFolder ol Program Files Fro facePro Si FileName NODE_ DEVICE Deviceaddress L0000 be Dackuphumber Gei BIN CH Gi Uelgedtes Mode Format acsev I C 328i Get Zeiten Ca Cee og 3 31 3 7 Device Data Backup and Restoration Node Name Select the node name If unselected the error dialog will appear Save Folder Enter the path to the folder that you wish to save data This is defaulted to the NPJDataBase folder in the current directory of Pro Server If not entered the error dialog will appear File Name Enter the file name By default the file name will vary depending on the node name the device address the saved type and the data type If not entered the error dialog will appear Device Address Enter the device address that you wish to start saving This is defaulted to LS0000 If not entered or entered incorrectly the error dialog will appear Backup Number Enter the number of backup data The minimum value is
108. Config ure gt System gt DDE Polling Time dialog box Default 1000ms If the GP Viewer s screen refresh time becomes too slow increasing the DDE Polling Time value will speed it up 7 30 7 3 GP Viewer 2 While the upload process from the GP system is running the following dialog appears The dialog will disappear when the upload process is completed Reading GP data reading Analyzing Screen files A9001 49999 3 The selected GP screen data are displayed on GP Viewer 1 GP Viewer Mm File E Option DataEdit Sampling Data have been monitored but not been saved at this stage 7 31 7 3 2 Setting the Data Sampling Condition 7 3 GP Viewer This feature allows you to set the data sampling condition from the target device The following part describes the procedure after GP Viewer is started 1 Click Sampling of GP Viewer GP Viewer LEI File E Option DataEdit Sampling 2 The next dialog appears Click Yes DATAVIEwW Now performing Data Collection setup First designate the name of the file used to shore collected data 3 The Save As dialog appears so that you can create the file to save sampled data The file extension is DB Designate the file name and then click Save Save As Save in ES My Documents z GES
109. D pwData WORD wCount 16 bit data INT WINAPI ReadDevice16D LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount INT WINAPI WriteDevice16 LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount INT WINAPI WriteDevice16D LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount 32 bit data INT WINAPI ReadDevice32D LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDevice32 LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDevice32D LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount 9 5 9 1 Simple DLL ProEasy DLL Function 16 bit BCD data INT WINAPI ReadDeviceBCD16D LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBCD16 LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBCD16D LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount 32 bit BCD data INT WINAPI ReadDeviceBCD32D LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDeviceBCD32 LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDeviceBCD32D LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount Single precision floating point data INT WINAPI ReadDeviceFloatD LPCTSTR bsNodeName LPCTSTR bsDeviceName FLOAT pflData WORD wCount INT WINAPI W
110. DOWS 10 YE Fiad Bunga m Provider Informatio e Action List Pro Server API Declaration statement for use by VBA is copied to clip board 2 The declaration is copied to the Clipboard ProEasy TAT Pro Server API Declarations for visual Basic Copyright C 1996 2001 Digital Electronics Corporation FroFasy DLL eto This string was copied to the clip board Please paste and use in your application 9 20 9 2 Examples of Simple DLL Function 3 Start up Microsoft Visual Basic and then click New Project on File from the menu Microsoft isual Basic Edit View Project Format LG Open Project Ckri O Add Project Eepgsebyeisek Fake praj Zonebtabge D a Ste aks Zeie ASau Tara Selection Fane Change eripe E Eriu ERR INTE Mela Pigiact Sieg Exit Alk O 4 Select Standard EXE and then click OK New Project Actives EXE Activex DLL Active Contral x X R Ze VE Application V Wizard Data Project 115 Application Wizard Manager ce Z Ze ActiveX Activex DHTML Document Dil Document Exe Application Ele ET Ven Project Format Debug Run Query Diagram Tools Add Ins Wir qa 3 Add Form aaa Genera a Class Module N Add User Control A Pi 1 Add Property Page D I aber maumere Add DHTML Page Add Data Report Add Web Joss
111. Driver Update As GP PRO PBIII for Windows Ver 6 0 software includes the 2 Way Driver for Pro Server with Pro Studio for Windows Ver 4 0 the driver requires no update If you use an earilier version of GP PRO PBIII for Windows update your software to a 2 Way Driver compatible with the Pro Server with Pro Studio for Windows Ver 4 0 e OPCPRO Setup Two types of OPCs for the server and for the client can be installed via this item Be sure to install the OPC server in a personal computer running this software e Tutorial The tutorial uses HTML files to explain the installation setup and usage of the Pro Studio software e GP Viewer Trial Version Setup Install the GP Viewer after Pro Server installation is completed 2 4 2 2 Starting and Exiting the Software 2 2 Starting and Exiting the Software This section describes how to start and exit this software 2 2 1 Starting and Using Pro Studio The following explanation assumes that the Windows desktop is already displayed 1 Click Start button and when the Start menu appears point to Programs Pro face and Pro Server with Studio and select Pro Studio Studia Pal m T 3 T 2 vu Pro Server A StartUp S em Explorer E 5 005 Prompt E Gutlook Express ER Windows Explorer Documents Settings Im 3 a In d Log Of Administrator amp fe a2 oO Windows9S Shut Down Double
112. E 16 String STRING length 1 String default length 1 SI If the data type is String the data length is the maximum number of characters If Null Data is included the characters up to that point will be sent received as data A 3 A 1 DDE Function Details Concerning Data Types Polling Time is designated in ms units The default Polling Time is 1 second 1000ms Data Type Polling Time When designating the data type or polling time be sure to put a comma or a space in front of the period The polling time set for collecting or writing data for each symbol distributing data and monitoring devices may not be able to be performed under certain conditions These conditions include the currently registered number of GPs number of Tags used on each screen sent type of PLC connection and number of other currently open Windows software Entering 0 hwill allow the system to operate at its maximum speed Please use this value as a bench mark when entering other values to fine tune your system Device Designation Example Here the Device Address D100 is BCD data and the sampling frequency is 500 ms Node Name D100 BCD 500 D100_ BCD_ 500 PROSERVRIGR A 4 A 2 Error Messages A 2 Error Messages A 2 1 Pro Server with Pro Studio for Windows Error Messages This section describes Pro Server with Pro Studio s error messages The error codes and error messages
113. GP 2501 series units The attachment of this unit prevents the attachment of any other expansion units which in turn prevents the use of any other protocols Expansion units cannot be attached to GP 2300 GP 2400 GLC2300 GLC2400 series units Therefore you will not be able to use protocols that require expansion units 16 2 You cannot use both the 2 Way Driver and Ethernet protocols at the same time on GP77R GP 2501 series units 3 You can use the 2 Way Driver together with listed protocols however there are device restrictions for Pro Server access Screens only need to be created for the devices that can be accessed Mitsubishi Electric MELSEC NET 10 Supports only link devices and the LS area Omron SYSMAC CS 1 ETHER Supports only the LS area Rockwell AB Data Highway Plus Supports only the LS area Rockwell AB S1c500 DH485 Supports only the LS area Rockwell AB Remote IO Supports only the LS area Modicon Corp Modicon Modbus Plus Supports only the LS area 4 This protocol cannot be used with the 2 Way Driver 17 1 Introduction This chapter describes how to use this software to configure a system in which you can gather data from devices PLCs connected to networked GPs 1 1 Outline 1 2 What is the 2 Way Driver 1 3 System Configuration 1 4 Application Interface 1 5 Provider Information Outline 1 6 Overview of Data View 1 7 Configuring the System 1 1 Outline 1 1 Outline The Pro Server software re
114. LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount 32 bit data INT WINAPI ReadDevice32 LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORDwCount 16 bit BCD data INT WINAPI ReadDeviceBCD16 LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount 9 10 9 1 Simple DLL ProEasy DLL Function 32 bit BCD data INT WINAPI ReadDeviceBCD32 LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount Single precision floating point data INT WINAPI ReadDeviceFloat LPCTSTR bsNodeName LPCTSTR bsDeviceName FLOAT pflData WORD wCount Double precision floating point data INT WINAPI ReadDeviceDouble LPCTSTR bsNodeName LPCTSTR bsDeviceName DOUBLE pdbData WORD wCount String data INT WINAPI ReadDeviceStr LPCTSTR bsNodeName LPCTSTR bsDeviceName LPTSTR psData WORD wCount General use data INT WINAPI ReadDevice LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVOID pData WORD wCount WORD wAppKind Cache Read Function for Multi Thread A device whose data has once been read via the Cache Read function will then be polled by Pro Server automatically Therefore data read from the second time will be performed at high speeds The polling time to be used will be the one that has been used when the symbol is registered The polling time to be used when a device address is directly designated will be one second Polling for a device whose data has not been read for a certain period
115. Node S Save SRAM Backup Data D Network Transfer Network Project E WI ween Symbol a 1 Expat Symbol ona Import GLC Symbol R AE Provider Status Monitor oS Action Li Dee beer Remote Logon Remote Logoff Device Backup Device Restore ad Performance Measurement Computer EC Gna CPU Computer Save GP screen capture data 3 36 3 8 GP Screen Interactive Capturing Function 2 The Screen Capture amp Save window appears After selecting all items click Save Node Name Joezznm Folder Name G Program Files Pro face Pro zl ile Name SNODEXY M D h m buzzeeusersch Ges ee O Show Brawse Cancel HelpiH a Node Name Select the node name If unselected the error dialog will appear Folder Name Enter the folder name to save data This defaults to the NPJDataBase folder in the current directory of Pro Server If not entered the error dialog will appear File Name Enter the file name This defaults to ZNODE Y M D h M s node name year month day hour minute Show Browser Select if you wish to display it on your browser after uploading the GP screen If you check ON the box it will be displayed on your browser This defaults to unchecked OFF When you execute Save GP Capture Data drawings and oper
116. O NOTICE WARNING 4 INFO NOTICE WARNING DEBUG SYSLOG Output Information SYSLOG Level ECOM Response SYSLOG Text INFO Starts ONLINE gp 17 start online INFO Starts OFFLINE gp 17 start offline WARNING Processing Failed gp 1 7 bel fail lt Processing Failed Text gt Argument gt DEBUG Device Read gp 1 7 rdev lt Argument2 gt DEBUG Device Write gp 17 wdev lt Argument2 gt DEBUG Command Received gp 1 7 bel lt Command Text1 gt recv from lt IP address gt lt port gt lt Argument3 gt DEBUG Command Sent gp 1 7 bel lt Command Text2 gt send to lt IP address gt lt port gt lt Argument3 gt DEBUG 5201 File Read gp 1 7 bel lt Command Text3 gt lt Argument4 gt send to lt IP address gt Failed Processing String Meaning read device Failed in reading from the device write device Failed in writing to the device sync provide response timeout No return data received from the receiver node after providing data sync provide fail to read device Failed in reading from the device when providing data lack memory Command ignored due to insufficient 2 Way driver memory first trigger on The command to enable the first trigger failed second trigger on The command to enable the second trigger failed backup data read Failed in reading the backup data Command String 1 Contents response Receives the response sync provide Provides the
117. ORY LINK SIO Types pela Provider Information Symbolit Type Data Type If you are currently editing a network project file the file must be saved before it can be sent to a GP 2 Click Transfer Network Project in the Tools T menu A A PS Pro Studio DI EdE LE Toos T Programming Suepegf Dat ieclf Configure S Wee Dee Olea Geck Previder information Search Active Node APS Save SRAM Backup Data Symbollltem Poling Ti E Network S Set pB JI mpor Symbol S ch is MEN Exper Symbol Seil ee Import GLC Symbol Computer ep Segel Status Monitor BBP Action Li Deelnesfllanlian Remote Logon Remote Logol Device Backup Device Restore Save GP Capture Data Data Read Performance Measurement 3 The Transfer Network Project File window appears and then the transfer of the network project file begins Transfer Network Project File GP2 160 187 2 44 OMRON SYSMAC C SERIES PTET TTT Time coun 0 Sec eer You can transfer the file to multiple GPs at the same time by selecting Network Entry Node List and then entry nodes that you wish to transfer the file from the listed entry nodes on the right side 8 2 Transferring Only Updated Screen Data to GPs 8 2 Transferring Only Updated Screen Data to GPs If you have modified screen data vi
118. P2300L Deaete Device name 2030 2034 2032 Value o 000000 D D00000 16 000000 Data Type 16 Bit Signed 16 Bit Signech 16 Bit Sig item Status Error Code D D Data number 1 1 Upper Limit 0 000000 0 000000 Alarm Upper Limit 0 000000 0 000000 Alarm Lower Limit 0 000000 0 000000 0 000000 SC 141201 1 10 23 PM A201 1 10 24 PM A201 1 10 25 PM 112701 1 10 26 PM 1142101 1 10 27 PM 112 01 1 10 28 PM Delete Record 11412101 1 10 29 PM 112101 1 10 30 PM 1142101 1 10 31 PM 112101 1 10 32 PM 1412 01 1 10 33 PM 112101 1 10 34 PM alofofofalafofalalajola alofofofalafofajalajala D DH 3 Select the data that you wish to delete and then click Delete Record The selected data will Search 5 Click on OK to set the selections made in Edit and or Delete Record Click on Cancel to delete all current selections 7 2 4 Option 7 2 Device View This feature allows you to change the display format of the data display area in Device View 1 Click Option of Device View i Device View T T File E Option DataEdit Sampling Wem name Node name Device name aluke 2030 GP2300L 2030 a 2031 GP2300L 203
119. PLC for PLC for PLC for Manufacturer A Manufacturer B Manufacturer C 1 3 System Configuration 1 3 2 Internal Configuration Off line Inside your PC information such as node names of the connected GPs symbol names for accessing the PLC devices and information read from the GPs is all set up and controlled via this software The file in which this information is stored is called a network project file npj and is used by Pro Server for its data exchange with application programs To exchange data with the host PC each GP must have the 2 Way Driver and the network project informa tion downloaded to it along with the GP s screen information via GP PRO PBIII for Windows Ver 3 0 or later The 2 Way Driver is factory installed in the GP2000 and GLC2000 Series units Inside of PC Pro Studio GP PRO PBIII for Windows V 3 0 or later E SE GP system or z Network Project file Protocols for Panel project file prw various PLCs computer PC npj 2 Way driver 1 5 1 3 System Configuration On line In response to an application s request this software accesses PLC data by way of the GP using the network project file Each GP must have the 2 Way driver downloaded to it together with the protocol that corre sponds to the connected PLC Connection Distributing VBAC User Excel Access E Mai L el with gathered data Appl ication Automat ic SCADA HMI to Excel Samp ingWr iting
120. Pere ED ZH Zero Supress Create new Book CO Append data to Book Book is Currently Open EI Do not save data Use Temporary Book Save form XLS fom CSV fom Version 4 00 Read Location Data ype GP SRAM backup data RS CF CARD backup data Save To Folder Template File Location BEB PR S E Il data is appended this feature is disabled E Program Files E Protace E Not a template file E9 Pro Server with Studio Ee NP DataBase Use template file File Name Je E E Program Files Proface E Fro Server with Studio NPJDataBase Read Location Met Cancel He Select a location to read data from i e either SRAM or the CF Card Data type Select one of the following items from the pull down box Logging Data Trend Graph Data Sampling Data Alarm History Data Alarm Log Data Block 1 When designating an alarm block in GP PRO PBIII for Windows Block 2 When designating an alarm block in GP PRO PBIII for Windows Block 3 When designating an alarm block in GP PRO PBIII for Windows 4 10 4 3 Action Item Contents Save To Folder If you check the Save To Folder location in the action parameter display and if the folder exists the contents will appear exactly as you desig
121. Pro face Pro Server with Pro Studio for Windows Operation Manual Copyright 2001 Digital Electronics Corporation All right reserved Made in Japan PREFACE Thank you for purchasing Digital s Pro Server with Pro Studio for Windows for use with Digital s GP series touch panels To ensure correct use of this product be sure to carefully read the manuals included and keep them nearby so that you can refer to them whenever required NOTE 1 The copyrights to all programs and manuals included in the Pro Server with Pro Studio for Windows hereinafter referred to as this product are reserved by the Digital Electronics Corporation Digital grants the use of this product to its users as described in the Software Operating and License Conditions section Any actions violating the above mentioned condi tions are prohibited by both Japanese and foreign regulations 2 The contents of this manual have been thoroughly checked However if you should find any errors or omissions in this manual please contact your local representative and inform them of your findings 3 Please be aware that Digital Electronics Corporation shall not be held liable by the user for any damages losses or third party claims arising from the uses of this product 4 Differences may occur between the descriptions found in this manual and the actual functioning of this product The latest information about this product is prov
122. S HITACHI HIDIC H2 SERIES HITACHI HIZAC EC SERIES Toshiba TOSHIBA PROSEC EX2000 SERIES TOSHIBA PROSEC T SERIES TOSHIBA PROSEC T ETHER 2 Matsushita Electric Works MATSUSHITA MEWNET FP SERIES Koyo Electronics Industries KOYO KOSTAC SG8 SERIES KOYO KOSTAC SR21 22 SERIES KOYO DL 305 SERIES KOYO DL 205 405 SERIES OJOJO O o OO gt lt O O O O O O O O O CO O O oxo oxo O Oj Oe O O OO lt lt O O O O O lt gt lt O O O O O OJOJ O o O O OC O O O X lt O O O O O O O O O CO O O O Se OO O OC O O Oe O O O O se OO sec OOO0O o JO OJO O O OJOJO O O O O O OjO O C Oj O O C Oj O O C Oj O O x CO O ooe oooO oooO 15 Vendor Name Device PLC Type in GP PRO PBIII for Windows GP GLC Series GP77R GP 2501 GP 2000 GLC 2000 GP 2300 GLC 2300 Comment Toshiba Machine TOSHIBA TG200 SERIES TOSHIBA TG200 S SERIES GE FANUC Automation GE FANUC SERIES 90SNP X GE FANUC SERIES 90 30 70SNP FANUC FANUC Power Mate SERIES IDEC Izumi IZUMI IDEC 1 IZUMI IDEC 2 IZUMI IDEC 3 IZUMI MICRO3 IZUMI FC3 FC4A SERIES Siemens AG SIEMENS S5 90 115 SERIES SIEMENS S5 135 155 SERIES SIEMENS S5 3964R Protocol PROFIBUS DP SI SIEMENS 7 200PPI SIMATIC S7 300 400 via MPI SIMATIC S7 via 3964 RK512 Rockwell Allen Bradley Interb
123. S area size the 2 Way Driver will automatically decide its acces sible range GP PRO PBIII for Windows Ver 6 0 or later should be installed on the GP system to use the LS area up to 8192 3 21 3 5 Using the VBA VC Support Function 3 5 Using the VBA Support Function Pro Server can read and write data both to and from applications supporting Visual Basic and Visual C using read and write functions The following procedures explain how to write data from Excel to a desig nated symbol via a programming support function When developing applications with VB or VC refer to Chapter 9 Simple DLL Function VBA Declare statement 1 Selecting VBA Declaration statement from Programming Support conf agin ConiguelS Viewld Hell PET oa EISEN Led D T6BilSined 1000 LDA WOD Lod DH 18Bi Signed 1000 K G Deiere API Declaration stienen for we by VBA is copidto lp board KL JA 2 The declaration is copied to the Clip board Option Explicit ProEasy TXT Pro Server API Declarations for Visual Basic Copyright Cy 1998 2001 Digital Electronics Corporation ProEasy DLL ete This string was copied to the clip board Please paste and use in your application 3 Start up Microsoft Excel Select Visual Basic
124. Server and the second and subsequent read outs will be executed more rapidly form the cache memory The polling interval is equal to the interval at the symbol registration When designating the Device Address directly the value set in the Configure S gt System gt DDE Polling Time dialog box is used Default 1000ms Pro Server 2 Read execution 3 Report to upper level PCs after an execution is completed Optimization gt to enable a collective read of continuous addresses Registration in a polling table and a Appl ication periodical execution of a sl read request Data Le storage in a cache a Read request La 4 Reply of a cache and report to upper level PCs L 5 Read 6 Take the read data out I lt 7 Reply e Because the second and subsequent read outs are performed from the cache memory the address value may be different from the real device address value e When the cache read function is used once a device is read an automatic polling is executed on Pro Server If you execute a wrong device address read a communication error may occur repeatedly because of this auto matic polling Cache Read Function for Single Thread Bit data INT WINAPI ReadDeviceBit LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORDwCount 16 bit data INT WINAPI ReadDevice16
125. Setup Tutorial End Setup 5 Select which language you wish to use in the Setup program English or Japanese and click OK Choose Setup Language Select the language for this installation from Ge the choices below 6 The User Information screen will appear Enter all the information and click the Next button User Information Name Company Serial Input a user name a company name and the serial number The serial number is printed on the product package and the user registration card Digital Digital Electronics Corporation lt Back Mea Cancel 2 1 Installing the Software 7 The key code entry screen then appears Enter the code printed on the rear of your CD ROM case and click Next The data entered must also include the character Pro Server with Pro Studio for Windows V4 0 Setup Is KEY CODE Input Input a KEY CODE consisting of 12 digite and 2 hyphens The KEY CODE is located on the back of the CD ROM s case KEY CODE etc l lt Back Mest II Cancel After this follow the instructions displayed on the screen In addition to the Pro Server with Pro Studio for Windows program the 2Wsetup exe command can be used to start the following items e GP PRO PBIII 2 Way
126. Shifts atb usa Brauserfk DM Object Viewer Res i lea Fs lage zje n S Customizes the Tools menu and toolbars Fe 3 0 JE 320x200 AEA 12 Check Controls in the Toolbars tab and then click Close Customize BR Commands Toolbars Tools I Keyboard Add ins and Macro Files Kaes Show Tool ips With shortcut keys Large buttons a Reset Al 13 Select ListBox and then paste it in the dialog ListBox u Sample Microsoft Visual C Sample rc IDD_SAMPLE_DIALOG D ialog SG Edt View Insert Project Build Layout Tools Window Help ja s als pel ef ala L Aa D E Sample files DEN Source Files iE Sampleopp E Sample te JI Con opp DS Header Files f Resource Sample h SampleDlg h Stith DE Resource Files EI Sortie ie EI Sortie wc eadMetat Workspace Sample 1 project 2 SanpieDl cep Een oust Ela eraus FIA ES lp azsnla
127. TEBiSigned 1000 a GP 10 100 010 OMRON SYSMACC SERIES Ed WORD Local Die IB BiiSigned 1000 Da GP2 10 100 011 MITSUBISHI MELSEC AnafLINK DO0042_WORD Local DZ TE BitfSigned 1000 E WINDOWS 10 100 0 20 Windows Paisonal Computer 485 Provider Information BB Action List Heb is Fi key in HOM E 14 Click VBA Read function on Programming Support of the menu EISE Ft Tool Programming Supper DataVlew D Configure erh Hein Die Eye veADestere Function as D sch D EI Network Entry Nod n GP D mn YC Declare Function 0a GP2 10100 0 WC wite function WINDOWS D WC Read function E Provider Informatio L t Action List i Addes boi Local D00040 16 DE ged 1000 DOOD WORD Local DODO 16 BiSignes 1000 D00042 WORD Local D00042 16 BiSigned 1000 Data Type Poling T DDE String Copy Copy the VBA read command deieren data type to cipboard Copying the NU Al 15 The read function will be copied into the Clipboard Err ReadDevicelo GP2 DOOO40_ WORD Enter valuedmeger type nere 1 This string was copie to the clip board Please paste and use in your applicatian 16 Double click Command1 on Form1 to paste the contents read function in the Clipboard between the Sub and the En
128. The data value displayed on Device View is copied into the clipboard 3 Paste the data value onto the application used You can only copy data in the data display area of Device View into the clipboard You cannot copy data such as a title Exit 1 Click Exit X on the File F menu Exits Device View 7 28 Option This is selected on Data View D of the menu bar 1 Select Option on Data View D of the menu bar 7 2 Device View File E OC miom Pro Studio FOE Tool Programming Support E Dateie ConfigunetS View Help UE Cis ell Ek Ee mtom Network Entry Node De G2 300 10 100 0 55 MEMORY LINK 5 8 Provider Information gt Action List Device View GP Viewer Symbolllter T Open Dataviewf0 Data Sampling Status System time bar Data Type Polling Ti 2 The Data View Options dialog appears You can select Show Hide of the setup menu and the save button If you uncheck Display menu the Option the Data Edit and the Sampling menus are hidden on Device View If you uncheck Display button T L eU _ buttons are hidden on Device View pra R Data iew Option Display menu Display button ee Device View Sali Fic Option Data Edt Samping fot fet or
129. View only In addition to the above you can playback device data already collected on Data View Playback Feature or on user created applications System Time Bar Sampling device data gt Reference Output to file Hdb lt 1 Device View Application GP Viewer Fi User Appl ication B db gt Trigger Trigger EE PLC for Manufacturer A PLC for Manufacturer B PLC for Manufacturer C Collected device data can be viewed using a variety of tools such as Device View and GP Viewer 1 7 Configuring the System 1 7 Configuring the System The following explanation describes the steps you must follow to start Pro Server and assumes that GP PRO PBIII is already installed on your PC Installing Pro Server with Pro Studio for Windows Install Pro Server with Pro Studio for Windows on your PC s hard disk Starting GP PRO PBIII Start the GP PRO PBIII for Windows software d Creating Saving the screens with GP PRO PBIII Open the GP PRO PBIII project file create as many project files as the number of the connected GPs and save Vv a E i D Starting Pro Studio Q P the project files d Start Pro Studio A Setting Saving the network project file with Pro Studio Open the network project file in Pro Studio make the P necessary settings and save the
130. XE format is used for OPC I F for an OPC Client existing in the same PC Local Server EXE format is used for the OPC I F for an OPC Client existing in a remote PC Remote Server Read Write Functions The Read Write functions can be used either sychronously or asynchronously The Read function can use either CACHE or DEVICE and the Write function can use only DEVICE Synchronous This method will require other processing to wait while the OPC Client is either reading or writing data to from the OPC Server Asynchronous This method utilizes a CALLBACK to ackowlege to the Client the reception and completion of a Client s read write requests This allows the OPC Client to perform other processing while waiting for the CALLBACK notice CACHE CACHE means the storage and handling method used for processing requests collected periodically from the Clients in the OPC Server With Pro Server this means the polling tool s internal data This method while it allows the returning of data at high speed to a Client does not allow Real Time processing DEVICE Device data refers to handling of data from the final target PLC Current target data can be provided in real time however the response to that data is usually slower than the CACHE method OPC Server s Operating Environment OS Requirement Japanese or English Windows NT Hard disk capacity 100MB or more Required memory 64MB or more OPC cannot be used o
131. ZE gt PLC SETUP gt PLC SETUP gt SETUP ETHERNET INFORMA TION screen However the Subnet Mask and IP Address must be entered in the PLC SETUP gt SETUP ETHERNET EXT INFORMATION screen This data must also be entered in the GP PRO PBIII for Windows software s Project Manager screen GP Setup menu s Communication Settings tab The entering of Ethernet settings for communication using the 2 Way Driver feature via the internal Ethernet I F is done using the GP unit s previously mentioned OFFLINE mode Select the INITIALIZE gt PLC SETUP gt EXPANSION SETTINGS gt ETHERNET SETUP area and enter the required setting data there Also enter the required settings in the Pro Studio program s Register Edit Node area Also enter the Port No in the Configure gt Network area 1 9 The following table describes what each setting is used for 1 3 System Configuration Setting PLC Transfer Settings 2 Way Driver Settings Remarks IP Address O O The PLC communication settings used are allocated to the Expansion Subnet Mask O O Ethernet I F Unit and the 2 Way a Driver settings are allocated to the ateway GP s internal Ethernet I F IP Route Address O O Port No O O O Setting enabled X Setting disabled 1 4 Application Interface 1 4 Application Interfaces 1 4 1 DDE function Outline The DDE Dynamic Data Exchange function can be used with your PC s
132. _ Data Read failed 9661 25BDh Invalid access range of the read device 9662 25BEh 8 Reserved 9699 25E3h 9700 25E4h_ Received the first trigger establish command for non existing provider information 9701 25E5h Reserved 9709 25EDh 9710 25EEh Received the second trigger establish command for non existing provider information 9711 25EFh i Reserved 9729 2601h 9730 2602h _ The GP is busy sending screen data or saving SRAM backup data to another PC 9731 2603h_ An error occurred in reading the SRAM backup data The item ID differs from the previous ID 9732 2604h_ An error occurred in reading the SRAM backup data The data type differs from the previous type 9733 2605h _ An error occurred in reading the SRAM backup data The block No differs from the previous No 9734 2606h SRAM backup data read error The requested data amount is 0 or differs from the previous amount A 8 A 2 Error Messages Error Code Decimal Hex Meaning 9735 2607h 7 Reserved 9739 260Bh 9740 260Ch_ The GP is busy sending screen data or saving SRAM backup data to another PC 9741 260Dh Anerror occurred in reading the SRAM backup data The item ID differs from the previous ID 9742 260Eh An error occurred in reading the SRAM backup data The data type differs from the previous type 9743 260Fh An error occurred in reading the SRAM backup data The block No di
133. a password can be registered for the entire network When remote access is attempted from a personal computer that has not been registered as a network node a dialog box will appear asking for the password After the registered password is correctly entered remote access can be performed Be sure to write down each registered password If a password is forgotten remote access cannot be performed 1 Select Network in the Configure S menu Hief Eet Ted Programming Suppor P DiateView D Configure S View HeptH BE Pand E By ess UDP Port Number ject 8102015 8000 EL DI Network Ent Node E WINDOWS NT 210 160 181 172 Windows Personal Cd GP View Wa MELSEC_ONA 10 230 254 254 MITSUBISHI MELSEC mACPOU ICT e WINDOWS_95 10 230 230 19 windows Personal Computer GP2300L1 10 100 0 100 MEMORY LINK SIO Type 465 Provider Information Sr Action List Setup network configuration ia NUM EI 3 40 3 9 Security Function 2 The Network Configuration dialog box will appear Enter a password in Network Remote Password and click the OK button Network Configuration ProjectiD 1988 10 20 18 484 Port No Idi Cancel Advanced Network Remote Password Password Confirm IT
134. a after change in device in Sampling method The contents of the Condition field are as the following You should designate Sampling Condition Interval Condition and Data sampling from start to finish of data reception in the Condition field Sampling method EE oarmpling method Regular Sampling Periodic Sampling GI Sampling data after change in device OH Sampling data when distributed Condition Sampling Condition Node Name Device Data Type Condition Fl Fli Upper Edge Fl interval Condition Interval msec Sampling using cache Data sampling tom startto finish of data reception Before oF sec Aner oF sec Interval sec Polling data file Change Ch Documents 20 08 Sawing Method Mo maximum size Sampling Condition Designate the timing to sample device data You should designate the node name that you wish to perform a sampling the target device name the device model and the device change condition Interval Condition Designate intervals to check the device change and to sample data when the status changed Data sampling from start to finish of data reception Designate the intervals to save data
135. a sampling the target device name the device model and the device change condition Interval Condition Designate intervals to check the device change and to sample data when the status changed Data sampling from start to finish of data reception Designate the intervals to save data before and after the device change occurred and the sampling condition was satisfied Intervals designated here should be longer than the sampling interval When You Selected Sampling data when distributed in Sampling method The contents of the Condition field are as the following Sampling method Bis Sampling method Regular Sampling Periodic Sampling Sampling data after change in device Sampling data when distributed p Condition Provide Sheet H Sampling using cache Data Sampling from start to finish of data reception Before oF sec After oF sec Interval sec Pong data file Change CAMy Documents 20 4D8 Saving Method Wo maximum size Provide Sheet If pre defined Provider information setups exist select it from the pull down list Be sure to set the Provide Information interval to 1000ms or longer Sampling using cache Check this box to use the cache to sample device data Data Sampling
136. a the GP PRO PB III screen editor software follow the procedure below to transfer only screen data to the GP The following description assumes that GP PRO PB III s data transfer window is open 1 Click Transfer Settings in the Setup menu wayD river i Project ege Transfer Method Automatic d System Setup Automatic Description Untitled r i Send To GP Transfer Status Prepare Status Overall Progress Download Settings L uray 2 When the Transfer Settings window appears click Ethernet in the Send To pull down list and click OK Transfer Settings p Send Information ay p Communications Port F Upload Information 3 Coml 3 Comz TGP System Screen ke WEE Eiteel O Filing Daaf card Transfer Method 9 Send All Screens D Automatically Send Changed Screens 3 Send User Selected Screens Memor Loader iP Setup i Automatic Setup Use Extended Program Force System Setup El Simulation 9 Do NOT Perform Setup Setup CFG file 2 Japanese 2 English Selection DSFroPEWind protocof gpsstup co Browse OK Cancel Help Ethernet can be used to transfer only the updated screen data to the GPs whose setup has been com pleted However set up via Ethernet is also possible with the GP2000 Series Reference
137. ads writes collects data to and from PLC and GP s data via a network Ethernet Pro Server on your PC lets you use commercially available application software or programs you have created to read write collect data on the GPs and PLCs connected to the network It can also save and playback Playback Feature the saved data The GP reads and writes data via the 2 Way driver only when it is not serving as a display and operation panel which is its first priority Also reading or writing a large volume of data may cause the GP to temporarily stop refreshing its display 1 2 1 2 What is the 2 Way Driver E 1 2 What is the 2 Way Driver The 2 Way Driver is software that allows the host PC to access data on GPs or PLCs connected to a network Ethernet One advantage of this software is that you can transfer data to the host PC regardless of type of PLC being used To use the 2 Way function Pro Server software and an Ethernet compatible GP unit are required 1 3 1 3 System Configuration 1 3 System Configuration 1 3 1 External Configuration p e Pro Studio allows you to easily designate a PLC device as a symbol Pro Studio e Designate a symbol using Excel e Pro Server SCADA software and VB N EE applications and Pro Server can Ethernet easily read that data out GP 2 Way function The 2 Way Driver translates PLC protocols allowing data exchange y between many types of PLCs
138. among 6 styles Also designate the thickness of the ruled line The unit is point and it is defaulted to 1 point Color Select the ruled line color among 16 colors If you do not find one that you wish to use among those click Other The Color Setup dialog appears so that you can select or create the color that you wish to use Character Setting 1 Click the Character Setting tab in the Option dialog 2 Items on the Character Setting tab appear Designate each item and then click OK E Line Setting Character Setting Display Setting Graph Setting a a Other vr select Foreground color e i Data Background color Preview Fant MS Sans Serif regular Spt GG Row hight CE Ok l Cancel Apply 7 20 7 2 Device View Select Select which texts you wish to change Title texts on the top or Data texts Foreground color Select the text color among 16 colors If you do not find the color that you wish to use among those click the Other button The Color Setup dialog appears so that you can select or create the color that you wish to use Background color Select the background color among 16 colors If you do not find the color that you wish to use among thos
139. apanese English Ws 10 OPERATING ENVIRONMENT E Pro Server with Pro Studio for Windows Item Specification Remark i Pentium 133MHz or faster Personal Computer IBM Compatible processor Display VGA 640 x 480 or higher 64 bit color or higher Hard Disk Space Requirements 20 MB or more 30 MB or more is recommended Memory Requirements 32 MB or more 128 MB or more is recommended CD ROM Drive Windows compatible OS Requirements Windows 95 English or Japanese OSR2 or higher Windows 98 English or Japanese Windows Me English or Japanese Windows NT 4 0 English or Japanese Service Pack 3 0 or higher Windows 2000 English or Japanese Related software Microsoft Access 97 or later Microsoft Excel 97 or later Browser IE V4 0 or later When using action contents Supported languages Japanese English Printer Any printers that your OS supports Mouse Windows compatible Mouse is required for operation Ethernet Board 10BASE 2 5 T 100BASE T Network Configuration TCP IP Protocol 2 Set up from Control Panel Additional Items Ethernet Hub Ethernet cables etc User supplied The following operating environment is required when you use the OPC Server Item Specification Remark OS Requirements Windows NT 4 0 Service Pack 3 0 or higher Windows 2000 Hard Disk Space 100 MB or more
140. area in Pro Server f GP Trigger GP Trigger GP Trigger A B Qo e PLC for Manufacture A PLC for Manufacture A PLC for Manufacture A 1 5 Provider Information Outline E 1 5 2 Providing Information between GPs Even if your system lacks a host PC or Pro Server you can transfer the provider information setting file setup in Pro Studio to each GP This then allows device data to be exchanged via the GP between PLCs on the network at a predetermined times or event regardless of the brand of PLC used LETI To HH HH HH gt GP GP GP PLC for Manufacturer A PLC for Manufacturer B PLC for Manufacturer C lu 1 5 Provider Information Outline 1 5 3 Action Feature Overview When the designated trigger conditions are fulfilled an Action feature allows an application in a remote PC on the network to be activated Also the program triggered by the Action feature is called the Action Contents Action Features Automatic Upload of Access Data requires Microsoft Access Automatic Download of Access Data requires Microsoft Access Write Data to Excel Book requires Microsoft Excel Download of Excel Recipe requires Microsoft Excel Upload of GP Log Data Automatic Download of GP Filing Data Automatic Upload
141. arning color We _ a sal W OK I Cancel Apply Normal color Select the normal graph color among 16 colors If you do not find the color that you wish to use among those click the Other button The Color Setup dialog appears so that you can select or create the color that you wish to use Warning color Select the warning graph color among 16 colors If you do not find the color that you wish to use among those click the Other button The Edit Color dialog appears so that you can select or create the color that you wish to use 7 23 7 2 5 Playback Feature This feature allows you to playback sampled device data on Device View 1 Select Open Data View Q on Data View D of the menu bar 7 2 Device View 3 mtom Pro Studio File EdtE To Programming Support DataViewDI Configure S Ver i HelplH aT Device View Fy fe REES a KE wen Spmbellltem ture Address Dae Type Polmg Tr G Network Entry Node Dr EEEE a Sarpin Status S Provider Information EE BP Action List ee Option z E HEI Eet WU HME Mt TE Toy EI 2 The Open dialog appears Select the device data DV
142. asily check that the data has been written successfully Reference Chapter 6 Tools s Device Monitor x MELSEC_ONA _D40_WORD S Siged Olwiged O HEX BD EI ERD moo vm G DOIG 100 gt ip ii d DM 2 113 114 DMOI06 115 116 117 pmo 118 114 120 D0112 121 122 123 DMO 124 125 126 100 has been written to the device 3 26 3 5 Using the VBA VC Support Function Reference Cells that have been designated as using Excel s Range Function can write data to a GP or PLC device If you then change the value entered in this cell and push the Command Button the device s data will be immediately refreshed Reference 3 25 step 11 1 Input the value to be written to the symbol s PLC device Here enter Range A1 in the space shown by Enter value here TErr WriteDevice16 GP1 _DM100_WORD Range A1 1 0 KM Book Sheet Code Bisi x CommandButtont m Click A Private Sub CommandButteonl Click lErr WeiteDevicei GP1i _DM100_ Mopp Range Ai 1 o ical End Sub 2 Click the Design icon to quit the Design Mode Design Icon si pJ OO H DR gt ogee 3 27 3 5 Using the VBA VC Support Function 3 Thus when you enter 100 in Excel s worksheet cell A1 and press the Command Button 100 is wr
143. at sars Tes afer sike limitieaehed Periodic saving Gi Hawise sien day CO New ile even manttu OK Cancel 7 38 7 3 GP Viewer Saving Method Designate the folder to save sampled data You should designate the total volume size of data to save among No maximum size is designated as much as storage media allows Designate maximum size and Periodic saving If you selected Designate maximum size you should also designate the maximum data size in MByte and the sampling method Selecting Continuous numbering for new files When the maximum allowed size is exceeded the following new file is created kk Sequence number DT ABCD 0 4DT gt ABCD 1 4DT Selecting Save over oldest data The oldest Polling data is overwritten when the maximum allowed size is exceeded Selecting Do not save files after size limit reached When the maximum allowed size is exceeded Polling is stopped and an error message appears If you selected Periodic saving you should also designate the interval to upload the files Execute the device data sampling To perform sampling registration for GP display screens click the gt button To poll sample registered device data click the Jeun button If you wish to sample data according to the designated data sampling condition click the Men button The data Sample amp Save is executed according to the da
144. atible with date 9416 24C8h The specified time is out of the valid range 9417 24C9h The invalid argument has been set 9418 24CAh Database of appinted handle is closed 9419 24CBh Database access error 9420 24CCh INI file s in the action contents cannot be opened 9421 24CDh s of INI file s in the action contents cannot be analyzed 9422 24CEnh Action s uses action contents not yet installed in the network project 9423 24CFh There are too many actions to register 9424 24D0h The specified action has already been registered 9425 24D1h The action contents which action s uses cannot be started 9426 24D2h The designated action is not registered 9427 24D3h An error occurred on the Active X IF 9428 24D4h The designated action has been registered in the registry 9429 24D5h S Reserved 9449 24E9h 9450 24EAh The node name or symbol name is not specified 9451 24EBh The node name is not specified 9452 24ECh The data type setting is not valid 9453 24EDh The node name and symbol is not delimited with l 9454 24EEh The symbol name has not been registered or it is not a valid device address 9455 24EFh Cannot continue the process no valid device is specified 9456 24F0h_ Cannot make word access to 32 bit devices 9457 24F ih The address is out of the valid range 9458 24F2h The No of points setting is invalid 9459 24F3h_ The No of points setting is 0 or ex
145. ation 4 4 Action Item Designation The following description explains how to designate an action item Transfer the Network Project file to the GP unit to make the specific Action effective Action items can be designated via the Provide Information dialog box 1 Designate the Condition and Provider Node Symbol Names Then select an action item for the Consumer s symbol name Provide Information Title Sheett Condition sed Description Status ON When the power supply is switched on Cancel data is provide only once m Help H Status OFF Upper Edge Fc ba VE 4 Deen S Advanced Rewrite Down Edge Trigger 74 Trigger Provider Node Consumer Modell E MELSEC_QNA WINDOWS_NT Symbol Name symbol Length Constant value J 7 ACTIONI ia D40 wonn F 1 Lee E HIH MELSEC_QNA Symbol Name eal An action item can be selected only via the Consumer s Windows computer For the detailed information about entering configuration data refer to 3 3 Registering Provider Data Action items must be registered before they can be used To register new action items click the Action Registration button Reference 4 2 Action Item Regis
146. ations on the GP screen will stop for a few seconds Therefore you cannot normally execute the GP screen capturing operation from upper level PCs You should set the bit O of GP s LS2076 to ON 1 to capture GP screens from upper level PCs The bit 0 of LS2076 will be set to ON 1 while capturing 3 37 3 9 Security Function 3 9 Security Function 3 9 1 Pro Server has a security function to protect PLC and GP data The following items are included in this function e Passwords to set up user levels User level password e Password to protect accesses from unregistered personal computers Remote password User Level Password Settings Pro Server can restrict the range of functions available to a user via three different password levels Be sure to write down every password registered so as not to forget it You cannot log on to the system without the correct password 1 Select Password in the Configure S menu RZA PS Pro Studio CO Die Edi E Tools T Programming Support P DataviewlD Configure View Heel Pia E Ek ZEN E ject ID UDP Port Number D Network Ertry Node Network 870 2015 8000 fe WINDOWS_NT 210 160 181 172 Windows Personal Ci GP View 86 MELSEC_ONA 10 230 254 254 MITSUBISHI MELSECnA CPU EB WINDOWS_95 10 230 230 19
147. blic ProEasy lib is designated in this example because the LIB file ProEasy lib exists in Pro SDK Public under the folder where Pro Server has been installed Project Settings la Settings For win3 Debug e General Debug C C Link Fiesourct Celesou Ee E Dutt File name E ebugr S amplesexc Objectdibrary modules Public F 10E asy lib Generate debug info Ignore all default libraries Link incrementally Generate mapfile gd Enable profiling Project Options g Public ProE asy lib decken subsystem windows incremental yes pdb Debug S ample pdb Adebug machine 1386 Jout Debug S ample exe You should install the header file ProEasy h to use read write functions provided by Pro Server Click the FileView tab in the Microsoft Visual C Workspace window and then double click the SampleDig cpp file In this example read write functions are used in the SampleDig cpp file File Edt View Insert Bioject Build Tools window Help IAR BRECA E SI TESS Tess members ET C bouDig Eis We ea a A e SampleDlg cpp implementation file a SS Workspace Sample 1 mec B E Sample files include stdaiz h aime Loge Sanple h DZ Source Files de 2 amb is D Samplecpp Winclude SampleDlg h 7 Sample re Sampl
148. box on View of the Microsoft Visual Basic menu Ss Project Microsoft teval Basic design File Edit wiew Project Format Debug Run QL ll E DEI code Object Shift F7 pcerers pefipition Shtat Last Baebep hilaire Ki Object Browser F2 E Immediate Window Ctrl G Locals window jea Watch Window Sa Call hark Chat ka Project Explorer Chr Properties Window F4 mai Form Layout Wipdouw Property Pages Shift F4 Table D Zoom k Show Panes D B I Tod Cl Data view Window Color Palette Toolbars d i Visual Component Manager 9 24 9 2 Examples of Simple DLL Function 11 Select ListBox and then paste to Form1 I g7 mime 0E ListBox Project Formi Form 12 Select CommandButton and then paste to Form1 o fp m jm ComandButton m Project Form Form P jim 9 25 9 2 Examples of Simple DLL Function 13 Select the symbol name that you wish to read among symbols registered on Pro Studio Select the heading symbol to read from A ma fm Eg R I Edit E To Programming Supporte Dataview D Configure S ech Hen Bosch Symbolltem ype Addess Data Type Poling T DI Network Enti Node Local D00040
149. ceeds the setting range 9460 24F4h Cannot convert the set symbol into a device address 9461 24F5h A value input error occurred Enter a correct value A 6 A 2 Error Messages Error Code f Decimal Hex Meaning 9462 24F6h The specified lifetime is invalid 9463 24F7h The designated bit location is incorrect 9464 24F8h Reserved 9499 251Bh 9500 251Ch Pro Server schedule management thread initialization error 9501 251Dh Pro Server LAN management thread initialization error 9502 251Eh Pro Server timer management thread initialization error 9503 251Fh Pro Server DDE control thread initialization error 9504 2520h Pro Server API control thread initialization error 9505 2521h Pro Server API parameter error 9506 2522h Response time out 9507 2523h _ Pro Server failed in initializing the LAN 9508 2524h No data 9509 2525h Invalid device 9510 2526h Invalid address 9511 2527h The address is out of the valid range 9512 2528h Data type error 9513 2529h Transmission message error 9514 252Ah Cannot initialize Pro Server cache function 9515 252Bh Cannot load the network project because the database is used 9516 252Ch Reserved 9519 252Fh 9520 2530h PS item handle is incorrect 9521 2531h _ PS item read write were not executed The process was st
150. ckground color No No No specifying display rotation No Yes Yes 7 55 7 3 GP Viewer K Tag specifying a data absolute relative character string Yes Yes specifying a word address Yes Yes specifying a starting bit address No No specifying a display address indirect No No specifying a sign Yes Yes rounding off numbers ou Yes Yes specifying display write data form Yes Yes bit length when relative is selected Yes Yes input sign when relative is selected Yes Yes input range when relative is selected Yes Yes display range when relative is selected Yes Yes the number of characters to be displayed when character string is selected e Se character size Yes Yes the number of digits to be displayed Yes Yes the number of decimals direct indirect Yes Yes specifying display style Yes Yes automatic clear No No checking the number of digits to be input No No bar code input No No alarm direct indirect color change Yes Yes specifying an alarm display color Yes Yes blinking an alarm display color Yes Yes specifying an alarm background color Yes Yes blinking an alarm background color Yes Yes operation Yes Yes specifying display rotation Yes Yes L Tag screen number direct indirect state Yes Yes Yes starting method Yes Yes Yes calling the
151. cpp A Eist les a Resource Files LB reste H S The systen calls this to obtain the cursor to display vhil Si the nininized window 5 CURSOR CSampleDlo OnQuersDzacLoon S BCIRSOR n_hTeon gt CSonpleD1g OnButton1 NORD vData 3 B UedsteDates Ey cDaca 0 m Edit1 gayOacalt ned eTedacal2 n Edit3 EE gt D WEE E Ee 46 Declare the area to store write data You should designate three or more area elements if the 9 50 9 2 Examples of Simple DLL Function 48 Designate the header area where write data have been set wData 0 and 3 as the number of read data You should also add a semicolon at the end of the write function 49 Click Execute Smaple exe on Build of the Microsoft Visual C menu 50 Click Yes els aegis ea 21er Erva Oi CSonplebig fica EE E Sample files Source Fies E Header Fles a Resource Files oof ReadMe tt ou gcc The systen calls this to obtain the cursor to display whit Si the aininized window SqECURSOR CSampleDlo OnQuersDzacLoon S BCIRSOR n_hTeon gt CSonpleD1g OnButton1 NORD wDate 1 B UedsteDates Gesi m Edit1 fegeOatalt Edit Siess 3 n Edits Bb E gt o memben o OnBuront Eli 2 ig t E Deeg EE
152. ctive Node Save SRAM Backup Data Transfer Network Project Import Symbol Expott Symbol Import ELE Symbol Derbeotieniar Remote Logon Remote Logolf Device Backup Device Restore Save GP Capture Data Data Read Performance Measurement Bl Computer Computer Dat wn IDa WORD Local Local D40 bal 16 BitfSigned 16 BilfSigned 1000 1000 Start monitor of this node s status NUM a 6 4 3 6 2 GP Status Monitoring Monitor the status of the GP To change the polling time click Setting Click Clear to clear communication error codes of the selected node Communication Errorextend Status Monitor GP2300L1 Node GP2300L1 IP Address GP Type System Version PLO Type 2 Way Version Project ID UDP Part Tag Stan Time Communication Token MAX Current Token ms ms ms ms Communication Error Way Error Clear Setting Exit HelptH If you click Clear the following communication error codes will be cleared e PLC communication error code e PLC communication error code for an extension e 2 Way communication error code Reference A 2 2 2 Way Driver Error Message
153. d or internal FROM memory area Only data that has been previously uploaded from a GP can be downloaded Also uploaded data can only be modified not added to or deleted When data is being written to a GP s internal memory FROM or to its CF Card the GP will switch to OFFLINE mode until the data transfer is com pleted After the transfer is completed the GP will be reset 1 The following screen will appear Setting Parameters Version 4 00 Save Folder ZC Gd Program Files Cancel qyProtace Sap Help GP2300L_L50000 bin write bo MELSEC GMA LSO000 bi ANA m GP Backup SRAM C CF Card O GP FROM Filename Save Folder If you check the Save To Folder location in the action parameter display and if the folder exists the contents exactly as you designated is displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documerts Data Do you create new folder tee No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled 4 13 4 3 Action Item Contents Filename Designates where the write data source file will be saved either bm or xls Write to Designates t
154. dSub statements Fu Project Form Code Private Sub Commandi Click Ead Sub 9 26 9 2 Examples of Simple DLL Function 17 Declare the area to store read data You should designate three or more area elements if the number of read data is three The number of area elements is from 0 to 2 in this example However the area type Integer in this example needs to be matched to the symbol data type to use Fu Project Form Code Private Sub Commandi Clicki Dim wbata Z As Integer 18 Designate the header area to store read data wData 0 and also designate 3 as the number of read data te Sub Commandl Click Dim wbata Z As Integer L t ResdDevicels GP2 _D00040_WORD wDarat0 3 Esa sub Private Sub Commandl Clicki Dim wbata Z As Integer L t ReadDevicelg GP2 _D00040_WORD wDarat0 j 3 List1 adarcem cStr wData 0 O List1 4ddItem CStr wDacali 1 List1 addItem CStr wbeta 2 2 File Edit Yiew Project Format Debug Run Query Diagram Tools Add Ins Window Help Je Ble als gd Start with Full Compile Ctrl Gener al I Break Chrl Break o End a Restart Shift Pa Botte Sarl Rani 9 27 9 2 Examples of Simple DLL Function 21 Click Command1 to display three data fo
155. data read device Reads from the device write device Writes to the device get node property Reads the node property first trigger on Enables the first trigger second trigger on Enables the second trigger backup data read Reads the backup data A 12 A 2 Error Messages Command String 2 Contents sync provide broadcast Provides the data Broadcast no response sync provide send each Provides the data Peer to Peer no response sync provide broadcast and wait for response Provides the data Broadcast with response sync provide send each and wait for response Provides the data Peer to Peer with response sync provide response Provide data response read device response Device read response write device response Device write response write device response retry Write to device Retry response get node property response Read node property response first trigger on response First trigger enable response second trigger on response Second trigger enable response backup data read response Read backup data response Command String 3 Contents register as sender Registers provide data command as sender provider register as receiver Registers provide data command as receiver Argumenti lt String gt lt Value gt
156. determined by selecting GP PRO PB III s project file prw To transfer provider data from a GP to the PC you must first register the PC as a network entry node The following description assumes that Pro Studio s main window is open 1 Select Register Node in the Edit E menu APS Pro Studio GR SE Register Provider Information Eel Peebles hafiemettian Delete Pewter Infemmatiorn Register Action Eek Aafia ebtz een S AF Gogh ToolsiT Programming Supporti Dataview D Configure S Ve HelplH DE Windows Personal Computer ITSUBISHI MELSEC Qna CPL indows Personal Computer Project ID UDP Port Number 7998 10 20 15 8000 Register new entry node You can right click on the network entry node and select Register Node from the shortcut menu that appears 3 1 Registering Network Entry Nodes 2 The Register Node window will appear Enter the necessary data for all the items and click OK Designate Gateway only when required Designate IP Address so that it does not overlap with any other addresses Node Name GP1 PLC Type OMRON SYSMAC C SERIES bk IP Address 192 168 1101 PC Node Data STF PLE Type Select Windows PC Subnet Mask 255 0 0 0 IP Address Enter the same address as used in your PC s Control Panel Gateway 10 230 230 2
157. e the symbol entry window appears Device Type Designate the device model to sample data Count Designate the number of sequential devices from the device to sample data You can designate up to 255 7 5 7 2 Device View 3 The Data Input window appears Conditions that you have designated so far are displayed in the window You can also click and edit each item If you have made a mistake click Back If you do not have other devices to sample data click OK Data Input Sampling device data is shown in a list When adding additional data sampling devices click the Add button 27 ltem name Node name Device name value 1 2030 GP2300L 2030 a 2 2031 GP2300L 2031 D a 2032 GP2300L 2032 a 4 2033 GP2300L 2033 D 5 2034 GP2300L 2034 a 6 2035 GP2300L 2035 D z 2036 GP2300L 2036 a 8 2037 GP2300L 2037 D g 2038 GP2300L 2038 D 10 2039 GP2300L 2039 D Append Delete Upper E OK Cancel Lower Be sure to connect to the GP system since the communication process will start with the designated GP system when you click OK Append Use this button to append the device to sample data The Data sampling source window appears so that you can designate the device to append Delete Use this button to delete lines Select l
158. e ProDB xls is available in Pro Server with Pro Studio Pro SDk When using ProDB xls DataBase mdb is in the same folder as the sample in the relational database 4 26 4 3 Action Item Contents 1 After selection the following setting window will appear Upload from the data base Version 4 00 OK Login name Cancel Fassword Hei Server name Driver name SQL Server HM Data base information It accesses a data base directliEXCEL Indirect accesses a data base 4CCE SS File designation Database Information Designate required informations to access database server Database Access Method Select whether write to the database at once Excel or write to the database after save Access File designation Designate a file location and a sheet table name If you check the Save To Folder location in the action parameter display and if the folder exists the contents exactly as you designated is displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documents Data Do you create new folder tee No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate th
159. e The operation procedure is equal to the procedure after Step 4 in 7 2 2 Setting the Data Sampling Condition or in 7 3 2 Setting the Data Sampling Condition Reference 7 2 2 Setting the Data Sampling Condition 7 3 2 Setting the Data Sampling Condi tion 7 60 7 5 System Time Bar 7 5 System Time Bar This section describes the operation procedure of System Time Bar 1 Select System time bar on Data View D of the menu bar 4 mtom Pro Studio File E Edit E Tock Programming Support P DatsviewD Configure S View HelpiH Device View GP Viewer Symboll tenn Type Address Data Type Open Data iew O Data Sampling Status G t Action List Option 2 System Time Bar appears Click Change Database to open the database file that you wish to display System Time Bar Ia Polling Start Ea Polling Stop hange Databasd 7 61 7 5 System Time Bar 3 The contents of the selected database is displayed in System Time Bar System Time Bar MIE Ea Saved Time ere 01 Bs Ty Sites EA 454 aanas O Polling Start ao BE Time Bar Polling Stop Close 20 30 40 50 O0 10 20 Now Play Display Switch
160. e click the Other button The Edit Color dialog appears so that you can select or create the color that you wish to use Font Select the font that you wish to use Click Font The Font dialog appears Designate each item such as the font to use the font style the font size and the type and then click OK Row height Designate the row height of the data display area The unit is point and it is defaulted to 3 points 7 21 7 2 Device View Setting the Display Contents Te 2 Click the Display Setting tab in the Option dialog Items on the Display Setting tab appear Designate each item and then click OK tegen E Line Setting Character Setting Display Setting Graph Setting Display Parameter E Ling count per page2 v item name IR vgl Node name ET dl Device name sl value w Data Type Item Status dl Error Code eI sl Data number Upper Limit l Alarm Upper Lirit Alarm Lower Limit Ok l Cancel Apply Parameters Select parameters that you wish to display in the data display area Check each item that you wish to display The following describes the overview of each item Item name Designated symbol name Node name Designated node name Device name Designated device name Value
161. e Data Type Value Data Type 1 Bit 7 Unsigned 32 Bit 2 Signed 16 Bit 8 HEX 32 Bit 3 Unsigned 16 Bit 9 BCD 32 Bit 4 HEX 16 Bit 10 Float 5 BCD 16 Bit 11 Double 6 Signed 32 Bit 12 String The Read WriteDevice function allows the data type to be changed dynamically because it is specified as a parameter 9 13 9 1 Simple DLL ProEasy DLL Function 9 1 4 Additional Functions Multi Thread Handle Acquisition HANDLE WINAPI CreateProServerHandle lt Return value gt Normal termination Other than 0 handle code Illegal termination 0 Multi Thread Handle Release INT WINAPI DeleteProServerHandle HANDLE hProServer lt Return value gt Normal termination 0 Illegal termination Error code Loading the Network Project File Single INT WINAPI EasyLoadNetworkProject LPCTSTR sDBName DWORD dwSetOrAdd TRUE Multi INT WINAPI EasyLoadNetworkProjectM HANDLE hProServer LPCTSTR sDBName DWORD dwSetOrAdd TRUE lt Function gt Pro Server is started under the network project designated by the argument lt Return value gt Normal termination 0 Illegal termination Error code lt Arguments gt sDBName Pointer to the path name and file name string of the network project file dwSetOrAdd Reserved Fixed to 1 9 14 9 1 Simple DLL ProEasy DLL Function Conversion of Error Codes to Strings BOOL WINAPI EasyLoadErrorMessage INT iErrorCode LPTSTR osErrorMessage lt Return valu
162. e Register Node feature to register the Host PC Preise Pro Studio Pe EdifE Tools T Programming Suppor ConfiguretS Viewty Help H GES Editing DebeHede Beg ior usbal Edit Symbol Delete Symbol Freaisten Posie Intonation Edi Provide iaman Delete Prei fanati Freaistendietion Ediegietion Delete gten H Ho P Symbolltem Type Address Data Typ Local D40 16 BilSi J windows fl D41 _WORD Local D41 16 Bits ITSUBISH windows Pe Register new entry node D Tut Ta To Register a Node refer to 3 1 Registering Network Entry Nodes 2 Designate the Host PC Node INDOWS_g6 PLC Type windows Personal Computer E 10 230 230 120 IP Address Sub Net Mask Gateway Project File PROWPE3 255 0 0 0 100 230 230 232 PC Node Data PLC Type Select Windows PC IP Address Inputthe same address of PC s Control Panel Sub Net Mask Unused Used the Control Panel s data Gateway Unused Used the Control Panel s data Browse IX e JE I OK Cancel Hep PLC Type Designate the Host PC PLC 3 20 3 Enter the settings for the PC s internal LS area 3 4 Using the DDE Function Provider Information Title
163. e Save To Folder location If you click Cancel the process is canceled 4 27 4 3 Action Item Contents 2 When clicking Details the following setting window will appear A setup of details Automatic establishment Oy Hode name O Time I A setup of a server Server connection time 0 Retry number of times E a Automatic establishment Select when provider s name and or data time are required to be written and enter the target field name s A setup of a server Enter the sequential communication time to database server and the number to retry 4 28 4 3 12 Download from Database 4 3 Action Hem Contents Reads data from the relational database specified by Microsoft Excel or Access and write into the specific device address es Using Excel the data will directly be written into the specified device address es while using Access data will once be written once as Access file and then be written into the specified device address es Example of Microsoft Excel Access Sheet Table respectively Data Base Table Device Field Type DBA table1 D100 field1 2 DBA table1 D101 field2 2 DBB table2 D102 field1 2 seq No F1 F2 F3 1 100 110 130 2 101 111 131 3 102 112 132 4 103 113 133 4 29 4 3 Action Item Contents 1 After selection the following setting
164. e gt Other than 0 Normal termination 0 Failed in string conversion Unused error codes etc lt Arguments gt iErrorCode Simple DLL error code osErrorMessage Pointer to the storage area for the converted string Secure storage area of 512 bytes or more Reference A 2 1 Pro Server with Pro Studio for Windows Error Messages 9 15 9 1 Simple DLL ProEasy DLL Function Reading SRAM Backup Data Single INT WINAPI EasyBackupDataRead LPCTSTR sSaveFileName LPCTSTR sNodeName INT BackupDataType INT SaveMode Multi INT WINAPI EasyBackupDataReadM HANDLE hProServer LPCTSTR sSaveFileName LPCTSTR sNodeName INT BackupDataType INT SaveMode lt Return value gt Normal termination 0 Illegal termination Error code lt Arguments gt sSaveFileName Pointer to the path name and file name string of the estination storage file sNodeName Pointer to the node name string BackupDataType Types of Readout Data No Type 0 Reserved 1 Filing Data 2 Logging data 3 Line data 4 Sampling data 5 Alarm block 1 6 Alarm history data Alarm block 2 7 Alarm log data Alarm block 3 8 or above Reserved SaveMode Saving Method No Mode Note If the file exists deletes the existing contents 0 Stores data as a new file And overwrites data 1 Appends data to an If the file does not exist creates a new existing file file
165. eDiy caw HES S_FILE GES Header Files static char THIS FILE _FIIE_ tendit A A Resource Files E ReadMetet OLLEL PELL EL LELAELELLELAELAEL LEED ELLEELLAALELITLLAAETETLEAEE TE ETLED LOPE LEE E CaboutDlg dialog used for App About class CAboutDlg public CDialog 7 public CAboutDlat ve Dialog Data MFE_DATA Cabout Dia enum IDD IDD_ABQUTBOX AFE_DATA 77 ClassWizerd generated virtual function overrides e AFE_VIRTUAL CAbout Dlg protected virtual void DoDateExchange CDateixchengex pDX DDE DDV support Y APE_VIRTUAL Implenentation protected 77 AFE_MSG CAboutD1g 72 SARE MSG DECLARE _MESSAGE_MAP CAboutD lg C boutDlg CDialog CahoutDlg IDD A 4 4 AFK_DATA_INIT CAboutD1g ARE_DATA_INIT Ln L Colt ECICOUlOWAIREAD 9 35 9 2 Examples of Simple DLL Function 8 Add include Pro SDK Public ProEasy h in the SampleDig cpp file to complete the read write function declaration SampleDlg cpp x Sample Microsoft Visual C je File Edt Yiew Insert Project Build Tools Window Help LIE sa Semlo cs Basel Dis C boutDlg gt Jf All class members kl C boutD lg kul Pa Fa E SampleDlg cpp implementati
166. ed Pro Studio Symbol Exported Importing the GLC Symbols In order for Pro Server to access GP symbols variables the GLC symbols registered in the GP PRO PBIII for Windows project file prw must be imported to a Network Project using Pro Studio 1 Select the target node from the Network Entry Node list 3 10 2 3 2 Registering Symbols Fiel Eat Tech Programming SupporP DataView D Configue S Viewty He Diel Maka APS Be Network Enty Node ABP Action List E WINDOWS_NT 210 160 181 172 Windows Personal Computer jew MELSEC_QNA 10 290 254 254 MITSUBISHI MELSEC Qnd CPU GE WINDOWS _95 10 230 230 119 Windows Personal Computer 2010 100 0101 MEMORY LINK e pe Help is F1 key NUM E Designate the project file to import in the Edit Node screen s Project File PRO PB3 window Node Name OLCI PLO Type MEMORY LINK SIO Type H Gateway 10 230 230 232 PC Node Data PLC Type Select Windows PC IP Address Enter the same address as used in your PC s Control Panel Sub Net Mask Unused Use the same data as in your PC Control Panel s data Project File E propp oPrOPEWinidatabase GLO2400 pwr ower String data mode Update ok J caei nare
167. elect Control in Category and then click OK Add Member Variable H Member variable name m_List Li Category Control bk Variable type CListEon F Description map to CListBos member 18 Make sure if the member variable has been added and then click OK MFC ClassWizard z Message Maps Member Variables Andbomation iI Actives Events il Class Info Project Class name Add Class Y ae ee besse ample KR SUE H Add Variable oc WENS amples S ampleDig h ch AWIC4S amplesSampleDlg cpp Control IDs Type Member Delete Variable Uveitis lua Description map to CListBox member Ce ee 19 Select Button and then paste it in the dialog Bidord 8 wo Button MPLE_DIALOG Dialog IS File Edt Yiew Insert Project Build Layout Tools window Help Ces eC ES eae ls sl IS Emele El DC BUTTON Elon rz Ha z t EI A EIS S Workapaca Sample 1 project E E Sample files DEM Source Fles 7 JI Sample opp D Samplere WEG ECH JI Std cpp ader Fles Resosrceh Sampleh SampleDigh Sample Button
168. emporarily The temporary filename will be Y M DGh M s xls After data were written Select when printing is required after data write Timing can be set to every time or every sheet If you selected every time printing is executed every time data are written If you selected every sheet printing is executed after data are written to all the designated cell range 4 6 4 3 Action Item Contents 2 Clicking the previous Excel Setting screen s upper right corner Next button calls up the following screen Le elect a Data Write Pattern Return Z Ul O O O GI Use all cells CO Use designated range Use Excel A 165536 sheet GI Call up Excel display No Excel display Time stamp is used Time stamp is not used Select a Data Write Pattern Write Data Range Designate the sheet s data write pattern and the write data s cell range If you click Use Excel sheet you can designate the rage in the Excel environment When the designated write data cell range is filled with write data the new sheet is automatically created and the write data process is continuously executed on the newly created sheet Call up Excel display When Call up Excel display is checked as soon as the designated trigger conditions are met Excel will automatically
169. ems Key Field ww Data Field Message Display Field mdb Filename Ex Alarm mdb 4 8 4 3 Action Item Contents Table Ex Temp Alarm_TBL Key Field Ex Key Code WAV Data Field Ex Wav Message Display Field Ex DISP1 DISP Log Data Save Table If you check the Save To Folder location in the action parameter display and if the folder exists the contents will display exactly as you designated If the folder does not exist the following window appears Book Location Folder does not exist CAMy Documents Data Do you create new folder Yes No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled Number of Log Data Items Enter the number of items to be logged When the number of items exceeds this value the oldest item is deleted 4 9 4 3 4 Upload of GP Log Data 4 3 Action Item Contents Back up data can be read online from the provider s SRAM or CF Card by designating the read source If XLS format is selected for the save format Microsoft Excel must be installed 1 The following screen will appear Setting Parameters
170. er DataviewlD Configures Ve Hee Check Provider Information Search Active Node Save SRAM Backup Data Transfer Network Project Import Symbol D EN Export Symbol aa WN Import GLC Symbol La Action Lf Status Monitor Dente Hantar Remote Logon Remote Logoff Device Backup Devi e Save GP Capture Data Data Read Performance Measurement Symbolllter Type Address Data Type Polling Tir D WORD Local D40 16 Bit Signed 1000 DA_WORD Local DA TE Bit Signed 1000 Restore file data to device NUM EI 2 The Device Restore window appears After selecting all items click Restore File Name C Program FilesiPro facelPro si W Node Name MELSEC_ONA H Device Address D40 WORD Restore Number Restore Cancel Help File Name Enter the file name All buttons except for the cancel button will stay dimmed until you designate the correct file Node Name Select the node name from the selection box If unselected the error dialog will appear Device Address Enter the device address to start the restoration When you enter the file name the header address saved in the file is entered If not entered or entered incorrectly the error dialog will appear 3 34 3 7 Device Data Backup and Restoration Restore Number Enter the number of r
171. estoration data The minimum value is 1 and the maximum value depends on collected data files When you enter the file name the number of data saved in the file is displayed 3 The restoration processing status is displayed in the now dialog File data is now being restored to the device 4 When the restoration process has been completed successfully the following window ap pears Click OK to exit the process Pro Studio 37 Save Complete 3 35 3 8 GP Capture Data Saving Function Pro Server allows you to read the on line GP capturing data on your network This screen capturing is 3 8 GP Screen Interactive Capturing Function realized by two different ways the way to execute it using the action item function or the interactive way This section describes the interactive capturing procedure For the procedure using the action item function refer to Chapter 4 Action Items Reference Chapter 4 Action Items 1 series e Prior to performing this function with the CF Card inserted into the GP e You can use this function only on GP 2000 series GLC2000 series IT because the read data is temporarily saved in the CF Card Click Save GP Capture Data on the Tools T menu of the Menu Bar SAPS Pro Studio UI Pie Edit E Tools T Programming Support Dataview ConfigurelS View Hei Check Provider Information Search Active
172. eter enter the data and click the appropriate check box Node name The Provider node name is automatically added as startup options Write data Provider data write data is automatically added as startup options If there are multiple Provider data lt single byte space gt lt Provider data gt is added in turn Example lt starting options gt lt single byte space gt lt Provider data gt lt single byte space gt lt Provider data gt Current Folder Designate the current folder of Application Name 4 4 4 3 2 4 3 Action Item Contents Write Data to Excel Book 1 The following screen will appear Pitigissytins O Ping ona cxempthe sso Book Location If you check the Save To Folder location in the action parameter display and if the folder exists the contents exactly as you designated is displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documents Data Do you create new folder tes No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled Book Name
173. ethod Wo maximum size Co ce Data sampling in specified seconds Designate the device data capturing interval in second This is defaulted to 1 second Sampling using cache Check this box to use the cache to sample device data 7 2 Device View When You Selected Periodic Sampling in Sampling method The following settings are available You should create the periodical sampling schedule using the Append the Delete and the Edit buttons in the Condition field ampling method DOi r Sampling method Regular Sampling amp Periodic Sampling ON Sampling data after change in device Sampling data when distributed p Condition Amend Delete Edit H p Polling data file Change CiMy Documents i20 DA Saving Method Ho maximum size a Le Delete After selecting unnecessary schedules click Delete to delete selected schedules Append Click this button to create the new sampling schedule If you click the Append button the Designate the data sampling date dialog appears Designate each item in the Designate the data sampling date dialog and then click Next i Designate the data sampling date Designate the data sampling date
174. f PLC con nection and number of other currently open Windows applications Enter ing O will allow the system to operate at its maximum speed Please use this value as a benchmark when entering other values to fine tune your system If you try to monitor an inexistent device the communication error mes sage will appear on the GP screen 6 3 6 2 GP Status Monitoring Here you can monitor the status of any GP connected to the network 1 2 Click the node you wish to monitor 6 2 GP Status Monitoring SAPS Pro Studio Pie Eat Toast Programming SupportlE Dataview Configurel Viewty Help H UE Eia H ek el a APS BE Network Ent Node bedi Provider Information Lot Action List E WINDOWS_NT 210 160 181 172 Windows Personal Computer 54 MITSUBISHI M I ZE Dr i j Windows Personal Computer Symbolfltemn DAD WORD D i WORD Type Local Local Address Data Type Polling Ti D40 16 Bit Signed 1000 DA 16 Bit Signed 1000 Help is F1 key You can right click the symbol to select Status Monitor from the shortcut menu Click Status Monitor in the Tools T menu SA PS Pro Studio Det EdE Deckt Ol Programming Supegf DatView D Configure S Wee Det LE Check Provider Information Search A
175. f the read function SampleDlg cpp DE 74 Draw the icon do Drawicon x y m_hIcon H CDialog OnPaint i vf the mininized window CURSOR CSanpleDlg nueryDragIcont ag HCURSOR m_hIcon CSampleDlg OnButton1 t WORD wDatal3 ReadDewicel6 GP2 _D00040__ WORD wData F y rect Height cylcon 1 7 2 ve The systen calls this to obtain the cursor to display while the user drags 3 RE 28 Convert read data to CString type characters once to display three read data wData 0 wData 1 wData 2 in the ListBox SampleDlg cpp DE CDialog OnPaint 7t the nininized window HCURSOR CSampleDlg OnQueryDragIcont 3 d HCURSOR n_hIcon H CSampleDlg OnButton1 WORD wDatel3l ReadDewicel GP2 _DO0040_ WORD whata CString str 3 za str 0 Formati sd wData 0 stx 1 Format d wData 1 str 2 Format d wData 2 e The system calls this to obtain the cursor to display while the user drags 3 ES d 9 43 9 2 Examples of Simple DLL Function 29 Set three data read wData 0 wData 1 wData 2 in the ListBox one after another SampleDIg cp v7 The systen calls this to obtain the cursor to display while the user drags vf the ninimiged window CURSOR CSampleDlg OnQueryDragIcon t CHCURSOR m_hIcon
176. ffers from the previous No 9744 2610h_ SRAM backup data read error The requested data amount is 0 or differs from the previous amount 9745 2611h Reserved 9749 2615h 9750 2616h CF command error 9751 2617h CF Access error 9752 2618h No CF card unit 9753 2619h Reserved 9779 2633h 9780 2634h__ Transmission error occurred with PLC during data write Code 02x 04x 9781 2635h_ The designated SRAM backup data is not in the GP 9782 2636h_ The GP s SRAM backup data is incorrect Code 04x 9783 2637h i Reserved 9789 263Dh 9790 263Eh No remote access right not connected remotely For information about 2580h 25A8h 25A9h refer to 2 Way Driver Error Messages and Syslog Features A 9 A 2 Error Messages A 2 2 2 Way Driver Error Messages and Syslog Features Error Display The ECOM task displays the following error information on the lower left of the screen System Errors Screen Display Meaning SYSTEM ERROR System call error 2Way ERROR 2 Way Driver error A system error is a fatal error 2 Way Errors A 2 Way error is an error that has occurred due to the 2 Way Driver When a 2 Way error occurs the 2 Way Transfer Error Code is saved to the GP unit s LS2075 address Syntax 2Way ERROR lt Cause No gt lt Error No 1 gt lt Error No 2 gt lt Error No 3 gt Reason Error Error No 2Way
177. g You should create the periodical sampling schedule using the Append the Delete and the Edit buttons in the Condition field ampling method OI Samopling method Regular Sampling Periodic Sampling Sampling data after change in device OH Sampling data when distributed Condition Append Delete Edit Polling data file Change Ch Documents 20 08 Sawing Method Mo maximum size Delete After selecting unnecessary schedules click Delete to delete selected schedules Append Edit Click these buttons to append or to edit the sampling schedule If you click either the Append button or the Edit button after you selected the schedule that you wish to edit the Designate the data sampling date dialog appears Designate each item in the Designate the data sampling date dialog and then click Next i Designate the data sampling date Designate the data sampling date Date Gi Week D nn Otten C Tv Ged CO th Gl ei O Sat G Segel nekai Holi Month 2 en O te endafmantiu i Se Date Designate the date to sample device data Device data are sampled on the day designated here 7 34
178. hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName LPTSTR psData WORD wCount INT WINAPI WriteDeviceSttM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName LPCTSTR psData WORD wCount INT WINAPI WriteDeviceSttDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName LPCTSTR psData WORD wCount General use data INT WINAPI ReadDeviceDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVOIDpData WORD wCount WORD wAppKind INT WINAPI WriteDeviceM HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVOID pData WORD wCount WORD wAppKind INT WINAPI WriteDeviceDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName LPVOID pData WORD wCount WORD wAppKind General use data for VB 9 8 9 1 Simple DLL ProEasy DLL Function INT WINAPI ReadDevice VariantDM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName LPVARIANT pData WORD wCount WORD wAppKind INT WINAPI WriteDevice VariantM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName LPVARIANT pData WORD wCount WORD wAppKind INT WINAPI WriteDevice VariantDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName LPVARIANT pData WORD wCount WORD wAppKind 9 9 9 1 Simple DLL ProEasy DLL Function 9 1 3 Cache Read Function If a device has been once read using the cache read function Pro Server will subsequently perform automatic polling and save device data in the cache memory within Pro
179. he folder exists the contents you designated are displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documernts Data Do you create new folder tes No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled Save Filename Designate the save filename Default value is 7Y M D h M s The Reset button will make your entry back to the default value Zero Suppress If you check this option no zeros are supplied to the file name even though the file name includes any of 7M D h M s month day hour minute second If you do not check this option 0 zero is supplied to the file name if the file name includes any of M D h M s month day hour minute second and that number is one digit The default is checked 4 18 4 3 8 Automatic Download of Access Data After the following table data has been created with Microsoft Access the table data designated by the 4 3 Action Item Contents Action Item settings is used to compare the Provider data and a Key_Code and then write the designated device data into the table KEY Master Table TBL database Key_Code mdb
180. he shortcut menu appears click Exit b Action Execute Start Pro Studio Au au Log Viewer About Pro Server Login e Exiting Pro Server automatically exits Pro Studio e If an application uses Pro Server as a DDE client an alarm message will appear before you exit this software e An alarm message dialog will appear when you try to exit Pro Server while it is collecting data Exit Pro Server Pro Server is now saving data To quit Pro Server use one of the following two methods Auto Polling Start This method quits Pro Server Then the next time Pro Server is started This method quits all data saving and then quits Pro Server Quit Data saving is not automatically restarted Cancel 2 3 Screen Item Names and Functions 2 3 Screen Item Names and Functions The names and functions of Pro Studio s main screen items are as follows Title Bar SAPS Pro Studio Co Menu Bar re FOE Tools Programming Support P Dataview Configure S View He tel esis 2 Tool Bar Project ID UDP Port Number CDI Network Enty Node 1938 10720 15 8000 E WINDOWS_NT 210 160 181 172 Windows Personal Computer Wa MELSEC_GNA 10 230 254 254 MITSUBISHI MELSEC Dr it EU fe WINDOWS_95 10 230 230 119 windows Personal Computer 8 Provider Information So Acti
181. he write data s destination 4 14 4 3 Action Item Contents 4 3 6 Automatic Upload of GP Filing Data This action item will automatically upload filing data from a Provider s SRAM area CF Card or internal FROM memory area When data is being read from a GP s internal memory FROM the GP will switch to OFFLINE mode until the data transfer is completed After the transfer is completed the GP will be reset 1 The following screen will appear Setting Parameters Version 4 00 Read fron GI Read filing data from GP Backup SRAM CO Read filing data from CF Card CO Read filing data from GP FEPROM Save Folder Cancel Sic HM SE He E Program Files E Proface E Pro Server with Studio ZS NPJDataBase Save Name File s Save format cash DI Excel file s Zero Supress E Binary file bin Read from Designates the read data source file SRAM CF Card or internal FROM 4 15 4 3 Action Item Contents Save Folder If you check the Save To Folder location in the action parameter display and if the folder exists the contents will appear exactly as you designated If the folder does not exist the following window appears Book Location Folder does not exist C My Documents Data Do you create new folder tes No Cancel Click Yes to create the folde
182. her or not to save the new settings Clicking Yes saves the settings by overwriting the existing contents and then exits Pro Studio Clicking No exits Pro Studio without saving the changes e Exiting Pro Server automatically closes Pro Studio To be sure to terminate all communication be sure to exit Pro Server 2 9 2 2 Starting and Exiting the Software 2 2 3 Starting and Exiting Pro Server The following explanation assumes that the Windows desktop is already displayed Starting Pro Server 1 Click the Start button and when the Start menu appears point to Programs Pro face and Pro Server with Studio and then click Pro Server Z windows Update fem Programs DH accessories EB Online Services Io ocuments r R Pro Studio X 2 Intemet Explorer PIB MS DOS Prompt e Outlook Express EQ Windows Explorer Im a Ed k 5 Log Of Administrator Z Windows9S a E 3 2 While Pro Server is running the Pro Server icon appears on the right side of the task tray Starting Pro Studio automatically starts Pro Server 2 10 2 2 Starting and Exiting the Software Exiting Pro Server 1 To exit Pro Server right click on the Pro Server icon on the right side of the task tray SetionEvecute k Start Pro Studio 2 ay Log Viewer About Pro Server Login 2 When t
183. hronize with a screen on the GP system GP Synchronous Screens cannot be switched on GP Viewer Switching a screen on the GP system synchronizes with a screen on GP Viewer This is the default setting Full Synchronous Screens can be switched on GP Viewer Switching a screen on GP Viewer synchronizes with a screen on the GP system and vice versa Screen No This feature allows you to change the displayed screen of GP Viewer according to screen numbers pre defined on the GP system If you click Previous the previous screen from the currently displayed screen is displayed and the value in the Screen No field is deceased by one If you click Next the next screen from the currently displayed screen is displayed and the value in the Screen No field is increased by one If you enter the screen number that you wish to display in the Screen No field and click Set the corresponding screen to the number entered is displayed e The screen switching feature of GP Viewer is effective only when the synchronous mode is either Asynchronous or Full Synchronous e You cannot normally switch screens by GP Viewer from upper level PCs You should set the bit 4 of GP s LS2076 to ON 1 to switch screens in the Full Synchronous mode from upper level PCs Refresh Screen Data If you changed the GP screen contents click Refresh Screen Data GP Viewer re captures the setup
184. icit Prokasy TXT Pro Server API Declarations for Visi 1998 2001 Digital Electron Complying with Fro Sery Complying with the The version of the Pro Complying with Group It The version of the Pro SRAM backup date orite It is changed from the The version of the Pro Gp_Web Version 1 0 3 23 VBA Write Function 7 Click the desired symbol name 3 5 Using the VBA VC Support Function QA PS Pro Studio Pie Edit E Tools L Programming Support 2 Dataview D Configue S Wen Hein e APS F Network Entry Node Eg Provider Information t Action List E WINDOWS_NT 210 160 181 172 Windows Personal Computer Dr MELSEC_ONA 10 230 254 254 MITSUBISHI MELSEC QnA CPU E WINDOWS_95 10 230 230 119 Windows Personal Computer Symball tem H Help is F1 key 8 Select Programming Support P s VBA Write function from the Menu Bar Local D40 Te BiSiqned 1000 Local D 16 BifSigned 1000 7 NUM F 9 Write Command is now copied to the Clipboard A
185. ided in the accompanying data files i e Readme txt files etc and or separate documents Please consult these sources as well as this manual prior to use 5 Even though the information contained in and displayed by this product may be related to intangible or intellectual properties of the Digital Electronics Corporation or third parties the Digital Electronics Corporation shall not warrant or grant the use of said properties to any users and or other third parties Copyright 2001 Digital Electronics Corporation All rights reserved For the rights to trademarks and trade names see TRADEMARK RIGHTS TRADEMARK RIGHTS The company names and product names used in this manual are the trade names trademarks including registered trademarks and service marks of their respective companies This product omits individual descriptions of each of these rights Trademark Tradename Right Holder Microsoft MS DOS Windows Windows 95 Windows Microsoft U S 98 Windows 98 SE Windows Me Windows NT Windows 2000 Windows Explorer ActiveX Intel Pentium MMX Intel U S Ethernet Xerox U S IBM VGA PC AT OS 2 IBM U S FIX32 FIX MMI FIX FA ifix Intellution U S The following terms used in this manual differ from the above mentioned formal trade names and trademarks Term used in this manual Formal Trade Name or Trademark Windows 95 Microsoft
186. igned 1000 On GP2 10 1009 WC Write functions INE D00042 WORD Local DOGO 16 Bi Signed 1000 i a Provider Informatics S L t Action List DDE Shing Copy H H The read command sentence for isual C by the data type is copied to a clip board i NUMI F 22 The read function will be copied into the Clipboard Message ReadDevicel6C GP2 _DOO04O WORD Entervalue Receive butter here 1 This String Was copied to the clip board Please paste and use in your application 9 41 9 2 Examples of Simple DLL Function 23 Double click Button1 pasted to Dialog of the Microsoft Visual C menu 24 Click OK 25 Paste the contents of the Clipboard read function into the OnButton1 member function u Sample Microsoft Visual C Sample rc IDD_SAMPLE_DIALOG Dialog File Edt View Insert Project Build Layout Tools Window Help CIS ei lsud el2 PS SIE EES EilcC ema Ell oe Els B ERT AN Samplers Seck el JI Con opp B 63 Header Files E Resource Sample h SampleDlg h i EI Stitch DEN Resource Files i EI Sample ico E Sample rc2 E ReadMe tat HI dr CET Sample E Workspace Sample 1 project m Reg ES Sample files ELE Source Files iE Sampleopp e eal 2 o 4 so
187. ile F menu Untitled Pro Studio Se r ll Edi TookiT Programming Suppon P DataWiewlD Configure View Helat Open Dt Save S Dip Save sc PHE CiP A mtom Project ID UDP Port Number 2001 11 02 13 8000 Exit Pro Studio X Create new Network Project File i INUM EI 2 6 2 2 Starting and Exiting the Software Opening Saving a Network Project File The following procedures explain how to open close and save a network project file Before you proceed open the Pro Studio main window Opening a Network Project File 1 Inthe program s main window click Open O in the File F menu 3 Unttled Dro Studie ale Diet Edit E Tools T Programming Suppon F Dataview D ConfigurelS View Hein Project ID UDP Port Number 2001 1170213 8000 Save asia Piece Cale Artem Exit Pro Studio Open Network Project File in NUM 2 Select the file you wish to open and click Open 0 Files of type Network Project Plet op z RRE 3 The file opens 2 Saving a Network Project File 2 2 Starting and Exiting the Software 1 Inthe program s main wi
188. ines to delete and then click Delete Upper Lower Use these buttons to change the order of lines Select the line that you wish to change the order and then click either Upper or Lower 4 The selected device data is displayed on Device View File E Option DataEdit Sampling en m ltem name Node name Device name Valu 2030 GP2300L 2030 a 2031 GP2300L 2031 a 2032 GP2300L 2032 16 2033 GP2300L 2033 DU 2034 GP2300L 2034 DU 2035 GP2300L 2035 g4 2036 GP2300L 2036 o 2037 GP2300L 2037 0 2038 GP2300L 2038 ES 2039 GP2300L 2039 D 7 2 Device View The contents here displayed on Device View are device data at the moment when you click OK in the step 3 This data is not updated 7 2 2 7 2 Device View Setting the Data Sampling Condition This feature allows you to setup the data sampling condition from the sampling target device This section describes operations after you selected the sampling target device 1 Click Sampling of Device View File E Option DataEdit Sampling Ce ltem name Node name Device name Valu 2030 GP2300L 2030 o 2031 GP2300L 2031 a 2032 GP2300L 2032 16 2033 GP2300L 2033 a 2034 GP2300L 2034 a 2035 GP2300L 2035 gg 2036 GP2300L 2036 o 2037 GP2300L 2037 o 2038 GP2300L 2038 Ag 2039 GP2300L 2039 o
189. ion Li Start monitoring of this symbal s device HOM Ei You can right click the symbol to select Device Monitor from the shortcut menu 6 2 6 1 Device Monitoring 3 To change the polling time and the number of displayed decimal places click Polling Time 4 t Device Monitor Signed 2 Unsigned CHEX O BCD MELSEC QNA D40 WORD 00 01 D00040 Ser ZEEE D00042 HH ZEEE D00044 Ser ZEEE D00046 HH ZEEE D00048 ZEEE ZEE D00050 HH TEHE D00052 Ser ZEEE D00054 HH TEHE D00056 ZEEE ZEEE fj Polling Time Exit Help H Error Response Time Out 9506 You can type in the IP address or device address directly Reference On line Help Enter the desired polling time number of decimal places displayed and then click OK Polling Time Polling Timers Integer places Decimal places CC Ly a Up to 15 values can be entered total of both integer and decimal place values For details of each item refer to On line Help Reference On line Help The polling time set for collecting or writing data for each symbol distrib uting data and monitoring devices may not be able to be performed under certain conditions These conditions include the currently registered num ber of GPs number of Tags used on each screen sent type o
190. ion used You can only copy data in the data display area of GP Viewer into the clipboard You cannot copy data such as a title Exit 1 Click Exit X on the File F menu Exits GP Viewer 7 49 Options This is selected on Data View D of the menu bar 1 Select Option on Data View D of the menu bar 7 3 GP Viewer 4 mtom Pro Studio File E Edit E Tools Programming Support P Dataview D Configure S View Help meee GP 2300L 10 10 e Data Sampling Stat Provider Information aie paring ane Gr Action List System time bar Option SE Gs f Symbolter Type Adcress Data Type B Network Entr Node Open DataView O 2 The DataView Option dialog appears You can select Show Hide of the setup menu and the save button If you uncheck Display menu the Option the Data Edit and the Sampling menus are hidden on GP Viewer If you uncheck Display button eil gp JUL IT buttons are hidden on GP Viewer DataView Option Kl Display menu Device View AmE at Fief Option Dato E Samping wer oe Jr oO e Mij Display button tem name Node name Device name 7 Lanon GP LSC Lem or L tz 6P L50003 LE Cancel 7 50 7 3 GP Viewer Supported Drawing Commands A
191. ired action item s so that a Consumer only a Windows computer that has received provider information will perform them To use an action item first use the Setup Menu to register it A registered action item can then be used by designating the action s name instead of a symbol name in the Provider Information dialog box 4 2 4 2 Action Item Registration 4 2 Action Item Registration The following procedure explains how to register an action item 1 Select the Edit E menu s Register Action selection BRA PS Pro Studio i es File E Edit E reckt Programming Support P DataView D Configure S View Des Reaister Node al Edad Deke ids M af Pater Samba 1998 10 20 15 8000 i az J Windows Personal Computer D ITSUBISHI MELSEC Qn4 CPL indows Personal Computer Edl Provider Intonation j Register Provider Information a oo e e Delis Piarden lhfemation R Register new action data ia NUM EI 2 The Edit Action dialog box will appear Select the desired action item from the pull down menu and designate the action name Edit Action To register an action please select the desired contents SG Note An Action is an operation which specifies the sending and receiving of data or the timing of a device s Readirite
192. ish Electric 1 Click Import Symbol in the Tools T menu SA PS Pro Studio FREI Edt Tools T Programming Support Dataview Configure S Viewl Help H RE Fa APS G Network B wit Ox MEL B wit S Provider BP Action Li Check Provider Information Search Active Node Save SRAM Backup Data Transfer Network Project Export Symbol Import GLC Symbol Status Monitor Remote Logon Remote Logott Device Backup Device Restore Save GP Capture Data Data Read Performance Measurement Import symbol s from GP PRO PB3 or from Pro Studio exported file EN Symbollitem Die Addes Date Type Polmg Tr D40_WORD Local D40 16 BifSigaed 1000 bai WORD Local D4 16 Bue 1000 q E E HOM E You can also right click the registered network node and click Import Symbol on the shortcut menu 2 The following dialog box will appear Select the file type to be imported Then click a desired file and then the Open button Open Look in E NFJDataB ase z File name Files of type Ewa Symbol file 20 S Cancel p 3 The following dialog box will appear and the designated symbol will be imported 3 2 2 3 2 Registering Symbols Pro 5 tudio Eror 0
193. itten to the GP or PLC symbol s device Microsoft Excel Book 34 Eile Edit View Insert Format Tool DS amp la y i SE Arial Flic Ell B The Device Monitor feature allows you to easily check that the data has been written successfully Reference gt Chapter 5 Monitoring Device Monitor x MELSEC QNA D WORD Bi Signed O Unsigned O HEE BCD GPTIVALW Mu WI z DMOTOO 110 111 H DMUIO3 113 114 DMOI06 lf 116 117 DM 1418 119 120 DMOM2 1 1 122 123 DMO115 126 EI 100 has been written to the device 3 28 3 6 Saving Backup Data in SRAM 3 6 Saving Backup Data in SRAM Pro Studio allows you to upload backup data stored in a GP s SRAM to the host PC as a comma delimited CSV Comma Separated Value file You can open CSV files using Excel Access or any application that supports the CSV file editing format There are eight types of backup data you can upload or save 1 Click Save SRAM Backup Data on the Tools T menu A PS Pro Studio ai less EE Edit Tools T Programming Support Dataview D Configwe S Viewty _HelplH Check Provider Information E Search Active Node Jata Transfer Network Project Import Symbol Export Symbol S WN Import GLC Symbol LE Action L Status Monitor Deria bilanliar Remote Logon Remote Logoff Device Backup Device Restore Save GP Capture Data Data Read Perfor
194. k One time only If you wish to repeat device data sampling designate the sampling condition You should designate the sampling interval and the number of sampling Edit Click this button to change the contents of the selected schedule 7 2 Device View When You Selected Sampling data after change in device in Sampling method The contents of the Condition field are as the following You should designate Sampling Condi tion Interval Condition and Data sampling from start to finish of data reception in the Condi tion field Sampling method Bis oampling method O Regular Sampling Periodic Sampling Sampling data after change in device Sampling data when distributed Condition Sampling Condition Node Name Device Data Type Condition Fl i Ell Upper Edge S interval Condition Interval 1 msec Sampling using cache Data sampling fram startta finish of data reception Before oF sec After oF sec Interval sec Polling data file Change ClMy Docurnents 20 08 Saving Method Ho maximum size Sampling Condition Designate the timing to sample device data You should designate the node name that you wish to perform
195. l a zzzzz com Device B Failure Oil pressure of device B is abnormal b zzzzz com W W o nMm mMs mM Device B Failure Device B stopped due to a failure kanri zzzzz com e You can register at maximum 5 messages with the same Key_Code e If it fails in sending an error message will appear in the log viewer 4 24 4 3 Action Item Contents 1 After selection the following setting window will appear Login information SMTP server name SMTP port number User name Pass word Mail address Send Mail address Message type DI Title name D I Ce Ce D I LC D I Setting Mail Information Version 4 00 Table information O Thie r Ea Program Files A Protace E Pro Server with Studio SIE 4 Mail server settings Specify the mail server to send Mail address Enter the sender s mail address Send Mail address Enter a receiver s mail address Message type Fok Cancel Set when sending a fixed message attached Table information Excel file name Sheet name m EES Designate when Microsoft Excel message sheet is used to send If provider s data matches Key_code title and message in the specific line will be sent If you check the Save To Folder location in the action paramete
196. l be ignored if the device specified by the symbol does not 3 6 3 2 Registering Symbols exist in the registered network nodes Polling Time The data here shows an example of data being read out via the DDE feature Under certain conditions the polling time used for collecting or writing data for each symbol distributing data and monitoring devices may not be performed These conditions include the number of currently registered GPs number of Tags used on each screen sent type of PLC connection and number of other currently open Windows applications Entering 0 will allow the system to operate at maximum speed Use this value as a benchmark when entering other values to fine tune your system 3 When all settings are selected the detailed settings appear in the right side window If you wish to change a symbol s data after it has been registered simply right click the symbol name right window to bring up a list of selections From these click on either the Edit Symbol or Delete 3 7 3 2 Registering Symbols Symbol selections or from the menu bar click on the Edit E menu s Edit Symbol or Delete Symbol items 3 2 1 Importing Symbols This section describes how to import symbols The usable symbol data include symbols imported from GP PRO PBIII lbe symbols exported from other network project file 2ws and comment data csv from GPP function software for Windows Mitsub
197. ld shows from the left the saving start time the time for currently displayed data and the last saved time When the current status is displayed the time for currently displayed data is identical to the last saved time Time Bar Saved data can be displayed by sliding the time bar control to either side The data saving process continues even while you operate the control Time Setup You can designate the time unit for one graduation of the time bar Now Play Display Switch Now and Play buttons are available You can playback the saved data from the designated time either by sliding the time bar control to the time that you wish to start the playback or by clicking the Play button after clicking the time for currently displayed data the center field of Saved Time and then entering the time to start the playback 7 46 7 3 6 Other Features This section describes the File menu and options of GP Viewer 7 3 GP Viewer 1 If you click File E of GP Viewer 8 options are available The following describes the overview of each option GP Viewer Del Option Data Edit Sampling fe ES Data Export Save S Save as Al Print Page setupiP Previews Copy to Clipboard Exit 2001711702 1113 42 20014 102 11 23 27 Em 23 24 25 Exporting Data 1 Select Data Export on the File F menu 2 The Export dialog appears
198. le type and then click OK Repeat step 36 and 37 for other two EditBox s However you should designate their member variables as m_Edit2 and m_Edit3 respectively Add Member Variable Member variable name Value Category F Maa short le type Desen 38 Click OK ption short with range validation MFC ClassWizard Message Maps tember Variables Automation Active Events Class Info Project ae EI Loge F Class name Control Ds G A WC45 amples S ampleDlg h C 4 4 chSamplesSampleDig cpp Type Member m Edis Add Class DI Add Variable Delete Variable Un L alyrnng Description Magimum Wah Minimum Value short with range validation Ve 9 47 39 Select Button and paste it to Dialog 9 2 Examples of Simple DLL Function ae all Ki CSampleDlg loc euT JEJ EN oeren FIA B E Sample files D Source Files j E Sample cpp DI Sample re GG 7 Zack zc Buttont zeng WI Header Files Gr Breuer ft E FeadMetet T SD me Cias GI
199. ling condition click the Jeun button The data Sample amp Save is executed according to the data sampling condition and the contents are displayed on Device View The display contents are updated according to the data change When you start the device data sampling various buttons for viewing sampled data are appended on Device View Refer to 7 2 5 Playback Feature for the viewing method of sampled device data Reference 7 2 5 Playback Feature File E Option DataEdit Sampling ltem name Node name Device name Valu 2030 GP2300L 2030 o 2031 GP2300L 2031 a 2032 GP2300L 2032 16 2033 GP2300L 2033 o 2034 GP2300L 2034 a 2036 GP2300L 2036 10 2036 GP2300L 2036 10 2037 GP2300L 2037 a 2038 GP2300L 2038 72 2039 GP2300L 2039 a 200102 Uhu ap E 2001711702 13 10 23 ite 13 1316 BE II 14 16 zec 7 2 Device View 7 2 3 Editing Sampled Data This feature allows you to edit saved device data 1 Click Data Edit of Device View File E Option DataEdit Sampling ltem name Node name Device name Valu 2030 GP2300L 2030 DU 2031 GP2300L 2031 DU 2032 GP2300L 2032 16 2033 GP2300L 2033 a 2034 GP2300L 2034 a 2035 GP2300L 2035 105 2036 GP2300L 2036 10 2037 GP2300L 2037 a 2038 GP2300L 2038 en 2039 GP2300L 2039 DU
200. mal information text format BRE HDR occ Saved data binary format When using Data View the database accessed even if it is only temporarily will be registered as a network project If during data polling the system should go down once the system is restored simply restarting Pro Server will automatically restarts the data polling Polling data is saved in a file using the same file extension as a Network Project file NPJ_DBs When Pro Server is started the Network Project s registered databases are read As a result if a large number of databases are registered Pro Server s startup will be slowed and can result in the use of a large amount of system resources As a result please be sure to delete any temporary databases that are no longer used from the Network Project s registry To do this open Pro Studio s DataView D menu s Data Sampling Status dialog box Click on the unneeded database names and press your PC keyboard s Delete key Even though this deletes the database from the Network Project the database itself is not deleted If needed the database file can reopened by simply re registering it in the Network Project 7 3 7 2 Device View 7 2 Device View Device View allows you to sample data from devices connected to Ethernet to monitor the status or to playback saved device data on Device View You can also view non sequential devices or devices of multiple entry nodes at one time 7 2 1 Setting Sa
201. mance Measurement Stellen Type Adcess iss Type Poling Ti _b4l_WORD Local D40 16 BilSigned 1000 ID41 WORD Loca D i 16 Bil Signed 1000 Save SRAM backup data of this node as csv file 2 The Save SRAM Backup Data window appears After selecting the network entry node the data you wish to save and the file in which the data is saved click Save Save SRAM Backup Data p Data Logging Data O Trend Data Sampling Data Alarm Log Data Alarm History Data Alarm Block Alarm Black 2 Alarm Block 3 rau File Name Rewrite O Append Browse Save Cancel Heiptth For detailed information about each data refer to GP PRO PBIII for Windows Tag Reference Manual Reference GP PRO PBIII for Windows Tag Reference Manual 3 29 3 6 Saving Backup Data in SRAM 3 The time elapsed for saving is shown pata amp Lagaing Bata Tend Gaia Sampling Data Sa Lag Batar Alar History Baza O gun Bete Alam Boe 2 Alam Biek 3 pene Filey Naine O Sege CAProgram Files Pro facelPro Server with St O Append Browse
202. mong GP PRO PBIII drawing commands the following commands are supported by GP Viewer Only the following drawing features are function properly e line poly line command e rectangle command e circle ellipse command e arc sector command e polygon fill command e ruler command text string command e mark call up command Among these drawing commands there are some functions not available with GP Viewer Functions available and not available with GP Viewer are listed below for each drawing command The display may differ between GP and GP Viewer even if drawing commands are supported Line Poly line Command specifying a display color Yes blinking a display color Yes specifying a background color No blinking a background color No drawing an arrow Yes drawing a solid line Yes drawing a dotted line No Rectangle Command specifying a display color Yes blinking a display color Yes specifying a background color No blinking a background color No drawing a solid line Yes drawing a dotted line No chamfering Yes specifying the number of dots in chamfering Yes solid fill pattern Yes fill patterns except for a solid fill No 7 51 7 3 GP Viewer Circle Ellipse Command specifying a display color Yes blinking a display color Yes specifying a background col
203. mpling Target Device This section describes how to designate the device that you wish to sample data After you completed the setup you can monitor data of the target device 1 After selecting the entry node that you wish to sample data click Device View on the Data View D menu of the Menu Bar S mtom Pro Studio Pet EE Tools Programming Suppo Dataview Dal Configue S ve Hee fe REES Siche E wien Ee EIER Type WAddess DataType Foling Ti GF Network Entry Node Open DataView O aif d Data Sampling Status System time bar St Action List Option g F E NUM a You can also right click the entry node to select GP Viewer 7 2 Device View 2 The Data sampling source window appears After designating each item for the device that you wish to sample data click Next Data sampling source Enter the data sampling source and sampling frequency then click Next Node Name GP2300L D Device Mame ES Data Type 16 BittSigned bk gi Count 4 Cancel Node Name Enter the node name to sample data Node names registered in the network project file are displayed Device Name Enter the device name to sample data If you click Brows
204. n devices that are not related to data transfer and an alarm message will appear to inform you of this If you wish to change a node topic s data after it has been registered simply right click on the topic to bring up a list of selections From these click either the Edit Node or Delete Node selections or from the menu bar click the Edit E menu s Edit Node or Delete Node items When two GP units are started simultaneously and one is set to provide data to the other Consumer if the sending unit sends the data before the Consumer finishes its start up process an error will be displayed on the Consumer GP Since this error can usually be fixed by simply sending the data again set Retry to one 1 to prevent the error message display In environments where data transfer errors can frequently occur setting the number of data transfer re tries can prevent unnecessary communication errors 3 14 3 3 1 Checking for Provider Data Errors 3 3 Registering Provider Data The following procedure explains how to check provider data If after registering provider data you delete the relevant symbol name or network node or alter any symbol s data type an error message will appear If no errors are found in the provider data the data s file size when it is downloaded to the GP will be dis played The file size shown in this dialog box reflects the amount of GP screen area used The following descri
205. n the Windows 95 Windows 98 Windows 98 SE or Windows Me 10 2 10 1 OPC Server The following data explains the settings required when using the OPC Server These settings should be entered in each of the OPC Clients used ItemID The ItemID format is as follows ItemID XXX DDDDD SIG NUMCHAR SCL SCH EGUL EGUH e XXX Node name to be accessed e DDDDD Symbol name to be accessed or applicable PLC s device address e SIG Signal condition Can be omitted When omitted this becomes NONE Corresponding signal condition type LIN BCD and SQRT NUMCHAR When the Item s data type is set to VT_BSTR the NUMCHAR value is used to place a character string in the position designated by the SCL value Using VT_BSTR will automatically disable all options after SCL Designate the character string using byte values The default value is 40 bytes e SCL Lower limit value before scale conversion Can be omitted When omitted this becomes 0 e SCH Upper limit value before scale conversion Can be omitted When omitted this becomes 65535 e EGUL EGU s lower limit value Can be omitted When omitted this becomes 0 e EGUH EGU s upper limit value Can be omitted When omitted this becomes 65535 When the data type is set to VT_BSTR designate the number of characters NUMCHAR for SIG as the value of bytes In that case optional items values after SIG will become ineffective The default value is 20 bytes
206. n use the symbol name defined in Pro Studio for this name Address example PROSERVRIGP s Node Name Symbol Name The actual address of the PLC can be used The IP address itself can be used Example To read the data stored in address D100 of a Mitsubishi PLC which is connected to a GP running the Mitsubishi protocol and with an IP address of 160 187 2 101 enter the following data PROSERVRI 160 187 2 1017 D100 You may not use 2 bytes characters or single byte KATAKANA characters to node names or symbol names because Microsoft Excel does not support those for topic or item names A 2 A 1 DDE Function Details A 1 2 Device Address Options If you use symbol names defined in Pro Studio the data type and the sampling frequency for the symbols will be set automatically However when the device address is specified directly you can specify the data type and the sampling frequency as options Available Data Types The available data types are as follows Contents Data Type Data Format Value Bit Data BIT Oor1 Unsigned Word Default WORD 0 to 65 535 Signed Word WORD 32 768 to 32 767 HEX Word HES 0000 to FFFF BCD Word DCD 0 to 9 999 Unsigned Long Word DWORD 0 to 4 294 967 295 Signed Long Word DWORD 2 147 483 648 to 2 147 483 647 HEX Long Word HEXDWORD 00000000 to FFFFFFFF BCD Long Word BCDDWORD 0 to 99 999 999 Float FLOAT 9 9E 16 to 9 9
207. nate individual array elements Therefore if you wish to access the Integer_Array s N 1 element s m 1 position bit you would write Integer_Array lt n gt Xm Ex To access the Integer_Variable s 7th position bit you would write Integer X6 Ex To access the Integer_Array s 2nd element s 30th position bit you would write Integer_Array lt 1 gt X29 9 4 9 1 Simple DLL ProEasy DLL Function 9 1 2 Direct Read Write Function This is a Pro Server synchronous function that when a Read Write request is issued by an application accesses the designated PLC device via the GP unit and then waits until the PLC returns the result to Pro Server via the GP GP a x 1 Read request 2 Read execution Application Pro Server GI 3 Reply N J There are three types of functions and they are stored in the following order Read D Read in function Write iieis Write in function To check if the Write was performed correctly a successive Read is performed Werite D Write in function Read check is not performed Used for Write Only devices Direct Read Write Function for Single Thread Bit data INT WINAPI ReadDeviceBitD LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBit LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBitD LPCTSTR bsNodeName LPCTSTR bsDeviceName WOR
208. nated If the folder does not exist the following window appears Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled Book Location Folder does not exist CAMy Documents Data Do you create new folder Yes No Cancel File Name Default setting is a full date stamp Y ZM D h m s Zero Suppress If you check this option no zeros are supplied to the file name even though the file name includes any of 7M D h mM s month day hour minute second If you do not check this option 0 zero is supplied to the file name if the file name includes any of M D h M s month day hour minute second and that number is one digit The default is checked File Save Method Select either Create new Book or Append data to Book If you designate the fixed file name it will be written in the sheet1 Book is Currently Open Select the action from Do not save data or Use Temporary Book when books with the same filename are open on writing If you selected Do not save data written data are not saved when book files with the same filename are open in advance If you selected Use Temporary Book written data are saved as a separate filename temporarily The temporary filename will be Y M DCh M s xls
209. ndow click Save S or Save as A in the File F menu AA Untitled Pro Studio File Fl FOE oc Programming Guppom D S Untitled Pro Studio New N Chen Open O Cf Save asl Pri Dh A mtom Exit Pro Studio s File Fl FOE Tools Programming Support P Hell Di MN Open Q IEN Save S Cf dE 1mtom Dh Exit Pro Studio s 2 If you have selected Save S the file is saved by overwriting the existing contents If you have selected Save as A in the following dialog box save the file with a new file name Save As Save in Eass F Eass F aBase ei mtom j Sample File name kz _ Le Save as pe Network Project Fleiss z Cancel p 2 2 Starting and Exiting the Software 2 2 2 Exiting Pro Studio The following describes the procedure for exiting Pro Studio 1 Click Exit Pro Studio X in the File F menu Del Gout Tools T Programming Support P Dataview ConfigwefS View Wett New Di Oper SI Save S Chg Project ID UDP Fort Number Save sell 200171170213 8000 Page Di Amtom Save Network Project File and Exit Pro Studio e If you change the settings of a currently open project and then attempt to close it you will be asked whet
210. ngle Yes Yes Yes 7 57 7 3 GP Viewer T Tag write action mode bit word special Yes Yes Yes specifying an operator Yes Yes Yes hierarchical screen switching Yes Yes Yes special actions except for T tag extension No No No Q tag extended action No No No function key process No No No interlock capability Yes Yes Yes grouping with the automatic disable capability Yes Yes Yes addition subtraction on from a specified digit Yes Yes Yes GP reset Yes Yes Yes AUX output No No No buzzer sound Yes Yes Yes reverse display Yes Yes Yes U Tag specifying method of the window registration screen direct indirect Yes Yes Yes display a data form when indirect is selected BIN BCD Yes Yes Yes action mode Yes Yes Yes reshuffling of overlapped screens Yes Yes Yes 7 58 7 4 Checking the Data Sampling Status 7 4 Checking the Data Sampling Status This section describes the procedure to check the sampling status of device data 1 Select Data Sampling Status on Data View D of the menu bar 4 mtom Pro Studio File E Edit E Tool Programming Support P Dataview D Configure S View Heini Device Vi SE Open Data iew O Symboll tern Type Address Data Type iou i fi Provider Information G t Action List System time bar Option
211. of GP Filing Data Data Transfer via Mail Alarm Log with Sound Alert Feature requires Microsoft Access Data Upload to Database requires Microsoft Access Excel Data Download from Database requires Microsoft Access Excel Start Application Upload of GP JPEG Data Action Feature Overview Automatically creates daily and Creates Operation Starts a desired monthly reports via Alarm Histories via appl ication Excel Access data H Se E E Je Alarm Data Up loads GP Down oad Up oad GP Longing Rata Downloads i of Filing Data Ry IT Backup feature device data to GP internal via Access Trigger CF card or Trigger ING PLC SRAM FROM PLC Filing feature Va i GPJPEG Data Upload of GP JPEG Data 1 6 Overview of Data View 1 6 Overview of Data View When a designated trigger s condition s is are satisfied PLC data is first translated by the GP s resident 2 Way Driver using that PLC s protocol and then is collected by Pro Studio and saved on the server PC Data View allows you to display the collected data on Pro face s exclusive browser GP Viewer Device View in real time You can also change the data collection condition or set the synchronization style with GPs GP Viewer only using Data View Device data of multiple PLCs can be collected at the same time Device
212. of time will automatically end Bit data INT WINAPI ReadDeviceBitM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount 16 bit data INT WINAPI ReadDevice 6M HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount 32 bit data INT WINAPI ReadDevice32M HANDLE hProServer _LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount 16 bit BCD data INT WINAPI ReadDeviceBCD16M HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName WORD pwData WORD wCount 32 bit BCD data INT WINAPI ReadDeviceBCD32M HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName DWORD pdwData WORD wCount 9 1 Simple DLL ProEasy DLL Function Single precision floating point data INT WINAPI ReadDeviceFloatM HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName FLOAT pflData WORD wCount Double precision floating point data INT WINAPI ReadDeviceDoubleM HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName DOUBLE pdbData WORD wCount String data INT WINAPI ReadDeviceStrM HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName LPTSTR psData WORD wCount General use data INT WINAPI ReadDeviceM HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVOID pData WORD wCount WORD wAppKind General use data for VB INT WINAPI ReadDevice VariantM HANDLE hProServer LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVARIANT pData WORD wCount WORD wAp
213. oft Excel sheet data to the specified device address The following two types of Excel sheet data can be used for designating write data e A device access is executed in 255 per scan If you designated more than 255 a time lag will occur e If you designate a device address that do not exit a device access error will occur Column Change One Sheet Mode Type If the provider s data and a Block No matches the data in that column will be written into the device address specified in Address Only one device address can be specified Item specifies the number of sequential words up to 10 000 words to write from the first address specified in Address Block 3 Item 5 Address D108 Data Type 2 Block1 Block2 Block3 1 12 21 13 2 6 18 7 3 8 17 10 22 9 14 The sample table file is available in Pro Server with Pro Studio Pro SDk 4 21 Column Change Any Sheet Mode Type 4 3 Action Hem Contents If the provider s data and a Sheet No matches the data in that sheet will be written into the device address es specified in Address Multiple device addresses can be specified at a time Item specifies the number of sequential words to write from the first address specified in Address Block 4 Block Name 1 2 3 4 Address D100 D200 D300 D400 Item 7 5 7 2 Data Type 2 2 2 3 1 2 1 4 2 4 2 4 2 5 2 3 6 3 4
214. ollowing setting window will appear A setup of details A setup of a server Server connection time i 0 Retry number of times E RSR A setup of a server Enter the communication time to the database server and the number of retries performed 4 31 4 3 13 4 3 Action Item Contents Upload of GP JPEG Data Pro Server allows you to read the on line GP screen data in your PC If the VM unit is attached to the GP video capture data can also be read Prior to performing this action with the CF Card inserted into the GP because the read data is temporarily saved in the CF Card You can use this action on GP 2000 series GLC2000 series and IT series 1 The following window appears After designating all items click OK Setting Parameters Version 4 00 Capture Data Type GP Capture Data Kmec Video Capture Data CH teg eas Fl Fly seve oot pP This file name already exists E t Fl OH Save Rewrite a al Files A G Number End Of FileName totace be E Pro Server with Studio ZS NPJDataBase Show Browser File Name SNODESY2M 2D hames Zero Supress Cancel Help H Capture Data Type Select data to read If you selected GP Capture Data the displayed GP screen is captured and uploaded If you selected Video Capture Da
215. on Displays three read data 10 Click the ResourceView tab in the Microsoft Visual C Workspace window and then double click IDD_SAMPLE_DIALOG Select and delete Static Text in the center of the dialog File Edt View Inset Project Build Layout Tools window Help S jelz ugs v mjo e gt amp a EI Een lge Kl Gay Elsa ess EE Ps DZ Sample resources Dialog LEI IDD_ABOUTEOX S IDD_SAMPLE_DI E ken Sting Table E Version WU Place dialog contra SI F Slpadzslgmlusla Ready IESSE ege eege 9 37 9 2 Examples of Simple DLL Function 11 Click Customize on Tools of the Microsoft Visual C menu Bn Edt View Insert Project Bui SAMPLE_DIALOG Deelt rds jals najs ea id Layout Toots Ghee CSampleDig Eli ze members SEET B Sample resources 8 89 Dialog D_ABOUTBOX k D_SAMPLE _ DR Ei ken El String T able DES Version Ay Oto Source Browser AY Visual Component Manager LS Register Control LS Eror Lookup LAX ActiveX Contrel Test Container IZ Macro Record Quick Maca CrleShifte R Play Quick Maco Chi
216. on List Status Bar Network Project Detailed Information Information List Title Bar Displays the currently open network project file npj s name Menu Bar Displays the menu to be used to operate Pro Studio Use the mouse or keypad to select a desired menu and the pull down menu appears Tool Bar Displays icons that represent frequently used commands Click on an icon to execute that command Status Bar Displays operation related messages and other information Network Project Information List Displays the currently open network project file s contents in a tree structure Detailed Information Displays network project information list nodes symbols and actions 3 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 Operation This chapter describes how to register various types of system information Registering Network Entry Nodes Registering Symbols Registering Provider Data Using the DDE Function Using the VBA Support Function Saving Backup Data in SRAM Device Data Backup and Restoration GP Capture Data Saving Function Security Function 3 10 Configuring the System 3 11 Configuring the Network 3 12 Printing the Setting Data 3 1 Registering Network Entry Nodes 3 1 Registering Network Entry Nodes The procedure for entering the node name IP address sub net mask gateway and PLC type information is described below The node name can be the same as the project file name with the PLC type automatically
217. on file icy Sample files EM Source Files HE It Sample cpp A Sample re 2i SampleDie cop LE Br i cpp eader Files esource Files ease tet stdafs hi Sanple A SenpleDlg h Public Prokasy h include include include include ifdef _DEBUG define new DEBUG_HEW undef THIS FILE tatic char THIS_FILE endif FE SE ENEE EE EE E EE EE 7 CAaboutDlg dialog used for App About lass CAboutDlg public CDialoag ublic CAboutDlat e Dialog Data v AFE_DaTA CabontDlg enum IDD IDD ABOUTBOX CL AFE_DATA 77 ClassWigerd generated virtual function overrides AFE_ IRTUAL CAboutDlg protected virtual void DoDataEnchange CDataEschange Gi f AFE_VIRTUAL vc D Ln 7 Col 31 Operations from step 1 through 8 mentioned above are common to both read and write For the subsequent part each procedure is described separately because procedures are different between read and write Refer to step 9 through 32 to create the Read application Refer to step 33 through 51 to create the Write application 9 36 9 2 Examples of Simple DLL Function Creating Read Application 9 This section describes the application to read and display three data 16 bits signed when clicking Button1 d Sample RSR Butt
218. opped on the way 9522 2532h_ Polling View output failed 9523 2533h Reserved 9529 2539h 9530 253Ah PL RAS initialization error 9531 253Bh Unsupported Command 9532 253Ch Unsupoorted Access Type 9533 253Dh Unsupoorted Read Write Type 9534 253Eh Rejected to access to the device 9535 253Fh Failed to set get the value to the device 9536 2540h Reserved 9559 2557h 9560 2558h DLL load error 9561 2559h Cannot find a function in DLL 9562 255Ah System error can be considered if this occurs 9563 255Bh The designated property ID is not defined 9564 255Ch Value conversion error Incorrect characters as numbers are designated 9565 255Dh Too many characters 9566 255Eh The number is too large 9567 255Fh Cannot start COMM 9568 2560h Cannot start GJ 9569 2561h_ Cannot open the s file 9570 2562h File read error 9571 2563h File write error 9572 2564h _ No tags exist No parameter class declarations exist 9573 2565h_ No end tags exist No parameter class declarations exist 9574 2566h_ Found the unexpected end tag A 7 A 2 Error Messages Error Code Decimali Hex Meaning 9575 2567h Signatures do not match 9576 2568h Unsupported parameter 9577 2569h Reached the file end 9578 256Ah _ The incorrect structure 9579 256Bh_ Cannot con
219. or No blinking a background color No drawing a solid line Yes drawing a dotted line No solid fill pattern Yes fill patterns except for a solid fill No Arc Sector Command specifying a display color Yes blinking a display color Yes specifying a background color No blinking a background color No drawing a solid line Yes drawing a dotted line No Polygon Fill Command specifying a display color Yes blinking a display color Yes specifying a background color No blinking a background color No drawing a solid line Yes drawing a dotted line No solid fill pattern Yes fill patterns except for a solid fill No Ruler Command specifying a display color Yes blinking a display color Yes specifying a background color No blinking a background color No drawing a solid line Yes drawing a dotted line No ruler type Yes number of graduations to be divided Yes 7 52 7 3 GP Viewer Text String Command specifying a display color Yes blinking a display color Yes specifying a background color Yes blinking a background color Yes specifying a shade color of a carving style Yes blinking a shade color of a carving style Yes text direction Yes text style Yes text size Yes text rotation angle Yes text font No Mark Call up Command specifying a display color Yes blinking a display color Yes specifying a background color Yes blinking a background color Yes specifying a mark size Yes
220. ormation on ethernet please send using Pro Studio DK Cancel Select the network project file and the network node to which you wish to transfer the informa tion and then click OK Select Network Project File and Hode Network Project File O Program FilesiDIGITALPro Server with Pre Node GP1 160 187 3 7 Already Selected lid Note Ifyou are editing this Network Project File please save befor select o Cancel 5 1 Transferring Data to GPs 5 Click Send on the Transfer menu or the Send Screen button to transfer the information to the GP IS Transfer Prepare Receive Exit Setup view Abort Tanz ptions Help fe Transfer Status jest pra titled Transfer Method System Setup Send To Prepare Status Automatic Automatic mE Overall Progress Send screens Lu i button Project File Description Transfer Status test pre j Untitled q Transfer Method Automatic System Setup Send Tor Prepare Status Automatic 6 The transfer is completed if no error message is displayed 6 Tools This chapter describes monitoring tools 6 1 Device Monitoring 6 2 GP Status Monitoring 6 3 Read Performance Measuring Tool 6 1 Device Monitoring 6 1 Device Monitoring Any selected device
221. ow to create the dialog based application example using MFC Microsoft Foundation Class VC Declaration 1 Start Microsoft Visual C and then click New on File H Microsoft Visual C File Edit den Insert Project Build Tools Window Help Open Workspace Save Workspace Close workspace Save Ceres Save as Save All Page Setup amp Dirt Chee Recent Files k Recent Workspaces gt Exit 2 Select MFCAppWizard exe in the Projects tab enter Project name and Location and then click OK This example uses Sample for Project name and C Program Files Pro Server with Studio Pro SDK VC for Location New i Es Files Projects Workspaces Other Documents l Win Static Library Project name Sample Location cAPROGRAM FILESSPRO FAC Create new workspace ON Ae Ga auent wakepane Ieesgeusgch Plethora ES 9 33 9 2 Examples of Simple DLL Function 3 Select Dialog based in the What type of application would you like to create field and then click Finish MFC Appwizard Step 1 Application IS What type of application would you like to create OH Single document OH Multiple documents OI Dialog based Documenten arhiteetrs supp What Janguage would you like your resources in Engish United States APPWZENLIDLL
222. pKind lt Return value gt Normal termination 0 Abnormal termination Error code lt Arguments gt bsNodeName Pointer to the node name char string Specify directly the network node name registered with Pro Studio or the IP address Ex 1 To specify the node name GP2 Ex 2 To specify directly the IP address 92 9 201 1 9 12 9 1 Simple DLL ProEasy DLL Function bsDeviceName Pointer to the symbol char string to perform Read Write Specify directly the symbol name or the device address Ex 1 To specify the symbol SWITCH Ex 2 To specify directly the device M100 Function Symbol Data Type Bit 16Bit 32Bit Float_ Double String S U HEX BCD S U HEX BCD XXXDeviceBit O XXXDevice16 O XXXDevice32 O XXXDeviceBCD16 O 2 XXXDeviceBCD32 S 0 XXXDeviceFloat R O XXXDeviceDouble S g O XXXDeviceStr S O XXXDevice O O O O O O O O pxxData Pointer to the Read Write Data wCourt Read Write data quantity 1 to 255 With the Read WriteDeviceStr function the quantity of string data is counted as the number of bytes Always specify the data quantity as a multiple of 2 for devices with 16 bit data and a multiple of 4 for devices with 32 bit data wAppkind Data type specification Valu
223. processing status of the read performance measuring is displayed in the now dialog ow reading device data 4 The measured result is displayed in the Time field of the Data Read Performance Measure ment window Data Read Performance Measurement Device sores RB Number Access Type ReadType ae Direct O 320it Double Hoch Time 129 sec Begin Close Heipch Time may vary depending on the environmental condition number of tags on a screen PLC connection style application software running on Win dows at the same time and so on 6 8 H 7 1 7 2 7 3 7 4 7 5 Data View This chapter describes data sampling viewing tools GP Viewer and Device View Data View Overview Device View GP Viewer Checking the Data Sampling Status System Time Bar 7 1 Data View Overview 7 1 Data View Overview The Data View D menu of the menu bar allows you to start the tool to display data saved on Pro Server in various formats The following shows the overview of the display tool Device View Device View allows you to sample data from devices connected to Ethernet to monitor the status or to playback saved device data on Device View GP Viewer GP Viewer allows you to sample screen data from the GP system connected to Ethernet to display screen data or to playback saved GP data on GP Vie
224. ption assumes that the program s main window is open 1 Click the Check Provider Information item in the Tools T menu lt A PS Pro Studio aie es Pe EdE EI Dataview Contigue S Viewty Help H a BoC ears Save SRAM Backup Data Symbollltem Type Address Data Type Foling Ti G Network D40 WORD Local D40 16 Drone 1000 zb WINI Testes Meee Proget _D41_WORD Local DA 16 Bit Signed 1000 wg Import Symbol Pai Export Symbol ZE WIN eat GLC Symbol e Provider ona r Action LY Zei Monitor Remote Logon Remote Logoff Device Backup Device Restore Save GP Capture Data Data Read Performance Measurement q E Check provider data NUH FA 3 15 3 3 Registering Provider Data 2 The following dialog box appears Pro Studio Provider information is correct Download size is 492 bytes Although the program checks provider data automatically during saving it will not display the file size In the following cases an error will occur After entering provider information the data type of a symbol has been changed a symbol name has been changed or deleted or anode name has been changed or deleted If an error occurs you will not be able to transfer the network project file npj to the GP DO NOT edit or delete a symbol or that symbol
225. r The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled Save Name Designate the file name used Default value is 7Y M D h M s The Reset button will make your entry back to the default value Zero Suppress If you check this option no zeros are supplied to the file name even though the file name includes any of M D h M s month day hour minute second If you do not check this option 0 zero is supplied to the file name if the file name includes any of M D h mM s month day hour minute second and that number is one digit The default is checked File s Save format Designates the format used when the file is saved Either Excel xls or Binary bin for GP PRO PBIII for Windows formats When using a CF Card the file No is based on the Providers data to allow the saving of multiple files Ex A file named ZF00002 BIN would be used for Provider 2 4 16 4 3 7 Automatic Upload of Access Data 4 3 Action Item Contents After the following table data has been created with Microsoft Access the table data designated by an Action Item s settings is used to compare the Provider data and a Key_Code and then read the device designated in the table Ex This file will be named BIBLIO mdb Microsoft Access Table Structure Ex M
226. r display and if the folder exists the contents you designated are displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documents Data Do you create new folder tee No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled 4 25 4 3 11 4 3 Action Item Contents Upload to Database Reads data from device address es specified by Microsoft Excel or Access and write into designated relational database Using Excel the data will directly be written into the relational database Using Access data will once be saved in file and then be written into the relational database Even if it is presently not possible to connect to the relational database the saved data can be written to the relational database at the next action start up The table field of the designated contents should exist in the relational database Uploaded data is written here gt Relational Database table1 field1 field2 Example of Microsoft Excel Access Sheet Table respectively Data Base Table Device Field Type DBA table1 D100 field1 2 DBA table1 D101 field2 2 DBB table2 D102 field1 2 The sample table fil
227. rdware Built in External Series Name Ge Model Ethernet Ethernet ue Unit Unit GP77R series GP 377R series GP 377RT GP377R TC11 24V GP377R TC41 24V GP 477R series GP 477RE GP477R EG11 GP477R EG41 24VP GP 577R series GP 577RS GP577R SC11 K O m GP577R SC41 24VP GP 577RT GP577R TC11 GP577R 1TC41 24VP GP2000 series GP 2300 series GP 2300L GP2300 LG41 24V GP 2300T GP2300 TC41 24V O x GP 2400 series GP 2400T GP2400 TC41 24V GP 2500 series 1 GP 2500L GP2500 LG41 24V GP 2500S GP2500 SC41 24V GP 2500T GP2500 TC11 O GP2500 TC41 24V GP 2501 series GP 2501S GP2501 SC11 O z GP 2501T GP2501 TC11 e GP 2600 series 1 GP 2600T GP2600 TC11 GP2600 TC41 24V O GLC2000 series GLC2300 series GLC2300L GLC2300 LG41 24V GLC2300T GLC2300 TC41 24V O x GLC2400 series GLC2400T GLC2400 TC41 24V GLC2600 series 1 GLC2600T GLC2600 TC41 24V O O 2 IT series IT2400 series T2400 TypeA 1T2400 TC41 GP 1T2400 TC41 GP200V 1T2400 TypeB IT2400 TC41 GLC O x R 1T2400 TC41 GLC200V The Expansion Ethernet unit is required to use the 2 Way Driver with a GP77R series or a GP2501 series unit Therefore you cannot use the expansion units required protocol You cannot use both the 2 Way Driver and the Ethernet protocol together with a GP77R series on a GP2501 series unit Reference Pro Server compatible PLC Vendors and Models Settings used will differ IP Addreess Port No etc depending
228. rface function can only be used on a Windows NT or Windows 2000 system OPC Interface Design OPC client appl ication LG OPC Pro Pro Server GP 1 4 4 SRAM Backup Data Storage Function The backup data in the SRAM of each GP can be easily transferred to the host PC This SRAM backup function is available for logging data trend data sampling data alarm data log history and others SRAM Backup Function PR T For details about the types of data you can transfer to the host PC refer to the GP PRO PBIII for Windows Alarm N data Logging data Tag Reference Manual Reference GP PRO PBIII for Windows Tag Reference Manual Alarm data active can be captured on Pro Server using an alarm block 1 5 Provider Information Outline EEN 1 5 Provider Information Outline 1 5 1 Providing Information to the Host When a designated trigger s condition s is are satisfied PLC data is first translated by the GP s resident 2 Way driver using the appropriate PLC manufacture s protocol then collected by Pro Studio and provided to the host PC Therefore since Pro Server can temporarily store this data in the PC s memory overall network traffic can be reduced For the procedure to register symbols in Pro Server s PC memory area refer to 3 2 Registering Symbols Reference 3 2 Registering Symbols Reference Appl i cation LS
229. riteDeviceFloat LPCTSTR bsNodeName LPCTSTR bsDeviceName FLOAT pflData WORD wCount INT WINAPI WriteDeviceFloatD LPCTSTR bsNodeName LPCTSTR bsDeviceName FLOAT pflData WORD wCount Double precision floating point data INT WINAPI ReadDeviceDoubleD LPCTSTR bsNodeName LPCTSTR bsDeviceName DOUBLE pdbData WORD wCount INT WINAPI WriteDeviceDouble LPCTSTR bsNodeName LPCTSTR bsDeviceName DOUBLE pdbData WORD wCount INT WINAPI WriteDeviceDouble LPCTSTR bsNodeName LPCTSTR bsDeviceName DOUBLE pdbData WORD wCount String data INT WINAPI ReadDeviceStD LPCTSTR bsNodeName LPCTSTR bsDeviceName LPTSTR psData WORD wCount INT WINAPI WriteDeviceStr LPCTSTR bsNodeName LPCTSTR bsDeviceName LPCTSTR psData WORD wCount INT WINAPI WriteDeviceSt LPCTSTR bsNodeName LPCTSTR bsDeviceName LPCTSTR psData WORD wCount General use data INT WINAPI ReadDeviceD LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVOID pData WORD wCount WORDwAppKind INT WINAPI WriteDevice LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVOID pData WORD wCount WORDwAppKind INT WINAPI WriteDeviceD LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVOID pData WORD wCount WORDwAppKind 9 6 9 1 Simple DLL ProEasy DLL Function General use data for VB INT WINAPI ReadDeviceVariantD LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVARIANT pData WORDwCount WORD wAppKind INT WINAPI WriteDevice Variant LPCTSTR bsNodeName LPCTSTR bsDeviceName _LPVARIANT pData WORDwCo
230. river in the Setup menu J Transfer BSTO View Options H Pal p Transfer Settings a Password Poet ree Transter Method Automatic i System Setup Automatic D escriptiort meo Send To GF Transter Status Frepare Status Overall Progress AvayDriver Settings L Ja e When transferring the network project file with GP PRO PBIII for Windows use the data transfer cable e Transferring your screen data in the on line mode temporarily causes the GP to display the transfer screen The initial screen will be restored as soon as the data transfer is completed 5 2 5 1 Transferring Data to GPs Select TwoWayEther from the Driver Type pull down list x Zw ayDriver Settings 4 Driver Type Maut ther ba Network Project File Select Destination IP Address It you send Network Project information on ethernet please send using Pro Studio DK Cancel To send to GP77R series be sure to click on the Use 2Way Driver checkbox Otherwise the 2 Way Driver will not function Use 2Way Driver checkbox is initially checked for GP2000 GLC2000 series Select 2WayEther from the Driver Type pull down list x Zw ayDriver Settings H Network Project File Select Destination IP Address It you send Network Project inf
231. rm the symbol _D40_WORD in the ListBox ia Formi ie Ee 1111 ESER 3393 Command 9 28 9 2 Examples of Simple DLL Function Creating Write Application 22 This section describes the application to write three data 16 bits signed read when clicking Command Conmand Writes three data 23 Select TextBox and then paste in Form1 Paste three TextBox s ia Project Form Form o Formi E Si TextBox E m Hen oe Of 9 29 9 2 Examples of Simple DLL Function 24 Select CommandButton and then paste to Form1 ia Project Form Form mim E PS ia Form el es CommanaButton 25 Select the symbol name that you wish to write to among symbols registered on Pro Studio Select the heading symbol to write to A COU N I Fo Tast Programming Supporte Dataview D Configue S erch Head Projecta SE Prope Address l0ats type Paling 7 DI Network Enti Node Local D00040 TEBilSigned 1000 GP 10 100 010 OMRON SYSMACC SERIES Ed WORD Local Die TB BiiSigned 1000 Da GP2 10 100 011 MITSUBISHI MELSEC AnafLinK DO0042_WORD Local DZ 16 BitfSigned 1000 D WINDOWS 10 100 0 20 Windows Psrsoral Computer 485 Provider Information BB Action List Heb is Fi key in HOM E
232. rt 15 16 Customize 11 Paste the command button onto the sheet Si EAR R E Command Button T AE T DR 0 i gt bg CammandButtont G Bd ee on 12 Double click the button The following VBA creation screen is displayed Window Help gt EHAE ode d Zb Private Sub ConmandButtonl Click H End Sub 5 SH a _DM100__WORD Enter value Integer type here 1 0 ial fil ACN os E 3 25 3 5 Using the VBA VC Support Function 14 Input the value to be written into the PLC device whose symbol is indicated Replace the words Input value here with the numeric value Example When set to 100 Sheet Code Buttont EI oe val mmandButtont Click WeiteDevicels GP1 DH100__WORD a ial i 15 Click on the Design icon to quit the Design Mode Design Icon Li DR T Did gt Ol ED amp E Bd mm OO i 16 Thus when you click Excel s Command Button 100 is written to the PLC symbol s device Corrmandeuttont The Device Monitor feature allows you to e
233. rtString O str a Dr S F Executes the program Loi Col edd gon 31 Click Yes Microsoft Visual C cAPROGRAM FILESSPRO FACESPRO SERVER WITH STUDIONPRO SDEWVC Sample4D ebugsS ample exe This file does not exist Do you want to build it 9 44 9 2 Examples of Simple DLL Function 32 Click Button1 to display three data from the symbol _D40_WORD in the ListBox d Sample RSR Button 9 45 Creating Write Application 9 2 Examples of Simple DLL Function 33 This section describes the application to write three read data when clicking Button1 Execute the same operations step 10 through 12 as in Creating Read Application d Sample Buttoni Write three read data 34 Select EditBox and then paste it in Dialog You should paste three EditBox s e Microsoft Visual C Sample re IDD_SAMPLE_DIALOG Dialoy File Edt Yiew Insert Project Build Layout Tools window Help OAR aSa DIS Eley wus Hja i oe wg e seg EllecC mmm Ee f Workspace Sak 1 project EE Sample files DZ Source Files 1E Sample cpp Gate ckt cop 2 Std ts cpp EA Header Files E E Resource Files e E ReadMetxt K z
234. rver Pro Server handle sNodeName Node name of GP to be read from Node name must be previously registered as a Pro Server network project dwTimeLimit Response timeout setup value If you designate 0 this will be defaulted to 3000 msec The setup range is from 1 through 2 147 483 647 unit msec Secure the area more than 32 bytes for each of followings GpType GP model code SystemVersion GP system version ComVersion PLC protocol driver version ECOM Version 2 Way Driver version lt Return value gt Normal Completion 0 Error Error codes refer to the separate table GpType Character string data of the GP device code SystemVersion Character string data of the GP system version ComVersion Character string data of the PLC protocol driver version ECOMVersion Character string data of the 2 Way Driver version CF Card Status Read Function Single INT WINAPI EasyIsCFCard LPCTSTR sNodeName Multi INT WINAPI EasyIsCFCardM HANDLE hProServer LPCTSTR sNodeName lt Function gt The CF Card connection status of the connect GP can be acquired lt Argument gt hProServer Pro Server handle sNodeName Node name of GP to be read from Node name must be previously registered as a Pro Server network project lt Return value gt 0 CF Card is not inserted 1 CF Card is inserted 2 reserved 3 CF Card is write protected other Error codes refer to the
235. s 9 2 9 1 1 Precautions When Using FUNCTIONS s s ssseussseunnnennnnnnnnnnnnnnunnnnunnennnnnnnnnnnnnnnnnnnnnnnnn nunne 9 2 9 1 2 Direct Read Write Function sssessssuussnnnnnnnnnnnunnnnunnnnunnnnnnnnunnnnunnnnnnnnnnnnnnnnnnnnnnnnnn ennnen nnana 9 5 9 1 3 Cache Read Function eeren ana aaa EE eieiei 9 10 9 1 4 Additional FUNCTIONS cccssseeesseeeeseeeneseeeeaseeeeaseeeeesseeeeaseneeasseeesaseeeeeseneeenseeeeaseeeees 9 14 9 2 Examples of Simple DLL Function cccceeeeeseeeeeeeseseeeeeeeeeeeneeeeeeeeeess 9 20 WT VG Feature Help tee SeeEEgEuegeed eege Eed 9 20 92 2 VC Function Help ccutissccccesicceescccececescuvstcescn dE dE Enana E E aapa 9 33 Chapter 10 OPC Server TOA OPC Server eee enaar arae cen ie ieee ieee ease ce eettiaea tee 10 2 Appendices A 1 DDE Function Details sscssssecisetvasaivaeitteg eegene uge A 2 LSW A 2 A 1 2 Device Address Options si ciiccetescccecestnccie ccnieecteedecewenteettecseeescnie scien enncvnstevveereceeescunencceniery A 3 Bid eet E A 5 A 2 1 Pro Server with Pro Studio for Windows Error Messages csessssseeeeeenseeeneeeeeeees A 5 A 2 2 2 Way Driver Error Messages and Syslog Features ssccsscssessseeeeeeeeeeeeseeeeeeenes A 10 A 3 Scale Conversion USING EXCel cccsseeeeeesseeeeneeeeeeesneeeeeeeeeeeeeneeeeeeeeas A 14 AA GP Ethernet Settings ee eggegieeu deene ee e A 15 MANUAL SYMBOLS AND TERMINOLOGY This manual uses the following symbols and terminology
236. s and Syslog Features Set the polling time and then click OK Folling Times S000 The polling time set for collecting or writing data for each symbol distrib uting data and monitoring devices may not be able to be performed under certain conditions These conditions include the number of currently reg istered GPs number of Tags used on each screen sent type of PLC con nection and number of other currently open Windows software Entering 0 will allow the system to operate at its maximum speed Please use this value as a benchmark when entering other values to fine tune your sys tem 6 5 6 3 Read Performance Measuring Tool 6 3 Read Performance Measuring Tool This tool allows you to measure the data read performance from the designated node 1 Click Data Read Performance Measurement on the Tools I bar of the Menu Bar SAPS Pro Studio FileE Edit E Tools T Programming Support Dataview D ConfigurelS Viewly Hei UI E wn Wa MEL amp wi ow ei jel Provider St Action Li Check Provider Information Search Active Node Save SRAM Backup Data Transfer Network Project Import Symbol Export Symbol Import GLC Symbol Status Monitor Depling Hantar Remote Logon Remote Logoff Device Backup Device Restore Save GP Capture Data Data Read Performanc Fl Computer EC Gn4 CPu Computer
237. s the PLC type is retrieved and entered automatically by Pro Studio 2 The following dialog box will appear To register any of the detected nodes click first the Node Status Non Entry text then the Entry button Search Nodes Node Status IP Address PLC Type Non Entry 10 100 0 99 GP HITACHI Non Entry 10 100 0 24 _ Windows RRRRRRRRRRRRRRRRRRRRRNT 4 Sec St wE Please choose the new entry node Entry 8 3 Searching for a Network Node 3 The following dialog box will appear to show that the node has been registered Search Nodes Node Status IP Address PLC Type Non Entry 10 100 0 24 i Windows Entry 10 100 0 99 GP HITACHI UTTTTTTTTTTTTTTT TT TT 4 Ger Please choose the new entry node Entry l 9 simple DLL Function This chapter describes the Simple DLL function 9 1 Simple DLL Function 9 2 Example of Simple DLL Function 9 1 Simple DLL ProEasy DLL Function 9 1 Simple DLL ProEasy DLL Function This section explains functions used to read and write PLC data from applications created via Visual Basic and Visual C These functions will be provided via the simple DLL ProEasy DLL and will be contained in C Windows System at program installation Since GetMe
238. screen data to multiple GPs at the same time is possible When the Network Project file is modified use the Pro Studio Tool menu s Transfer Network Project selection to send this updated data Reference 8 1 Transferring a Network Project 8 4 8 3 Searching for a Network Node 8 3 Searching for a Network Node You can create a list of the GPs and PCs that are active in the network and immediately register any node that is not in the network project file npj The following description assumes that Pro Studio s main window is open 1 Click Search Active Node in the Tools T menu APS Pro Studio CIS FEI dE Tools T Programming Suppot E DataView D Configure S Ven He Check Provider Information Dis de APS Save SRAM Backup Data Project ID UDP Port Number Ei D Network Transfer Network Project 1398 1072015 8000 H WIN irnport Symbol Computer en Core a EC Ana CPU E WIN Computer aZ Provider Import GLC Symbol BR Action LI Status Monitor Remote Logon Remote Logolf Device Backup Device Restore Save GP Capture Data Data Read Performance Measurement Search active nodels via network NUM E Use this function to automatically search for the nodes connected to the network It allows you to register network nodes easily since information such a
239. separate table 9 18 9 1 Simple DLL ProEasy DLL Function Simple DLL Initialization INT WINAPI EasyInit lt Return value gt Normal termination 0 Ilegal termination Error code Refer to the attached table When using multi thread type applications always call the simple DLL from the thread in which it is used Reference 9 1 1 Precautions When Using Functions Simple DLL Termination INT WINAPI EasyTerm lt Return value gt Normal termination 0 Illegal termination Error code Refer to the attached table For multi thread type applications call ProEasy DLL from the thread where it is used Reference 9 1 1 Precautions When Using Functions 9 19 9 2 Examples of Simple DLL Function 9 2 Examples of Simple DLL Function Using read write functions provided by Pro Server allows you to read write data from VB or VC applications This section describes the procedure to read write designated symbols using the programming help feature Procedures are different between VP and VC applications They re described separately 9 2 1 VG Feature Help VBA Declaration 1 Click VBA Declare Function on Programming Support 34 Projecti Pro Studio FEI Edi Tool Programming Su ppcggffl Dataview D ConfigurelS View Help H Project ID UDP Fort Number I Network Entry Nod 2001 10727 16 8000 o GPM 001000 YC Declare Function a GP2 101000 YE Ziler Bopen WIN
240. sneneneseneesnenen 7 24 7 2 6 Other Features eccccccccescctieccccveccescteccevecceesteerecessceeecuestctie cieeenadencuestecdbncbecteeseceteeesecbecuaceaut 7 26 TE gt GP eVIGWER EE 7 30 7 3 1 Starting GP Viewer csccsssesseeseeesseeesseeeseesnseeseeeenseesneeeseeesaseeseeeenseesseeesseaenseesseeeneeeees 7 30 7 3 2 Setting the Data Sampling Condition cccescceeeeseeeeeeeeeeeeeeeeeseeeeseeeseeeeeseeeseeeeeeenae 7 32 7 3 3 Editing Sampled Data cccsesseesseeesseeeseeenseeeeenseeeeensnesseesaseeeeeeeaseesaseasseeaseeeneeeaeeneas 7 40 7 3 4 Setting Drawing ciiccccicccscvsciceccecccscesnsedvetieccwecee cvstecnaereccvescsteetenvenresnes cutie cacineceesnaveecueuueendd 7 43 L CRRWENG EI Me ETC 7 45 7 3 6 Other Features svsssccecccs isis cccececcvesnedeats cceeascetacesstevesccstccrvecsetansteuesvhucsiboesuceennencnervececcuucest 7 47 7 4 Checking the Data Sampling Status ccccccessseeeeeeseeeeeenseeeeeeeseeeeeees 7 59 Ty System Time Bal ci cee he te eet ei tee a ae 7 61 Chapter 8 Maintenanc via Ethernet 8 1 Transferring Network Project Files eeccsseeseeeeeeeeeeeeeeseeeeeeeeeeeneeees 8 2 8 2 Transferring Only Updated Screen Data to GPS eeseecceeseeeeeseeeeeenees 8 3 8 3 Searching for a Network Node ccccesseecceeeeeeeeeeeeeeeeeeeeeeeeeseeneeeesneneneeeees 8 5 Chapter 9 Simple DLL Function 9 1 Simple DLL ProEasy DLL FUNCTION ccceeesseeeeeeeeseeeeeseeeeeeeseneeeeenee
241. ssage and DispatchMessage will be repeatedly sent until Pro Server returns an acknowledge for the SendMessage messages to the thread will be processed A sample Pro Easy DLL program is included in the Pro Server with Pro Studio for Windows CD ROM 9 1 1 Precautions When Using Functions Precautions When Using the Read WriteDeviceBIT Function pwData stores the quantity of data specified by wCount in series starting from DO bit Ex When wCount is 20 F E D C B A 9 8 7 6 5 4 3 2 1 0 PwData 16 15 14 13 12 11 10 9 81 7 6 5 41 3 2 PwData 1 7 gt 20 19 18 17 For data consisting of two or more bits that continue in series using Read WriteDevice16 or Read WriteDevice32 to read write 16 or 32 bits at a time is more effective than using Read WriteDevice Since the character denotes data that is not fixed or defined use the application program to mask it Precautions When Using the Read WriteDeviceBCD16 32 Functions These functions are used to treat data as BCD inside the PLC However the data contents of pxxData transferred to and from these functions is binary not BCD Pro Server internally converts this data Negative values cannot be used Function Name Decimal Hex Read WriteDeviceBCD16 0 to 9999 0000 to 270F Read WriteDeviceBCD32_ 0 to 99999999 00000000 to 05F5E0FF
242. ssearcet mectaaedetine 2 HOW TO USE THIS MANUAL egene deree eege eegege eege EEN 3 TABLE OF CONTENTS EE 4 MANUAL SYMBOLS AND TERMINOLOGY sssssssussennsennnuunnnnnnnnunnnnnnnnnnnunnnnnnnnnnn nnan 8 PRECAUTIONS ieena iaa anana anaana meta den reaa anada aaa deana Kada aaraa Eana aaa dania a aaa aaia 9 PACKAGE CONTENTS geet deeg 10 OPERATING ENVIRONMENT sssisiesicisistecrsucsonsscusvaceannesteaseustatucdnicannseuerieeniaicannnann 11 Chapter 1 Introduction VS WS et Dr 1 2 1 2 What is the 2 Way Driver cccsssseessseeeeeeseeneeeeeseeeeeeseseeeeeesseeeeeenseeees 1 3 1 3 System Configuration zeg Aeeee g t edeEeee ege nnnm nnmnnn na 1 4 1 3 1 EiermatGonttouration tere anoen runkona aonaran se enre rapia daka riaan iaire 1 4 1 3 2 Internal Configuration ccseecssssseeesseeseeeeeseeseeneseeesuseesseeeesnessenesseesaseeseeesasnesneeesseesaas 1 5 1 4 Application Interfaces ccccecessssseseeeeeeensseeeeeeeeseeesseceeeeeeseeeeensnnenoes 1 11 LAT DDE function Outline wins cicccicccctieectcencctencsesnec ones tecectcuestce EENEG 1 11 1 4 2 Simple DLL FUNCHION isn ci ccticceceeccteccecte cece cceneneecteececestcceseecedseesecevecetsucervsmeedieesadenvbodeuies 1 12 1 4 3 OPC Interface FUNCtION winciiiicceccccctecesececce sence ceaeecatncedacsuceeades cents ccunscacsreeeeeeccnreccenecdereneee 1 13 1 4 4 SRAM Backup Data Storage FUNCTION csccsseeeeseeeeeeeeeeeeneeseeeeeeeesneeeseeeseeeeenseetenee 1 14 1 5 Pro
243. start and the data will be written to the Book Once the data write is finished however Excel will quit after a preset interval Time Stamp Selecting Time stamp is used will write the Provider s time data 4 7 4 3 3 4 3 Action Item Contents Alarm Log with Sound Alert Features This feature allows the simultaneous output of sound data and display of alarm data while automatically saving a Provider s Alarm history data Also after creating the following table data with Microsoft Access an Action Item s table designation settings can be used to compare the Provider data and a Key Code and then perform the actions designated in the table mdb file name Alarm mdb Table name TemperatureAlarm_TBL Designate the WAV files Key_Code WAV DISP1 DISP2 mn 1 Machine way Machine1 High Temp Enter the message you wish to 2 Machine2 wav Machine2 Low Temp have appear when the Action 3 Machine way Machines High Temp Item is started The sample of Alarm mdb is available in Pro Server with Pro Studio Pro SDK 1 When the Setting Parameters screen appears enter the following data Setting Parameters Version 4 00 Access Data Folder OK a Program Files E Zi Protace SS Delai ay Pro Server with Studio be mdb Filename Log Data Save Table E A Table El Number of Log Data It
244. symbols Registered 20 symbols Symbol Export The created symbols can be exported in a file format Ibe that can be used on GP PRO PBIII for Win dows Also these symbols can be exported in a file format 2ws that can be imported to another network project 1 Select the Tool T s Export Symbol from the Menu Bar SA PS Pro Studio wae Dei Fait Tools T Programming Supporti DataView D Configure S Viewty HelpiH Check Provider Information Search Active Node Save SRAM Backup Data Tee Hena Project Import Symbol Project ID UDP Port Number 199871072015 8000 Bp Action Li Export symbol s to GP PRO PE3 or to Pro Studio exported file HM E Right clicking on a desired node can also be used to select Export Symbol 2 The following dialog box will appear Designate the format and name of the file to be exported and click Export 3 2 3 3 2 Registering Symbols Symbol Export Export Format iy Way Format t GP PRO P AI Format This feature exports only symbol names and device addresses After this feature is used the Data Type and Polling Time will revert to their default values Export Global Symbols Export ie name Reference Sech Se HE 3 The following dialog box will appear and the symbol will be export
245. t m 7 29 7 3 GP Viewer 7 3 GP Viewer GP Viewer allows you to sample screen data from the GP system connected to Ethernet to display screen data or to playback saved GP data on GP Viewer Starting GP Viewer When you start GP Viewer screens on the GP system are displayed on the GP Viewer browser in real time 1 After selecting the entry node to use GP Viewer select GP Viewer on Data View D of the menu bar GG mtom Pro Studio Hie Edit Toast Programming Support P UI Bie el ee 2 mtom Network Enty Node HE 10 100 0 55 MEMORY LINK 5 S Provider Information Si Action List Dateie ConfigunetS View Help D Wi Symbolllter Open Data iew O Data Sampling Status System time bar Type Address Data Type Polling Ti Option e You should make sure to connect to the GP system because the commu nication process will start when you click GP Viewer e You can upload the connected GP screen on GP77R SERIES however the GP system is reset once If your model does not support the online uploading function the warning window appears e If the password protection has been set to the GP screen the password entry dialog appears e The GP Viewer screen refresh period is set via Pro Studio s gt
246. ta the video screen data saved in the CF Card is uploaded If you select Video Capture Data you can not designate File Name Zero Suppress or Show Browser The default is GP Capture Data Upload from CF Card You should select either to upload all the video screen data in the CF Card or to upload only files that do not exist in the directory designated by Save To or that have been updated This defaults to Upload All Files This item can be designated only when Video Screen Saving Data has been selected at Select Data to Read For how to capture video screens Reference GP PRO PBIII for Windows Tag Reference 4 32 4 3 Action Item Contents Save To Folder If you check the Save To Folder location in the action parameter display and if the folder exists the contents exactly as you designated is displayed If the folder does not exist the following window appears Book Location Folder does not exist C My Documernts Data Do you create new folder tes No Cancel Click Yes to create the folder The folder creation window will appear If you click No the folder designation window will appear to designate the Save To Folder location If you click Cancel the process is canceled File Name Designate the file name to save JPEG files read The extension is jpg This is defaulted to NODESY YM D h M s node name year month day ho
247. ta sampling condition and the contents are displayed on GP Viewer The display contents are updated according to the data change When you start the device data sampling various buttons for viewing sampled data are appended on GP Viewer Refer to 7 3 5 Playback Feature for the viewing method of sampled device data Reference 7 3 5 Playback Feature 3 GP VYiewer Mm File E Opti Edit Sampling 200111102 11 201 2001 11 02 1113 42 aer Ell 1113 57 53 54 56 56 zer 7 39 7 3 3 Editing Sampled Data This feature allows you to edit sampled device data 1 Click Data Edit of GP Viewer GP Viewer File E Option Data Edit Sampling ial ES 200111102 ddi 201 200111702 41 13 42 ai 1143 aE UCI Di 54 55 56 3ec Jeer a I H 7 3 GP Viewer 2 The Data Edit dialog appears You can edit data in various methods The following part describes the major operation method after the Data Edit dialog appeared Data Source Kei 1 2 3 item name DUU 0100 0200 Append Node name GP2300L Device name DUU GP2300L GP2300L 0100 0200 value Data Type 16 BittSigned 16 Bit Signed 16 Bit Signed ltem Status Error Code D D D Data number 20 1 1 Delete 141201 11
248. the Time Bar data playback feature on your own applications If you read the file used on your own application e g application to display the database value in a bar graph format that is equal to the Pro Server Database File DB into System Time Bar you can synchro nize the action of System Time Bar with the display contents of your application e g length change of a bar graph so that you can playback the database contents on various applications 7 63 Maintenanc via Ethernet This chapter explains the maintenance procedures you can perform via the Ethernet network 8 1 Transferring Network Project Files 8 2 Transferring Only Updated Screen Data to GPs 8 3 Searching for a Network Node 8 1 Transferring Network Project Files 8 1 Transferring Network Project Files The following procedures explain how to transfer a modified network project file npj via the Ethernet network to a previously set up GP i e that has had its system data file sent to it 1 On the Network Entry Node list click the destination GP S A PS Pro Studio SKS File F J Viewl Hei Dia Ex e Edit E Tools T Programming Support DataviewlD Configure S BF Network Enty Node i S WINDOWS_NT 210 180 181 172 Windows Personal Computer Wig MELSEC_QN amp 10 230 254 254 MITSUBISHI MELSEC Gn4 CPU D WINDOWS_95 10 230 230 119 windows Personal Computer ere GP 23001 10 100 0 100 MEM
249. the software exit all programs except the Pro Server with Pro Studio for Windows Setup program Be sure to quit all memory resident programs such as Virus detection software e H an older version of this software is currently installed on your PC be sure to uninstall it prior to installing this software e Copying the master CD ROM files to your hard disk does not install this software To be able to start this software you must use the Setup program step 2 below 1 Insert the CD ROM into your PC s CD ROM drive 2 Click the Start button and when the Start menu appears select Run Programs Documents Settings Find Help Bun Shut Down Windows95 3 Type X 2WSetup exe and then click OK x represents the drive letter assigned to your CD ROM drive ep Type the name of a program folder or document and Windows will open it for you Oper D 2W Setup exe F DE Cancel i Browse The master CD ROM supports the AutoPlay feature which means inserting it into your CD ROM drive will automatically start the Setup program 2 2 4 The installation menu appears Click the Pro Server with Pro Studio Setup bar 2 1 Installing the Software ES ProServer Feu Pro Server with Pro Studio Setup GP viewer Trial Edition GFP PROPB III 2 Way Driver Update OPCPRO
250. tible software Message PROSERVR MELSEC_QNALD40_ WORD This string was copied to the clip board Please paste and use in your application 4 Here the copied string is pasted into an Excel worksheet to create a DDE link 2 Microsoft Excel File Edit View Insert Format Tools Data Window Help Owe A Sae s teso v e e Wald ral elle u Zz aleu dl am Els PROSERVRIMELSEC_ONALD40__ WORD B c A PROSERVRIMELSEC GNA D40 WORD rall When a symbol s data is text and is copied to an Excel cell only the first character of the text will be displayed In this case edit that Excel cell and add the required characters Ex PROSERVER GP1 SYMBOL 20 mmm vin Be sure to put around Reference A 1 DDE Function Details 3 19 When Creating an LS Area inside your PC 3 4 Using the DDE Function When using the data distribution feature the creation of an internal LS Pro Server area inside your PC will allow you to easily read out data periodically from one or more PLCs The setting of the DDE feature to read out collected data from the LS area will allow the data in the LS area to be refreshed faster DDE Application Pro Server LS Area Personal Computer GP 1 Call up th
251. tinue the process due to a memory lack 9580 256Ch_ Cannot analyze the device name 9581 256Dh DB name is not designated 9582 256Eh_ Cannot access to DB 9583 256Fh SS edit DB because it is locked edited by another program e g Data iew 9584 2570h Either the node name or the device name is not designated 9585 2574h Cannot use DB because it has been closed DB in use is automatically closed once when NPJ is saved loaded 9586 2572h The database may be broken 9587 2573h _ Data not saved 9588 2574h Cannot find data at the designated time 9589 2575h _ No polling setups exist 9590 2576h The database has not been opened Or it has already been closed 9591 2577h Already polling start 9592 2578h Old data will be overwritten isteadd of newest data 9593 2579h Delete recode 9594 258Ah 3 Reserved 9599 257Fh 9600 2580h _ Cannot continue the process due to a resource lack in GP 9601 2581h Reserved 9619 2593h 9620 2594h The network project item has been registered redundantly The network project file has been broken 9621 2595h Reserved 9639 25A7h The Provider information data that is not registered in the network project 9640 25A8h file were sent from other node Network projects differ between the Provider and the Receiver nodes 9641 25A9h Either that the device write failed at the Receiver node or that no partner nodes exist while providing data 9642 25AAh Reserved 9659 25BBh 9660 25BCh
252. tration 4 35 4 4 Action Item Designation 2 Click the OK button and the action will be added to the Provider information list d Configure S er Help H az Ei Action List EP EE Network Entry Node E WINDOWS_NT 210 160 181 172 Windows Personal Computer Ba MELSEC_ONA 10 230 254 254 MITSUBISHI MELSEC Gnd CPU D WINDOWS_95 101 230 230 119 Windows Personal Computer Provider Information Attribute Action Action Contents Data Type ACTIONT Wites Data to ExcelB 16 BilSigned Write Help is F1 key The following table shows the data types that you can designate to the Provider node s symbol name for each action item 16 Bits 32 Bits Single Double Character EENS Bit F Signed Unsigned HEX BCD Signed Unsigned HEX BCD Precision Precision Start an Application O O O O O O O O O O O O Write Data to Excel Book O O O O O O O O O O O O Alarm Log with voice SES O O O O O O O O O O O X notification feature Upload of GP Log Data O O O O O O O O O O O D Automatic Download of GP A O O O O O O O O O O O X Filing Data Automatic Upload of GP a O O O O O O O O O O O X Filing Data Automatic Upload of Access O O O O O O O O O O O X Data Automatic Download of Access Data e Download of Excel
253. unt WORD wAppKind INT WINAPI WriteDeviceVariantD LPCTSTR bsNodeName LPCTSTR bsDeviceName LPVARIANT pData WORDwCount WORD wAppKind Direct Read Write Function for Multi Thread Bit data INT WINAPI ReadDeviceBitDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBitM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBitDM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount 16 bit data INT WINAPI ReadDevice16DM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount INT WINAPI WriteDevice16M HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount INT WINAPI WriteDevice16DM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount 32 bit data INT WINAPI ReadDevice32DM HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDevice32M HANDLE hProServer LPCTSTR bsNodeName LPCTSTRbsDeviceName DWORD pdwData WORD wCount INT WINAPI WriteDevice32DM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName DWORD pdwData WORD wCount 16 bit BCD data INT WINAPI ReadDeviceBCD16DM HANDLE hProServer _LPCTSTR bsNodeName LPCTSTRbsDeviceName WORD pwData WORD wCount INT WINAPI WriteDeviceBCD16M HANDLE hProServer _LPCTSTR bsNodeName
254. ur minute second The exact file name in the CF Card is used if Video Screen Saving Data has been selected at Select Data to Read Zero Suppress If you check this option no zeros are supplied to the file name even though the file name includes any of 7M D h mM s month day hour minute second If you do not check this option 0 zero is supplied to the file name if the file name includes any of M D h M s month day hour minute second and that number is one digit The default is checked This file name already exists If you wish to overwrite existing files check Save Rewrite If you do not want to overwrite existing files check Number End of File Name This is defaulted to Number End of File Name Show Browser When this item is checked the data uploaded is displayed using a special JPEG file browser This browser can be used to print copy or call start up other Windows JPEG viewer applications Internet Explorer Paint etc 4 33 4 3 Action Item Contents When you execute Save GP Capture Data drawings and operations on the GP screen will stop for a few seconds Therefore you cannot normally execute the GP screen capturing operation from upper level PCs You should set the bit O of GP s LS2076 to ON 1 to capture GP screens from upper level PCs The bit O of LS2077 will be set to ON 1 while capturing 4 34 4 4 Action Item Design
255. us SLAVE SI SIMATIC 545 555 CPU Allen Bradley PLC 5 SERIES Allen Bradley SLC500 SERIES AB Data Highway Plus 1 3 AB Sic500 DH485 3 AB Remote IO Keyence KEYENCE KV 10 16 24 40 SERIES KEYENCE KZ300 SERIES KEYENCE KZ A500 SERIES CPU KEYENCE KZ A500 SERIES LINK Shinko Electric SHINKO SELMART SERIES Matsushita Electirc Industrial Panadac 7000 SERIES MINAS A S SERIES Modicon Corp Modicon Modbus MASTER Modicon Modbus SLAVE Modicon Modbus Plus FATEK FATEK FACON FB ORIM VEXTA ORIM VEXTA E1 SERIES Yamatake YAMATAKE SCD SERIES Toho Electronics TOHO TTM SERIES RKC INSTRUMENT RKC CB SR Mini SERIES Shinko Technos SHINKO TECHNOS INDICATING Other Device DeviceNet Slave I O i JPCN 1 Standard BS CC Link Type CC Link Intelligent Device 4 Memory Link SIO Type Memory Link Ethernet Type X lt O gt lt gt lt Se lt O O O O O O X lt O O O O O O O O O X lt lt O O OO ee OO OO Se OO OO OO OO OO OD D OO ololxx xxO O0 O0O0O0O0O0O0O0O0OzcgzeOOOpOOOeOOOOOOOOOOOOO OJO X lt O Oj OJOJOJOJ O OJO P O OJOJOJ O OJOJ O O F O OJO O OJOJO O OJOJO O OJOJO O O OOO O 2 Protocols before V1 2 can be used however it cannot detect write errors gd An expansion Ethernet unit is required to use the 2 Way Driver with GP77R
256. val O O O O x lt x O O O O0 O O 1 2 L AE AR AR AR AR AE xxx x x O O X Setting enabled O Setting disabled Option need to be set when checkboxes are checked 1 Ifyou designate Upper Edge Trigger and check OFF Time After Providing the device desig nated by the symbol name is set to OFF 0 when the providing process is completed 2 Ifyou designate Lower Edge Trigger and check ON Time After Providing the device desig nated by the symbol name is set to ON 1 when the providing process is completed 3 13 3 3 Registering Provider Data e The check interval is defaulted to 0 zero ms 0 ms will run as fast as possible You should adjust the check interval if your system requires it e The process after providing should be set to Complete Process The process is completed even when a providing error occurred 4 The Providing Configuration window appears Enter the necessary items and then click OK Providing Configuration es Provider Type Feer to Peer Broadcast Caution Do not use the Broadcast setting unless you are familiar with Ethernet settings E Reply Check Ok Cancel HelptHi Transmission Type Response Check Peer to Peer Performe Default None Broadcast Performe Default None The Broadcast feature places a load even o
257. vider Information Outline cc teeccceeeessseeeeeeeeeeeeseeeeeeeeeeeeeeeeeeeenees 1 15 1 5 1 Providing Information to the HOSt cscssssesseeeeesseeeeseseesseeeenseeeenseeeesnseeeenseeennenes 1 15 1 5 2 Providing Information between GPS ccscceseeseeeeeeneeeeeeeeseeeeeeeeesenenseeeeeenseeeeseeeeeaees 1 16 1 5 3 Action Feature Overview ccsecsscesseeesseesseesssneseeeesseesnseeeseesnseessseessnesaseaseeeeaseesaseeeenee 1 17 1 6 Overview of Data View cc eeceeeesseseeeeeeeeeenseeeeeeeeeeseeeeeeeesneneeeeeeensenees 1 18 1 7 Configuring the System xis scents csctcce eerste deeg SEN 1 19 Chapter 2 Pro Server Fundamentals 2 1 Installing the SoftWare E 2 2 2 2 Starting and Exiting the Software ccccssseeeeessseeeeeeeeeeeeeeseeeeeeeeneeeeeeeees 2 5 2 2 1 Starting and Using Pro Studio ccsccsseeesseeeeeeeseeeeeeeenseeeneeesseeeaeeeseeeeaseaseeeeaseeeneneeaees 2 5 2 2 2 EXitinG e ET UU WEE 2 9 2 2 3 Starting and Exiting Pro Server ccsecsseeseeesseeeeeeeeseeesseeeeesseeeeseeeeseeseeeeeeeeseeeeeeeeenae 2 10 2 3 Screen Item Names and Functions ccccceeecceeceeeceeeeeeeeeeeeeeeeeeeeenees 2 12 Chapter 3 Operation 3 1 Registering Network Entry Nodes ccseeeeeeessseeeeeeeeeeeeeeeeneeeeeeeeenenees 3 2 3 2 Registering Symbols EE 3 5 322 1 IMpoOrtinig SyMBols 2 ccecine eee ee seat ldea EE CERS en 3 8 3 2 2 Symbol Export sgoueeRkEeEEEAENCEENNEEEEEEEE EE EENS 3
258. wer In addition to the above you can also use the Data Sampling Status dialog showing the data sampling status on Pro Server or the tool such as System Time Bar applicable to user created application software The frame structures of Device View GP_ Viewer and the Data Sampling Status dialog differ from other windows The following shows the general view Valve Data Tyee mem 16 Bit fS unon Device nam ec MELSEG_owa po0040 on tie Lisiring Setxp dalog appease You can Font cr the display contents of Device View ia the Operation Window Show Hide Switching Bar Operation Description Window You can only install the trial version of GP Viewer from the Pro Server with Pro Studio for Windows Ver 4 0 CD ROM When a trial version of the GP Viewer software is used the words Trial Edition will appear on the splash screen All the program s features however are the same as the official version You need to purchase it separately to use the official version of GP _ Viewer In this chapter the whole usage procedure of GP Viewer is described 7 2 7 1 Data View Overview Following four files are created by Device View RE BDV seara Sampled device information text format w ADB sisisi Sampling method information text format PERAS R omea Sampled device opti
Download Pdf Manuals
Related Search
Related Contents
manuale d`uso e manutenzione use and maintenance manual When you installing AGP card, please make V-LTL9305 Touch LED Table Lamp Manuale - TELEVISTA Srl PNEG-950 - Network Dryer Operation and Service Manual - Dan-Corn Operation & Installation Manual 05/20/2003 Philips BeNear Cordless phone CD1912B Subidos manuales de oracle, mastercam, civilcad y taller Table Of Contents Copyright © All rights reserved.
Failed to retrieve file