![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030868.webp)
828
Subroutines
Section 3-19
and CIO 000100 is turned ON by DIFU(013) when CIO 000001 has gone
from OFF to ON. If CIO 000001 is ON in the same cycle, global subroutine
0001 will be executed again but this time DIFU(013) will not detect the rising
edge of CIO 000001 and CIO 000100 will be turned OFF.
In contrast, the output of a differentiated instruction (DIFU(013) or DIFD(014))
would remain ON if the instruction was executed and the output was turned
ON but the same global subroutine was not called a second time.
In the following example, global subroutine 0001 is executed if CIO 000000 is
ON. Output CIO 000100 is turned ON by DIFU(013) when CIO 000001 has
gone from OFF to ON. If CIO 000000 is OFF in the following cycle, subrou-
tine 0001 will not be executed again and output CIO 000100 will remain ON.
GSBS
1
000000
GSBS
1
000001
GSBN
1
DIFU
000100
000001
GRET
Cyclic task 1
Cyclic task 2
Interrupt task 0
Executed
again
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...