Appendices
A-4
CJ-series User Defined CAN Unit Operation Manual for NJ-series CPU Unit (W517)
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.
The following Internal Variables are used in the user program example.
The following External Variables are used in the user program example.
Internal Variables
External Variables
Summary of Contents for CJ1W-CORT21
Page 2: ......
Page 140: ...Appendices A 6 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517...
Page 141: ...Index 1 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517 I Index...
Page 144: ...Index 4 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517 Index...