beautypg.com

3 program examples, Program examples – Festo Кабели и принадлежности User Manual

Page 86

background image

4. Commissioning

4−40

Festo P.BE−SPC200−COM−PDP−E N en 0901c

4.6.3 Program examples

The following section contains program examples which
should assist you in programming your field bus master. PosiĆ
tion specifications and I/O addresses must be adapted to
your application. The examples are based on the following
symbols:

SPS I/O

SPC200 I/O

Symbolic
meaning

Function

O20.0

I10.0

ENABLE

Enable signal for SPC200

O20.1

I10.1

START/RESET

Start/Reset signal

O20.2

I10.2

STOP

Stop signal

O20.3

I10.3

SYNC_IA

Synchronization input for program A

O20.4

I10.4

SYNC_IB

Synchronization input for program B

I20.0

Q10.0

READY

SPC200 ready to operate

I20.1

Q10.1

SYNC_OA

Start/Stop mode: SYNC_OA

I20.2

Q10.2

SYNC_OB

Start/Stop mode: SYNC_OB

I20.3

Q10.3

MC_A

Start/Stop mode: MC_A

I20.4

Q10.4

MC_B

Start/Stop mode: MC_B

Generating the starting edge

Program in the master

UN

READY

S

ENABLE

“Enable controller

S

STOP

”Set stop

S

SYNC_IA

“M00 prepare quit for
program A

S

SYNC_IB

”Preparation for program B

U

READY

“System ready

S

START/RESET

”Generate starting edge

This manual is related to the following products: