EasyManua.ls Logo

FATEK FBs-CB2 - PATTERN CONVERSION FOR 16;7-SEGMENT DISPLAY (FUN 84 TDSP)

FATEK FBs-CB2
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Advanced Function Instruction
7-67
FUN 84
TDSP
PATTERN CONVERSION FOR 16/7-SEGMENT DISPLAY
FUN 84
TDSP
Md : Mode selection
S : Starting address of begin converted characters
Ns : Start of character
Nl : Length of character
D : Starting address to store the converted pattern
S operand can be combined with V, Z, P0~P9 index
registers for indirect addressing
HR OR ROR DR K XR
Range
Operand
R0
R3839
R3904
R3967
R5000
R8071
D0
D4095
16/32 bit
V
Z
P0~P9
Md 0~1
S
Ns
Nl
D *
This instruction is used for FBs-7SG1/FBs-7SG2 module’s application. It can convert the source
alphanumeric characters into display patterns suited for 16 segment encoded mode display or perform the
leading zero substitution of the packed BCD number for non-decoded mode 7 segment display.
When execution control EN” = 1, and input “OFF” = 0, input “ON” = 0, if Md = 0, this instruction will
perform the display pattern conversion, where S is the starting address storing the begin converted
characters, Ns is the pointer to locate the starting address character, Nl tells the length of begin converted
characters, and D is the starting address to store the converted result.
Byte 0 of S is the “1st” displaying character, byte 1 of S is the 2nd displaying character,…….
Ns is the pointer to tell where the start character is.
Nl is the character quantity for conversion.
After execution, each 8-bit character of the source will be converted into the corresponding 16-bit display
pattern.
When input “OFF” = 1, all bits of display pattern will be ‘off’ if Md = 0. if Md=1, all BCD codes will be
substituted by blank code(0F)
When input ON”= 1,all bits of display pattern will be ‘on’ if Md = 0. if Md = 1, all BCD codes will be
substituted by code 8(all light).
Please refer Chapter 16 “FBs-7SG display module” for more detail description.
16-Segment display patterns shown as below :

Other manuals for FATEK FBs-CB2

Related product manuals