Example Of A Separate Data Block Assigned To Each Moby Channel - Siemens MOBY FC 56 Technical Description

Table of Contents

Advertisement

Sample Applications
3rd example
A separate data block is assigned to each MOBY channel. Each data block
contains the parameters, commands and data for one channel. Space for 10
MOBY commands should be reserved on each channel.
Declaration view
DB 56: "SLG 1"
UDT 10
STRUCT
Command:
ARRAY [1...10]
UDT 50
END_STRUCT
STRUCT
Data:
ARRAY [1...1024]
BYTE
END-STRUCT
DB 57: "SLG 2"
UDT 10
STRUCT
Command:
ARRAY [1...10]
UDT 50
END_STRUCT
STRUCT
Data:
ARRAY [1...1024]
BYTE
END-STRUCT
DB 58: "SLG 3"
UDT 10
STRUCT
Command:
ARRAY [1...10]
UDT 50
END_STRUCT
STRUCT
Data:
ARRAY [1...1024]
BYTE
END-STRUCT
Figure 5-3

Example of a separate data block assigned to each MOBY channel

5-10
Data view
SLG 3 (DB58)
Adr.
Name
SLG 2 (DB57)
0
ASM_address
:
ASM_channel
Adr.
Name
SLG 1 (DB56)
:
0
ASM_address
:
:
ASM_channel
:
Adr.
Name
:
:
0
ASM_address
:
299
:
ASM_channel
:
:
:
:
299
:
:
299
300
Befehl1.command
300
Befehl1.command
300
Befehl1.command
:
Befehl1.address_MDS
300
Befehl1.command
:
Befehl1.address_MDS
300
Befehl1.command
:
Befehl1.address_MDS
:
Befehl1.length
300
Befehl1.command
:
Befehl1.address_MDS
:
Befehl1.length
300
Befehl1.command
300
Befehl1.command
:
Befehl1.address_MDS
:
Befehl1.length
300
Befehl1.command
:
300
Befehl1.command
:
Befehl1.address_MDS
:
Befehl1.length
300
Befehl1.command
:
:
Befehl1.address_MDS
:
Befehl1.address_MDS
:
Befehl1.length
300
Befehl1.command
:
:
Befehl1.address_MDS
:
:
Befehl1.address_MDS
:
Befehl1.length
300
Befehl1.command
300
:
:
Befehl1.address_MDS
:
:
Befehl1.length
:
Befehl1.length
300
Befehl1.command
:
:
Befehl1.address_MDS
300
:
:
Befehl1.length
:
:
Befehl1.length
300
Befehl1.command
:
:
Befehl1.address_MDS
:
:
Befehl1.length
:
:
300
:
:
Befehl1.address_MDS
300
Befehl1.command
:
:
Befehl1.length
:
:
:
:
300
:
:
Befehl1.address_MDS
:
:
Befehl1.length
:
:
:
:
:
300
Befehl1.UID
:
:
Befehl1.length
:
:
Befehl1.address_MDS
:
:
:
:
309
:
:
:
Befehl1.length
:
:
300
Befehl1.UID
:
:
309
:
:
:
Befehl1.command
:
:
:
:
Befehl1.length
:
300
Befehl1.UID
309
:
:
:
:
:
:
:
:
Befehl1.command
309
:
300
Befehl1.UID
:
:
:
Befehl1.filename
:
:
309
:
:
:
Befehl1.command
:
:
:
:
:
309
:
:
Befehl1.filename
:
:
Befehl1.command
309
:
:
309
:
:
:
:
Befehl1.filename
:
309
309
:
:
:
:
309
:
Befehl1.filename
:
:
:
:
309
:
:
:
:
309
:
309
:
:
:
309
:
:
309
:
309
:
:
309
:
309
:
309
:
:
309
:
309
:
309
400
Daten [1]
309
401
Daten [2]
402
Daten [3]
400
Daten [1]
:
401
Daten [2]
:
402
Daten [3]
:
400
Daten [1]
:
:
401
Daten [2]
:
1423
Daten [1024]
402
Daten [3]
:
:
:
:
1423
Daten [1024]
:
:
1423
Daten [1024]
Befehl1.UID
Befehl1.UID
:
Befehl1.command
Befehl1.UID
Befehl1.command
Befehl1.UID
:
Befehl1.filename
Befehl1.command
Befehl1.filename
Befehl1.command
:
Befehl1.filename
Befehl1.filename
:
:
:
J31069-D0155-U001-A0-7618
FC 56

Advertisement

Table of Contents
loading

Table of Contents