Omron CJ1W-CORT21 Operation Manual page 88

Cj-series. user defined can unit nj-series cpu unit
Hide thumbs Also See for CJ1W-CORT21:
Table of Contents

Advertisement

4 Message Communications
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)
Response Block
Issuing a Configure Memory Area command will result in the following response End Codes.
End Code (hex)
No response
1,2
0000
1001
1002
1101
1104
1109
110C
2201
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
4-6
29
02
Command
Code
Description
---
Normal completion
Command length exceeds
maximum command length
The command length is
insufficient for the smallest
command
No area type
Address range over
Mutual relation error
Parameter error
Not executable in current
mode
CJ-series User Defined CAN Unit Operation Manual for NJ-series CPU Unit (W517)
End
Code
Condition
Unit state = ST1 or ST2
Unit state = ST3 or ST4 and
all parameters are in range
---
---
Unit state = ST3 or ST4 and
the memory area is not avail-
able
Unit state = ST3 or ST4 and
the end address of an area is
not in range
Unit state = ST3 or ST4 and
the memory areas overlap
Unit state = ST3 or ST4 and
one or more parameters are
not in range
Unit state = ST5
Correction
Restart the CPU, make sure
that the unit is mounted and
wired correctly
Command is executed and
operation is normal.
Too many parameters sent in
the command.
Correct the command and re-
send.
Too few parameters sent in
the command.
Correct the command and re-
send.
Specified memory area type is
not valid. Specify a correct
memory area type.
Correct the memory area
size.
Memory area overlap. Correct
the memory area specifica-
tion.
Correct the parameters. The
number of send and receive
message may not exceed a
number of 0280 Hex.
This message command can
only be executed if communi-
cation is disabled (by clearing
*_EnblCANComm and this
disabling is confirmed when
*_EnblComm is FALSE)

Advertisement

Table of Contents
loading

Table of Contents