Table of contents
FM 352 electronic cam controller
Operating Instructions, 05/2011, A5E01071724-03
5
10.10 Simulating ..................................................................................................................................126
10.11 Read "count values of counter cam tracks" ...............................................................................128
10.12 Read "position and trac
k data"...................................................................................................130
10.13 Read enco
der data ....................................................................................................................131
10.14 Read ca
m and track data...........................................................................................................132
10.15 Setting control s
ignals for the cam controller.............................................................................133
10.16 Queryi
ng checkback signals for the cam controller ...................................................................134
10.17 Setting the return signals for diagnos
tics...................................................................................135
11 Encode
rs ............................................................................................................................................... 137
11.1 Incremental enc
oders ................................................................................................................137
11.2 Proximity
switches .....................................................................................................................140
11.3 Absolute encoder .......................................................................................................................141
12
Diagnostics
............................................................................................................................................ 145
12.1 Possibilities fo
r error evaluation.................................................................................................145
12.2 Meaning of the error LEDs................................................................................................
.........146
12.3 Diagnostic
interrupts ..................................................................................................................147
12.3.1 Enable diagnostic interrupts...........................................................................................
............147
12.3.2 Reac
tion of FM 352 to errors with diagnostics interrupt ............................................................148
13 Example
s............................................................................................................................................... 151
13.1 Introduction .............................................................................................................
...................151
13.2 Requirements.............................................................................................................
................152
13.3 Preparing the examples ...................................................................................................
..........153
13.4 Displaying the c
ode of the examples .........................................................................................153
13.5 Testing the example
...................................................................................................................154
13.6 Reusing an example projec
t ......................................................................................................154
13.7 Sample program 1 "Getting Started"..........................................................................................155
13.8
Sample Program 2 "Commissi
oning".........................................................................................156
13.9 Sample program 3 "One Module" ............................................................................................
..157
13.10 Sample program 4 "Interrupts"
...................................................................................................160
13.11 Sample program 5 "MultiModules"
.............................................................................................162