6
Programming
This section describes variables, instructions, and other elements that are used to cre-
ate safety programs. It also describes the programming operations that are used on
the Sysmac Studio.
6-1 POUs (Program Organization Units) .......................................................... 6 - 3
POU .............................................................................................................. 6 - 3
Overview of the Three Types of POUs ......................................................... 6 - 3
Differences between Programs, Functions, and Function Blocks ................ 6 - 4
Details on Programs ..................................................................................... 6 - 5
Details on Function Blocks ........................................................................... 6 - 6
Details on Functions ................................................................................... 6 - 10
6-2 Variables ..................................................................................................... 6 - 12
Variables ..................................................................................................... 6 - 12
Type of User-defined Variable..................................................................... 6 - 12
Attributes of Variables ................................................................................. 6 - 13
Data Type ................................................................................................... 6 - 14
Variable Attributes Other Than Data Type .................................................. 6 - 16
Function Block Instances............................................................................ 6 - 17
Restrictions on Variable Names and Other Safety Program-related
Names ......................................................................................................... 6 - 17
6-3 Constants (Literals) ................................................................................... 6 - 19
Constants.................................................................................................... 6 - 19
Types of Constants ..................................................................................... 6 - 19
6-4 Programming Languages.......................................................................... 6 - 21
Programming Languages ........................................................................... 6 - 21
FBD Language............................................................................................ 6 - 21
6-5 Programming Operations.......................................................................... 6 - 26
Programming Layer on the Sysmac Studio ................................................ 6 - 26
Registering POUs ....................................................................................... 6 - 27
Registering Variables .................................................................................. 6 - 36
FBD Programming ...................................................................................... 6 - 41
Function Block Conversion for Programs ................................................... 6 - 60
Building ...................................................................................................... 6 - 61
Searching and Replacing............................................................................ 6 - 63
Safety Task Settings ................................................................................... 6 - 66
6-6 Automatic Programming ........................................................................... 6 - 68
Generation Algorithms for Automatic Programming ................................... 6 - 68
6 - 1
NX-series Safety Control Unit User's Manual (Z930)
6
Содержание NX-SIH400
Страница 4: ...Introduction 2 NX series Safety Control Unit User s Manual Z930 ...
Страница 46: ...Revision History 44 NX series Safety Control Unit User s Manual Z930 ...
Страница 108: ...2 Specifications 2 42 NX series Safety Control Unit User s Manual Z930 ...
Страница 132: ...3 Installation and Wiring 3 24 NX series Safety Control Unit User s Manual Z930 ...
Страница 148: ...4 Safety Control Unit Operation 4 16 NX series Safety Control Unit User s Manual Z930 ...
Страница 216: ...5 System Configuration and Setup 5 44 NX series Safety Control Unit User s Manual Z930 ...
Страница 306: ...6 Programming 6 90 NX series Safety Control Unit User s Manual Z930 ...
Страница 378: ...7 Checking Operation and Actual Operation 7 72 NX series Safety Control Unit User s Manual Z930 ...
Страница 390: ...8 Calculating Safety Reaction Times 8 12 NX series Safety Control Unit User s Manual Z930 ...
Страница 412: ...11 Safety Data Logging 11 10 NX series Safety Control Unit User s Manual Z930 ...
Страница 504: ...12 Troubleshooting 12 92 NX series Safety Control Unit User s Manual Z930 ...
Страница 550: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 38 NX series Safety Control Unit User s Manual Z930 ...
Страница 554: ...l I O Map Settings Appendices A 42 NX series Safety Control Unit User s Manual Z930 ...
Страница 558: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 46 NX series Safety Control Unit User s Manual Z930 ...
Страница 564: ...l Safety I O Terminal Settings l I O Map Settings Appendices A 52 NX series Safety Control Unit User s Manual Z930 ...
Страница 623: ...I Index I 1 NX series Safety Control Unit User s Manual Z930 I ...
Страница 625: ......