If you require a DUT having more than eight different target values, you cannot use this predefined DUT. You must create a new DUT. A maximum of 31 target values are possible.
This DUT can be used with the following instruction(s): F165_HighSpeedCounter_Cam
Elements of the DUT (identifiers):
Specify the control code using a hexadecimal constant. Example: 16#1025. 1, 0, 2, and 5 are the values corresponding to digits 3, 2, 1, and 0 of the hexadecimal constant. Digit 0 is the digit on the far right.Additional digits specific for the selected control method are set automatically by the compiler shortly before the instruction is called.
Digit |
Value |
Setting |
1 |
Maximum target value control Resets the elapsed value to 0 when the maximum target value (incremental counting) or -1 (decremental counting) has been reached. To perform maximum target value control, positive integer numbers must be specified for all target values. |
|
0 |
Enabled |
|
1 |
Disabled |
|
0 |
Fixed |
Set to 0.
Apply an overlapping DUT to the output dutBitOutputs. Select the size (16 or 32 bits) according to the number set with diNumberOfTargetValuesAndOutputRelays. The address information of this overlapping DUT will be written to diAddressOffsetInWR.
Output area:
If the number of target values is in the range of 1–16, one word is used.
If the number of target values is in the range of 17–32, two words are used.
1–31
Specify the number so that the total number does not exceed the maximum area of the internal flags.
-2147483648–2147483647
Arrange the target values in ascending order.
Do not specify the same value more than once.
To perform maximum target value control, positive integer numbers must be specified for all target values.
-2147483648–2147483647