6.12.3 Sequence control relay ---------------------------------------------------------------------- 168 6.12.4 Return from subroutine --------------------------------------------------------------------- 170 6.12.5 Conditional end ------------------------------------------------------------------------------- 171 6.12.6 STOP --------------------------------------------------------------------------------------------- 172 6.12.7 Watchdog Reset ------------------------------------------------------------------------------ 173 6.12.8 Diagnosis LED ---------------------------------------------------------------------------------- 174 6.13 Shift cycle ------------------------------------------------------------------------------------------------ 175 6.13.1 SHR - B & SHL - B ------------------------------------------------------------------------------- 175 6.13.2 SHR - W & SHL - W ----------------------------------------------------------------------------- 177 6.13.3 SHR - DW & SHL - DW ------------------------------------------------------------------------- 178 6.13.4 ROR - B & ROL - B ------------------------------------------------------------------------------ 179 6.13.5 ROR - W & ROL - W ---------------------------------------------------------------------------- 180 6.13.6 ROR - DW & ROL - DW ------------------------------------------------------------------------ 181 6.13.7 SHRB --------------------------------------------------------------------------------------------- 182 6.14 Character string ---------------------------------------------------------------------------------------- 183 6.14.1 String length ----------------------------------------------------------------------------------- 183 6.14.2 Copy string ------------------------------------------------------------------------------------- 184 6.14.3 SSTR - CPY ---------------------------------------------------------------------------------------- 185 6.14.4 String catenate -------------------------------------------------------------------------------- 186 6.14.5 STR - FIND --------------------------------------------------------------------------------------- 187 6.14.6 Look for the first character in the string ------------------------------------------------ 188 6.15 Table ------------------------------------------------------------------------------------------------------ 189 6.15.1 Last in first out -------------------------------------------------------------------------------- 189 6.15.2 FIFO ---------------------------------------------------------------------------------------------- 191 6.15.3 Add to table ------------------------------------------------------------------------------------ 193 6.15.4 Memory fill ------------------------------------------------------------------------------------- 195 6.15.5 Table Find --------------------------------------------------------------------------------------- 196 6.16 Timer ----------------------------------------------------------------------------------------------------- 198 6.16.1 Switch on delay timer ----------------------------------------------------------------------- 198 6.16.2 TONR ------------------------------------------------------------------------------------------ 200 6.16.3 Disconnect delay timer ---------------------------------------------------------------------- 201 6.16.4 Start time interval ---------------------------------------------------------------------------- 202 6.16.5 Calculation interval time -------------------------------------------------------------------- 203 6.17 Pulse train output ------------------------------------------------------------------------------------- 204 6.17.1 Pulse output ----------------------------------------------------------------------------------- 204 6.17.2 Pulse width modulation --------------------------------------------------------------------- 206 6.18 Subroutine ---------------------------------------------------------------------------------------------- 207 6.18.1 Using subroutine ----------------------------------------------------------------------------- 207 6.18.2 Using parameters to call subroutine ----------------------------------------------------- 208 6.18.3 How to set up a subroutine ---------------------------------------------------------------- 209 6.18.4 How to call a subroutine -------------------------------------------------------------------- 210 7.PLC storage area -------------------------------------------------------------------------------------------------- 213 7.1 Storage area types and properties ------------------------------------------------------------------ 213 7.2 Direct and indirect addressing ----------------------------------------------------------------------- 214
Made with FlippingBook - Online magazine maker