Nematron Pointe Controller User Manual
Page 439
Pointe Controller User Guide
Appendix C: Ladder Diagram Block Reference
437
When EN becomes on, the block function is executed: each 4-bit “nibble of the
Input Value (IN) is separately converted into a base-10 digit, and then the digits
are concatenated into a single integer which is placed in the Output Value (OUT).
For example, a BCD of 0101001100011001 would be converted in the following
manner:
NIBBLE
0101
0011
0001
1001
DIGIT
5
3
1
9
The resulting integer is 5319.
NOTE: Checks are not performed on the magnitude of the decimal digits in the
BCD input value. Values within each nibble are multiplied by the appropriate
power of 10 whether they exceed 9 or not. No “out-of-range indication is made
when invalid BCD digits are present.
The block function is executed every time the ladder is
scanned
, so long as EN
remains on. If EN becomes off, then OUT remains at its last calculated value until
EN becomes on and the block function is executed again.
Configuration Reference
The parameters of this block are described in the following table:
Param
Name
Config
Var Type
Description
EN
Enable
no
-
The state of the rung (off/on)
received from the left.
ENO
Enable
Out
no
-
The state of the rung (off/on)
passed to the right.
IN
Input
Value
req
any integer*
The input value, read as a BCD.
OUT
Output
Value
req
any integer**
The result of converting the input
value into an integer.
* Any Input or Memory tag except 32-bit Real (F) or Bit (X). For more information, see “
Defining
Input, Output, Memory tags
” on page 114
.
** Any Memory or Output tag except 32-bit Real (F) or Bit (X). For more information, see “
Defining
Input, Output, Memory tags
” on page 114
.