How to convert 16 bit tags to 1 word tag

Advantech AE Technical Share Document
Date
Category
Abstract
Keyword
Related Product

2015 / 04 / 08
SR#
■ FAQ □ SOP
Related OS
How to convert 16 bit tags to 1 word tag
Bit to Word.
N/A
Microsoft Windows7
Problem Description:
How to combine 16 binary tags to 1 analog tag.
Picture1: ViewDAQ
Page 1

Brief Solution - Step by Step:
1.
Add 16 ConstPoint(ConDis) tags, From bit0 to bit15
Page 2
2.
Add 1 CalcPoint(CalcAna) tag, bit2word
In The formula field key in
A+B*2+C*4+D*8+E*16+F*32+G*64+H*128+(I+J*2+K*4+L*8+M*16+N*32+O*64+P*128)*256

Reference:
Page 3