EasyManuals Logo

Siemens CSM 1277 Safety Programming Guideline

Siemens CSM 1277
48 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #22 background imageLoading...
Page #22 background image
3 Methods for Safety Programming
Safety Programming Guideline
Entry ID: 109750255, V1.0, 10/2017
22
Siemens AG 2017 All rights reserved
3.4 True & False
Regarding the use of "TRUE" and "FALSE" signals in safety programs, there are
two different use cases:
Actual parameters on blocks
Assignments on operations
Actual parameters on blocks
For S7-1200/1500 controllers, you can use the Boolean constants "FALSE" for "0"
and "TRUE" for "1" as actual parameters for interconnecting formal parameters
during block calls in the safety program. Only the keyword "FALSE" or "TRUE" is
written to the formal parameter.
Figure 3-4: "TRUE" / "FALSE" signals as actual parameters
Assignments on operations
To generate "TRUE" / "FALSE" signals for operations, proceed as follows:
8. Create two static tags, "statTrue" and "statFalse", of the BOOL data type.
9. Assign the default "true" to the "statTrue" tag.
10. Assign the default "false" to the "statFalse" tag.
In the complete function block, you can use the tags as reading "TRUE" and
"FALSE" signals.
Figure 3-5: Declaration of "TRUE" and "FALSE" signals

Other manuals for Siemens CSM 1277

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CSM 1277 and is the answer not in the manual?

Siemens CSM 1277 Specifications

General IconGeneral
Product type designationCSM 1277
Transfer rate10/100 Mbit/s
Supply voltage24 V DC
Operating temperature-40 to +70 °C
Mounting typeDIN rail mounting
TypeIndustrial Ethernet Switch
Safety Integrity LevelNot applicable
Input VoltageNot applicable
Output VoltageNot applicable
Protection ClassIP20
Number of ports4
ProtocolsEthernet
Power consumption3 W
Number of Inputs0
Number of Outputs0

Related product manuals