Manual PD4-C (USB)
10 Special functions
Version: 1.4.1 / 22.07.2016 / FIR-v1626
64
10 Special functions
10.1 Digital inputs and outputs
The motor controller has digital inputs and outputs.
10.1.1 Bit assignment
The software in the controller assigns to bits to every output and input:
1. The first bit corresponds to a special function of an input or output. These functions are always
accessible at bit 0 to bit 15 inclusive. This includes limit switches and clock/direction inputs for the
inputs and the brake control for the outputs.
2. The output and the input as a level, these are accessible at bit 16 to 31.
Example
Bit 16 has to be used always to manipulate the value of output 1.
To manipulate the special function "negative limit switch" the bit 0 has to be used.
The assignment is displayed once more in the following image.
0
31
15
16
Input 1
Special function
(e.g. limit switch)
Value of
the input
Bits of any object for controlling inputs
Values of inputs
Special functions of inputs
10.1.2 Digital inputs
Bit assignment
The software in the controller assigns to bits to every output and input:
1. The first bit corresponds to a special function of an input or output. These functions are always
accessible at bit 0 to bit 15 inclusive. This includes limit switches and clock/direction inputs for the
inputs and the brake control for the outputs.
2. The output and the input as a level, these are accessible at bit 16 to 31.
Example
Bit 16 has to be used always to manipulate the value of output 1.
To manipulate the special function "negative limit switch" the bit 0 has to be used.
The assignment is displayed once more in the following image.