189
SECTION 7
Programming Examples
This section provides examples of programming built-in I/O.
7-1 Built-in Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
7-1-1 Using Interrupts to Read Input Pulses (Length Measurement) . . . . 190
7-1-2 Outputting Pulses after a Preset Delay . . . . . . . . . . . . . . . . . . . . . . . 193
7-1-3 Positioning (Trapezoidal Control) . . . . . . . . . . . . . . . . . . . . . . . . . . 195
7-1-4 Jog Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
7-1-5 Cutting Long Material Using Fixed Feeding . . . . . . . . . . . . . . . . . . 199
7-1-6 Vertically Conveying PCBs (Multiple Progressive Positioning) . . . 202
7-1-7 Palletize: Two-axis Multipoint Positioning . . . . . . . . . . . . . . . . . . . 207
7-1-8 Feeding Wrapping Material: Interrupt Feeding . . . . . . . . . . . . . . . . 215