
Programming via Rockwell controller
9.5 Programming add-on instructions
SIMATIC RF650R/RF680R/RF685R
178
Configuration Manual, 03/2018, C79000-G8976-C386-06
9.5.2.7
AdvancedCMD
With the "AdvancedCmd" block, every command can be executed including commands not
represented by other blocks. This general structure can be used for all commands and is
intended only for trained users.
This block gives you the option of sending the command as a chained command. To allow
this, the block provides a CMD buffer for 10 commands. All chained commands must be
entered starting at the first position in the buffer. For every chained command, the "chained
bit" must also be set in the CMD structure. The "chained bit" is not set in the last command in
the chain. You will find further information on the "chained bit" in the section "Chaining
(Page 184)".
The entire command structure must be specified in the "CMD" input parameter. You create
the structure for the "CMD" parameter in a data block.
Figure 9-14 "AdvancedCmd" block
Table 9- 18 Explanation of the "AdvancedCmd" block
Parameter
Data type
Default values
Description
CMDREF
IID_CMD_STRUCT --
You will find a detailed description of
the parameter in the sections:
•
"Command structure (Page 182)"
•
(Page 181)"
IDENT_DATA
SINT[10]
0
Buffer for data to be written or read.
Note.
When necessary a byte/array of any
size can be transferred to this parame-
ter. Note that the array
must be ≥ 10
bytes long (e.g. "SINT[12400]").