An oDIO8B Object's State property represents the binary value of the electrical state of the I/O lines specified by the IOGroup property. The I/O groups are 8 contiguous I/O Lines beginning at I/O line 8, 16, or 24. The I/O Lines are set to be outputs. The electrical state of the specified I/O Lines are set to the value of the State property once each Object List Loop. The Invert property specifies if the electrical state of the I/O lines are set to the inverted binary value of the State property. The Blank property specifies if the electrical state of the I/O lines are all set to the same state when the Operate property is set to 0. The state that is used when this occurs is specified by the InvertB property. If InvertB is 0, then all I/O lines are set to 0 Volts. If InvertB is 1, then all I/O lines are set to 5 Volts. The IOGroup property is an instance of the oIOGroup object which is created when the oDIO8 object is. The oDIO8B object uses the oIOGroup Object to do the actual I/O to the eight I/O lines. Since the default property of the oIOGroup specifies which I/O lines to work with, then the IOGroup property can be directly specified. Example: IOGroup = 1. (see oIOGroup object for more detail) 3 physical 8-bit I/O Groups are implemented within the ooPIC. Caution: IOGroup 2 is used for special purposes such as PWM, serial input/output and DDELink.. Be sure that you are not using this IOGroup if these special functions are in use. |