Examples/applications
6.6 Data structure definition
FC 45
6-12
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
2nd example
2 commands are assigned directly to each MOBY channel. The MOBY parameters and the
MOBY commands of all write/read devices are stored in a "MOBY DB". A nested structure is
used in the declaration.
'HFODUDWLRQYLHZ
'DWDYLHZVFKHPDWLF
&KDQQHO>@
&KDQQHO>@
&KDQQHO>@
&KDQQHO>@
&RPPDQG>@
&KDQQHO>@
&RPPDQG>@
7KH02%<FRQWURO
SDUDPHWHUVDQGWKH
FRPPDQGVDVVRFLDWHG
ZLWKHDFKFKDQQHODUHDOO
DYDLODEOHLQDGDWDEORFN
IRUDOO02%<FKDQQHOV
6758&7
FKDQQHO$55$<>@
8'7
6758&7
FRPPDQG$55$<>@
8'7
(1'B6758&7
(1'B6758&7
'%
02%<B'%
'$
'$
FRPPDQGBVWDUW
LQLWBUXQ
FRPPDQGB'%BQXPEHU
FRPPDQGB'%BDGGUHVV
UHDG\
HUURU
FRPPDQG
DGGUHVVB0'6
OHQJWK
7B'%BQXPEHU
7B'%BDGGUHVV
Figure 6-2
Example of several MOBY commands assigned to one channel