Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
50
Добавлен:
11.10.2020
Размер:
3.2 Mб
Скачать

Fieldbus Controller 750-841 45

Operating System

3.1.3 Operating System

3.1.3.1 Start-up

The controller starts-up after switching on the supply voltage or after a hardware reset.

Note

The Operating Mode slide switch must not be in the bottom position during start-up!

The PLC program in the flash memory is transferred to RAM.

This is followed by the initialization of the system. The controller determines the I/O modules and the present configuration. The variables are set to 0, FALSE, or to an initial value given by the PLC program. The flags retain their status . The "I/O" LED blinks red during this phase.

Following a fault free start-up the controller changes over to "RUN" mode. The "I/O" LED lights up green.

3.1.3.2 PLC Cycle

The PLC cycle starts following a fault free start-up when the Operating Mode Switch is in the top position or by a start command from the WAGO-I/O-PRO CAA. The controller starts a PLC cycle by first reading the fieldbus data, I/O modules, and time data. Next, the PLC program in RAM is processed (scanned). After the program is processed, the fieldbus data and I/O modules are updated with new output data. System functions are then preformed (i.e., system diagnostics, communications, time calculations, etc). At this point, if a STOP command is not present, the cycle starts over again with the reading of the fieldbus data, I/O modules, and time data.

The change of the operating mode (STOP/RUN) is only made at the end of a PLC cycle.

The cycle time is the time from the start of the PLC program to the next start. If a sizeable loop is programmed within a PLC program, the PLC cycle time is extended correspondingly.

The inputs and outputs are not updated during the scanning of the PLC program. I/O updates only occur at the end of the PLC program scan. For this reason, it is not possible to wait for a physical I/O change from within a program loop.

WAGO-I/O-SYSTEM 750 ETHERNET TCP/IP

46 • Fieldbus Controller 750-841

Operating System

“I/O” LED is blinking orange

“I/O” LED is blinking red

PLC cycle

“I/O” LED is shining green

Fig. 3-5:

Switching on the supply voltage

Is a PLC

program in the Flash No memory ?

Yes

PLC program transfer from the flash memory to RAM

Determination of the I/O modules and the configuration

Initialization of the system

No

Test o.k.?

Yes

STOP

Operating mode

RUN

Determination of the I/O modules and the configuration

Variables are set to 0 or FALSE or to their initial value,

flags remain in the same status.

Stop

No

Test o.k.?

 

Yes

operating mode switch is in the top position or start command in WAGO-IO-PRO 32:

Online/Start or Online/Stop

Reading inputs, outputs and times

 

Fieldbus data,

 

 

 

data of I/O modules

PLC program in the RAM is processed

Writing outputs

Operating system functions, updating times

Fieldbus data, data of I/O modules

Fieldbus start behaviour as a coupler

operating mode switch

STOP is in the top position or Operating mode start command in

WAGO-IO-PRO 32:

Online/Start or Online/Stop

RUN

Controller Operating System

g012941e

WAGO-I/O-SYSTEM 750 ETHERNET TCP/IP

Соседние файлы в папке 750-841