1 byte swapping, 2 input data format, Byte swapping – Rice Lake 880 Performance Series Panel Mount Indicator/Controller - Profibus DP Interface Option Installation and Programming Manual User Manual
Page 15

Commands 11
Parameter value
To allow communication with a multi-scale indicator, the scale number is sent in the
second word of the output command format. Zero (0) represents the current scale.
Certain commands require a parameter other than a scale number, such as a slot
number, setpoint number, or other selection parameter. See the command descriptions
in Section 3.3 on page 14 for specific command requirements.
Value
The third and fourth words of the output format are used to pass value data on certain
commands. Values entered in these words are treated as unsigned long integers or
floating-point values, depending on the command.
3.1.1
BYTE Swapping
See the Ports Menu in the 880 Technical/Service manual (PN 158387)
The 880 indicator sends out and receives data in integer format.
The standard format would be as follows for all input and output values:
High BYTE – Low BYTE
If the Parameter in the 880 FLDBUS/SWAP parameter is set to YES then the BYTE
order changes to:
Low BYTE – High BYTE
Example:
If the weight on the scale reads 10 lbs and a value of 2560 is displayed in your PLC,
either swap the BYTES in your PLC or change the SWAP parameter to YES.
3.2 Input Data Format
In response to a command, the interface returns data and status information to the
master as four 16-bit words. This information is returned in the input command
format shown in Table 3-3.
The value type can be set for those commands that do not specify integer or floating
point data by sending a command 0x000 to specify integer data or command 0x100
for floating-point data. The value type is returned in the status word (bit 14) of the
input format.
304
0x130
Set Setpoint Value (float)
305
0x131
Set Setpoint Hysteresis (float)
306
0x132
Set Setpoint Bandwidth (float)
307
0x133
Set Setpoint Preact (float)
320
0x140
Read Setpoint Value (float)
321
0x141
Read Setpoint Hysteresis (float)
322
0x142
Read Setpoint Bandwidth (float)
323
0x143
Read Setpoint Preact (float)
Decimal
Hex
Command
Table 3-2. Remote Commands (Continued)
Note