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)