489
Communications Guide
Memory Map Data Formats
Modbus Memory Map
The data formats used in the Modbus memory map are shown below.
Table 2: Data Formats (Sheet 1 of 12)
CODE | TYPE | DEFINITION |
|
|
|
F1 | 16 bits | UNSIGNED VALUE |
|
|
|
| Example: 1234 stored as 1234 | |
|
|
|
F2 | 16 bits | UNSIGNED VALUE, |
|
| 1 DECIMAL PLACE |
|
|
|
| Example: 123.4 stored as 1234 | |
|
|
|
F3 | 16 bits | UNSIGNED VALUE, |
|
| 2 DECIMAL PLACES |
|
|
|
| Example: 12.34 stored as 1234 | |
|
|
|
F4 | 16 bits | 2’s COMPLEMENT |
|
| SIGNED VALUE |
|
|
|
| Example: | |
| 64302) |
|
|
|
|
F5 | 16 bits | 2’s COMPLEMENT |
|
| SIGNED VALUE |
|
| 1 DECIMAL PLACES |
|
|
|
| Example: | |
| 64302) |
|
|
|
|
F6 | 16 bits | 2’s COMPLEMENT |
|
| SIGNED VALUE |
|
| 2 DECIMAL PLACES |
|
|
|
| Example: | |
| 64302) |
|
|
|
|
F10 | 32 bits | 2’s COMPLEMENT |
|
| SIGNED LONG VALUE |
|
| 1 DECIMAL PLACE |
|
|
|
| 1st 16 bits | High Order Word of Long |
|
| Value |
|
|
|
| 2nd 16 bits | Low Order Word of Long |
|
| Value |
|
|
|
| Example: | |
| ||
| word: 1DC0 hex) | |
|
|
|
F12 | 32 bits | 2’s COMPLEMENT |
|
| SIGNED LONG VALUE |
|
|
|
| 1st 16 bits | High Order Word of Long |
|
| Value |
|
|
|
| 2nd 16 bits | Low Order Word of Long |
|
| Value |
|
|
|
| Example: | |
| (i.e. 1st word: FFFE hex, 2nd word: | |
| 1DC0 hex) |
|
|
|
|
F13 | 32 bits | 2’s COMPLEMENT |
|
| SIGNED LONG VALUE, |
|
| 3 DECIMAL PLACES |
|
|
|
| 1st 16 bits | High Order Word of Long |
|
| Value |
|
|
|
| 2nd 16 bits | Low Order Word of Long |
|
| Value |
|
|
|
| Example: | |
| (i.e. 1st word: FFFE hex, 2nd word: | |
| 1DC0 hex) |
|
|
|
|
F14 | 32 bits | 2’s COMPLEMENT |
|
| SIGNED LONG VALUE, |
|
| 2 DECIMAL PLACES |
|
|
|
| 1st 16 bits | High Order Word of Long |
|
| Value |
|
|
|
| 2nd 16 bits | Low Order Word of Long |
|
| Value |
|
|
|
| Example: | |
| (i.e. 1st word: FFFE hex, 2nd word: | |
| 1DC0 hex) |
|
|
|
|
Table 2: Data Formats (Sheet 2 of 12)
CODE | TYPE | DEFINITION |
|
|
|
F15 | 16 bits | HARDWARE REVISION |
|
|
|
| 0000 0000 | 1 = A |
| 0000 0001 |
|
|
|
|
| 0000 0000 | 2 = B |
| 0000 0010 |
|
|
|
|
| ... | ... |
|
|
|
| 0000 0000 | 26 = Z |
| 0001 1010 |
|
|
|
|
F16 | 16 bits | SOFTWARE REVISION |
|
|
|
| 1111 1111 | Major Revision Number |
| xxxx xxxx | 0 to 9 in steps of 1 |
|
|
|
| xxxx xxxx | Minor Revision Number |
| 1111 1111 | (two BCD digits) |
|
| 00 to 99 in steps of 1 |
|
|
|
| Example: Revision 2.30 stored as | |
| 0230 hex |
|
|
|
|
F18 | 32 bits | DATE (MM/DD/YYYY) |
|
|
|
| 1st byte | Month (1 to 12) |
|
|
|
| 2nd byte | Day (1 to 31) |
|
|
|
| 3rd & 4th | Year (1995 to 2094) |
| byte |
|
|
|
|
| Example: Feb. 20, 1996 stored as | |
| 34867148 (i.e. 1st word: 0214, 2nd | |
| word 07CC) |
|
|
|
|
F19 | 32 bits | TIME (HH:MM:SS:hh) |
|
|
|
| 1st byte | Hours (0 to 23) |
|
|
|
| 2nd byte | Minutes (0 to 59) |
|
|
|
| 3rd byte | Seconds (0 to 59) |
|
|
|
| 4th byte | Hundreds of seconds (0 |
|
| to 99) |
|
|
|
| Example: 2:05pm stored as | |
| 235208704 (i.e. 1st word: 0E05, 2nd | |
| word 0000) |
|
|
|
|
F20 | 32 bits | 2’s COMPLEMENT |
|
| SIGNED LONG VALUE |
|
|
|
| 1st 16 bits | High Order Word of Long |
|
| Value |
|
|
|
| 2nd 16 bits | Low Order Word of Long |
|
| Value |
|
|
|
| Note: | |
|
|
|
F22 | 16 bits | TWO |
|
| CHARACTERS |
|
| PACKED INTO |
|
| UNSIGNED |
|
|
|
| MSB | First Character |
|
|
|
| LSB | Second Character |
|
|
|
| Example: String ‘AB’ stored as 4142 | |
| hex. |
|
|
|
|
F24 | 32 bits | TIME FORMAT FOR |
|
| BROADCAST |
|
|
|
| 1st byte | Hours (0 to 23) |
| 2nd byte | Minutes (0 to 59) |
| 3rd & 4th | Milliseconds (0 to 59999) |
| bytes | Note: Clock resolution |
|
| limited to 0.01 sec |
|
|
|
| Example: 1:15:48:572 stored as | |
| 17808828 (i.e., 1st word 010F, 2nd | |
| word BDBC) |
|
|
|
|
40 |
http://www.GEindustrial.com/multilin
GE Multilin |