3
CONTENTS
NX-series Safety Control Unit Instructions Reference Manual (Z931)
Section 2 Standard Functions
Table of Standard Functions ....................................................................................................2-2
Execution Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
JUMP and LABEL.................................................................................................................... 2-6
RETURN.................................................................................................................................. 2-8
Data Type Conversion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
BOOL_TO_INT...................................................................................................................... 2-12
BOOL_TO_DINT ...................................................................................................................2-13
BOOL_TO_TIME ...................................................................................................................2-14
BOOL_TO_WORD ................................................................................................................ 2-15
BYTE_TO_INT ...................................................................................................................... 2-16
BYTE_TO_DINT.................................................................................................................... 2-17
WORD_TO_INT ....................................................................................................................2-18
WORD_TO_DINT.................................................................................................................. 2-20
DWORD_TO_DINT ............................................................................................................... 2-21
BYTE_TO_TIME.................................................................................................................... 2-23
WORD_TO_TIME.................................................................................................................. 2-24
DWORD_TO_TIME ............................................................................................................... 2-25
BYTE_TO_WORD................................................................................................................. 2-26
WORD_TO_BYTE................................................................................................................. 2-27
WORD_TO_DWORD ............................................................................................................ 2-28
DINT_TO_BOOL ...................................................................................................................2-29
INT_TO_BOOL...................................................................................................................... 2-30
DINT_TO_BYTE.................................................................................................................... 2-31
DINT_TO_DWORD ............................................................................................................... 2-32
DINT_TO_WORD.................................................................................................................. 2-34
INT_TO_BYTE ...................................................................................................................... 2-35
INT_TO_DWORD.................................................................................................................. 2-36
INT_TO_WORD ....................................................................................................................2-38
DINT_TO_INT ....................................................................................................................... 2-40
INT_TO_DINT ....................................................................................................................... 2-41
DINT_TO_TIME..................................................................................................................... 2-42
INT_TO_TIME ....................................................................................................................... 2-43
TIME_TO_BOOL ...................................................................................................................2-44
TIME_TO_BYTE.................................................................................................................... 2-45
TIME_TO_DWORD ............................................................................................................... 2-46
TIME_TO_WORD.................................................................................................................. 2-47
TIME_TO_DINT..................................................................................................................... 2-48
TIME_TO_INT ....................................................................................................................... 2-49
WORD_TO_BOOL ................................................................................................................ 2-50
Boolean Operation Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51
AND, OR, and XOR...............................................................................................................2-52
NOT ....................................................................................................................................... 2-54