3-5
3 Data Exchange with the CPU Unit
CJ-series User Defined CAN Unit Operation Manual for NJ-series CPU Unit (W517)
3-1 Dat
a Exch
ang
e with t
h
e C
P
U
Unit
3
3-
1-2 Accessing Fr
om the User Pr
ogram
Device variables for CJ-series Units are variables for which AT is specified for the I/O port explained
below. The user program uses device variables for CJ-series Unit to access the Configuration Unit
such as the User Defined CAN Unit.
For allocation of the device variables for CJ-series Unit to the I/O port, refer
I/O Port
An "I/O port" is a logical interface for data exchange by a CPU Unit with a User Defined CAN Unit or
other Configuration Unit.
An I/O port has a unique pre-defined name for each unit model and function.
An I/O port is automatically created by preparing the Unit Configuration with Sysmac Studio.
For details on the I/O ports defined for User Defined CAN Unit, refer to
Communication Enable
Execution instruction for the CAN communication enable function from the CPU Unit to the User
Defined CAN Unit.
Status
User Defined CAN Unit communication status information.
Number of Delayed Messages
Message delay information for sent and received messages.
Bits and words are allocated to the memory used for CJ-series when you configure the User Defined
CAN unit with message commands.
•
send buffers specification
•
send triggers specification
•
receive buffers specification
•
receive triggers specification
To use this area from the user program, you need to create a user-defined variable of AT specification.
From the user program, various types of information are exchanged using AT specified device variables
for CJ-series Unit that are allocated to the I/O ports, and AT specified user-defined variables that are
allocated to slave allocation areas.
Device Variable for CJ-series Unit
User-defined Variable
3-1-2
Accessing From the User Program
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...