Rockwell-automation 2711P Software Development Kit User Manual Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Rockwell-automation 2711P Software Development Kit User Manual. Rockwell Automation 2711P Software Development Kit User Manual User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 104
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - Development Kit

Software Development Kit2711PUser Manual

Strany 2 - Important User Information

Publication 2711P-UM005A-EN-P - March 200710 Introduction to the PanelView Plus CE TerminalCPUThe system processor is an Intel mlCP 650MHz, ult

Strany 3 - Table of Contents

Publication 2711P-UM005A-EN-P - March 2007100 Messages

Strany 4 - 4 Table of Contents

Publication 2711P-UM005A-EN-P - March 2007IndexCc++ name mangling 98Ddeveloping CE drivers and applications 29Eerror codes 99exception debug messages

Strany 5 - Messages

Publication 2711P-UM005A-EN-P - March 20072 Index

Strany 7 - Manual Conventions

Publication 2711P-UM005A-EN-P - March 2007 2Supersedes Publication 6182H-UM002B-EN-P - November 2003 Copyright © 2007 Rockwell Automation, Inc. All ri

Strany 8 - Additional Resources

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 11The external CF connector is controlled by a PCMCIA

Strany 9 - Terminal

Publication 2711P-UM005A-EN-P - March 200712 Introduction to the PanelView Plus CE TerminalInput/OutputAn INTEL 82801BA I/O CONTROLLER HUB (ICH

Strany 10 - Memory Devices

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 13PCI The PanelView Plus CE device uses a PCI bus for

Strany 11 - Boot ROM

Publication 2711P-UM005A-EN-P - March 200714 Introduction to the PanelView Plus CE TerminalATMEL MicrocontrollerAn Atmel 8-bit microcontroller

Strany 12 - Input/Output

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 15Touch ScreenAn integral, resistive analog touch scre

Strany 13 - Real-time Clock

Publication 2711P-UM005A-EN-P - March 200716 Introduction to the PanelView Plus CE Terminal• PanelView Plus CE components are a collection of a

Strany 14 - ATMEL Microcontroller

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 17Default Registry that was extracted from the OS is u

Strany 15 - Software Architecture

Publication 2711P-UM005A-EN-P - March 200718 Introduction to the PanelView Plus CE TerminalRestoring the Default RegistryThere are times when i

Strany 16 - Boot and Startup Sequence

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 19When the device is started in Safe Mode, the backgro

Strany 17 - The Windows CE Registry

Important User InformationSolid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines

Strany 18 - Registry Flushing

Publication 2711P-UM005A-EN-P - March 200720 Introduction to the PanelView Plus CE TerminalThe startup process copies all folders and their con

Strany 19 - File Systems

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 21The Display Module keypad is supported by two separa

Strany 20 - Input Devices

Publication 2711P-UM005A-EN-P - March 200722 Introduction to the PanelView Plus CE Terminal• Support for assignment of special functions to key

Strany 21 - Keypad Driver

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 23Keypad HandlerThe Rockwell Automation supplied keypa

Strany 22

Publication 2711P-UM005A-EN-P - March 200724 Introduction to the PanelView Plus CE TerminalRegistry keys used by KHSTUB.EXEThe operating system

Strany 23 - Keypad Handler

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 25allows for interchange of Display Module without rep

Strany 24 - Display Module EEPROM

Publication 2711P-UM005A-EN-P - March 200726 Introduction to the PanelView Plus CE Terminalvalue of the registry key \HKLM\Loader\SystemPath. N

Strany 25 - Run Time Environment

Publication 2711P-UM005A-EN-P - March 2007Introduction to the PanelView Plus CE Terminal 27Process PrioritiesAll executable files start in user

Strany 26

Publication 2711P-UM005A-EN-P - March 200728 Introduction to the PanelView Plus CE Terminal

Strany 27 - Process Priorities

29 Publication 2711P-UM005A-EN-P - March 2007Chapter 2Developing CE Applications Overview This chapter covers topics on developing CE applications fo

Strany 28

3 Publication 2711P-UM005A-EN-P - March 2007Table of ContentsPrefaceUsing this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strany 29 - Developing CE Applications

Publication 2711P-UM005A-EN-P - March 200730 Developing CE ApplicationsInstalling the ApplicationOnce the user has obtained an installation pac

Strany 30 - Application Upgrades

Publication 2711P-UM005A-EN-P - March 2007Developing CE Applications 31Persistency ConsiderationsInstallation of a new application program on t

Strany 31 - Set up the Development

Publication 2711P-UM005A-EN-P - March 200732 Developing CE Applications2. Install Microsoft embedded Visual C++ 4.0 software. This is the devel

Strany 32

33 Publication 2711P-UM005A-EN-P - March 2007Chapter 3PanelView Plus CE SDK OverviewThe PanelView Plus CE SDK provides developers with access to an e

Strany 33 - PanelView Plus CE SDK

Publication 2711P-UM005A-EN-P - March 200734 PanelView Plus CE SDKVisual Basic .NETMicrosoft Visual Studio .NET 2003 is the PC development envi

Strany 34 - Visual Basic .NET

35 Publication 2711P-UM005A-EN-P - March 2007Chapter 4PanelView Plus CE-Specific Extensions to the WinCE APIOverviewThis chapter covers these topics:•

Strany 35 - WinCE API

Publication 2711P-UM005A-EN-P - March 200736 PanelView Plus CE-Specific Extensions to the WinCE APIHardware WatchdogWatchdog_TagThe function co

Strany 36 - Hardware Watchdog

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 37Requirements: Software WatchdogThese functio

Strany 37 - Software Watchdog

Publication 2711P-UM005A-EN-P - March 200738 PanelView Plus CE-Specific Extensions to the WinCE APIdwTimeoutTimeout in milliseconds. This param

Strany 38

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 39Return Values: Remarks: The function Watchdo

Strany 39 - Remarks:

Publication 2711P-UM005A-EN-P - March 20074 Table of ContentsSystem Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strany 40 - Requirements:

Publication 2711P-UM005A-EN-P - March 200740 PanelView Plus CE-Specific Extensions to the WinCE APIIf the value of dwTimeout is within the rang

Strany 41 - Watchdog_SW_Tag

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 41Watchdog_SW_TagThis function tags the softwa

Strany 42 - System Parameters

Publication 2711P-UM005A-EN-P - March 200742 PanelView Plus CE-Specific Extensions to the WinCE APISystem ParametersThe system maintains inform

Strany 43

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 43Remarks:The functions use a model that is si

Strany 44

Publication 2711P-UM005A-EN-P - March 200744 PanelView Plus CE-Specific Extensions to the WinCE API• RM_PARAMETER_BACKLIGHT_STATUSThis paramete

Strany 45 - Parameters:

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 45• RM_PARAMETER_BOARD_REVISIONThis parameter

Strany 46

Publication 2711P-UM005A-EN-P - March 200746 PanelView Plus CE-Specific Extensions to the WinCE APIReturn Values: Remarks: The buffer at *pvDat

Strany 47 - System Timers

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 47pdwSizeA pointer to a caller allocated DWORD

Strany 48 - UserTimerGetNumberOfTimers

Publication 2711P-UM005A-EN-P - March 200748 PanelView Plus CE-Specific Extensions to the WinCE APIA timer number identifies a specific timer.

Strany 49 - UserTimerClaim

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 49Requirements: UserTimerClaimThis function is

Strany 50 - UserTimerRequestFrequency

Publication 2711P-UM005A-EN-P - March 2007Table of Contents 5Chapter 5Device DriversOverview . . . . . . . . . . . . . . . . . . . . . . . . .

Strany 51

Publication 2711P-UM005A-EN-P - March 200750 PanelView Plus CE-Specific Extensions to the WinCE APIRemarks: A timer must be claimed for any oth

Strany 52 - UserTimerGetWaitEvent

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 51pdwFrequencyPointer to an application alloca

Strany 53 - UserTimerSet

Publication 2711P-UM005A-EN-P - March 200752 PanelView Plus CE-Specific Extensions to the WinCE APIUserTimerGetWaitEventThis function registers

Strany 54 - UserTimerSetEx

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 53Calling this API a second time with the same

Strany 55

Publication 2711P-UM005A-EN-P - March 200754 PanelView Plus CE-Specific Extensions to the WinCE APIReturn Values: Remarks: This function provid

Strany 56 - UserTimerGetValue

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 55Parameters: dwTimerNumberThe Timer Number is

Strany 57 - UserTimerStop

Publication 2711P-UM005A-EN-P - March 200756 PanelView Plus CE-Specific Extensions to the WinCE APIUserTimerGetValueThis function gets the coun

Strany 58 - Hardware Monitor

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 57Requirements: UserTimerStopThis function sto

Strany 59 - Hardware Monitor Functions

Publication 2711P-UM005A-EN-P - March 200758 PanelView Plus CE-Specific Extensions to the WinCE APIRequirements: Hardware MonitorThe PanelView

Strany 60

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 59Hardware Monitor FunctionsThese functions pe

Strany 61

Publication 2711P-UM005A-EN-P - March 20076 Table of Contents

Strany 62

Publication 2711P-UM005A-EN-P - March 200760 PanelView Plus CE-Specific Extensions to the WinCE APINote that registering a warning event will n

Strany 63

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 61Remarks: This function unregisters and frees

Strany 64

Publication 2711P-UM005A-EN-P - March 200762 PanelView Plus CE-Specific Extensions to the WinCE APIRemarks: This function returns a bit wise Or

Strany 65

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 63Remarks: Note that monitor parameters will v

Strany 66

Publication 2711P-UM005A-EN-P - March 200764 PanelView Plus CE-Specific Extensions to the WinCE APIlfLowerWarningLevelDouble precision floating

Strany 67

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 65hm_GetMonitorWarningLevelsThis function gets

Strany 68

Publication 2711P-UM005A-EN-P - March 200766 PanelView Plus CE-Specific Extensions to the WinCE APIThe monitor level specified in lfUpperWarnin

Strany 69 - Keypad Overview

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 67Remarks: This function performs a reboot of

Strany 70

Publication 2711P-UM005A-EN-P - March 200768 PanelView Plus CE-Specific Extensions to the WinCE APIReturn Values: Remarks: The watchdog registe

Strany 71

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 69KeypadThese functions support front panel co

Strany 72

7 Publication 2711P-UM005A-EN-P - March 2007PrefaceUsing this ManualRead this preface to familiarize yourself with the rest of the manual. The prefac

Strany 73 - System Event Log

Publication 2711P-UM005A-EN-P - March 200770 PanelView Plus CE-Specific Extensions to the WinCE APIKeypad Driver/Handler OverviewThe keypad dri

Strany 74 - Log New Event

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 71• IOCTL_KPD_SET_TYPEMATIC_PARAMSThis sets th

Strany 75 - Clear Event Log

Publication 2711P-UM005A-EN-P - March 200772 PanelView Plus CE-Specific Extensions to the WinCE APIRequirements: Registry Keys for Keypad Drive

Strany 76 - Get Last Event

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 73• [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Keypad

Strany 77 - Get First Event

Publication 2711P-UM005A-EN-P - March 200774 PanelView Plus CE-Specific Extensions to the WinCE APIMembersnIndexThe record index.nType Event Ty

Strany 78 - Get Next Event

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 75Remarks: The Event is written to the system

Strany 79

Publication 2711P-UM005A-EN-P - March 200776 PanelView Plus CE-Specific Extensions to the WinCE APIGet Last EventThis function reads the last o

Strany 80 - Plus CE Mechanisms

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 77Get First EventThis function reads the first

Strany 81 - Lock Pages

Publication 2711P-UM005A-EN-P - March 200778 PanelView Plus CE-Specific Extensions to the WinCE APIGet Next EventThis function reads the “next”

Strany 82 - SetSystemMemoryDivision

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 79Return Values: Remarks: This first time GetN

Strany 83

Publication 2711P-UM005A-EN-P - March 20078 Additional ResourcesFor additional information, refer to these publications, that you can download

Strany 84 - 84 Device Drivers

Publication 2711P-UM005A-EN-P - March 200780 PanelView Plus CE-Specific Extensions to the WinCE APIRecommended PanelView Plus CE MechanismsThes

Strany 85 - Sample Code

Publication 2711P-UM005A-EN-P - March 2007PanelView Plus CE-Specific Extensions to the WinCE API 81// Turn on the keypad handler.SendNotifyMess

Strany 86

Publication 2711P-UM005A-EN-P - March 200782 PanelView Plus CE-Specific Extensions to the WinCE APIUnLock PagesThis Win32 function unlocks a sp

Strany 87

83 Publication 2711P-UM005A-EN-P - March 2007Chapter 5Device DriversOverviewThis chapter provides an overview of developing a device driver and sampl

Strany 88

Publication 2711P-UM005A-EN-P - March 200784 Device DriversThe following flow chart illustrates the preferred method for driver initialization.

Strany 89

Publication 2711P-UM005A-EN-P - March 2007Device Drivers 85Sample CodeThe code sample describes the preferred process for driver initialization

Strany 90

Publication 2711P-UM005A-EN-P - March 200786 Device Drivers#define DRV_USE_IO // set to use port IO #define DRV_USE_PCI

Strany 91

Publication 2711P-UM005A-EN-P - March 2007Device Drivers 87 \ KernelIoControl(IOCTL_HAL_REQUEST_SYSINTR, \ (PVOID)&a

Strany 92

Publication 2711P-UM005A-EN-P - March 200788 Device Drivers PDDKISRINFO pdii, PDDKPCIINFO pdpi ); #endif // defined(DRV_USE_PCI)DRV_Deinit

Strany 93

Publication 2711P-UM005A-EN-P - March 2007Device Drivers 89 pDrvData->Gii.CheckPort = TRUE; #if defined(DRV_USE_IO) pDrvData->Gii.

Strany 94

9 Publication 2711P-UM005A-EN-P - March 2007Chapter 1Introduction to the PanelView Plus CE TerminalThis chapter provides an overview of the PanelView

Strany 95

Publication 2711P-UM005A-EN-P - March 200790 Device Drivers // // Attempt to use lower level DDK function to get // info

Strany 96

Publication 2711P-UM005A-EN-P - March 2007Device Drivers 91#if defined(DRV_USE_ISR) // // If a DLL name was not assigned yet, just defau

Strany 97

Publication 2711P-UM005A-EN-P - March 200792 Device Drivers if (INVALID_HANDLE_VALUE == (pDrvData->hEvent = CreateEvent(NULL,FALSE,FALSE,

Strany 98 - C++ Name Mangling

Publication 2711P-UM005A-EN-P - March 2007Device Drivers 93 // // If the pointer is invalid, just return // if (0 == hDeviceCont

Strany 99 - Error Codes

Publication 2711P-UM005A-EN-P - March 200794 Device Drivers pDrvData->hEvent = INVALID_HANDLE_VALUE; } // // release the

Strany 100 - 100 Messages

Publication 2711P-UM005A-EN-P - March 2007Device Drivers 95 } if (dwStatus == ERROR_SUCCESS) { pdii->cbSi

Strany 101

Publication 2711P-UM005A-EN-P - March 200796 Device Drivers// /////////////////////////////////////////////////////////////////////DWORD WINAPI

Strany 102 - 2 Index

97 Publication 2711P-UM005A-EN-P - March 2007Appendix AMessagesSerial Debug MessagesThe boot loaders and WinCE support a Debug Monitor that, when ena

Strany 103

Publication 2711P-UM005A-EN-P - March 200798 MessagesException Debug MessagesPanelView Plus CE supports an exception handler named crashlog.exe

Strany 104 - Rockwell Automation

Publication 2711P-UM005A-EN-P - March 2007Messages 99PathThe notion of path is much the same as any other Windows or DOS system. WinCE searches

Komentáře k této Příručce

Žádné komentáře