
TABLE OF CONTENTS
10 Festo GDCP-CMXR-SW-EN en 0805NH
17.7.4 Writing the output value, Write method............................................. 155
17.7.5 Waiting until the value is greater/less - WaitLss/WaitGrt methods.... 155
17.7.6
Waiting until value is inside/outside the range - WaitIns/WaitOuts methods
156
17.7.7 Reading output value, Read method.................................................. 156
17.8 Timer module CLOCK ......................................................................................... 157
17.8.1 Instancing .......................................................................................... 157
17.8.2 Methods ............................................................................................ 158
17.8.3 Starting the timer, Start method ........................................................ 158
17.8.4 Stopping the timer, Stop method....................................................... 159
17.8.5 Resetting the timer, Reset method .................................................... 159
17.8.6 Reading the timer, Read method ....................................................... 159
17.8.7 Converting time value into string ....................................................... 160
17.9 Encoder module ENCODER ................................................................................ 161
17.9.1 Instancing .......................................................................................... 161
17.9.2 Variables............................................................................................ 162
17.9.3 Methods ............................................................................................ 162
17.9.4 Setting the encoder, Set method ....................................................... 163
17.9.5 Reading the encoder, Read method................................................... 163
17.10 CANopen module COPDEVICE............................................................................ 164
17.10.1 Instancing .......................................................................................... 164
17.10.2 Methods ............................................................................................ 165
17.10.3 Writing SDO, WriteSDO method......................................................... 165
17.10.4 Reading SDO, ReadSDOSigned method............................................. 166
17.10.5 Reading SDO, ReadSDOUnsigned method......................................... 168
18. Peripheral signals............................................................................................... 169
18.1 Working with digital inputs and outputs............................................................ 169
18.2 Working with analogue inputs and outputs....................................................... 169
19. Examples............................................................................................................. 171
19.1 Stopping the movements .................................................................................. 171
19.2 Working with input and output modules ........................................................... 174
19.3 Controlling the set forerun................................................................................. 175
19.4 Working with grippers ....................................................................................... 176
19.4.1 Vacuum grippers................................................................................ 177
19.4.2 Pneumatic parallel grippers ............................................................... 180
19.4.3 Pneumatic swivel/gripper unit........................................................... 183
19.5 Working with the PLC interface.......................................................................... 187
19.5.1 Problem definition ............................................................................. 187
19.5.2 PLC interface...................................................................................... 187
19.5.3 Sequence program............................................................................. 188