6.1.8 Set immediate and reset immediate
------------------------------------------------------
80
6.1.9 SR instruction
---------------------------------------------------------------------------------
80
6.1.10 RS instruction
-------------------------------------------------------------------------------
81
6.1.11 NOP instruction
-----------------------------------------------------------------------------
82
6.2 Clock instruction
--------------------------------------------------------------------------------------
83
6.2.1 Read and set the real time clock
----------------------------------------------------------
83
6.3 Communication
---------------------------------------------------------------------------------------
84
6.3.1 Get port address
---------------------------------------------------------------------------
84
6.3.2 Set port address
---------------------------------------------------------------------------
84
6.4 Compare
---------------------------------------------------------------------------------------------
85
6.4.1 Byte compare
---------------------------------------------------------------------------------
85
6.4.2 Integer comparison
--------------------------------------------------------------------------
87
6.4.3 Double integer comparison
----------------------------------------------------------------
88
6.4.4 Real number comparison
-------------------------------------------------------------------
89
6.4.5 String comparison
---------------------------------------------------------------------------
90
6.5 Convert
------------------------------------------------------------------------------------------------
91
6.5.1 Byte to integer
--------------------------------------------------------------------------------
91
6.5.2 Integer to byte
--------------------------------------------------------------------------------
92
6.5.3 Integer to double integer
-------------------------------------------------------------------
92
6.5.4 Integer to string
------------------------------------------------------------------------------
92
6.5.5 Double integer to integer
-------------------------------------------------------------------
94
6.5.6 Double integer to real number
------------------------------------------------------------
94
6.5.7 Double integer to string
---------------------------------------------------------------------
95
6.5.8 BCD to integer, integer to BCD conversion
-----------------------------------------------
96
6.5.9 ROUND
----------------------------------------------------------------------------------------
97
6.5.10 TRUNC
----------------------------------------------------------------------------------------
98
6.5.11 Real number to string
----------------------------------------------------------------------
99
6.5.12 Integer to ASCII code
---------------------------------------------------------------------
101
6.5.13 Double integer to ASCII code
-----------------------------------------------------------
103
6.5.14 Real number to ASCII code
--------------------------------------------------------------
104
6.5.15 ATH&HTA
-----------------------------------------------------------------------------------
106
6.5.16 String to integer
---------------------------------------------------------------------------
107
6.5.17 String to double integer
-----------------------------------------------------------------
109
6.5.18 String to real number
--------------------------------------------------------------------
111
6.5.19 DECO
-------------------------------------------------------------------------------------
113
6.5.20 ENCO
----------------------------------------------------------------------------------------
114
6.5.21 Seven segment code
---------------------------------------------------------------------
115
6.6 Counter
-----------------------------------------------------------------------------------------------
116
6.6.1 CTU
-------------------------------------------------------------------------------------------
116
6.6.2 CTD
-------------------------------------------------------------------------------------------
117
6.6.3 CTUD
-----------------------------------------------------------------------------------------
118
6.7 Floating point calculation
--------------------------------------------------------------------------
119
6.7.1 ADD-R&SUB-R
------------------------------------------------------------------------------
119
6.7.2 MUL - R&DIV - R
----------------------------------------------------------------------------
121
Summary of Contents for PR-12 Series
Page 26: ...19 1 xLogic CPU PR 12 Series CPU PR 14 and PR 18 series 1 PR 18 CPU 2 PR E extension...
Page 27: ...20 PR 24 series...
Page 47: ...40 5 3 Instruction tree...
Page 58: ...51 5 3 10 Instructions Instructions will be explained in detail in the instructions section...
Page 93: ...86 2 Enter the illegal real number Example...
Page 127: ...120 Example...
Page 139: ...132 Special memory bit SM1 0 Zero result SM1 1 overflow SM1 2 Negative result Example...
Page 149: ...142 Example...
Page 152: ...145 Example ATCH instruction only needs to be connected once...
Page 154: ...147 Example...
Page 175: ...168...
Page 217: ...210 Example Four arithmetic operation Main program...
Page 218: ...211 Subroutine...
Page 252: ...245 10 8 Example of serial port free port communication Program 1...
Page 254: ...247 10 9 Example of CAN free port...
Page 258: ...251 Conversion of Process quantity and set value unit...