6.7.3 SQRT
------------------------------------------------------------------------------------------
122
6.7.4 SIN
------------------------------------------------------------------------------------------
123
6.7.5 COS
-------------------------------------------------------------------------------------------
124
6.7.6 TAN
-----------------------------------------------------------------------------------------
125
6.7.7 LN
---------------------------------------------------------------------------------------------
126
6.7.8 EXP
--------------------------------------------------------------------------------------------
127
6.7.9 PID
------------------------------------------------------------------------------------------
128
6.8 Integer operations
----------------------------------------------------------------------------------
131
6.8.1 ADD-I&SUB-I
--------------------------------------------------------------------------------
131
6.8.2 ADD- DI & SUB- DI
--------------------------------------------------------------------------
133
6.8.3 MUL & DIV
-----------------------------------------------------------------------------------
134
6.8.4 MUL -I & DIV-I
------------------------------------------------------------------------------
135
6.8.5 MUL -DI & DIV -DI
--------------------------------------------------------------------------
137
6.8.6 INC-B & DEC-B
------------------------------------------------------------------------------
138
6.8.7 INC-W & DEC-W
----------------------------------------------------------------------------
139
6.8.8 INC -DW & DEC -DW
-----------------------------------------------------------------------
140
6.9 Interrupt
---------------------------------------------------------------------------------------------
141
6.9.1 ENI & DISI
------------------------------------------------------------------------------------
141
6.9.2 RETI instruction
-----------------------------------------------------------------------------
143
6.9.3 ATCH
---------------------------------------------------------------------------------------
144
6.9.4 DTCH
---------------------------------------------------------------------------------------
146
6.9.5 Clear interrupt event
----------------------------------------------------------------------
148
6.10 Logic operation
------------------------------------------------------------------------------------
149
6.10.1 INV -B
-------------------------------------------------------------------------------------
149
6.10.2 INV -W
--------------------------------------------------------------------------------------
150
6.10.3 INV -DW
------------------------------------------------------------------------------------
151
6.10.4 WAND-B
、
WOR -B
、
WXOR -B
---------------------------------------------------------
152
6.10.5 WAND-W
、
WOR -W
、
WXOR -W
------------------------------------------------------
153
6.10.6 WAND- DW
、
WOR -DW
、
WXOR -DW
------------------------------------------------
154
6.11 Move
------------------------------------------------------------------------------------------------
155
6.11.1 Byte move
----------------------------------------------------------------------------------
155
6.11.2 Word move
--------------------------------------------------------------------------------
156
6.11.3 Double word move
-----------------------------------------------------------------------
157
6.11.4 Real number move
-----------------------------------------------------------------------
158
6.11.5 BLKMOV -B
---------------------------------------------------------------------------------
159
6.11.6 BLKMOV -W
--------------------------------------------------------------------------------
160
6.11.7 BLKMOV -D
--------------------------------------------------------------------------------
161
6.11.8 SWAP
---------------------------------------------------------------------------------------
162
6.11.9 MOV -BIR
-----------------------------------------------------------------------------------
163
6.11.10 MOV -BIW
--------------------------------------------------------------------------------
163
6.12 Program control
-----------------------------------------------------------------------------------
164
6.12.1 FOR
、
NEXT
------------------------------------------------------------------------------
164
6.12.2 Jump to label and label
------------------------------------------------------------------
166
6.12.3 Sequence control relay
-------------------------------------------------------------------
167
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...