![background image](http://html1.mh-extra.com/html/omron/cj1w-cort21/cj1w-cort21_operation-manual_742494088.webp)
4 Message Communications
4-6
CJ-series User Defined CAN Unit Operation Manual for NJ-series CPU Unit (W517)
Note 1
Using the maximum address send/receive buffers will result in an error because the buffers
consume 5 words each. Therefore, use the following equation to determine the maximum
allowable memory area for a start address buffer:
•
Maximum Buffer Start Address = Maximum Address - (Number of Send/Receive Messages x 5)
Issuing a Configure Memory Area command will result in the following response End Codes.
Note 1
On response code 0000, event EV1 is generated. The unit configures:
•
The Send Buffers area using the provided memory area and start address
•
The Send Trigger area using the provided memory area and start address
•
The quantity of Send Message Buffers
•
The Receive Buffers area using the provided memory area and start address.
•
The Receive Trigger area using the provided memory area and start address
•
The quantity of Receive Message Buffers
Response Block
End Code (hex)
Description
Condition
Correction
No response
---
Unit state = ST1 or ST2
Restart the CPU, make sure
that the unit is mounted and
wired correctly
0000
1,2
Normal completion
Unit state = ST3 or ST4 and
all parameters are in range
Command is executed and
operation is normal.
1001
Command length exceeds
maximum command length
---
Too many parameters sent in
the command.
Correct the command and re-
send.
1002
The command length is
insufficient for the smallest
command
---
Too few parameters sent in
the command.
Correct the command and re-
send.
1101
No area type
Unit state = ST3 or ST4 and
the memory area is not avail-
able
Specified memory area type is
not valid. Specify a correct
memory area type.
1104
Address range over
Unit state = ST3 or ST4 and
the end address of an area is
not in range
Correct the memory area
size.
1109
Mutual relation error
Unit state = ST3 or ST4 and
the memory areas overlap
Memory area overlap. Correct
the memory area specifica-
tion.
110C
Parameter error
Unit state = ST3 or ST4 and
one or more parameters are
not in range
Correct the parameters. The
number of send and receive
message may not exceed a
number of 0280 Hex.
2201
Not executable in current
mode
Unit state = ST5
This message command can
only be executed if communi-
cation is disabled (by clearing
*_EnblCANComm
and this
disabling is confirmed when
*_EnblComm
is FALSE)
02
29
Command
Code
End
Code
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...