Rockwell-automation 2711P Software Development Kit User Manual Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Equipamento Rockwell-automation 2711P Software Development Kit User Manual. Rockwell Automation 2711P Software Development Kit User Manual User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 104
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - Development Kit

Software Development Kit2711PUser Manual

Página 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

Página 3 - Table of Contents

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

Página 4 - 4 Table of Contents

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

Página 5 - Messages

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

Página 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

Página 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

Página 9 - Terminal

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

Página 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

Página 11 - Boot ROM

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

Página 12 - Input/Output

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

Página 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

Página 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

Página 15 - Software Architecture

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

Página 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

Página 17 - The Windows CE Registry

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

Página 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

Página 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

Página 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

Página 21 - Keypad Driver

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

Página 22

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

Página 23 - Keypad Handler

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

Página 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

Página 25 - Run Time Environment

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

Página 26

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

Página 27 - Process Priorities

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

Página 28

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

Página 29 - Developing CE Applications

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

Página 30 - Application Upgrades

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

Página 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

Página 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

Página 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

Página 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:•

Página 35 - WinCE API

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

Página 36 - Hardware Watchdog

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

Página 37 - Software Watchdog

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

Página 38

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

Página 39 - Remarks:

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

Página 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

Página 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

Página 42 - System Parameters

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

Página 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

Página 44

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

Página 45 - Parameters:

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

Página 46

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

Página 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

Página 48 - UserTimerGetNumberOfTimers

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

Página 49 - UserTimerClaim

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

Página 50 - UserTimerRequestFrequency

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

Página 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

Página 52 - UserTimerGetWaitEvent

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

Página 53 - UserTimerSet

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

Página 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

Página 55

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

Página 56 - UserTimerGetValue

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

Página 57 - UserTimerStop

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

Página 58 - Hardware Monitor

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

Página 59 - Hardware Monitor Functions

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

Página 60

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

Página 61

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

Página 62

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

Página 63

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

Página 64

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

Página 65

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

Página 66

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

Página 67

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

Página 68

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

Página 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

Página 70

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

Página 71

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

Página 72

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 79

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

Página 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

Página 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”

Página 82 - SetSystemMemoryDivision

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

Página 83

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

Página 84 - 84 Device Drivers

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

Página 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

Página 86

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

Página 87

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

Página 88

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

Página 89

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

Página 90

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

Página 91

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

Página 92

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

Página 93

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

Página 94

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

Página 95

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

Página 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

Página 97

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

Página 98 - C++ Name Mangling

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

Página 99 - Error Codes

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

Página 100 - 100 Messages

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

Página 101

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

Página 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

Página 103

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

Página 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

Comentários a estes Manuais

Sem comentários