With digital I/O cards, static or dynamic bit patterns can be generated or recorded.
Each bit is assigned a control signal for an output and a sensor signal for an input.
The usual voltage range for the inputs and outputs is between 2 V (TTL) and 24 V (automation).