[?]: I need example to activate Output Module S5

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Post Reply
andreyneyko
Posts: 19
Joined: Mon Sep 12, 2011 5:33 pm

[?]: I need example to activate Output Module S5

Post by andreyneyko » Thu Sep 22, 2011 11:34 pm

Hi!

I have a problem: I need activate couple outputs (for example, 1 and 3) on Outputs module 6ES5454-7LA11 when processor 6ES5942-7UB11 is started. I use STEP5 software to communicate with processor.

Please, give me some examples.

Thanks!

dekor
Posts: 114
Joined: Wed Jan 03, 2007 9:10 pm
Location: Europe

Re: [?]: I need example to activate Output Module S5

Post by dekor » Mon Sep 26, 2011 1:09 pm

Hi,
try next example.

Code: Select all

Block: OB 001
Segment 1 of 1 zyclic block Lib =
:JU PB 3
:BE

Block: OB 021 File: 
Segment 1 of 1 Stop -> Run Lib =
:S Q 0.1
:S Q 0.3
:BE

Block: OB 022 
Segment 1 of 1 absence of power ! Lib =
:S Q 0.1
:S Q 0.3
:BE

Block: PB 003
Segment 1 of 4 Lib =
:A Q 0.1
:L KT 0003.2
:SD T 1
:NOP 0
:NOP 0
:NOP 0
:NOP 0
:***
Segment 2 of 4
:A Q 0.3
:L KT 0003.2
:SD T 2
:NOP 0
:NOP 0
:NOP 0
:NOP 0
:***
Segment 3 of 4
:A T 1
:R Q 0.1
:***
Segment 4 of 4
:A T 2
:R Q 0.3
:BE

Post Reply