Parameterizing
3.2 MOBY commands
FC 45
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
3-17
3.2.2
Command chaining
Command chaining permits various address areas of the MDS to be processed by starting
just one command. The advantage of command chaining is the optimum speed at which
commands can be processed on the ASM.
A command chain is set up by the user by storing a succession of UDT 20s in a DB. The
chained commands must all be command type 4x. The last command in a chain must be
type 0x.
The FC 45 uses this to detect the end of a command chain.
Example:
An MDS is to process 4 data records. The command structure is stored in DB 47. The MDS
data are stored consecutively in DB 48.
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
Execution steps:
1. Define structure
Table 3-15 DB 47 - declaration view
Partial command
STRUCT
Partial command
ARRAY [1 ... 4]
Note:
1 ... 4 = No. of partial commands
Partial command
UDT 20
Partial command
END_STRUCT
2. Specify the "starting values" in the data view