Command Mailboxes; Reading Registers - Siemens SIWAREX WT241 Manual

Electronic
Table of Contents

Advertisement

11.1.4

Command mailboxes

Corresponding command codes must be sent in order to execute commands and to read
and write data records in the Modbus buffer memories. These are described in more detail in
chapter → Command lists (Page 87). The following tables list the Modbus registers used to
process these commands:
Table 11- 1
Command mailbox 1: Highest priority
Variable
CMD1_CODE
CMD1_TRIGGER
CMD1_STATUS
CMD1_QUIT
Table 11- 2
Command mailbox 2: Average priority
Variable
CMD2_CODE
CMD2_TRIGGER
CMD2_STATUS
CMD2_QUIT
Table 11- 3
Command mailbox 3: Low priority
Variable
CMD3_CODE
CMD3_TRIGGER
CMD3_STATUS
CMD3_QUIT
11.1.5

Reading registers

The method for reading registers depends on whether they belong to the writable data
records (DR 3 to DR 29) or can only be read as current values (DR 30 to DR 34).
If you wish to read the registers from the data records DR 3 to DR 29, you must first export
these as a complete data record to the internal output buffer.
All Modbus registers of the individual parameters can be found in chapter → Scale
parameters and functions of the belt scale (Page 59).
SIWAREX WT241
Manual, 05/2015, A5E36046748Aa
Note
Code of command to be executed
Trigger for starting the command
0=job running; 1=job finished (1 cycle)
0=no error; <>0=error code
Note
Code of command to be executed
Trigger for starting the command
0=job running; 1=job finished (1 cycle)
0=no error; <>0=error code
Note
Code of command to be executed
Trigger for starting the command
0=job running; 1=job finished (1 cycle)
0=no error; <>0=error code
11.1 Communication via Modbus
Type
USHORT
USHORT
USHORT
USHORT
Type
USHORT
USHORT
USHORT
USHORT
Type
USHORT
USHORT
USHORT
USHORT
Communication
Modbus registers
910
911
912
913
Modbus registers
920
921
922
923
Modbus registers
930
931
932
933
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents