Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
0 of .
Results for:
P. 1
instr_popis_S7_200

# instr_popis_S7_200

Ratings: (0)|Views: 92|Likes:

### Availability:

See more
See less

05/11/2014

pdf

text

original

9-1
S7-200 Programmable Controller System ManualC79000-G7076-C233-01
SIMATIC Instructions
This chapter describes the SIMATIC instruction set for the S7-200.
Chapter Overview
SectionDescriptionPage
9.1SIMATIC Bit Logic Instructions9-29.2SIMATIC Compare Instructions9-109.3SIMATIC Timer Instructions9-159.4SIMATIC Counter Instructions9-239.5SIMATIC High-Speed Counter Instructions9-279.6SIMATIC Pulse Output Instructions9-499.7SIMATIC Clock Instructions9-709.8SIMATIC Integer Math Instructions9-729.9SIMATIC Real Math Instructions9-819.10SIMATIC Move Instructions9-999.11SIMATIC Table Instructions9-1049.12SIMATIC Logical Operations Instructions9-1109.13SIMATIC Shift and Rotate Instructions9-1169.14SIMATIC Conversion Instructions9-1269.15SIMATIC Program Control Instructions9-1419.16SIMATIC Interrupt and Communications Instructions9-1659.17SIMATIC Logic Stack Instructions9-192
9

SIMATIC Instructions
9-2
S7-200 Programmable Controller System ManualC79000-G7076-C233-01
9.1SIMATIC Bit Logic Instructions
Standard Contacts
These instructions obtain the referenced value from thememory or process-image register if the data type is I orQ. You can use a maximum of seven inputs to both theAND and the OR boxes.The
Normally Open
contact

is closed (on) when the bitis equal to 1.The
Normally Closed
contact

is closed (on) when the bitis equal to 0.In LAD, normally open and normally closed instructionsare represented by contacts.In FBD, normally open instructions are represented byAND/OR boxes. These instructions can be used tomanipulate Boolean signals in the same manner asladder contacts. Normally closed instructions are alsorepresented by boxes. A normally closed instruction isconstructed by placing the negation symbol on the stemof the input signal.In STL, the Normally Open contact is represented by the
,
And
, and
Or
instructions. These instructionsLoad, AND, or OR the bit value of the address bit to thetop of the stack.In STL, the Normally closed contact is represented bythe
,
And Not
, and
Or Not
instructions. Theseinstructions Load, AND, or OR the logical Not of the bitvalue of the address bit to the top of the stack.
Inputs/OutputsOperandsData Types
bit (LAD, STL)I, Q, M, SM, T, C, V, S, LBOOLInput (FBD)I, Q, M, SM, T, C, V, S, L, Power FlowBOOLOutput (FBD)I, Q, M, SM, T, C, V, S, L, Power FlowBOOL
LAL
LDbitAbitObitLDNbitANbitONbit
bitbit
/
AND OR
222224
3 33
221

SIMATIC Instructions
9-3
S7-200 Programmable Controller System ManualC79000-G7076-C233-01
Immediate Contacts
The immediate instruction obtains the physical inputvalue when the instruction is executed, but theprocess-image register is not updated.The
Normally Open Immediate
contact is closed (on)when the physical input point (bit) is 1.The
Normally Closed Immediate
contact is closed (on)when the physical input point (bit) is 0.In LAD, normally open and normally closed immediateinstructions are represented by contacts.In FBD, normally open immediate instructions arerepresented by the immediate indicator in front of theoperand tic. The immediate indicator may not be presentwhen power flow is used. The instruction can be used tomanipulate physical signals in the same manner asladder contacts.In FBD, normally closed immediate instructions are alsorepresented by the immediate indicator and negationsymbol in front of the operand tic. The immediateindicator cannot be present when power flow is used.The normally closed instruction is constructed by placingthe negation symbol on the stem of the input signal.In STL, the Normally Open Immediate contact is represented by the
,
AndImmediate
,

and
Or Immediate
instructions. These instructions Load, AND, or OR the physicalinput value to the top of the stack immediately.In STL, the Normally Closed Immediate contact is represented by the
,
And Not Immediate
,

and
Or Not Immediate
instructions. These instructions immediatelyLoad, AND, or OR the logical Not of the value of the physical input point to the top of the stack.
Inputs/OutputsOperandsData Types
LDIbitAIbitOIbit
bitI
LDNIbitANIbitONIbit
bit/I
LA
222224
3 33
221
L