Communication in SIMATIC S7-300/1200/1500
11.6 Working with the function block
SIWAREX WP321
Manual, 07/2014, A5E33715669A-02
101
processes CMD1, then CMD2, and finally CMD3. Cyclic triggering of command mailbox 3 is
also interrupted by intermediate sending of a command in mailbox 2 or 1 for processing of
the respective command.
Cyclic triggering of the CMD1 command mailbox makes it impossible to send commands in
mailbox 2 or 3.
A summary of all existing command codes can be found in chapter →Command lists
(Page 91).
The following equation for generation of a corresponding command code applies to the
reading of data records from the SIWAREX to the data block:
Command code = 2000 + X (X = desired data record number)
The following equation for generation of a corresponding command code applies to the
writing of data records from the data block to the SIWAREX:
Command code = 4000 + X (X = desired data record number)