Toshiba CD332 User Manual page 26

Toshiba change detect dc input module user's manual
Table of Contents

Advertisement

5. Programming
5.1 T3 sample program
The following sample program configuration shows the case of one CD332 is used.
In this example, it is assumed that XW000 is assigned to the CD332.
Main Program
I/O Interrupt Program #1 (I/O#1)
22
Change Detect DC Input Module (CD332)
User program
(Main program)
Processing for IN0 interrupt
Processing for IN1 interrupt
Processing for IN2 interrupt
Processing for IN3 interrupt
Processing for IN4 interrupt
Processing for IN5 interrupt
Processing for IN6 interrupt
Processing for IN7 interrupt

Advertisement

Table of Contents
loading

Table of Contents