Omron CJ2 CPU UNIT SOFTWARE User Manual page 107

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Executed in order starting
at the lowest number.
Additional Information
• All Condition Flags (ER, CY, Equals, AER, etc.) and instruction conditions will be cleared at the
beginning of a task. Therefore, Condition Flags cannot be read between two tasks.
• Interlocks (e.g., IL and ILC instructions), jumps (e.g., JMP, CJP, and JME instructions), and
subroutines (e.g., SBS, RET, and SBN instructions) must be completed within each individual
task. For example, jumping cannot be performed from one task to another. If subroutines will
be used by more than one tasks, use global subroutines (GSBS(750), GRET(752), or
GSBN(751) instructions).
CJ2 CPU Unit Software User's Manual
Cyclic task 0
Cyclic task 1
Interrupt occurs.
END
Cyclic task n
END
Peripheral
processing
I/O refresh
5 Understanding Programming
END
Interrupt task 5
5
5-15

Advertisement

Table of Contents
loading

Table of Contents