Download USER MANUAL - Divelbiss Corporation
Transcript
Chapter 15 SPI Devices and Support Single Cycle When counting pulses, the counter will stop counting in either direction if the count goes larger (or smaller) than the standard integer (32 bit). A Reset or Load is required to restart counting. Range Limit Counting range is limited between zero (0) and the PD (DTR) input on the CNTR_LS7366R function block. The LD function block input must be used to load the DTR (one scan cycle). Modulo N The counter value will be equal to the value of the input signal divided by the value loaded in DTR, plus 1 (DTR+1). If DTR is 1, then the count will equal the input signal divided by 2 or will count at 1/2 the rate of the input signal. Index Mode: Disable Index The device’s Index input will have no affect on operation. Load CNTR Configures the device’s Index input to act as a load counter. This will load the value of the function block input PD (DTR) as the actual count. Reset CNTR Configures the device’s Index input to act as a reset counter. This will reset the actual counter to zero. Load OTR Configures the devices Index input to transfer the actual count into the OTR register. The OTR register is a temporary register for storing the count. Asynchronous Index Asynchronous index mode. Valid in all modes. Synchronous Index Synchronous index mode. Only valid in quadrature mode. Divelbiss Corporation - EZ LADDER Toolkit User Manual 134