Bit extraction example configuration – ProSoft Technology PS-QS-1x10-0781 User Manual
Page 27

FieldServer Configuration Manual
Page 27 of 90
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262-2299 Fax: (408) 262-2269 Toll Free: (888) 509-1970 email: [email protected]
Figure VII - Packed Bits Activated
5.2.7.1 Bit Extraction Example Configuration:
// Example of Bit Extraction
Data Arrays
Data_Array_Name , Data_Format , Data_Array_Length
Source_DA
, Uint16
, 200
Target_DA
, Bit
, 200
Map Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Node_Name , Function , Address , Length
CMD_PI_Alarm01_01
, Source_DA
, 0
, UPS_01
, Rdbc
, 40289
, 1
Moves
Function
, Source_Data_Array , Source _Offset , Target_Data_Array , Target_Offset , Length
Bit_Extract , Source_DA
, 0
, Target_DA
, 0
, 10
Target_DA offsets 0 to 9 now
contain the first 10 bits of
Register 40289. These can
now be served as bits to the
Protocol of choice.