User Program Example - Omron CJ1W-CORT21 Operation Manual

Cj-series. user defined can unit nj-series cpu unit
Hide thumbs Also See for CJ1W-CORT21:
Table of Contents

Advertisement

Appendices
A-2

User Program Example

The following example uses the message command 2902 (Configure Memory Areas) to configure the
User Defined CAN Unit for correct operation. This user program example is created with the Structured
Text language using the Sysmac Studio ST Editor. See the Sysmac Studio Operation Manual (Cat. No.
W504) for more details about program creation using the ST Editor.
The example is created based on the following configuration requirements (specific application require-
ments may vary).
• Send buffer location of CIO 100 to 104.
• Send trigger location of W100.
• Receive buffer location of E0_0 to E0_4.
• Receive flag location of W110.
• Number of send messages of 1.
• Number of receive messages of 1.
Internal Variables
The following Internal Variables are used in the user program example.
External Variables
The following External Variables are used in the user program example.
A-4
CJ-series User Defined CAN Unit Operation Manual for NJ-series CPU Unit (W517)

Advertisement

Table of Contents
loading

Table of Contents