Moby Commands - Siemens SIMATIC FC 45 Function Manual

Sensors
Table of Contents

Advertisement

3.2

MOBY commands

3.2
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
0.0
+0.0
command
+1.0
sub_command
+2.0
length
+4.0
address_MDS
+6.0
DAT_DB_number
+8.0
DAT_DB_address
=10.0
*) 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).
FC 45
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
Type
Initial
value
STRUCT
BYTE
B#16#2,
BYTE
B#16#0
INT *
1
WORD
W#16#0
INT
48
INT *
0
END_STRUCT
Comment
MDS: 2 = read, 1 = write
INIT = bit pattern; END, SET, MDS,
SLG=mode
Amount of data to be written/read in
bytes
Start address on MDS, memory size for
INIT; date for MDS
Number of DAT_DB, data for MDS
Pointer to start word in DAT_DB
Parameterizing
3.2 MOBY commands
3-11

Advertisement

Table of Contents
loading

Table of Contents