Using hexadecimal values in FM/IMS
In many FM/IMS panels, you can view and enter decimal values as text characters or as hexadecimal values. To help you quickly convert decimal values to hexadecimal or hexadecimal values to decimal values, FM/IMS provides two primary commands:
- DX
- converts a decimal value to a hexadecimal value.
- XD
- converts a hexadecimal value to its equivalent decimal value.
When you enter a DX or XD command, FM/IMS displays the result in a message at the bottom of your screen.
For example, if you enter the following on a File
Manager/IMS command line:
DX 10
FM/IMS displays the
message: Dec 10 = hex 0000000A
To convert a hexadecimal value to its equivalent decimal value:
- On the command line of any panel, enter
XD
followed by the hexadecimal value.FM/IMS displays the results in a message at the bottom of your screen.
For example, if you enter the following on a File
Manager/IMS command line:
XD 10
FM/IMS displays the
message: Hex 00000010 = dec 16