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

Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000

• 49

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. The PLC program in the flash memory is transferred to the 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 or to FALSE or to an initialization value given by the PLC program. The flags retain their status . The "I/O" LED blinks red during this phase.

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

More Information

The evaluation of the displayed LED signals is described in Chapter 3.1.8 "LED Display"

A PLC program does not yet exist in the flash memory when delivered. The controller start-up is described without initializing the system. It then behaves as a coupler.

3.1.3.2 PLC cycle

The PLC cycle starts following an error 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 input and output data of the fieldbus and the I/O modules as well as the times are read. Subsequently the PLC program in the RAM is processed followed by the output data of the fieldbus and the I/O

modules in the process image. Operating system functions, amongst others, for diagnosis and communication are performed and the times are updated at the end of the PLC cycle. The cycle starts again with the reading in of the input and output data and the times.

The change of the operating mode (STOP/RUN) is 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 loop is programmed within a PLC program, the PLC running time and thus the PLC cycle are extended correspondingly.

The inputs, outputs and times are not updated during the processing of the PLC program. This update occurs in a defined manner only at the end of the PLC program. For this reason it is not possible to wait for an event from the process or the elapse of a time within a loop.

WAGO-I/O-SYSTEM 750

CANopen

50• Fieldbus Controller 750-837, /02x-000, 750-838, /02x-000 Operating system

 

Switching on the

 

 

supply voltage

 

 

 

 

 

 

 

 

 

Is a PLC

No

 

program in the Flash

 

 

“I/O” LED

memory ?

 

 

 

 

is blinking

 

Yes

 

orange

PLC program transfer from the flash memory to RAM

 

Determination of the I/O modules

 

and the configuration

 

 

 

 

 

 

 

 

 

Initialization

 

 

of the system

 

“I/O” LED

 

 

 

is blinking

 

 

 

red

 

 

No

 

Test o.k.?

 

 

Yes

STOP

Operating mode

RUN

PLC cycle

Reading inputs, outputs and times

PLC program in the RAM is processed

“I/O” LED

is shining green

Writing outputs

Operating system functions, updating times

STOP

Operating mode

RUN

Fig. 3-10: Controller operating system

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

Fieldbus data,

data of I/O modules

Fieldbus start behaviour as a coupler

Fieldbus data,

data of I/O modules

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

Online/Start or Online/Stop

g012x41x

WAGO-I/O-SYSTEM 750

CANopen

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