KL2521-0000, KL2521-0024 - Process data exchange
Control byte in process data exchange (REG=0)
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Name | Reg_Access | 0 | Cnt_Clr | 0 | 0 | Go_Counter | Ramp_Dis | Freq_Sel |
Bit | Name | Description |
---|---|---|
Bit 7 | Reg_Access | 0bin: Register communication inactive (process data exchange) |
Bit 5 | Cnt_Clr | The counter value is cleared or set by this bit (Feature.10). Any overflow/underflow bits that have been set are also cleared by this bit. This can be done with edge control or level control (Feature.4). |
Bit 2 | Go_Counter | If travel distance control is active (Feature.9), then a pre-set counter value is approached when the bit is set. |
Bit 1 | Ramp_Dis | The ramp function is disabled despite active Feature .5; |
Bit 0 | Freq_Sel | Fast toggling of the base frequency (only if ramp function is deactivated) |
Status byte in process data exchange (REG=0)
The status byte is transferred from the terminal to the controller. The status byte contains various status bits for the analog input channel:
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Name | Reg_Access | Error | Input_Z | Input_T | Overflow | Underflow | Ramp_Active | Sel_Ack/ |
Bit | Name | Description |
---|---|---|
Bit 7 | Reg_Access | 0bin: Acknowledgement for process data exchange |
Bit 6 | Error | General error bit, included with overflow/underflow |
Bit 5 | Input_Z | End position reached |
Bit 4 | Input_T | The actual value when the device is connected does not agree with the set value of the connected device. |
Bit 3 | Overflow | This bit is set if the 16-bit counter overflows (65535 -> 0). It is reset when the counter exceeds one third of its measuring range (21845 -> 21846) or as soon as an underflow occurs. |
Bit 2 | Underflow | This bit is set if the 16-bit counter underflows (0 -> 65535). It is reset when the counter drops below two thirds of its measuring range (43690 -> 43689) or as soon as an overflow occurs. |
Bit 1 | Ramp_Active | Ramp is currently being followed |
Bit 0 | Sel_Ack/ | Confirms the change of base frequency. |
The change of the base frequency requires a reset for activation.