Industry Automation and Drive Technologies - SCE
5.9Command String
The user configures the command string by storing a corresponding number of UDT 21 one after the other in a DB. All commands that are strung together have to be of the "Command" type "4x". The last command of a string has to be of the type 0x. With it, the FB 45 recognizes the end of a command string.
Example of a command string in DB47
Four data records are to be processed by an MDS.
The command structure is stored in the request DB, as shown below.
The destination and source data of the MDS are stored consecutively in DB48.
Read MDS address 0000 hex length 600 Read MDS address 1000 hex length 100 Read MDS address 1200 hex length 1 Write MDS address 1200 hex length 1
Initial Value
Comment
Read command, another command follows
Read command, another command follows
Read command, another command follows
Write command, last command in string
Notes
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
TIA Training Document | Page 39 of 65 |
Module E11 |
|
Status: 01/2010 | Radio Frequency Identification (RFID) with SIMATIC |
RF180C |
|