Siemens SIMATIC S7-1200 안전 프로그래밍 매뉴얼 - 페이지 22

{카테고리_이름} Siemens SIMATIC S7-1200에 대한 안전 프로그래밍 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. Siemens SIMATIC S7-1200 48 페이지. Controlling several fans (ebm-papst) via modbus rtu
Siemens SIMATIC S7-1200에 대해서도 마찬가지입니다: 매뉴얼 (30 페이지), 사용 설명서 (36 페이지), 매뉴얼 (40 페이지), 매뉴얼 (17 페이지), 매뉴얼 (31 페이지), 매뉴얼 (49 페이지), 매뉴얼 (20 페이지)

Siemens SIMATIC S7-1200 안전 프로그래밍 매뉴얼
3 Methods for Safety Programming
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
Safety Programming Guideline
Entry ID: 109750255,
V1.0,
10/2017
22