Sample Applications
5-9
FC 56
J31069-D0155-U001-A0-7618
Below is an excerpt from a STEP 7 user program. It shows how easy it is to handle
many MOBY channels with symbolic names. A command is started for each of the
inputs 0.0, 0.1 and 0.3. Edge flags are used to prevent the commands from being
started more than once.
U
MOBY DB.Kanal[1].ready
//
1st MOBY channel
UN
MOBY DB.Kanal[1].error
U
E 0.0
UN
Flankenmerker_1
S
MOBY DB.Kanal[1].command_start
S
Flankenmerker_1
UN
E 0.0
R
Flankenmerker_1
U
MOBY DB.Kanal[2].ready
//
2nd MOBY channel
UN
MOBY DB.Kanal[2].error
U
E 0.1
UN
Flankenmerker_2
S
MOBY DB.Kanal[2].command_start
S
Flankenmerker_2
UN
E 0.1
R
Flankenmerker_2
U
MOBY DB.Kanal[3].ready
//
3rd MOBY channel
UN
MOBY DB.Kanal[3].error
U
E 0.3
UN
Flankenmerker_3
S
MOBY DB.Kanal[3].command_start
S
Flankenmerker_3
UN
E 0.3
R
Flankenmerker_3
Call
“MOBY FC”
Params_DB:
= 56
Params_ADDR:
= 0
Call
“MOBY FC”
Params_DB:
= 56
Params_ADDR:
= 320
Call
“MOBY FC”
Params_DB:
= 56
Params_ADDR:
= 640
Summary of Contents for MOBY FC 56
Page 12: ...Introduction 1 6 FC 56 J31069 D0155 U001 A0 7618 ...
Page 63: ...5 1 FC 56 J31069 D0155 U001 A0 7618 Sample Applications 5 ...
Page 80: ...Sample Applications 5 18 FC 56 J31069 D0155 U001 A0 7618 ...
Page 90: ...Entry Exit Check of an MDS in an SLG Field 6 10 FC 56 J31069 D0155 U001 A0 7618 ...
Page 94: ...System Configuration 7 4 FC 56 J31069 D0155 U001 A0 7618 ...
Page 100: ...Commissioning Guidelines 8 6 FC 56 J31069 D0155 U001 A0 7618 ...
Page 101: ...9 1 FC 56 J31069 D0155 U001 A0 7618 Error Messages and Trouble Shooting 9 ...
Page 152: ...Programming MOBY ASM on PROFIBUS DP V1 B 30 FC 56 J31069 D0155 U001 A0 7618 ...