Data representation by PLC on PROFIBUS-DP network

arbj

Member
Join Date
May 2011
Location
mrt
Posts
61
Hi,

I have a small question regarding representation of 16 bit data by PLC.

I have a parameter that uses 16 bit data. I have thought of using two ways of representing this data on the PLC data registers.

I would like to know which of these two methods is commonly used in usual practice ?? Or is there any other commonly used method ??

1. Using HEX format.

Say if the data is 1600 (Decimal), then in HEX format this would be represented in two bytes as

Byte 1= 06 (MSB)
Byte 2= 40 (LSB)

2. Using packed BCD format

Data in decimal format is 1600

Byte 1= 16 (MSB)
Byte 2= 00 (LSB)

Data in decimal format is 300

Byte 1= 03 (MSB)
Byte 2= 00 (LSB)

thanks
a
 
Thanks kalle, I won't be using BCD...

So is the hex format the commnlt used method ??

Also how can negative values be represented ???

thanks
a
 

Similar Topics

I am using Modbus to read 36 registers from a ML1200. 2 of those registers are suppose to be L11 data and 2 of the registers are F8 data. Long...
Replies
3
Views
1,373
Has anyone migrated Proficy Historian data to a new server? I followed the guide to move all the data over, but when I run the utility, it stops...
Replies
0
Views
35
I cannot add SLC500 analog input tag (I: 8.3) to EZSeries Touch Panel Editor (V 5.3). I used all the listed tag datatype but it all says "Invalid...
Replies
8
Views
173
Hi, Wy we log data in PLC using DLG instruction, when we have option to log data in HMI
Replies
1
Views
72
Hi, I cannot find the DLCA1764.EXE utilty software for data retrieving. Can someone share the link to download this software. Thanks!
Replies
4
Views
95
Back
Top Bottom