Herunterladen Inhalt Inhalt Diese Seite drucken

Baumuller b maXX 5000 Betriebsanleitung Seite 72

Zusatzmodul
Vorschau ausblenden Andere Handbücher für b maXX 5000:
Inhaltsverzeichnis

Werbung

8.3
Programm erstellen
(*----Init variables----end*)
(*----Set b maXX to PreOp----start*)
elsif
errors*)
accessParams);
elsif
(*----Set b maXX to PreOp----end*)
(*----Write down mapping configuration----start*)
elsif
accessParams);
elsif
elsif
72
Betriebsanleitung b maXX 5000 Zusatzmodul MOD
Dokument-Nr.: 5.19015.01
von 90
acyclicData[12] := 0;
axis := 1;
state := state + 1;
state = 1
then
(*Set control word to 16#3E -> go to PreOp and reset all
outputData[0] := 16#3E;
WRITE_VAR(addressParam, '%MW', 100, 1, outputData,
state := state + 1;
state = 2
then
(*WRITE_VAR was finished?*)
if
accessParams[0].0 =
(*Was any error while WRITE_VAR?*)
if
accessParams[1] <> 0
(*Error happened -> go to error state*)
state := 100;
else
state := state + 1;
end_if;
end_if;
state = 3
then
(*Write down the input mapping configuration*)
WRITE_VAR (addressParam, '%MW', 210, 12, inMapping,
(*Maximal 120 WORD*)
state := state + 1;
state = 4
then
(*WRITE_VAR was finished?*)
if
accessParams[0].0 =
(*Was any error while WRITE_VAR?*)
if
accessParams[1] <> 0
(*Error happened -> go to error state*)
state := 100;
else
state := state + 1;
end_if;
end_if;
state = 5
then
(*Write down the output mapping configuration*)
false then
then
false then
then
Baumüller Nürnberg GmbH

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis