Sie sind auf Seite 1von 170

)(STEP7

: ) (Step7
) (Simatic7



) (Step7

.

)(Step7
% -






: )(Frame9
) (PLC ) GE Speedtronic
(MK5,MK6 ) Cimplicity HMI ,IDOS,
(GE toolbox

)(Rslogix5000,Rslogix500,Step7

:
-
) (MK5
)(www.kutub.info
- ) (Matrixvb

) (www.4shared.com

- ) (Rslogix5000 ) (Rslogix500 ) Rstest
(lite

)(harithnassir2007@yahoo.com

:
:
-
-
- )(Simatic 300

:
- )(Simatic Manager
- ) (Hardware
- ) (Rack
-


- )(Symbol
- )(OB1
-


-
- )(Step7


-
-
-


- ) (Online )(CPU
- )(Simulator
-

:
-
-
- )(Simatic 300
-
:
- ) (Step7 ) (setup.exe :

- )(Next

-
) (Next :

- )(Next

- )(Next

- )(Next

- )(Next

- )(Yes

- ) (Serial )(Next

- )(Next

- )(Next

- )(Next

- ) (Next
-
:

- ) (www.4shared.com
) (Rockwell_keys_upload_by_ejbg
)(virtual floppy drive
- ) (www.4shared.com
) Siemens SIMATIC KEYS AUTORIZATIONS
YELLOW
DISK
STEP7
PCS7
WINCC
WINCCFLEXIBLE
DOCPRO
SMARTLABEL
(updated-fixed 02-2008
) (Simatic_all_key.IMA ) (V5.3
) (Step7 V5.4 Pro Yellow Disk.IMA )(V5.4
- ) (vfdwin

- ) (start ) (Drive1
) (Drive0

- ) (Change
)(A
- ) (open
- ) (Browse :

- ) (Simatic_all_key.IMA ) Step7
(V5.4 Pro Yellow Disk.IMA )(open
) (Floppy A
- )(Step7

- )(Key

) (Key
)>(-


: :
(Simatic Step7 5.x)-
(S7plcsim)-

- )(Simatic 300
) (Simatic 300 :

:(Racks) - ) (Rack ) (Simatic300


) (Rail .
) (U ) (Rack .

- ) :(PS
) (Rack :

:(CPU)- :

) (CPU ) (Simatic300 :

- ):(SM
) (CPU ) (Simatic300 :
- )(DI-300
- )(DO-300
- )(AI-300
- )(AO-300
- )(DI/DO-300
- )(AI/AO-300
- ) :(FM
) (SERVO ) (High Speed Counter
) (PID Controller )(FM-300
- ) :(CP ) (Simatic300
) (PLC ) (Serial
- ) :(IM ) (Rack
:

:(PG/PC)- ) (PLC
) (PLC ) (CPU ) (MPI) (DP
) (Field PG ) (Power PG
) (MPI :

Power PG

Field PG

ISA/PCI MPI Card

MPI Port

- ) :(MPI ) (CPU
) (OPx ) (CP
)(FM

- ) :(DP ) (MPI
) (CPU ) (CPU ) (Master/Slave
) (Profibus ) (CPU315
) (DP ) (MPI

:
- )(Simatic Manager
- ) (Hardware
- ) (Rack
-
- ) :(Simatic Manager :
(Use The Project Wizard) :

:

) (Cancel :

) (File )(New Project Wizard


:

) (Preview :

)(Next

) (CPU ) (Next :

) (OB ) (LAD
) (Next :

) (Project name )(Finish


:


:
) (File ):(New

)(Ok

) (Hardware

- ) (Hardware
) (Hardware ) (Station ) (Insert
) (Station )(SIMATIC 300 Station

) (Station ) (My PLC ) (enter


:

) (My PLC Station ) (Hardware


) (Hardware
) (Catalog ) (CTRL+k :

) (Catalog ) (SIMATIC 300


) (RACK-300 ) (Rail :

) (Power Supply:

) (CPU:

) (Slot ) (4 )(Slot 3
) (IM ) (Rack
) (Rack:

)(Save and Compile


:

)(System data

- ) (Rack
) (Rack
- )(Slot3
)(IM

- ) (IM360 ) (Slot3
) (Rack

- ) (Rack :

- ) (Rack:

- :

) (IM Card

-
-
)(Object Properties

- ) (Addresses
)(System Selection

- ) (Start )(OK

-
)(16 bit

) (32 bit )(Rack


- )(Symbol
- )(OB1
-
- )(Symbol


) (I ) (Q

) (Step7 :

:
- ) (S7 program
) (Symbols

- ) (Symbols :


- ) (CYCL_EXC ) (Main Program

- ) (Green Light ) (Q4.0




- )(File-Save

- )(Symbols
:

)(Sensor
) (Name )* (S )* (I
) (Address

- )(OB1
:

)(OB1
- )(OB1

-
) (Insert ):(Program Elements

-
) (Network1 :

- ) (I ) (Q
) (New Network ) (Insert
)(Network

- ) (Network2
) (Move

) (M

- ) (View

- ) (STL :

- ) (FBD :

- :

- : ) Declaration
(Table
) (OB,FC,FB
:
Dim Var1 AS Integer
:

:
) :(In
) :(Out
) :(In_Out
) :(Temp
):(Return

):(Stat ) (FB

:
x IN,
y Out,
xx,yy IN_OUT
Temp Temp


:
) :(Name
) :(Data Type ) (byte,int
) :(Comment


-
- )(Step7
- :
) (CPU :


:
- ) :(I
) (I
) (bit ) (Digital input ) (IB
) (Byte= 8 bit) (IW ) (Word= 16 bit
) (ID )(Double Word= 32 bit
- ) :(Q
) (Q
) (bit ) (Digital Output ) (QB
) (Byte= 8 bit) (QW ) Word= 16
(bit ) (QD )(Double Word= 32 bit
- ) :(M



) (M ) (bit ) (MB )(Byte= 8 bit
) (MW ) (Word= 16 bit ) (MD
)(Double Word= 32 bit

- ) :(T

-- ) :(C

- ) :(DB

- ) :(L
\

- ):(PI/PQ
) (OPx ) (Variable Speed Drive
) (CPU ) (Master/Slave
)(PIB,PIW,PID
) (PQB,PQW,PQD ) (PIW,PQW
) (Analog )(AI,AO

- )(Step7


)(Step7


-
-
-
-

-
-

)(OB1
:
- ) (Blocks
- ) (Insert ) (S7Block )(Function

- )(OK
)(FC2

- ) (FC2 ) (OB1

-
-

- ) (OB1 :
- ) (STL ) (Call Function name
) (Call FC 1 ) (Call FC 2
- ) (FBD

) (OB1

-
- ) (Function Block ) :(FB

) (Data Block ) (DB
) (FB ) (OB1 ) (DB
)(FB
- ) :(DB

) (Online :

:
) (Instance Data Block
) (FB ) (FB

) (Shared Data Block


) :(Global Data Block

):(FB
- ) (FB )(Block

- :

- ) (OK ) (FB
)(Block

- )(DB

- :

- ) (Instance DB ) (FB )(OK

- )(Block

- ) (FB2 ) (FC

- ) (FB
) (OB1 ) (FC
)(FB

- ) (FB2
) (DB1 ) (DB1 :

- ) (FB
:

-
) (Call )(STL

- ) (DB1 :

-


) (DB Shared :

- ) (DB99 :

- ) (Download ) (DB99
) (CPU )(Download
- :

: -
DB(Number).(DB Data Type)(Data Address)
DB(Number) , such as DB1,DB2,DB100
DB Data Type Such as
(DBX) for Bool Data
(DBB) for Byte Data
(DBW) for Word Data
(DBD) for Double Word Data
Data Address Such as
0.0, 2.0, 4.0, for Bool
1,2,3,4 For other Types

- ) (OB1

- ) (Var1) (Var2 ) (DB99



- ) (Online )(CPU
-
- )(Simulator
- ) (Online )(CPU
- ) (CPU )(MPI

- ) (Step7:

)) (PC Adapter (Auto


) (MPI

)) (PC Adapter (MPI


) (MPI ) (PG
)(MPI

- :

- ) (Online:

-

: ) (CPU )(Download
: ) (CPU )(Upload

- ) (CPU )(Download

- ) (Download ) (Blocks
) (CPU ) (Stop
) (Downlod :
-
- )(OB1
- ) (SFB

- )(DB
- )(Hardware

)(Run-P

)(CPU

)(Yes

) (Yes )(RUN

)(CPU

) (yes ) (CPU

) (CPU )(Upload
:

:


) (CPU
:

) (MPI Address ) (View ) MPI


(Address ) (MPI
) (OK

- )(Simulator
) (Simulator
) (S7PLCSIM ) (Step7
)(Step7
)(Simulator

:
-
:
- )(Online
-
-
-
-
- )(Online
- )(Online

- )(OB1

- :

- ) (Monitor :

)(MPI

) (Force
) (Force) (Modify ) (Force )(Bool

) (Force ) (Bool
)(Force

) (Force:


-
) (Step7
)(LAD
:
) (Step7 )(LAD

- ) :(Bit Logic )(Bool


-

) (1

:

) (I0.0,I0.1 ) (1
) (I0.2 )(1

-
) (0

:

) (I0.0,I0.1 ) (1
) (I0.2 )(0
-
) (1 ) (0
:
)(I0.2,I0.1
) (1 ) (I0.0
) (1 )(Q4.0
)(0

) (And Gate

) (OR Gate

) (1
:

) (PLC

-
) (0

:

:
) (Q4.0 ) (1
) (I0.4,I0.3 )(1
:
) (R ) (1
) (I0.1,I0.0 ) (1 ) (I0.2 ) (0 )(R
) (Q4.0 )(0
-
) (1


:
M0.1
N
Q0.0
0
0
0
0
1
0
1
0
1
1
1
0

M0.1
0
0
1
1

P
0
1
0
1

Q0.0
0
1
0
0

(SR FLIP FLOP) -


S
0

R
0

0
1
1

1
0
1

Q
No
change
0
1
0

I0.1
0

I0.0
0

0
1
1

1
0
1

M0.0
No
change
0
1
0
(RS FLIP FLOP)-

S
0

R
0

0
1
1

1
0
1

Q
No
change
0
1
1

: ) (Auto
) (Low Level ) (High Level
) (Manual ) (Start
) (High Level ) (Stop )(Low Level
) (HL)(LL

- :

) (Integer
) (Double Integer ) (Real
:

-
)(Integer

)(Double Integer



-
-
) (0
:
:(C no) - ) Symbol
(Table )(C1,C2
:(S) -

:(CU) - ) (0 ) (1
)(1
:(PV) -
:(R) - ) (1
:(Q) - ) (1 ) (0 )(0
:(CV) -
:(CV_BCD) - )(BCD

) (1 ) (I0.0 ) (0 )(1
-

:
:(Cno) - ) (Symbol Table )(C1,C2
:(S) -
:(CD) - ) (0 ) (1 )(1
:(PV) -
:(R) - ) (1
:(Q) - ) (1 ) (0 )(0
:(CV) -
:(CV_BCD) - )(BCD

-

) (CU ) (0 ) (1 ) (1
) (CD ) (0 ) (1
)(1

) (PV
) (0 ) (1
) (PV

- )(Word
-

- )(Timers
:

:
:(Tno) - )(T1,T6.
:(S) - ) (0 ) (1
:(TV) -
:(R) -
:(BI)-

:(BCD)- )(BCD
:(Q)- ) (1 ) (0

) (Q
) (1 ) (S ) (0
)(Q
) (0 ) (S )(0

-
) (Q ) (0
) (1

)(Q
) (0 ) (1
) (Q ) (1 ) (S )(0

) (S
) (1 )(0


-
)(Step7

: ) (Step7

Das könnte Ihnen auch gefallen