beautypg.com

Rockwell Automation 2711P Software Development Kit User Manual User Manual

Page 4

background image

Publication 2711P-UM005A-EN-P - March 2007

4 Table of Contents

System Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

System Parameters and Data Types. . . . . . . . . . . . . . . . . 42
Read or Write System Parameters . . . . . . . . . . . . . . . . . . 45
rm_GetParameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
rm_SetParameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

System Timers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Configure Timer Functions . . . . . . . . . . . . . . . . . . . . . . . 48
UserTimerGetNumberOfTimers. . . . . . . . . . . . . . . . . . . . 48
UserTimerClaim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
UserTimerRequestFrequency . . . . . . . . . . . . . . . . . . . . . 50
UserTimerGetWaitEvent . . . . . . . . . . . . . . . . . . . . . . . . . 52
Run Timer Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
UserTimerSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
UserTimerSetEx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
UserTimerGetValue . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
UserTimerStop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

Hardware Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

Hardware Monitor Parameters . . . . . . . . . . . . . . . . . . . . 58
Hardware Monitor Functions . . . . . . . . . . . . . . . . . . . . . 59
hm_RegisterMonitorWarningEvent . . . . . . . . . . . . . . . . . 59
hm_UnregisterMonitorWarningEvent. . . . . . . . . . . . . . . . 60
hm_GetMonitorWarnings . . . . . . . . . . . . . . . . . . . . . . . . 61
hm_GetMonitorLevel . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
hm_SetMonitorWarningLevels. . . . . . . . . . . . . . . . . . . . . 63
hm_GetMonitorWarningLevels . . . . . . . . . . . . . . . . . . . . 65
Shutdown and Re-Boot Functions. . . . . . . . . . . . . . . . . . 66
hm_RebootBoard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
hm_GetBootReason . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

Keypad. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

Keypad Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Keypad Driver/Handler Overview . . . . . . . . . . . . . . . . . 70
Keypad Driver Streams Interface. . . . . . . . . . . . . . . . . . . 70
Registry Keys for Keypad Driver/Handler Interface . . . . . 72

System Event Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

Event Data Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Log New Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Clear Event Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Get Last Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Get First Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Get Next Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Recommended PanelView Plus CE Mechanisms . . . . . . . . . . 80

Disable Keypad Handler . . . . . . . . . . . . . . . . . . . . . . . . 80
Lock Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
UnLock Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
SetSystemMemoryDivision . . . . . . . . . . . . . . . . . . . . . . . 82