beautypg.com

Chapter 8: digital i/o, Chapter 9: watchdog timer, Chapter 10: safemode controller – Sensoray 826 User Manual

Page 4: Chapter 11: specifications

background image

7.3.14

S826_CounterSnapshotConfigWrite

................40

7.3.15

S826_CounterSnapshotConfigRead

................ 41

7.3.16

S826_CounterFilterWrite

.................................42

7.3.17

S826_CounterFilterRead

..................................42

7.3.18

S826_CounterModeWrite

................................ 43

7.3.19

S826_CounterModeRead

................................. 45

7.3.20

Common Applications

..................................... 45

Chapter 8:

Digital I/O

..................................... 48

8.1

Introduction

........................................................ 48

8.1.1

Signal Routing Matrix

........................................48

8.1.2

Safemode

............................................................49

8.1.3

Edge Capture

......................................................49

8.1.4

Pin Timing

......................................................... 49

8.1.4.1

Noise Filter

.................................. 50

8.1.5

Reset State

..........................................................50

8.2

Connectors J2/J3

................................................ 50

8.3

Programming

...................................................... 50

8.3.1

S826_DioOutputWrite

....................................... 51

8.3.2

S826_DioOutputRead

........................................ 51

8.3.3

S826_DioInputRead

...........................................52

8.3.4

S826_DioSafeWrite

........................................... 52

8.3.5

S826_DioSafeRead

............................................ 53

8.3.6

S826_DioSafeEnablesWrite

.............................. 53

8.3.7

S826_DioSafeEnablesRead

............................... 53

8.3.8

S826_DioCapEnablesWrite

............................... 54

8.3.9

S826_DioCapEnablesRead

................................ 55

8.3.10

S826_DioCapRead

...........................................55

8.3.11

S826_DioWaitCancel

...................................... 56

8.3.12

S826_DioOutputSourceWrite

.......................... 57

8.3.13

S826_DioOutputSourceRead

........................... 58

8.3.14

S826_DioFilterWrite

........................................58

8.3.15

S826_DioFilterRead

........................................ 59

Chapter 9:

Watchdog Timer

............................ 60

9.1

Introduction

........................................................ 60

9.1.1

Operation

............................................................60

9.1.2

Reset Out Circuit

................................................61

9.1.3

Initialization

....................................................... 61

9.2

Connector P2

...................................................... 61

9.3

Programming

...................................................... 61

9.3.1

S826_WatchdogConfigWrite

.............................61

9.3.2

S826_WatchdogConfigRead

..............................62

9.3.3

S826_WatchdogEnableWrite

.............................62

9.3.4

S826_WatchdogEnableRead

..............................63

9.3.5

S826_WatchdogStatusRead

............................... 63

9.3.6

S826_WatchdogKick

......................................... 64

9.3.7

S826_WatchdogEventWait

................................64

9.3.8

S826_WatchdogWaitCancel

.............................. 65

Chapter 10:

Safemode Controller

................... 66

10.1

Introduction

...................................................... 66

10.1.1

Write Protection

............................................... 66

10.2

Programming

.................................................... 67

10.2.1

S826_SafeControlWrite

................................... 67

10.2.2

S826_SafeControlRead

....................................67

10.2.3

S826_SafeWrenWrite

...................................... 68

10.2.4

S826_SafeWrenRead

....................................... 68

Chapter 11:

Specifications

..............................70

S826 Instruction Manual

ii

Table of Contents