6.12.4 Return from subroutine
------------------------------------------------------------------
169
6.12.5 Conditional end
---------------------------------------------------------------------------
170
6.12.6 STOP
----------------------------------------------------------------------------------------
171
6.12.7 Watchdog Reset
---------------------------------------------------------------------------
172
6.12.8 Diagnosis LED
------------------------------------------------------------------------------
173
6.13 Shift cycle
-------------------------------------------------------------------------------------------
174
6.13.1 SHR -B & SHL -B
---------------------------------------------------------------------------
174
6.13.2 SHR -W & SHL -W
-------------------------------------------------------------------------
176
6.13.3 SHR -DW & SHL -DW
---------------------------------------------------------------------
177
6.13.4 ROR -B & ROL -B
--------------------------------------------------------------------------
178
6.13.5 ROR -W & ROL -W
------------------------------------------------------------------------
179
6.13.6 ROR -DW & ROL -DW
---------------------------------------------------------------------
180
6.13.7 SHRB
----------------------------------------------------------------------------------------
181
6.14 Character string
-----------------------------------------------------------------------------------
182
6.14.1 String length
-------------------------------------------------------------------------------
182
6.14.2 Copy string
---------------------------------------------------------------------------------
183
6.14.3 SSTR-CPY
-----------------------------------------------------------------------------------
184
6.14.4 String catenate
----------------------------------------------------------------------------
185
6.14.5 STR -FIND
-----------------------------------------------------------------------------------
186
6.14.6 Look for the first character in the string
----------------------------------------------
187
6.15 Table
-------------------------------------------------------------------------------------------------
188
6.15.1 Last in first out
----------------------------------------------------------------------------
188
6.15.2 FIFO
-----------------------------------------------------------------------------------------
190
6.15.3 Add to table
--------------------------------------------------------------------------------
192
6.15.4 Memory fill
--------------------------------------------------------------------------------
194
6.15.5 Table Find
----------------------------------------------------------------------------------
195
6.16 Timer
------------------------------------------------------------------------------------------------
197
6.16.1 Switch on delay timer
--------------------------------------------------------------------
197
6.16.2 TONR
-------------------------------------------------------------------------------------
199
6.16.3 Disconnect delay timer
------------------------------------------------------------------
200
6.16.4 Start time interval
------------------------------------------------------------------------
201
6.16.5 Calculation interval time
-----------------------------------------------------------------
202
6.17 Pulse train output
---------------------------------------------------------------------------------
203
6.17.1 Pulse output
-------------------------------------------------------------------------------
203
6.17.2 Pulse width modulation
-----------------------------------------------------------------
205
6.18 Subroutine
-----------------------------------------------------------------------------------------
206
6.18.1 Using subroutine
--------------------------------------------------------------------------
206
6.18.2 Using parameters to call subroutine
---------------------------------------------------
207
6.18.3 How to set up a subroutine
-------------------------------------------------------------
208
6.18.4 How to call a subroutine
-----------------------------------------------------------------
209
7.PLC storage area
---------------------------------------------------------------------------------------------
212
7.1 Storage area types and properties
---------------------------------------------------------------
212
7.2 Direct and indirect addressing
--------------------------------------------------------------------
213
7.3 Bit, byte, word and double word access
--------------------------------------------------------
216
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...