BITS monitor command BITS monitor command Syntax BITS first_sig, num_sigs = value Function Set or clear a group of digital signals based on a value. Usage Considerations External digital output signals or internal software signals can be referenced. The specified signals must not include any that are configured for input. (That is, signals displayed by the monitor command "IO 1".) No more than thirty-two signals can be set at one time. Any group of up to thirty-two signals can be set, providing that all the signals in the group are configured for use by the system. Parameters first_sig Real-valued expression defining the lowest-numbered signal to be affected.
num_sigs Optional real-valued expression specifying the number of signals to be affected. A value of 1 is assumed if none is specified. The maximum valid value is 32. value Real-valued expression defining the value to be set on the specified signals. If the binary representation of the value has more bits than "num_sigs," only the lowest "num_sigs" signals will be affected. Details Sets or clears one or more external output signals or internal software signals based on the value on the right of the equal sign. The effect of this instruction is to round "value" to an integer, and then set or clear a number of signals based on the individual bits of the binary representation of the integer.
Examples Set external output signals 1-4 (4 bits) to the binary representation of the BCD digit "7". BITS 1,4 = BCD(7) eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 40