84
•
Appendix B: GPIO Control
PLC Input Signal Routing Block
The following code sets the first entry in the PLC’s signal routing block:
Setting the Signal Routing Block is complicated by the fact that each entry in the table has a
different set of enumerated inputs. So for example, a value of 0 for
i0
(i.e. GPIO Input 0)
means something different for
i6
(i.e. Pulse Generator 1 Output). Below is a table of
enumerated values with respect to each entry.
For more information on the Signal Routing Block, refer to the section below, Signal Routing