Parameterizing
3.2 MOBY commands
FC 45
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
3-11
3.2
3.2
MOBY commands
Note
This chapter provides a description of all commands which can by processed by FC 45. The
commands, which can actually be processed by the interface module you are using, are
described here.
Before you can start a MOBY command with command_start, you need to define the
command. UDT 20 (commentary in English), UDT 21 (commentary in German) or UDT 24
(Spanish commentary) is available for the simple definition of a command.
Table 3-5
UDT 20 "MOBY CMD"
Address
Name
Type
Initial
value
Comment
0.0
STRUCT
+0.0
command
BYTE
B#16#2,
MDS: 2 = read, 1 = write
+1.0
sub_command
BYTE
B#16#0
INIT = bit pattern; END, SET, MDS,
SLG=mode
+2.0
length
INT *
1
Amount of data to be written/read in
bytes
+4.0
address_MDS
WORD
W#16#0
Start address on MDS, memory size for
INIT; date for MDS
+6.0
DAT_DB_number
INT
48
Number of DAT_DB, data for MDS
+8.0
DAT_DB_address
INT *
0
Pointer to start word in DAT_DB
=10.0
END_STRUCT
*) UDT 70 (data type WORD instead of INT) must be used for MDS/transponder memory > 32 KB. The "length" value is
then specified in hexadecimal notation.
The "actual value" of the variables can be modified using the editor in the data view of the
DB or in the STEP 7 application program.
Please note that the actual values can only be changed if no command is active (ready = 1).