4-7
4 Message Communications
CJ-series User Defined CAN Unit Operation Manual for NJ-series CPU Unit (W517)
4-2 Un
it C
onf
igu
ratio
n an
d Co
ntro
l
4
4-
2-1 C
onfigu
re Memor
y Ar
eas
(2902)
2
On response code 0000, the unit will set to zero:
•
The Receive Message buffers that are added to the configuration
•
The Receive Trigger bits that are added to the configuration (the Send Trigger bits are not
cleared)
Send Trigger Area
Every bit in this area can be a trigger to send a CAN message located in the send buffer area. The
bit is only a send trigger if:
•
a corresponding send buffer is defined for the bit
•
the send mode SM1 is part of the total send mode for the send buffer
•
the bit has a rising edge transition (OFF to ON)
The words in this memory area are controlled by both the CPU and/or the Unit.
The location
R
of the send trigger words is configured with the command code 2902. The length of
the area is determined via the number of configured send message buffers. If the number of config-
ured send message buffers is
A
, the length
L
is:
The result is rounded down to the nearest whole number and remaining trigger bits will be ignored.
The send trigger area table has the following layout:
Receive Trigger Area
This area has flags indicating that a CAN message is received in the receive buffer corresponding to
the receive bit. Every input message buffer has its corresponding bit. The bit value means:
ON = An input message with the configured message identifier of this input message buffer has
been received since last Unit Cyclic refresh.
OFF = No input message with the configured message identifier of this input message buffer has
been received since last cyclic refresh or the message has been discarded due to receive queue
overflow (
*_RcvOver
is ON).
Controlled By
Action
Function
CPU
Bit Set
In mode SM1 (output messages are sent by triggering a bit in trigger
send area table). After the next Unit Cyclic refresh, the unit will send
the corresponding message.
In other modes: no function.
Bit Reset
Unspecified functionality: the corresponding message may send or
not send.
User Defined
CAN Unit
Bit Set
The unit shall not set bits in this area.
Bit Reset
In mode SM1 (output messages are sent by triggering a bit in trigger
send area table). The unit indicates that the corresponding message
has been sent by clearing the send bit in the send area table.
In other modes: the unit shall not reset the bit.
Word
Bit
R
15
14
13
12
11
10
09
08
07
06
05
04
30
02
01
00
R+1
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
~
R+L
16*L
+15
16*L
+14
16*L
+13
16*L
+12
16*L
+11
16*L
+10
16*L
+09
16*L
+08
16*L
+07
16*L
+06
16*L
+05
16*L
+04
16*L
+03
16*L
+02
16*L
+01
16*L
+00
L
A 15
+
(
)
16
---------------------
=
Содержание CJ1W-CORT21
Страница 2: ......
Страница 116: ...5 Communications Timing 5 10 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517...
Страница 134: ...6 Troubleshooting and Maintenance 6 18 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517...
Страница 140: ...Appendices A 6 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517...
Страница 141: ...Index 1 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517 I Index...
Страница 144: ...Index 4 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517 Index...