1 Instruction Set
1-10
NJ-series Instructions Reference Manual (W502)
Conversion
Instructions
Decoder Bit Decoder Sets the specified bit to TRUE and the other
bits to FALSE in array elements that consist of
a maximum of 256 bits.
2-371
Encoder Bit Encoder Finds the position of the highest TRUE bit in
array elements that consist of a maximum of
256 bits.
2-374
BitCnt Bit Counter Counts the number of TRUE bits in a bit string. 2-376
ColmToLine_** Column to Line
Conversion Group
Extracts bit values from the specified position
of array elements and outputs them as a bit
string.
2-377
LineToColm Line to Column
Conversion
Takes the bits from a bit string and outputs
them to the specified bit position in array ele-
ments.
2-379
Gray Gray Code
Conversion
Converts a gray code into an angle. 2-381
PWLApprox Broken Line
Approximation
Performs broken line approximations for inte-
gers or real numbers.
2-384
MovingAverage Moving Average Calculates a moving average. 2-387
PIDAT PID with
Autotuning
Performs PID control with autotuning (2-PID
control with set point filter).
2-393
DispartReal Separate Mantissa
and Exponent
Separates a real number into the signed man-
tissa and the exponent.
2-418
UniteReal Combine Real
Number Mantissa
and Exponent
Combines a signed mantissa and exponent to
make a real number.
2-421
NumToDecString Fixed-length
Decimal Text String
Conversion
Converts an integer to a fixed-length decimal
text string.
2-423
NumToHexString Fixed-length
Hexadecimal Text
String Conversion
Converts an integer to a fixed-length hexadeci-
mal text string.
2-423
HexStringToNum_** Hexadecimal Text
String-to-Number
Conversion Group
Converts a hexadecimal text string to an inte-
ger.
2-426
FixNumToString Fixed-decimal
Number-to-Text
String Conversion
Converts a signed fixed-decimal number to a
decimal text string.
2-428
StringToFixNum Text String-to-
Fixed-decimal
Conversion
Converts a decimal text string to a signed
fixed-decimal number.
2-430
DtToString Date and Time-to-
Text String
Conversion
Converts a date and time to a text string. 2-433
DateToString Date-to-Text String
Conversion
Converts a date to a text string. 2-435
TodToString Time of Day-to-
Text String
Conversion
Converts a time of day to a text string. 2-436
GrayToBin_** Gray Code-to-
Binary Code
Conversion Group
Converts a gray code to a bit string. 2-438
BinToGray_** Binary Code-to-
Gray Code
Conversion
Converts a bit string to a gray code. 2-438
Type Instruction Name Function Page