![Mitsubishi Electric CANopen ME3CAN1-L Скачать руководство пользователя страница 65](http://html.mh-extra.com/html/mitsubishi-electric/canopen-me3can1-l/canopen-me3can1-l_user-manual_238822065.webp)
Buffer Memory Details: Layer 2 Message Mode
Detailed Description of the Module
MELSEC-L Series – CANopen
Module ME3CAN1-L
3 – 43
3.6.7
CIF (command interface): Sending Layer 2 Message
Using this function, the PLC can send any Layer 2 message to the CAN bus. This function is accessible
in Layer 2 Mode only.
Execution procedure
●
Write the command code, CAN-ID, RTR, DLC and the data byte to Un\G1000 to Un\G1008.
●
Turn ON Y(n+1)7 to execute the command.
●
If the command execution is finished, X(n+1)7 will be turned ON.
Buffer memory allocation
Set Un\G1003 to "0" for normal transmission. If Un\G1003 is set to "1", a remote transmit request frame is sent. This request
makes the producer of the associated CAN-ID specified in Un\G1001 and Un\G1002 send the actual data.
The data length is given in the unit "bytes" (0 to 8).
Data structure in Un\G1005 to Un\G1008
Address
(Decimal)
Description
Transmit message
Receive message
1000
Command 000C
H
: Send Layer 2 Message
앫
000D
H
: Data written to transmit buffer
앫
F00C
H
: Setting error
앫
FFFF
H
: CIF (command interface) busy
1001
11/29 bit CAN-Identifier (low word)
Diagnosis Data
앫
0000
H
: No error
앫
F00C
H
: Setting error
앫
All other values: Displays the error cause. Any of
the addresses Un\G1001 to Un\G1004 with a
value unequal to 0 refers to a setting error.
1002
11/29 bit CAN-Identifier (high word)
1003
RTR (Remote Transmission Request)
���
1004
DLC (Data Length Count)
���
1005–1008
Data bytes
Unused
1008–1066
Unused
Unused
Tab. 3-41:
Buffer memory allocation for CIF (command interface) SDO read access
Address
(Decimal)
Description
Tab. 3-42:
Data structure for transmit messages
High Byte
Low Byte
1005
2nd data byte
1st data byte
1006
4th data byte
3rd data byte
1007
6th data byte
5th data byte
1008
8th data byte
7th data byte
Содержание CANopen ME3CAN1-L
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ...IV ...
Страница 18: ...Abbreviations and Generic Terms Overview MELSEC L Series CANopen Module ME3CAN1 L 1 4 ...
Страница 22: ...System Configuration System Equipment 2 4 MITSUBISHI ELECTRIC ...
Страница 66: ...Detailed Description of the Module Buffer Memory Details Layer 2 Message Mode 3 44 MITSUBISHI ELECTRIC ...
Страница 144: ...Programming CANopen PDO Communication using Function Blocks 7 6 MITSUBISHI ELECTRIC Fig 7 6 Example Program 2 ...
Страница 146: ...Programming CANopen PDO Communication using Function Blocks 7 8 MITSUBISHI ELECTRIC Fig 7 8 Example Program 4 ...
Страница 148: ...Programming CANopen PDO Communication using Function Blocks 7 10 MITSUBISHI ELECTRIC Fig 7 10 Example Program 6 ...
Страница 150: ...Programming CANopen PDO Communication using Function Blocks 7 12 MITSUBISHI ELECTRIC Fig 7 12 Example Program 8 ...
Страница 152: ...Programming CANopen PDO Communication using Function Blocks 7 14 MITSUBISHI ELECTRIC Fig 7 14 Example Program 10 ...
Страница 154: ...Programming CANopen PDO Communication using Function Blocks 7 16 MITSUBISHI ELECTRIC Fig 7 16 Example Program 12 ...
Страница 156: ...Programming CANopen PDO Communication using Function Blocks 7 18 MITSUBISHI ELECTRIC Fig 7 18 Example Program 14 ...
Страница 158: ...Programming CANopen PDO Communication using Function Blocks 7 20 MITSUBISHI ELECTRIC Fig 7 20 Example Program 16 ...
Страница 160: ...Programming Layer 2 Communication 7 22 MITSUBISHI ELECTRIC Local Label Setting Fig 7 22 Local Label for this example 1 ...
Страница 161: ...Layer 2 Communication Programming MELSEC L Series CANopen Module ME3CAN1 L 7 23 Fig 7 23 Local Label for this example 2 ...
Страница 162: ...Programming Layer 2 Communication 7 24 MITSUBISHI ELECTRIC Program Fig 7 24 Example Program 1 ...
Страница 163: ...Layer 2 Communication Programming MELSEC L Series CANopen Module ME3CAN1 L 7 25 Fig 7 25 Example Program 2 ...
Страница 164: ...Programming Layer 2 Communication 7 26 MITSUBISHI ELECTRIC Fig 7 26 Example Program 3 ...
Страница 165: ...Layer 2 Communication Programming MELSEC L Series CANopen Module ME3CAN1 L 7 27 Fig 7 27 Example Program 4 ...
Страница 166: ...Programming Layer 2 Communication 7 28 MITSUBISHI ELECTRIC Fig 7 28 Example Program 5 ...
Страница 167: ...Layer 2 Communication Programming MELSEC L Series CANopen Module ME3CAN1 L 7 29 Fig 7 29 Example Program 6 ...
Страница 172: ...Programming Layer 2 Communication 7 34 MITSUBISHI ELECTRIC Fig 7 39 Example Program 2 Set message parameter to module ...
Страница 178: ...Layer 2 Communication Programming MELSEC L Series CANopen Module ME3CAN1 L 7 40 ...
Страница 184: ...Troubleshooting Error Code and Error Message Summary 8 6 MITSUBISHI ELECTRIC ...
Страница 187: ......