5 programming examples for an s5, 1 basic principles – Festo Кабели и принадлежности User Manual

Page 68

Advertising
background image

4.5 Programming examples for an S5.

The following section contains programming examples
which should help you in programming your field bus
master. You must adapt position specifications and I/O
addresses to suit your application.

4.5.1 Basic principles

The examples are based on the following symbolic ref-
erence. The inputs of the SPC200 can be addressed
with the PLC output bytes 20 to 27; the outputs of the
SPC200 can be addressed with the PLC input bytes 20
to 27.

Inputs

Outputs

E 20.0

#READY

A 20.0

#ENABLE

E 20.1

#SYNCOA

A 20.1

#START

E 20.2

#SYNCO

A 20.2

#STOP

E 20.3

#MCA

A 20.3

#SYNCI_A

E 20.4

#MCB

A 20.4

#SYNCI_B

4. Commissioning

4-34

SPC200-COM-IBS 0503a

Advertising