This manual is only intended for use by properly trained and qualified electrical technicians who are
fully acquainted with the relevant automation technology safety standards. All work with the hardware descr
ing of the equipment, may only be performed by trained electrical technicians with approved qualifications who are fully acquainted with all the applicable automation technology safety standards
and regulations. Any operations or modifications to the hardware and/or software of our products
specifically described in this manual may only be performed by authorised Mitsubishi Electric staff.
Proper use of the products
The programmable logic controllers of the MELSEC-L series are only intended for the specific applications explicitly described in this manual. All parameters and settings specified in this manual must
be obser
in strict compliance with the relevant safety standards. Unqualified modification of the hardware or
software or failure to observe the warnings on the products and in this manual may result in serious
personal injury and/or damage to property. Only peripherals and expansion equipment specifically
recommended and approved by Mitsubishi Electric may be used with the programmable logic controllers of the MELSEC-L series.
All and any other uses or application of the products shall be deemed to be improper.
Relevant safety regulations
ibed, including system design, installation, configuration, maintenance, service and test-
ved. The produc
ts described have all been designed, manufactured, tested and documented
not
m
b
All safety and accident prevention regulations relevant to your specific application must be obser
in the system design, installation, configuration, maintenance, servicing and testing of these products. The installation should be carried out in accordance to applicable local and national standards.
Safety warnings in this manual
In this manual warnings that are relevant for safety are identified as follows:
DANGER:
Failure to observe the safety warnings identified with this symbol ca
hazards for the user.
WARNING:
Failure to observe the safety warnings identified with this symbol can result in damage to the
equipment or other property.
n result in health and injury
ed
v
MELSEC-L Series – CANopen Module ME3CAN1-L I
Page 8
m
General safety information and precautions
The following safety precautions are intended as a general guideline for using PLC systems together
with other equipment. These precautions must always be observed in the design, installation and
operation of all control systems.
DANGER:
● Observe all safety and accident prevention regulations applicable to your specific application. Always disconnect all power supplies before performing installation and wiring work
or opening any of the assemblies, components and devices.
● Assemblies, components and devices must always be installed in a shockproof housing fitted
with a proper cover and fuses or circuit breakers.
● Devices with a permanent connection to the mains power supply must be integrated in the
building installations with an all-pole disconnection switch and a suitable fuse.
● Check power cables and lines connected to the equipment regularly for breaks and insulation
damage. If cable damage is found immediately disconnect the equipment and the cables
from the power supply and replace the defective cabling.
● Before using the equipment for the first time check that the power supply rating matches that
of the local mains power.
● Take appropriate steps to ensure that cable damage or core breaks in the signal lines cannot
cause undefined states in the equipment.
●
You are responsible for taking the necessary precautions to ensure that programs interrupted
by brownouts and power failures can be restarted properly and safely. In particular, you must
ensure that dangerous conditions cannot occur under any circumstances, even for brief
periods.
● EMERGENCY OFF facilities conforming to EN 60204/IEC 204 and VDE 0113 must remain fully
operative at all times and in all PLC operating modes. The EMERGENCY OFF facility reset
function must be designed so that it cannot ever cause an uncontrolled or undefined restart.
● You must implement both hardware and software safety precautions to prevent the possibility of undefined control system states caused by signal line cable or core breaks.
● When using modules always ensure that all electrical and mechanical specifications and
requirements are observed exactly.
II
Page 9
Symbols used in the Manual
Use of notes
Notes concerning important information are marked separately and are displayed as follows:
NOTENote text
Use of examples
Examples are marked separately and are displayed as follows:
ExampleExample text
The end of an example is marked with the following symbol:
se of numbering in the figures
U
Numbering within the figures is displayed by white numbers within black cir
a table following it using the same number, e.g.:
Use of handling instructions
Handling instructions are steps that must be carried out in their exact sequence during startup, operation, maintenance and similar operations.
They are numbered consecutively (black numbers in white circles):
Text.
Text.
Text.
Use of footnotes in tables
Instructions in tables are explained in footnotes underneath the tables (in superscript). There is a footnote character at the appropriate position in the table (in superscript).
If there are several footnotes for one table then these are numbered consecutively underneath the
table (black numbers in white circle, in superscript):
Text
Text
Text
cles and is explained in
Writing conventions and guidance notes
Keys or key-combinations are indicated in square brackets, such as [Enter], [Shift] or [Ctrl]. Menu
names of the menu bar, of the drop-down menus, options of a dialogue screen and buttons are indicated in italic bold letters, such as the drop down menu New in the Project menu or the option Serial USB in the "Transfer Setup Connection" screen.
Registration
● CiA and CANopen are registered Community Trademarks of CAN in Automation e.V.
This User's Manual describes the specifications, handling and programming methods for the
CANopen Module ME3CAN1-L (hereinafter referred to as the ME3CAN1-L) which is used with the
programmable controllers of the MELSEC-L series.
Before using the ME3CAN1-L, please read this manual and the relevant manuals carefully and develop
familiarity with the functions and performance of the MELSEC-L series programmable controller to
handle the product correctly.
1.1 Introduction
The ME3CAN1-L is a network module of the MELSEC-L series. It is used to connect a MELSEC-L series
PLC system to CANopen and CAN Layer 2 networks. CAN (Controller Area Network) is a serial bus sys-
tem especially for networking devices as well as sensors and actuators.
1.2 Features of the ME3CAN1-L
D-sub connector for connection to CAN
The connection to the CANopen network is made via a D-sub 9-pin connec
CiA-303-1 V1.8.
Various bit rates
● Pre-defined (according to CANopen standard):
10 k
bps, 20 kbps, 50 kbps, 100 kbps, 125 kb
CANopen services according to CiA-301 V4.2
● 256 TPDO (1024 word write)
The Process Data Objec
(the consumers) which subscribed to it. The Transmit PDO (TPDO) is used to send input data of
the node.
● 256 RPDO (1024 word read)
The Receive PDO (RPDO) is used to receive output data.
● SDO ser
The Ser
can be used to set network parameters and also to initiate CANopen functionality.
● SYNC serv
vice
vice Data Object can be used to read/write data to the Object
ice
t (PDO) is sent by a node (the producer) and will be received by other nodes
ps, 250 kbps, 500 kbps, 800 kbps, 1 Mbps
tor according to
Dictionary. This command
The SYNC service provides the basic network synchronization mechanism.
● TIME ser
The TIME ser
may use the TIME object to adjust their own time
● EMCY object
Emergency objects are triggered by the occurrence of a CANopen device internal error situation
and are transmitted from an emergency producer on the CANopen device.
MELSEC-L Series – CANopen Module ME3CAN1-L1 – 1
vice
vice provides a simple network clock. CANopen devices that operate a local clock
base to that of the time stamp object producer.
service
Page 16
OverviewFeatures of the ME3CAN1-L
C
● Network management (NMT)
– General NMT services
– Boot-up Message
– Node guarding Master/Slave
– Heartbeat Consumer/Producer
CANopen services according to CiA-302 V4.1
T master
● NM
The network management provides services for controlling the network behavior of CANopen
devices as defined in CiA
NMT slaves are controlled by ser
● Flying master
-301 and CiA-302. All CANopen devices of a network referred to as
vices provided by an NMT master.
The flying master mechanism provides services for a hot stand-by NMT master within a C
network.
● Configuration manager
The Configur
pen network.
CANo
● SYNC producer
The SYNC producer broadcasts the SYNC object. The SYNC serv
synchronization mechanism.
Layer Setting Services master (LSS) according to the Standard CiA-305 V2.2
It is necessary to set the baud rate and node number of the C
devices, e.g. devices with high IP protection like rotary encoders, waterproof sensor, etc. don't have
DIP-switches for these setting. Such devices must be configured by CAN using this LSS.
CANopen device profiles according to CiA-405 V2.0
Interface and Device Profile CiA-405 V2.0 for IEC 61131-3 Progr
cation with other Device Profiles (e.g. encoder CiA-406, motion/ drives CiA-402, etc.).
Setting back up in non-volatile memory
The following setting values will be backed up in the Flash-ROM:
– Setting values stored in the buffer memory;
ation manager provides mechanisms for configuration of CANopen devices in a
ice provides the basic network
ANopen devices. But some CANopen
mmable Devices allows communi-
a
ANopen
1 – 2
– Module configuration stored in the Object Dictionary;
– Setting values of Concise Device Setting File (CDCF).
CAN layer 2 communication
Besides the CANopen mode, the ME3CAN1-L can be swit
and be set up so that it can be used for the customer's own CAN based communication protocol.
ched to CAN layer 2 communication mode,
MITSUBISHI ELECTRI
Page 17
Abbreviations and Generic TermsOverview
1.3 Abbreviations and Generic Terms
Unless otherwise specified, this manual uses the following generic terms and abbreviations to
describe the CANopen Module ME3CAN1-L.
General term / AbbreviationDescription
ME3CAN1-LAbbreviation for the CANopen Module ME3CAN1-L.
MELSEC-L CPU
LCPU
PLC CPU
CPU module
GX Works2Generic product name for the programming and configuration software GX Works2.
CANController Area Network
CANopenCAN based higher-layer protocol
CiA
RPDOReceive Process Data Objects are data read from other nodes via the CAN bus.
TPDOTransmit Process Data Objects are data send to other nodes via the CAN bus.
CIF
SDOService Data Object
SYNCSynchronization object
EMCYEmergency object
NMTNetwork management
LSSLayer Setting Services
RTRRemote transmission request
OD
COB-ID
CDCFConcise Device Setting File
Generic term for L series CPU modules, e.g. L02CPU, L02CPU-P, L26CPU-BT and
L26CPU-PBT, etc.
Generic term for programmable controller.
CAN in Automation
Non-profit organization for standardization of CAN protocols. The CiA Members
develop specifications which are published as CiA specifications. (http://can-cia.org/)
Command interface; used to access the Object Dictionary of the local node or a network
node.
Object dictionary
The object dictionary is an array of variables with a 16-bit index. Additionally, each varia-
ble can have an 8-bit subindex. The variables can be used to configure the device and
reflect its environment, i.e. contain measurement data.
Communication object identifier
Identifier that contains the CAN-ID and additional control bits.
Tab. 1-1:Abbreviations and general terms
MELSEC-L Series – CANopen Module ME3CAN1-L1 – 3
Page 18
Abbreviations and Generic TermsOverview
MELSEC-L Series – CANopen Module ME3CAN1-L1 – 4
Page 19
OverviewSystem Configuration
Terminating
resistor
Terminating
resistor
CANopen Node
CANopen
Node
CANopen Node
(ME3CAN1-L)
CANopen Node
(ME3CAN1-L)
CAN bus network
Terminating
resistor
Terminating
resistor
CANopen Node
CANopen Node
CANopen Node
(ME3CAN1-L)
CC-Link IE Field Master/Local Module
(QJ71GF11-T2)
CC-Link IE Field
CANopen Module (ME3CAN1-L)
CC-Link IE Field Head module (LJ72GF15-T2)
CAN bus network
2System Configuration
2.1 Overview
The ME3CAN1-L can be connected to a CPU module, an extension module or a CC-Link IE Field network head module of the MELSEC-L series.
Fig. 2-1:
L63P
MITSUBISHI
MITSUBISHI
L63P
ME3CAN1-L connected to a LCPU directly
MITSUBISHI
MELSEC-L Series – CANopen Module ME3CAN1-L2 – 1
Fig. 2-2:
L02CPUL02CPU
L02CPUL02CPU
L02CPU
L02CPUL02CPU
L02CPU
L02CPUL02CPU
L02CPU
L02CPUL02CPU
L02CPU
L02CPU
L02CPU
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
L63P
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
INPUT
24VDC24VDC
24VDC24VDC
24VDC
24VDC24VDC
24VDC
24VDC24VDC
24VDC
24VDC24VDC
24VDC
24VDC24VDC
24VDC
L02CPU
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
MITSUBISHI
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
POWER
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
L6DSPU
ME3CAN1-L connected to a CC-Link IE Field head module
Page 20
System ConfigurationApplicable Systems
C
Serial number
(first 5 digits)
Function
version
Model name
2.2 Applicable Systems
For the number of connectable modules and the compatible software version, refer to the following.
● MELSEC-L CPU Module User's M
● MELSEC-L CC
Restrictions when the ME3CAN1-L is connected to a head module
No special restriction is applied for the ME3CAN1-L.
-Link IE Field Network Head Module User's Manual
anual (Hardware Design, Maintenance and Inspection)
2.3 How to Check the Function Version and Serial No. of the
Modules
The serial No. and function version can be checked on the label attached to the right side of the
module.
Using the programming software GX Works2, the serial No. and the function version can be checked
while the PLC is operating.
From the Diagnostics menu select System Monitor and then select Product Information List.
2 – 2
Fig. 2-3:
Product Information List for a PLC with a ME3CAN1-L
MITSUBISHI ELECTRI
Page 21
System EquipmentSystem Configuration
Terminating
resistor
Terminating
resistor
CANopen Node
CANopen Node
MELSEC-L series PLC
with ME3CAN1-L
Configuration by FBs
in GX Works2
Repeater
USB cable
CAN bus network
Import
EDS file
Terminating
resistor
Terminating
resistor
CAN bus network
MELSEC-L series PLC
with ME3CAN1-L
3rd party
configuration tool
2.4 System Equipment
ME2PNR2-L
Fig. 2-4:
ProductDescriptionNote
ME3CAN1-L
Configuration tool integrated in
GX Works2
3rd party configuration tool—
D-sub connector
Terminating resistor
CAN bus network cable
CANopen node
Repeater
EDS file
Tab 2-1:System Equipment
Example for a system configuration with ME3CAN1-L
Module for CAN communication
Used to configure ME3CAN1-L (and CANopen
network)
Connector to connect ME3CAN1-L to the CAN
network
Resistor to terminate the CAN network. It is integrated in some D-sub connector.
Communication cable for CAN network
CANopen node from other manufacturer
Repeater for CAN network
Electronic data sheet (EDS) to describe the module. Used for 3rd party configuration tool.
—
—
—
Resistors are required to terminate
the CAN network at both ends.
—
—
—
—
MELSEC-L Series – CANopen Module ME3CAN1-L2 – 3
Page 22
System ConfigurationSystem Equipment
C
2 – 4
MITSUBISHI ELECTRI
Page 23
Part NamesDetailed Description of the Module
3Detailed Description of the Module
3.1 Part Names
This section explains the names of the components for the ME3CAN1-L.
Fig. 3-1: Names of parts
No.NameDescription
ed to indicate the status of the ME3CAN1-L.
Indicator LEDs
CAN interface connector
(D-sub 9-pin male connec
tor)
Us
For a detailed description, please refer to section 3.1.1.
This connector connects the communication cable to the ME3CAN1-L.
For details, refer to section 3.1.2.
Tab. 3-1:Description of the LEDs and the connector of the ME3CAN1-L
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 1
Page 24
Detailed Description of the ModulePart Names
3.1.1 Indicator LEDs
The LEDs are arranged in two groups:
● General LEDs are arranged on the left side.
● LEDs for CAN communication are arranged on the right side.
Fig. 3-2:
Indicator LEDs of the ME3CAN1-L
LEDColorStatusDescription
RUNGreen
ERR.Red
CAN RUNGreen
CAN ERRRed
TX/RXGreen
ONNormally operating
OFFHardware error (watchdog timer error) or power failure
ONAn module error has occurred.
OFFNormally operating
ON
FLICKERING*LSS services in progress.
BLINKING*CANopen쏐 mode: The device is in CANopen state Pre-operational.
SINGLE FLASH*The device is in CANopen쏐 state Stopped.
OFFLayer 2 mode: The device is in Layer 2 offline mode.
ON
FLICKERING*LSS Services in progress.
BLINKING*General error
DOUBLE FLASH*
SINGLE FLASH*Warning limit reached.
OFFNo error
ONModule is transmitting/receiving CAN message
OFFModule is not transmitting/receiving CAN message
앫 CANopen쏐 mode: The device is in CANopen쏐 state Operational.
앫 Layer 2 mode: The device is in Layer 2 online mode.
앫 The CAN controller is Bus-OFF-state.
앫 The CAN controller has too many transmission errors.
Error control event
A NMT guarding failure (NMT-Slave or NMT-Master) or a heartbeat fail-
ure (heartbeat consumer) has occurred.
3 – 2
Tab. 3-2:Indicator LEDs
* The LEDs CAN RUN and CAN ERR have four kinds of flicker states (according to CiA쏐-303-3 V1.4): single flash, double flash,
blinking, and flickering. These LEDs flicker as follows.
SINGLE FLASH
0.2 s1 s
DOUBLE FLASH
0.2 s1 s0.2 s0.2 s
BLINKING
0.2 s0.2 s
FLICKERING
0.1 s
Page 25
Part NamesDetailed Description of the Module
3.1.2 Signal Layout of the Connector
E
CANopen쏐 interface
connector
6
.
.
.
9
1
.
.
.
.
5
Pin no.SignalDescription
1—Reserved
2CAN_LCAN_L bus line (dominant low)
3CAN_GNDCAN ground
4—Reserved
5CAN_SHLDCAN shield
6—Reserved
7CAN_HCAN_H Bus line (dominant high)
8—Reserved
9—Reserved
Tab. 3-3:Pin assignments of the CAN interface connector (D-sub 9-pin male connector) on the
ME3CAN1-L
WARNING:
Leave the "reserved" pins unconnected.
NOTEAn inch screw thread (#4-40UNC) is used to fix the connector to the ME3CAN1-L.
For the wiring of the CANopen쏐 module ME3CAN1-L please refer to section 6.3.2.
MELSEC-L Series – CANopen쏐 Module ME3CAN1-L3 – 3
Page 26
Detailed Description of the ModuleSpecifications
C
3.2 Specifications
The specifications for the ME3CAN1-L are shown in the following table. For general specifications,
refer to the operation manual for the CPU module being used.
SpecificationME3CAN1-L
Transmission typeCAN Bus network (RS-485, CSMA/CR)
Applicable functions
CANopen communication services according
to CiA standards
CANopen device and application profiles
according to CiA Standards
Remote Transmit Request (RTR)
Node numberSelectable from 1 to 127
Communication methodAcyclic, cyclic or event-driven
Supported transmission speed / maximum
bus length
Connection cable
Connection to CANopen networkvia 9-pin D-sub connector
Insulation method
Number of occupied I/O points32 points (I/O assignment: Intelligent 32 points)
Interface and Device Profile CiA-405 V2.0 for IEC 61131-3 Programmable
Devices
앫 Layer 2 mode: supported
앫 CANopen mode: not supported for PDO
The maximum bus length varies depending on the transmission speed.
앫 1 Mbps / 25 m
앫 800 kbps / 50 m
앫 500 kbps / 100 m
앫 250 kbps / 250 m
앫 125 kbps / 500 m
앫 100 kbps / 600 m
앫 50 kbps / 1,000 m
앫 20 kbps / 2,500 m
앫 10 kbps / 5,000 m
The cable should conform to ISO11898.
Recommended is a shielded 2x2 twisted pair cable with an impedance of
about 120 (refer to section 6.3.2).
앫 Photocouplers are used to insulate the CAN input from the PLC.
앫 A DC/DC converter is used to insulate the power supply from the CAN
input.
3 – 4
Tab. 3-4:Specifications of the ME3CAN1-L
MITSUBISHI ELECTRI
Page 27
SpecificationsDetailed Description of the Module
4
DIN rail center
45
Unit: mm
(45)
95
90
4
4
28.5
3.2.1 External Dimensions
Fig. 3-3: Dimensions of the ME3CAN1-L
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 5
Page 28
Detailed Description of the ModuleI/O Signals for the Programmable Controller CPU
C
3.3 I/O Signals for the Programmable Controller CPU
3.3.1 List of I/O signals
Note that the I/O numbers (X/Y) shown in this section and thereafter depend on the mounting position resp. on the start I/O number or head address of the ME3CAN1-L. This head address has to be
added to the shown I/O numbers.
For example, if the ME3CAN1-L occupies the range from X/Y040 to X/Y05F the head address is X/Y040.
However the least significant digit is omitted and the head address "n" in this case reads as "4". The "module ready" input (Xn0) will be X40 and the "EMCY message available" signal (X(n+1)1) will be X51.
Signal direction CPU Module ME3CAN1-LSignal direction CPU Module ME3CAN1-L
Device No. (Input) Signal nameDevice No. (Output) Signal name
NMT Error Control failure clear
request (CANopen mode only)
EMCY message area clear request
(CANopen mode only)
Time stamp set request
(CANopen mode only)
Time stamp read request
(CANopen mode only)
Use prohibitedX(n+1)5Y(n+1)5
Use prohibited
Save configuration / restore factory
default configuration request
Tab. 3-5:I/O signals of the ME3CAN1-L
NOTEThe "Use prohibited" signals cannot be used by the user since they are for system use only.
If these are turned ON/OFF by the sequence program, the performance of the CANopen module
cannot be guaranteed.
3 – 6
MITSUBISHI ELECTRI
Page 29
I/O Signals for the Programmable Controller CPUDetailed Description of the Module
3.3.2 Details of I/O signals
Module ready signal (Xn0)
● This signal turns ON when the ME3CAN1-L is enabled for access from the CPU module.
● This signal turns OFF when the ME3CAN1-L is disabled for ac
module watchdog timer error or hardware fault.
Data exchange completed (Xn1), Data exchange request (Yn1)
● These signals are used to exchange data between the buffer memory of the ME3CAN1-L and the
CA
Nopen object dictionary/Layer 2 message buffer.
● To ensure that the ME3CAN1-L can handle the C
to set the data exchange request (Yn1) to ON after writing the data. The Data exchange completed
(Xn1) and Data exchange request (Yn1) signals control the internal buffer exchange and thereby
which data is transmitted from the PLC by PDO.
● PDO transmit data will only be sent to the CAN bus if the module is in NMT state Operational and
af
ter setting Yn1 to ON. As long as the reading of the previous data is not finished and a new data
exchange command has not been sent, data will not be overwritten by further PDO.
If the module is in NMT state Operational, the received PDO data from other nodes can be read
by the MELSEC-L series CPU by using a FROM instruction and the transmit PDO data can be written
to the module and sent to the network by using
signal (Xn1) will be turned ON when the data exchange between buffer memory and Object
Dictionary/Data exchange buffer is finished.
● Depending on the bits turned ON in the Data Exchange Control (Un\G20), OD data and/or EMCY
data will be ex
NOTEIf Xn1 is turned ON and the module is not in CANopen state Pre-operational or Stopped, the PDO
data will be exchanged after going into Operational state.
changed.
ANopen data in a consistent way, it is necessary
a TO instruction. The data exchange completed
cess from the CPU module due to a
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 7
Page 30
Detailed Description of the ModuleI/O Signals for the Programmable Controller CPU
● A restart is necessary to activate the following new settings:
– Function mode (Un\G21), refer to section 3.5.2
– Baud rate (Un\G24), refer to section 3.5.4
– Node-ID (Un\G27), refer to section 3.5.6
– NMT master setting, refer to section 4.8.5.
All not saved settings will be lost.
● To restar
t the module
, please set the module restart request (Yn2) signal to ON. The module will
be set to initialization state as indicated by the Un\G25 bit 7 (refer to section 3.5.5). After the
module is restarted, the module restart completed (X
n2) will be set to ON. The module restart
request (Yn2) signal can be reset to OFF. Not setting this signal back to OFF will cause that the
module will be restarted again and again. The restart procedure will take approx. 6 seconds to
complete.
Fig. 3-4: Timing of the signals Xn2 and Yn2
Module in Layer 2 online mode (Xn3), L
● The Layer 2 online mode request signal (Yn3) must be set to ON to star
yer 2 online mode request (Yn3)
a
t data exchange with other
network nodes.
● The module in Layer 2 online mode signal (X
mode. The configuration of the module can only be changed while this signal is OFF..
NOTEIn case a configuration buffer memory was changed during online mode, Un\G29 bit 5 is set to ON.
● If one or more of the following bits in the buffer memory address Un\G29 (error state) are turned
ON, XnF will be turned ON: Bits 1, 2, 4, 5, 6, 8, or 15. Please refer to section 3.5.7.
● If XnF is turned ON, if necessary please take correct
ive action to remove the error cause and then
turn ON YnF to clear the error signals XnF and the bits in the error state (Un\G29).
● If a new error is generated while the ME3CAN1-L error clear request (
YnF) is ON, this will be cleared
automatically.
● After the ME3CAN1-L error clear request (YnF) is turned OFF
, the ME3CAN1-L will check for new
errors again.
Fig. 3-5: Timing of the signals XnF and YnF
NMT Error Control failure available (X(n+1)0), NMT Error Control failure clear request (Y(n+1)0)
● If there is at least one CANopen
NMT Error Control failure (at least one of the assigned NMT slaves
failed during NMT Error Control), the NMT error of CANopen node available (X(n+1)0) will turn
ON.
● How to clear the error of all nodes
H
To clear the error of all nodes, write 0000
to Un\G400 (this is the default setting of Un\G400) and
turn ON the Clear NMT Error Control failure request (Y(n+1)0). The NMT error control failures of
all nodes will be then cleared and the NMT Error Control failure available (X(n+1)0) will be turned
OFF.
● How to clear the error of a certain node
To clear the error of a node
failure clear request (
, write the node number to Un\G400 and turn ON NMT Error Control
Y(n+1)0). The NMT error control failures of this node will be cleared and if
there no other NMT error control failures the NMT Error Control failure available (X(n+1)0) will also
be turned OFF.
● If a new error is genera
ted while the NMT Error Control failure clear request (Y(n+1)0) is ON, this
will be cleared automatically.
● After the NMT Error Control failure Clear request (
Y(n+1)0) is turned OFF, the ME3CAN1-L will
check for new errors again.
● For more error details on NMT Error Control failure
, please refer to section 3.5.15.
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 9
Page 32
Detailed Description of the ModuleI/O Signals for the Programmable Controller CPU
C
Performed by the ME3CAN1-L
Performed by the sequence program
EMCY message available (X(n+1)1)
EMCY message area clear request (Y(n+1)1)
EMCY messages
OFF
OFF
ON
ON
No EMCY data
EMCY
data
available
No EMCY data (cleared)
EMCY message available (X(n+1)1), EMCY message area clear request (Y(n+1)1)
● If there is at least one CANopen emergency received (reception of an Emergency message from
at least one activated EMCY consumer objects), the EMCY message available (X(n+1)1) will turn
ON.
● To clear all EMCY messages,
turn ON the EMCY message area clear request (Y(n+1)1). All EMCY
messages will be then cleared and the EMCY message available (X(n+1)1) will be turned OFF.
● If a new EMCY message is received while the EMCY message area clear request (Y(n+1)1) is ON,
this will be cleared automatically.
● After the EMCY message area clear request (Y(n+1)1) is turned OFF
, the ME3CAN1-L will store the
newly received EMCY messages again.
For more error details, please refer to the sections 4.6.12 and 3.5.17.
Fi
g. 3-6: Ti
ming of the signals X(n+1)1 and Y(n+1)1
Time stamp setting completed (X(n+1)2), Time stamp set request (Y(n+1)2)
After setting the necessary time stamp information in Un\G50 to Un\G58, please turn ON the time
stamp set request (
A
fter the setting is finished, the time stamp setting completed signal (X(n+1)2) will be turned ON, and
Y(n+1)2).
the request signal can be turned OFF. When the ME3CAN1-L is the current network master and Producer, then the first time stamp will be sent.
Time stamp information is available in buffer memory (X(n+1)3), Time stamp read request
(
(n+1)3)
Y
To read the time stamp, please set the time stamp read request (Y(n+1)3) to ON.
The time stamp information will be stored in the buffer memory addresses Un\G50 to Un\G58 and the
time stamp information is available in buffer memory
(X(n+1)3) signal will be turned ON to indicate
that actual time stamp information is available.
Command 1 execution completed (X(n+1)7, Command 1 e
ecution request (Y(n+1)7)
x
● These signals are used for execution of Command Interface 1.
● After writing the necessary command par
ameter (refer to section 3.5.18), turn ON Y(n+1)7 to
execute the command. If the command execution is finished, X(n+1)7 will be turned ON.
3 – 10
MITSUBISHI ELECTRI
Page 33
I/O Signals for the Programmable Controller CPUDetailed Description of the Module
Save configuration/Restore factory default completed (X(n+1)F), Save configuration/Restore
factory default configuration request (Y(n+1)F)
These signals are used to execute the save configuration / restore factory default request. The request
must be specified in Un\G22 (Save/Restore Configuration, refer to sec
tion 3.5.3). After that the request
can be executed by setting Y(n+1)F to ON. When the request is completed, the corresponding bits in
Un\G22 will be cleared, and X(n+1)F will be turned ON.
NOTE
앫
If both bits Un\G22.0 and Un\G22.1 are set simultaneously the buffer memory and Flash ROM will
be reset to factory defaults.
앫
If only bit Un\G22.1 is set, factory default values are written to the configuration buffer memory
but not stored in Flash ROM. In order to store changes made to the configuration execute the
Save configuration request (Un\G22.0 then Y(n+1)F) after changing the configuration.
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 11
Page 34
Detailed Description of the ModuleBuffer Memory Overview
C
Bit
Buffer memory address
3.4 Buffer Memory Overview
The CANopen module has a memory range assigned as a buffer for temporary storage of data, such
as Received Process Data or CAN transmission error counter. The PLC CPU can access this buffer and
both read the stored values from it and write new values to it which the module can then process
(Transmit Process Data etc.).
Each buffer memory address consists of 16 bits.
Fig. 3-7: Assignments of bits to a buffer memory address
NOTEDo not write data in the "system areas" of the buffer memory. If data is written to any of the system
areas, the PLC system may not be operated properly. Some of the user areas contain partially system areas. Care must be taken when reading/writing to the buffer memory.
Also, do not write data (e.g. in a sequence program) to the buffer memory area where writing is
disabled. Doing so may cause malfunction.
The "Default" value indicated in the following tables is the initial value set af
or the PL
Instructions for data exchange with the buffer memory
Communication between the PLC CPU and the buffer memory of special function modules is per
formed with FROM and TO instructions.
The buffer memory of a special function module can also be accessed directly, e. g. with a MOV
instruction. The special function module addressed in this way can be mounted on a base unit or an
extension base unit but not in remote I/O stations.
Format of the device address: Un\Gn
– Un: Head address of the special function module
– Gn: Buffer memory address (decimal)
For example the device address U3\G11designates the buffer memory address 11 in the special function module with the head address 3 (X
In this User's Manual the latter form of addressing is used throughout.
For full documentation of all the instructions with examples please refer to the Programming Manual
for the MELSEC System Q and the L series.
C CPU is reset.
/Y30 to X/Y3F).
ter the power is turned on
-
NOTEAs long as Un\G25 bit 7 is ON ("Module is in initialization state"), any write access to the buffer
3 – 12
memory is prohibited and will generate a Un\G29 bit 5 error. Refer to section 3.5.7.
MITSUBISHI ELECTRI
Page 35
Buffer Memory OverviewDetailed Description of the Module
3.4.1 Buffer Memory Assignment
Address
(Decimal)
DescriptionDefaultR/W
Stored to
Flash ROM
Reference
(Section)
0–19System area————
20Data Exchange Control0
H
R/W—3.5.1
21Function mode405R/W✔3.5.2
22Save/Restore Configuration0
H
R/W—3.5.3
23System area————
24Baud Rate250R/W✔3.5.4
25Communication Status80
H
R/W—3.5.5
26System area————
27
Node Address
(CANopen modes only)
127R/W✔3.5.6
28System area————
29Error Status0
H
R/W—3.5.7
30–34System area————
35CAN transmission error counter0
36CAN reception error counter0
H
H
R—3.5.8
R—3.5.9
Baud Rate display
37
Diagnose display for the current baud rate of the CAN
2500R——
Controller in multiples of 0.1kbps.
Sampling Point display
38
Diagnose Display for the current sampling point of
Tab. 3-6:Buffer memory assignment of the ME3CAN1-L
Indicates whether reading from and writing to a sequence program are enabled.
R: Read enabled
W: Write enabled
Only in Layer 2 mode the contents of some buffer memory addresses is stored into the Flash-ROM (Refer to section 3.6.6).
3 – 14
MITSUBISHI ELECTRI
Page 37
Buffer Memory Details: CANopen ModeDetailed Description of the Module
3.5 Buffer Memory Details: CANopen Mode
3.5.1 Data Exchange Control (Un\G20)
This buffer memory address allows the control of the OD and EMCY data exchange.
BitDescription
0–7Reserved
Only in CANopen modes: Data exchange mode setting (only OD data)
Bit = 0: No data exchange between buffer memory and CANopen object dictionary
Bit = 1: Activate data exchange between buffer memory and CANopen object dictionary
8
NOTES:
앫 The data will be also exchanged if this entire buffer memory address is set to 0 (default value).
앫 If the bit is set and the module is not in CANopen state Operational, the PDO data will be exchanged after
going into Operational state.
9–11 Reserved
Data exchange status (only EMCY data)
Bit = 0: No data exchange between Emergency Message buffer memories and EMCY Receive Buffer
Bit = 1: Exchange data between Emergency Message buffer memories and EMCY Receive Buffer
12
For more information please refer to section 3.5.17
NOTE:
앫 The data will be also exchanged if this entire buffer memory address is set to 0 (default value).
13–15 Reserved
Tab. 3-7:Assignment of the bits in buffer memory address Un\G20
3.5.2 Function Mode (Un\G21)
The ME3CAN1-L chooses the communication function corresponding to the function mode set in the
buffer memory address 21.The possible settings are shown in the following table:
Set valueFunction ModeDescription
1111 bit CAN-ID Layer 2 modeThis mode supports the 11 bit CAN-ID Layer 2 Message.
2929 bit CAN-ID Layer 2 modeThis mode supports the 29 bit CAN-ID Layer 2 Message.
405CANopen 405 mode
Other value—
Tab. 3-8:Function mode setting in buffer memory address Un\G21
The buffer memory setting needs to be stored by Un\G22 bit 0 and afterwards to be restar
to make the new settings effective (Refer to section 3.5.3 and section 3.3.2).
NOTEDuring a restart, all Object Dictionary (OD) settings will be deleted when the CANopen mode is
changed.
This mode supports the CANopen CiA 405 IEC 61131-3 Programmable Device Profile.
All other settings will generate an error (in this case bit 6 in Un\G29 is
set (Refer to section 3.5.7).
ted by Yn2
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 15
Page 38
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
C
3.5.3 Save/Restore Configuration (Un\G22)
This buffer memory specifies two bits that allow to restore the factory default configuration in the buffer memory and to store the buffer memory configuration into the Flash ROM. To execute the request,
please set Y(n+1)F to ON (refer to section 3.3.2).
Both bits will be reset automatically if the restore or save procedure is completed, and X(n+1)F will
turn ON.
BitDescription
0Bit = 1:Save configuration to Flash ROM
1
Bit = 1: Restore factory default configuration (not saved to Flash ROM)
2–15 Reserved
Tab. 3-9:Assignment of the bits in buffer memory address Un\G22
NOTES
If both bit 0 and bit 1 are set simultaneously the buffer memory and Flash ROM will be reset to the
factory defaults.
If only bit 1 is set, factory default values are written to the configuration buffer memory but not
stored in the Flash ROM. In order to store changes made to the configuration buffer memory, set
Un\G22 bit 0 after changing the configuration.
3.5.4 Baud Rate (Un\G24)
In Un\G24 the baud rate is set. The current baud rate can be found in Un\G37.
Value in Un\G24Baudrate
10
20
50
100
125
250
500
800
1000
10 kbps
20 kbps
50 kbps
100 kbps
125 kbps
250 kbps
500 kbps
800 kbps
1000 kbps
Tab. 3-10:
Settings for the baud rate
NOTESThe baud rate must be equal for all nodes in the network.
The new value needs to be stored by Un\G22. Then Y(n+1)F has to be turned ON and the module
has to be restarted to make the new setting effective.
At low baud rates a too fast data exchange and/or high bus load can result in a transmission data
queue overflow error (bit 8 in Un\G29, refer to section 3.5.7).
3 – 16
MITSUBISHI ELECTRI
Page 39
Buffer Memory Details: CANopen ModeDetailed Description of the Module
3.5.5 Communication Status (Un\G25)
The buffer memory address Un\G25 displays the ME3CAN1-L communication status.
BitDescription
CANopen modes:
0
Bit = 0: Not in Operational State
Bit = 1: Operational State
Bit = 0: The error counter is below the warning level. (Refer to sections 3.5.8 and 3.5.9)
1
Bit = 1: The error counter of the CAN controller has reached the warning level.
2
3
Reserved
4
5
Bit = 0: No NMT Reset received.
Bit = 1: The CANopen Application was reset by an NMT Reset communication or NMT Reset Application com-
6
7
8
9
10
11Reserved
12
13Reserved
14
15
mand. All unsaved changes in the Object dictionary are lost and are set to factory default or to the former
stored value.
Write a 0 to reset the bit. (Refer to sections 4.8.8 and 4.6.10). The bit is set to 0 in the beginning of the reset process.
Module initialization state
Bit = 0: Module initialization finished
Bit = 1: Module is in initialization state
The module is initializing the internal data structures and the buffer memory.
While this bit is on, it is recommended to execute a read access to Un\G25 and Un\G29 only.
In case of a module restart request with Yn2 or over a CANopen NMT command this bit will be set.
This bit shall be monitored in the PLC program all the time to prohibit Un\G29 failures.
CANopen Network state
Bit 9 Bit 8 Description
00Stopped State
01Pre-operational State
10Operational State
11Reserved
Bit = 0: LSS Master routine inactive
Bit = 1: LSS Master routine active
This bit is only "1" when the LSS Master is searching and configuring LSS Slaves.
Bit = 0: No Time Stamp object received or bit is reset
Bit = 1: Time Stamp object received (Only if Consumer is set)
Write a 0 to reset the bit. (Refer to sections 4.6.9 and 3.5.11)
Bit = 0: NMT Start-up Master:
No Slave start-up in progress
Bit = 1: NMT Start-up Master: Slave start-up in progress (Refer to section 4.8.5)
Note:
This bit goes on during the NMT master/slave startup and any time when a NMT slave error occurs and the NMT
startup master tries to re-start the faulty NMT slave.
Bit = 0: Module works as NMT Slave
Bit = 1: Module works as NMT Master
Tab. 3-11: Assignment of the bits in buffer memory address Un\G25
3.5.6 Node Address (Un\G27)
The buffer memory address 27 sets the CANopen Node-ID. The setting value range is 1 to 127.
The buffer memory setting needs to be stored by Un\G22 bit 0 and afterwards to be restarted by Yn2
to make the new setting effective (Refer to section 3.5.3).
A setting out of the above range or a write access in Layer-2 function mode will generate a failure message in Un\G29 bit 6.
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 17
Page 40
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
C
3.5.7 Error state (Un\G29)
The following table shows the description of the error if a bit in the buffer memory address Un\G29 is
set.
BitErrorDescription/Corrective action
0Reserved
1Hardware error
2Reserved
3The CAN controller is bus OFF.
4FLASH memory error
Invalid write access in Layer 2
5
mode
6Buffer memory setting error
7Reserved
8Internal data queue overflow
9
10
Reserved
11
12
13
14CAN error passive state
Layer 2 Message Slot specific
15
error exists.
This bit can only be reset by switching the power OFF/ON.
Contact your Mitsubishi Electric representative.
The CAN controller has too many transmission errors (Refer to section 3.5.8).
Restart the Module (Refer to section 3.3.2).
Invalid data in the Flash memory might be caused by power loss during a write
operation to the Flash ROM.
If this bit is not cleared after a module restart (Yn2) or another power cycle, please
contact your Mitsubishi Electric representative.
Invalid write access to configuration buffer memory while in ONLINE/INIT mode.
Check user program, do not write into configuration buffer memory when mod-
ule is ONLINE.
In Un\G40 the buffer memory address where this failure occurred will be
displayed.
This bit is set if an attempt to write an invalid value into a buffer memory is
detected.
The target buffer memory address of the invalid write access is displayed in
Un\G39 (Refer to section 3.5.10). Check Un\G39 for buffer memory address and
correct set value to valid range.
Extreme bus load can cause the internal queues to overflow.
Decrease the bus load. At a low baud rate a too fast data exchange (refer to section 3.5.1) can overflow the CAN Transmit Buffer (Depends also on the bus-load of
the CAN).
This bit shows the CAN error active state/passive state.
Bit = 0: Error active state
Bit = 1: Error passive state
This bit will be reset automatically if the internal error counters return back below
128. (Refer to sections 3.5.8 and 3.5.9)
Check the Message Slot specific error code in Un\G5001–Un\G5584 (Refer to section 3.6.1).
3 – 18
Tab. 3-12: Assignment of the bits in buffer memory address Un\G29
Layer 2 modes: The configuration must not be changed when the module is set to ONLINE, before changing the configuration set Yn0 to OFF (configuration mode) and wait until Xn0 is OFF (module OFFLINE/INIT). The affec
buffer memories are Un\G10000 to Un\G10293, Un\G6000 to Un\G6167 and Un\G8400 to Un\G8402.
Any CANopen node will check all CAN messages on the bus for errors. Depending on the error state the action that the
node will take is different:
앫 In error ac
The node will ac
앫 In error passive state:
The node will not actively mark the frame as invalid to avoid bus disturbance if the node itself has an H/W problem.
tive state:
tively mark the frame as invalid.
ted configurations
If one or more of the bits 1, 4, 6, 8, or 15 in UN\G29 are set, XnF will be turned ON.
The bits 5 6, 8, and 15 are latched and it is necessary to set YnF to ON which will clear all latched error
bits in Un\G29. All other bits are reset automatically if the cause for the error is solved.
MITSUBISHI ELECTRI
Page 41
Buffer Memory Details: CANopen ModeDetailed Description of the Module
3.5.8 CAN transmission error counter (Un\G35)
The ME3CAN1-L stores the current value of the CAN transmit error counter. The displayed value range
is 0 to 256.
The counter counts 8 up if a transmission error is detected. For each transmission without error, the
counter counts 1 down.
Value in Un\G35Description
0 to 127Error active state
96 to 127Warning level
128 to 255Error passive state
256Bus OFF state
NOTE
The warning level is also shown by bit 1 in Un\G25, error passive and Bus OFF are shown in
Un\G29.
3.5.9 CAN reception error counter (Un\G36)
The ME3CAN1-L stores the current value of the CAN reception error counter. The displayed value
range is 0 to 128 and 256.
The counter counts 8 up if a reception error is detected. For each reception without error, the counter
counts 1 down.
Value in Un\G36Description
0 to 127Error active state
96 to 127Warning level
128Error passive state
256Bus OFF state
Tab. 3-13:
Meaning of the values for the transmission error
counter
Tab. 3-14:
Meaning of the values for the reception error
counter
NOTE
The warning level is also shown by bit 1 in Un\G25, error passive and Bus OFF are shown in
Un\G29.
If a write access is done while the module is in Layer 2 online mode or in initialization mode, bit 5 of
Un\G29 is set to "1" and Un\G40 indicates the buffer memory address, where this failure has occurred.
In case of a multiple write error, the first failure will be displayed. The buffer memory will be reset by
setting YnF to ON.
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 19
Page 42
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
C
3.5.11 Time stamp (Un\G50–Un\G59)
CANopen devices which operate a local clock may use the TIME object to adjust their own time base
to the time of the time stamp producer.
After each power up or restart the date and time are set to the default values and the counting is
stopped.
If the ME3CAN1-L is set to "consumer", the clock starts counting after receiving the first time stamp
object.
When the module is setup as "producer", the counter starts after setup of Un\G50 to Un\G58 and turning ON the Time stamp set request (Y(n+1)2) signal (refer to section 3.3.2). The time stamp will only be
produced if the ME3CAN1-L is active NMT Master and in CANopen state Operational or Pre-opera-tional.
The lowest counting resolution of the time stamp object at the ME3CAN1-L is in seconds. If a time
stamp object is received, bit 12 in Un\G25 will be set (Refer to section 3.5.5).
To keep the consistency of the time, the time stamp data will be read from the clock data when time
stamp read request (Y(n+1)3) is set to ON and the time stamp data will be written to the clock data
when the time stamp set request (Y(n+1)2) is set to ON. (For a description of the signals (Y(n+1)2) and
(Y(n+1)3) please refer to section 3.3.2.)
NOTES
The date and time will be checked when the time stamp set request (Y(n+1)2) is set to ON. If a value
is outside of the allowed range Un\G29 bit 6 will be set to "1" (Refer to section 3.5.7).
The clock data will start to run after the time stamp set request (Y(n+1)2) is set to ON.
In the PLC program, use DATERD/DATEWR commands to read/write the clock data of the PLC. (Refer
to the MELSEC Q/L Series Programming Manual).
Since the ME3CAN1-L gets the clock data from the PLC, it doesn't support summer time
calculation.
Caused by delays during writing to the buffer memory and during the transmission over the CAN
bus there is always a delay in the time.
A leap year correction is provided.
Address
(Decimal)
50
51Year
52Month
53Day
54Hour
NameDescription / Value range
The buffer memory directly accesses the Consumer/Producer bits of the Time COB-ID in the Object Dictionary
(Refer to section 4.6.9).
Producer/consumer
Time stamp
앫 0: Time stamp disabled
앫 1: Consumer
앫 2: Producer
앫 3: Producer / Consumer
Value range: 1980 to 2079
Value range: 1 to 12
Value range: 1 to 31
A setting outside of the range, such as "February 30", is
prohibited.
24 hour format
Value range: 0 to 23
3 – 20
Tab. 3-15: Buffer memory addresses for the time stamp
MITSUBISHI ELECTRI
Page 43
Buffer Memory Details: CANopen ModeDetailed Description of the Module
Address
(Decimal)
55
56Second
57Day-of-the-week
58Transmission interval
59Daily correction
NameDescription / Value range
Minute
Time stamp
Tab. 3-15: Buffer memory addresses for the time stamp
Timestamp will be only produced if the module is active NMT Master.
If the ME3CAN1-L is setup as "consumer " this buffer memory addresses will be ignored.
3.5.12 NMT Start all Nodes delay (Un\G70)
During the NMT master startup, the NMT master sends, depending on the configuration, a NMT Reset
communication all Nodes and NMT Start all Nodes.
Value range: 0 to 59
Value range: 0 to 59
Display range: 0 to 6 (0: Sunday to 6: Saturday)
The Day of the week will be calculated during the setup of
the clock data automatically.
Set the transmission time interval for the Time stamp Object
in multiples of minutes.
Setting range:
0 = Time stamp transmission disabled
1 to 1440 = 1 min to 1440 Minutes (24 hours)
A constant miscount of the clock can be corrected in steps
of 1 sec per day.
Setting range: -60 to +60
The value in Un\G70 sets the minimum time between these two NMT messages, to ensure that a slow
NMT Slave recognizes the NMT Start all Nodes message.
The value can be set in ms (default: 500 ms).
The setting range is 0 ms to 65535 ms.
NOTEFor the NMT Startup process please refer to section 4.8.5.
3.5.13 SDO Time out (Un\G71)
In Un\G71 the time out for SDO communication is set.
The value can be set in ms (default: 500 ms).
The setting range is 50 ms to 32767 ms.
NOTEFor SDO please refer to section 4.6.4.
3.5.14 NMT Error Clear Node (Un\G400)
Un\G400 specifies the number of the node, whose NMT errors are to be cleared.
H
To clear the NMT errors of all nodes (Un\G401–Un\G527), write 0000
to this buffer memory address.
This is also the default setting.
After writing a value to this Un\G400, please execute the NMT error clear by setting the output Y(n+1)0
to ON (Please refer to section 3.3.2).
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 21
Page 44
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
C
3.5.15 NMT Error Control Status (Un\G401–Un\G527)
The buffer memory addresses Un\G401 to Un\G527 display the Node Guarding and Heartbeat status.
Address
(Decimal)
401Node 1 status
402Node 2 status
403Node 3 status
404Node 4 status
526Node 126 status
527Node 127 status
Description
::
Tab. 3-16:
Allocation of the buffer memory addresses
Un\G401 to Un\G527
The bit allocation of each buffer memory address is as follows. The description applies to the case that
the relevant bit is set to "1".
BitDescription
0GuardingNode Guarding is active
1HeartbeatHeartbeat is active (Will be set after the reception of the first heartbeat message.)
2GuardingOne node guarding message is missed or toggle bit error.
3GuardingNo response and lifetime of NMT Slave elapsed
4NMT startup failed.
5GuardingThe node has not the expected state.
6Guarding
7HeartbeatHeartbeat is missing
8 to 15 Reserved
Guarding failed.
Node Guarding remote requests of the NMT Master was not received in the
expected time.
Tab. 3-17: Assignment of the bits in the buffer memory addresses 401 to 527
If one of the bits 2 to 7 is turned ON, the signal "NMT
error of CANopen node available" (X(n+1)0) will
turn ON.
Clearance of errors
● To clear the error of all nodes,
write 0000H to Un\G400 and turn ON the Clear NMT error of
CANopen node request (Y(n+1)0).
● To clear the error of a node, write the node number to Un\G400 and turn ON the Clear NM
of CANopen node request (Y(n+1)0).
T error
3 – 22
MITSUBISHI ELECTRI
Page 45
Buffer Memory Details: CANopen ModeDetailed Description of the Module
3.5.16 NMT State (Un\G601–Un\G727)
The buffer memory addresses Un\G601 to Un\G727 display the NMT status of the CANopen nodes
(Index 1F82
If no Heartbeat Consuming or Node Guarding is configured and the module is active NMT Master the
buffer memory displays the NMT states of all slaves, which were sent by the active NMT Master to the
slaves.
If the module is using Heartbeat Consuming or Node Guarding, the current NMT State of the NMT
Slave is showing the actual NMT State as long as the error control messages are received.
Node Guarding can be only processed by the active NMT Master.
Refer to sections 4.6.8 and 4.6.7 about how to setup Heartbeat and Node Guarding.
NOTEIf no error control service is configured or if error control messages are missing, it's possible that
not the actual remote NMT state will be displayed.
Use these buffer memories in connection with the NMT Error Control Status in Un\G401 to
Un\G527 and the error bits in Un\G29 to detect error control service failures. (Refer to sections
3.5.15 and 3.5.7.)
H
, Sub index 0–127 of the CANopen Object Dictionary (Refer to section 4.8.8)).
Address
(Decimal)
601Node 1
602Node 2
603Node 3
604Node 4
726Node 126
727Node 127
Description
::
Tab. 3-18:
Allocation of the buffer memory addresses
Un\G601 to Un\G727
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 23
Page 46
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
C
3.5.17 Emergency Message Buffer (Un\G750–Un\G859)
The ME3CAN1-L will store the Emergency messages which are received from the bus to an internal
buffer. This buffer can store up to 22 emergency messages and is separated in an 11 message stack
buffer (Un\G750 to Un\G804) and an 11 message ring buffer (Un\G805 to Un\G859).
The stack buffer will store the first 11 emergency messages received after power on or after the Emergency message buffer was cleared the last time. The ring buffer will store the next eleven Emergency
messages; all further received Emergency telegrams will overwrite the oldest message in the ring buffer. The stack buffer will not be overwritten.
To ensure that the EMCY data are handled in a consistent way, it is necessary to refresh the data before
reading the EMCY data (turn Xn1 ON, refer to section 3.3.2).
To clear the entire buffer, write 0
Address
(Decimal)
750Node ID
751
752
753Byte 2 of msefByte 1 of msef
754Byte 4 of msefByte 3 of msef
800Node ID
801
802Byte 0 of msefError register
803Byte 2 of msefByte 1 of msef
804Byte 4 of msefByte 3 of msef
805Node ID
806
807
808Byte 2 of msefByte 1 of msef
809Byte 4 of msefByte 3 of msef
855Node ID
856
857Byte 0 of msefError register
858Byte 2 of msefByte 1 of msef
859Byte 4 of msefByte 3 of msef
:
:
:
:
Name
EMERGENCY data
:
:
EMERGENCY data
EMERGENCY data
:
:
EMERGENCY data
H
to Un\G750.
Description
Stack buffer
Ring buffer
High byteLow byte
The node-ID number which sent the emergency message to
the network is displayed.
Emergency Error code
Byte 0 of manufacturer-specific error code (msef)
The node-ID number which sent the emergency message to
the network is displayed.
Emergency Error code
The node-ID number which sent the emergency message to
the network is displayed.
Emergency Error code
Byte 0 of manufacturer-specific error code (msef)
The node-ID number which sent the emergency message to
the network is displayed.
Emergency Error code
(oldest message)
:
:
(newest message)
(oldest message)
:
:
(newest message)
Error register
Error register
3 – 24
Tab. 3-19: Buffer memory addresses allocated to the Emergency Message Buffer
For emergency error codes please refer to section 8.2.1.
MITSUBISHI ELECTRI
Page 47
Buffer Memory Details: CANopen ModeDetailed Description of the Module
3.5.18 Command Interface (Un\G1000–Un\G1066)
The Command Interface (CIF) can be used to access the Object Dictionary of the local node or a network node. The access is performed by commands for SDO read/write, Emergency Messages, etc.
After writing the command parameter, turn ON Y(n+1)7 to execute the command. If the command
execution is finished, X(n+1)7 will be turned ON (refer to section 3.3.2).
NOTESThe addresses will not be cleared after command execution. The former written transmit data will
be displayed by making new write accesses or using the Display current parameter command
(Refer to section 5.3).
Before a write access to the CIF (command interface), always check if Un\G1000 does not display
FFFF
H
(CIF Busy).
If a write access is made during the CIF (command interface) busy display, a "Command or
Parameter change while CIF was busy" error is generated (Refer to section 5.4.2).
Address
(Decimal)
1000Command code (trigger for command execution)Command execution result code
1001–1066Command parameter
Description
Transmit messageReceive message
Command parameter read back or detailed error
information
Tab. 3-20: Buffer memory addresses allocated to the Command Interface
Command Interface
SDO read
SDO multi read
SDO write
SDO multi write
Send an Emergency Message5.2
Display current parameter5.3
Clear/Reset the "CIF was busy" error5.4.3
Sending Layer 2 Message3.6.7
This command uses SDO communication. If the NMT Startup Master is active it can happen that the NMT Startup Master
has already occupied the SDO connection to the remote Node.
During the first initial network startup the NM
NMT Slave fails after the initial Network Startup the NMT Startup Master occupies the SDO connection to the specific NMT
Slave. If the NMT Startup master is active for one or more NMT slaves, bit 14 in Un\G25 is ON (Refer to section 3.5.5).
Reference
(Section)
5.1.1
5.1.2
5.1.3
5.1.4
T Star
tup Master occupies up to 126 SDO connections at the same time. If an
Tab. 3-21:
Commands
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 25
Page 48
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
For data transfer, the buffer memory addresses Un\G10000 to Un\G11023 are used for Receive Process Data Objects (RPDO) and Un\G13000 to Un\G14023 are used for Transmit Process Data Objects
(TPDO).
To ensure that the CANopen data are handled in a consistent way, it is necessary to use the data
exchange by Yn1 before reading PDO data and after writing PDO data. The data exchange control signal ensures, by internal buffer exchange, which transmit data from the PLC will be transmitted within
the same corresponding PDO at the same time (Refer to section 3.3.2).
NOTEThe data will only be exchanged when the ME3CAN1-L is in Operational state.
Direct receive buffer memory access to the CiA-405 Object
Use a FROM or MOV instruction to read data from the following locations.
The default RPDO mapping is assigned to unsigned 16 bit objec
the SDO command in the CIF (command inter
face, refer to sections 4.6.5 and 5.1) or a CANopen net-
ts. To change this setting please use
work configuration software.
NOTEIf data are written with an SDO into the Object Dictionary to one of the buffer memory
corresponding Index/Sub-index only the last written data are visible in the buffer memory. The
data of the corresponding Indexes/Sub-indexes are not synchronized to each other.
● Signed and unsigned 8 bit object
Index (Hexadecimal)
Unsigned 8 bit objectSigned 8 bit object
A4C0A480
A4C1A481
A4C2A482
A4C3A483
Sub-index
(Hex.)
01
02higher 8 bit
03
04higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
Buffer memory address
(Decimal)
10000
10001
10126
10127
10253
10254
10380
10381
10507
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
3 – 26
Tab. 3-22: Direct receive buffer memory access for unsigned and signed 8 bit objects
MITSUBISHI ELECTRI
Page 49
Buffer Memory Details: CANopen ModeDetailed Description of the Module
Index (Hexadecimal)
Unsigned 8 bit objectSigned 8 bit object
A4C4A484
A4C5A485
A4C6A486
A4C7A487
A4C8A488
Sub-index
(Hex.)
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
0F
10higher 8 bit
Buffer memory address
(Decimal)
10508
10634
10635
10761
10762
10888
10889
11015
11016
11023
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
Tab. 3-22: Direct receive buffer memory access for unsigned and signed 8 bit objects
● Signed and unsigned 16 bit object
Index (Hexadecimal)
Unsigned 16 bit objectSigned 16 bit object
A580A540
A581A541
A582A542
A583A543
A584A544
Sub-index
(Hex.)
110000
210001
::
FE10253
110254
::
FE10507
110508
::
FE10761
110762
::
FE11015
111016
::
0811023
Buffer memory address
Tab. 3-23: Direct receive buffer memory access for unsigned and signed 16 bit objects
(Decimal)
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 27
Page 50
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
C
● Signed, unsigned and float 32 bit object
Index (Hexadecimal)
Float 32 bit
object
A6C0A680A640
A6C1A681A641
A6C2A682A642
Unsigned 32 bit
object
Signed 32 bit
object
Sub-index
(Hex.
1
2
::
FE
1
::
FE
1
::
04
Buffer memory address
(Decimal)
10000
10001
10002
10003
10506
10507
10508
10509
11014
11015
11016
11017
11022
11023
Tab. 3-24: Direct receive buffer memory access for float, unsigned and signed 32 bit objects
3 – 28
MITSUBISHI ELECTRI
Page 51
Buffer Memory Details: CANopen ModeDetailed Description of the Module
Direct transmit buffer memory access to the CiA-405 Object
Use a TO or MOV instruction to write data to the following locations.
The default TPDO mapping is assigned to unsigned 16 bit object
s. To change this setting, please use
the SDO command in the CIF (command interface, refer to sections 4.6.5 and 5.1) or CANopen network configuration software.
NOTEData written to the buffer memory will only be copied into the Object Dictionary (OD) when they
are mapped into a PDO.
H
Example: Un\G13000 is assigned to the OD Indexes/Sub-indexes A240
01
H
, A100H/01H, A0C0H/01H, A040H/01H, 02H and A000H/01H, 02H. If none of these indexes are
/01H, A200H/01H, A1C0H/
mapped into a TPDO the data will not copy from the buffer memory into one of the assigned OD
Indexes/Sub-indexes.
● Signed and unsigned 8 bit object
Index (Hexadecimal)
Unsigned 8 bit objectSigned 8 bit object
A040A000
A041A001
A042A002
A043A003
A044A004
A045A005
Sub-index
(Hex.)
01
02higher 8 bit
03
04higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
Buffer memory address
(Decimal)
13000
13001
13126
13127
13253
13254
13380
13381
13507
13508
13634
13635
13761
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
Tab. 3-25: Direct transmit buffer memory access for unsigned and signed 8 bit objects
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 29
Page 52
Detailed Description of the ModuleBuffer Memory Details: CANopen Mode
C
Index (Hexadecimal)
Unsigned 8 bit objectSigned 8 bit object
A046A006
A047A007
A048A008
Sub-index
(Hex.)
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
FD
FEhigher 8 bit
01
02higher 8 bit
::
0F
10higher 8 bit
Buffer memory address
Tab. 3-25: Direct transmit buffer memory access for unsigned and signed 8 bit objects
● Signed and unsigned 16 bit object
Index (Hexadecimal)
Unsigned 16 bit objectSigned 16 bit object
A100A0C0
A101A0C1
A102A0C2
A103A0C3
A104A0C4
Sub-index
(Hex.)
113000
213001
::
FE13253
113254
::
FE13507
113508
::
FE13761
113762
::
FE14015
114016
::
0814023
Buffer memory address
13762
13888
13889
14015
14016
14023
(Decimal)
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
lower 8 bit
(Decimal)
3 – 30
Tab. 3-26: Direct transmit buffer memory access for unsigned and signed 16 bit objects
MITSUBISHI ELECTRI
Page 53
Buffer Memory Details: CANopen ModeDetailed Description of the Module
● Signed, unsigned and float 32 bit object
Index (Hexadecimal)
Float 32 bit
object
A240A200A1C0
A241A201A1C1
A242A202A1C2
Unsigned 32 bit
object
Signed 32 bit
object
Sub-index
(Hex.
1
2
::
FE
1
::
FE
1
::
04
Buffer memory address
(Decimal)
13000
13001
13002
13003
13506
13507
13508
13509
14014
14015
14016
14017
11022
11023
Tab. 3-27: Direct transmit buffer memory access for float, unsigned and signed 32 bit objects
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 31
Page 54
Detailed Description of the ModuleBuffer Memory Details: Layer 2 Message Mode
C
3.6 Buffer Memory Details: Layer 2 Message Mode
In Layer 2 Message mode it is possible to transmit and receive Layer 2 CAN messages with 11-Bit or 29Bit identifier. To activate this mode, write the value "11" or "29" into Un\G21 and the value "1" to
Un\G22. Then switch Y(n+1)F ON to store the buffer memory configuration and restart the module.
NOTESAll CANopen Functions are deactivated in Layer 2 Message mode.
The buffer memory addresses Un\G20, 24, 25, 29, 35, 36 and the CIF (command interface) have the
same function like in the CANopen Mode (except CANopen specific functions).
The buffer memory addresses of the Emergency Message Buffer and the Heartbeat/Node
Guarding Status are not active.
3.6.1 Message Slot specific error code list (Un\G5001–Un\G5042)
The Message Slot specific error code list contains an error for each message slot.
Address
(Decimal)
5001Message 1 error code
5002Message 2 error code
5042Message 42 error code
Error codeDescription
0000
2000
Description
::
H
No error code
H
Receive buffer overflow
Tab. 3-28:
Allocation of the buffer memory addresses
Un\G5001 to Un\G5042
Tab. 3-29:
Error code in Layer 2 messages
3 – 32
MITSUBISHI ELECTRI
Page 55
Buffer Memory Details: Layer 2 Message ModeDetailed Description of the Module
The parameters of a Layer 2 message number are used to de fi ne if th e c or re sp on di ng La ye r 2 me ss ag e
number in Un\G10000–Un\G10293 is a transmit or receive message.
Address
(Decimal)
6000Layer 2 message 1 parameter A
6001Layer 2 message 1 parameter BFFFF
6002Layer 2 message 1 parameter C0000
6003Layer 2 message 1 parameter D0000
6004Layer 2 message 2 parameter A
6005Layer 2 message 2 parameter BFFFF
6006Layer 2 message 2 parameter C0000
6007Layer 2 message 2 parameter D0000
DescriptionDefault Remark
FFFF
H
FFFF
H
R/W
H
H
H
H
R/W
H
H
Layer 2 message 1 parameter
Layer 2 message 2 parameter
:::: :
6160Layer 2 message 41 parameter A
6161Layer 2 message 41 parameter BFFFF
6162Layer 2 message 41 parameter C0000
Layer 2 message 41 parameter
6163Layer 2 message 41 parameter D0000
6134Layer 2 message 42 parameter A
6165Layer 2 message 42 parameter BFFFF
6166Layer 2 message 42 parameter C0000
Layer 2 message 42 parameter
6167Layer 2 message 42 parameter D0000
FFFF
FFFF
H
H
R/W
H
H
H
H
R/W
H
H
Tab. 3-30: Allocation of the buffer memory addresses Un\G6000 to Un\G6167
The "Default" value is the initial value set after the power is turned ON or the PLC CPU is reset.
Reading from and writing to a sequence program are enabled. However, write access to these buffer memory addresses is
possible in "Layer 2 configuration mode" only. Refer to Xn3 and Yn3 (section 3.3.1).
NOTESTransmit and receive messages are described in section 3.6.2.1 and 3.6.2.2.
When a Layer 2 message number is not used, set the parameters A and B of the message to FFFF
to disable the message slot.
If an invalid value is written to one of the buffer memory addresses Un\G6000 to Un\G6167, bit 6
in Un\G29 is set and the buffer memory address is displayed in Un\G39.
H
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 33
Page 56
Detailed Description of the ModuleBuffer Memory Details: Layer 2 Message Mode
C
3.6.2.1 Pre-defined Layer 2 transmit messages
The meaning of the parameters A to D for a transmit message is as follows:
ParameterDescription
Layer 2 message n parameter A
Layer 2 message n parameter B
Layer 2 message n parameter CTransmission type0000
Layer 2 message n parameter DCycle time in [10 ms]0000
Constant FFFF
7FFF
H
(auto RTR response)
6FFF
H
(manual RTR response)
5FFF
H
(disable RTR handling)
FFFF
H
(message disabled)
H
Default
FFFF
FFFF
H
H
H
H
Tab. 3-31: Parameters A to D of transmit messages
The "Default" value is the initial value set after the power is turned ON or the PLC CPU is reset.
Set Parameter A and B to FFFFH in order to disable the message.
Reading from and writing to a sequence program are enabled.
● Transmission: Layer 2 message n parameter A and B
A message buffer in Un\G10000–Un\G10293 is assigned to a Layer 2 transmit message by writing
H
in parameter A and 7FFFH, 6FFFH or 5FFFH in parameter B.
FFFF
– Auto RTR response
H
If parameter B is set to 7FFF
the ME3CAN1-L will automatically respond to Remote Transmit
Requests (RTRs) if the 11/29 bit CAN-ID (i.e. set in Un\G10000 or Un\G10001) matches the ID
in the RTR message. The RTR will not be stored to the RTR flag list (Refer to section 3.6.3).
– Manual RTR response
Remark
R/W
H
If parameter B is set to 6FFF
the ME3CAN1-L will NOT automatically respond to Remote
Transmit Requests, but the RTR will be added to the RTR flag list (Refer to section 3.6.3).
– Disable RTR handling
H
If parameter B is set to 5FFF
the ME3CAN1-L will discard any incoming RTR telegrams
matching the CAN-ID of this Layer 2 message slot.
NOTEThe Layer 2 implementation of the ME3CAN1-L can handle up to 28 transmit slots with RTR han-
dling (Parameter B = 7FFF
H
or 6FFFH). If the configuration violates this rule, the first 28 transmit
message configurations remain as they are and any further transmit messages parameter B is
forced to 5FFF
H
(Refer to section 3.6.3).
3 – 34
MITSUBISHI ELECTRI
Page 57
Buffer Memory Details: Layer 2 Message ModeDetailed Description of the Module
● Transmission: Layer 2 message n parameter C "transmission type"
The transmission type defines under which conditions a transmit message is sent.
"Transmission type"
value
0When Yn1 is set to ON, the Layer 2 message is always transmitted.
1
2
3
4
Description/transmission trigger event
When Yn1 is set to ON, the Layer 2 message is transmitted.
However, if data has not been changed, it is not transmitted.
Time tr iggered
앫 Data refresh by Yn1
앫 Time set by parameter D "cycle time"
Tim
e trigge red
앫 Data refresh by Yn1
앫 Time set by parameter D "cycle time"
앫 Message is not sent if data did not change
request or PL
On
C/User trigger only
Tab. 3-32: Description of the setting values for "transmission type"
The request via RTR frames works for a maximum of 28 transmit messages.
Additionally the transmission can be triggered if the corresponding flag in Un\G8350–Un\G8352
is set to ON. (Refer to section 3.6.3)
● Transmission: Layer 2 message n parameter D "c
The parameter "cycle time" is valid only if the parameter "
ycle time"
transmission event" is set to 2 or 3 (time
triggered).
The cycle time sets the interval for message transmission in units of ms. A value of 0 will be forc
set to 1 (1 ms).
ibly
– "Transmission type" = 2 will trigger the transmission every interv
al.
– "Transmission type" = 3 will trigger the transmission only if the data was changed since the
last transmission.
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 35
Page 58
Detailed Description of the ModuleBuffer Memory Details: Layer 2 Message Mode
C
RTR/new/DLC
high byte
(Un\G10009
high byte)
CAN bus
XX
H
Yn1
Message
0181
H
00
H
00
H
(No new data between and )
03
H
(New data + frame between and )
07
H
(New data + frame and
overflow between
and )
Xn1
Data byte
(Un\G10010–
Un\G10013)
Data D
Message
0181
H
Data C
Message
0181
H
Data B
Message
0181
H
Data A
Data xData AData D
Performed by ME3CAN1-L
Performed by the sequence program
3.6.2.2 Pre-defined Layer 2 receive messages
The meaning of the parameters A to D for a receive message is as follows:
ParameterDescription
Layer 2 message n parameter A
Layer 2 message n parameter Bhigh wordFFFF
Layer 2 message n parameter C
Layer 2 message n parameter Dhigh word0000
Tab. 3-33: Parameters A to D of receive messages
The "Default" value is the initial value set after the power is turned ON or the PLC CPU is reset.
● Reception: Layer 2 message n parameter A and B
Set the 11/29 bit CAN ID of the message to be received and stored in the corresponding Layer 2
message n message slot.
Set both parameters A and B to FFFF
● Reception: Layer 2 message n parameter C and D
Set the filter for the ID set in parameter A and B. If the filter is set to 0000 0000
are checked for an exact match with the ID set in parameter A and B. Any bit set in the filter will
be omitted when comparing received IDs with the ID set in parameter A and B.
Example 1Filter setting: 0000 0000
– Layer 2 message 1 parameter A/B = 0000 0181
– Layer 2 message 1 parameter C/D = 0000 0000
Remark
H
H
R/W
H
H
Reception CAN-ID
Reception ID filter bit mask
H
to disable the message slot.
Default
low wordFFFF
low word0000
H
incoming messages
H
H
H
Un\G10000 to Un\G10006 store received messages with the CAN-ID 181H only. Relation between
received CAN message, Yn1 and "RTR/new/DLC" high byte is shown below (RTR/new/DCL high byte
is described in table 3-39).
Fig. 3-8:
The flags "RTR/new/DLC" are cleared by the PLC program after . They remain 00H after , because
there was no message stored between
Relationships for example 1
and .
The first received CAN message that matches parameter A/B and C/D is stored into the internal buffers, and as this is the only message between
H
The high byte value 07
two times) since
3 – 36
after shows that the buffer was overwritten at least once (in this example
. The data bytes in the buffer memory are the data received with the last message.
and , the high byte value is set to 03H.
MITSUBISHI ELECTRI
Page 59
Buffer Memory Details: Layer 2 Message ModeDetailed Description of the Module
RTR/new/DLC
high byte
(Un\G10009
high byte)
CAN bus
XX
H
Yn1
Message
0180
H
00
H
00
H
(No new data between and )
03
H
(New data + frame between and )
07
H
(New data + frame and
overflow between
and )
Xn1
Data byte
(Un\G10010–
Un\G10013)
Data D
Message
0186
H
Data C
Message
0182
H
Data B
Message
0184
H
Data A
Data xData AData D
Performed by ME3CAN1-L
Performed by the sequence program
CAN-ID
(Un\G10007–
Un\G10008)
ID xID 0184
H
ID 0180
H
NOTEIn this example, it is expected that the PLC program resets the "RTR/new/DLC" flags after reading
the data at
, ,
and .
Example 2Filter setting: 0000 0006
– Layer 2 message 1 parameter A/B = 0000 0180
– Layer 2 message 1 parameter C/D = 0000 0006
H
H
H
Un\G10007 to Un\G10013 store received messages with the CAN-IDs 180H, 182H, 184H and 186
because the ID bits 1 and 2 are not evaluated.
NOTEIn this case all four messages are stored in the same location.
If more than one of the messages with the ID 180
H
write operations (Yn1 ON), only the last received CAN-ID, DLC, and data is available in Un\G10007
to Un\G10013.
Relation between received CAN message, Yn1 and "RTR/new/DL
H
, 182H, 184H or 186H is received between two
C" high byte is shown below.
Fig. 3-9:
The behavior until
As in the first example, the high byte value 07
once since
message.
But this time it is required to check the 11/29 bit CAN-ID in the corresponding Layer 2 message slot
(Un\G10000–Un\G10293) to determine which message ID was received. In this case the last message
is 0180
0182
NOTEIn this example, it is expected that the PLC program resets the "RTR/new/DLC" flags after reading
the data at
Relationships for example 2
is similar to that described in example 1.
H
after shows that the buffer was overwritten at least
and the data bytes in the buffer memory are also the data received with the last
H
and the data of this message is stored to the data buffer memory. The data of the messages
H
and 0186H is lost.
, ,
and .
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 37
Page 60
Detailed Description of the ModuleBuffer Memory Details: Layer 2 Message Mode
C
3.6.3 Layer 2 RTR flags (Un\G8350–Un\G8352)
If the ME3CAN1-L is set to Layer 2 communication mode, an incoming RTR message is indicated in the
buffer memory if the following conditions are satisfied:
– Matching the "CAN-ID n" of one of the Layer 2 message slots.
– The message slot "n" is configured as a transmit message slot.
H
– The message slot "n" is set to "no auto RTR response" (6FFF
("n" is one of the message slots 1 to 42.)
The bits in the "RTR message reception list" are updated independently from the output signal Yn1.
).
If a valid RTR message is received the related Layer 2 R
TR flag is set.
When Yn1 is set to ON the data is copied to the internal data buffer and transmitted. The related
Layer 2 RTR flag is automatically reset when a message has been transmitted from the message slot.
RTR message reception list
Address
(Decimal)
8350
8351
8352
Bit No.DescriptionR/W
Bit 0RTR message for Layer 2 message slot 1 received
Bit 1
Bit 14RTR message for Layer 2 message slot 15 received
Bit 15RTR message for Layer 2 message slot 16 received
Bit 0R
Bit 1RTR message for Layer 2 message slot 18 received
Bit 14RTR message for Layer 2 message slot 31 received
Bit 15RTR message for Layer 2 message slot 32 received
Bit 0
Bit 1RTR message for Layer 2 message slot 34 received
Bit 7RTR message for Layer 2 message slot 42 received
Bit 8Not used
Bit 15
RTR message for Layer 2 message slot 2 received
:
:
:
:
:
:
:
:
:
:
TR message for Layer 2 message slot 17 received
:
:
TR message for Layer 2 message slot 33 received
R
:
:
:
:
Not used
R
—
3 – 38
Tab. 3-34: Allocation of the buffer memory addresses Un\G8350 to Un\G8352
Indicates whether reading from and writing to a sequence program are enabled.
R: Read enabled
W: Write enabled
MITSUBISHI ELECTRI
Page 61
Buffer Memory Details: Layer 2 Message ModeDetailed Description of the Module
The transmission of a message in Layer 2 mode can be triggered via the following flags. Transmit
requests on receive message slots are discarded (refer to section 3.6.2 for details on configuring message slots).
After setting these flags, turn on Message transmit trigger request (Yn4) to start triggering the message transmission.
If a bit is set to ON, the corresponding transmit message will be sent as soon as a transmit buffer is
available.
The flags are reset automatically as soon as the message is written into the transmit buffer. Message
transmit trigger completed (Xn4) will turn ON if all the messages are written into the transmit buffer.
Please refer also to section 3.3.1.
Message trigger list
Address
(Decimal)
8400
8401
8402
Bit No.Transmit request message slotR/W
Bit 0Message slot 1
Bit 1Message slot 2
:
:
Bit 14Message slot 15
Bit 15Message slot 16
Bit 0Message slot 17
Bit 1Message slot 18
:
:
Bit 14Message slot 31
Bit 15Message slot 32
Bit 0Message slot 33
Bit 1Message slot 34
:
:
Bit 9Message slot 42
Bit 10
:
:
Bit 15Reser
:
:
:
:
:
:
Reserved
:
:
ved
Tab. 3-35: Allocation of the buffer memory addresses Un\G8400 to Un\G8402
R/W
—
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 39
Page 62
Detailed Description of the ModuleBuffer Memory Details: Layer 2 Message Mode
C
3.6.5 PLC RUN>STOP messages (Un\G8450–Un\G8477)
In order to send messages in case of critical events when changing the PLC state from RUN to STOP the
ME3CAN1-L supports up to 4 messages that can be predefined to be sent.
The RUN>STOP messages 1 to 4 are sent when the PLC state has changed from RUN to STOP.
WARNING:
If possible use only one "RUN>STOP message" which will increase the possibility that the infor-
b
mation is transmitted when the event "RUN>STOP" occurs. If more than one message is defined
the messages are transmitted in the priority "message 1" to "message 4".
Address
(Decimal)
8450CAN-ID 1 LW11/29 bit CAN-Identifier (low word)
8451CAN-ID 1 HW11/29 bit CAN-Identifier (high word)FFFF
8452DLCData length count0
8453
8454Data byte 4 Data byte 30
8455Data byte 6 Data byte 50
8456Data byte 8 Data byte 70
::::::
8471CAN-ID 4 LW11/29bit CAN-Identifier (low word)
8472CAN-ID 4 HW11/29 bit CAN-Identifier (high word)FFFF
8473DLCData length count0
8474
8475Data byte 4 Data byte 30
8476Data byte 6 Data byte 50
8477Data byte 8 Data byte 70
Func tion
Data bytes
Data bytes
High ByteLow Byte
Data byte 2 Data byte 10
Data byte 2 Data byte 10
Description
Message slot
RUN>STOP
message 1
RUN>STOP
message 4
Default
FFFF
H
H
H
H
H
FFFF
H
H
H
H
H
Remark
H
H
R/W
H
H
R/W
Tab. 3-36: Allocation of the buffer memory addresses Un\G8450 to Un\G8477
The "Default" value is the initial value set after the power is turned ON or the PLC CPU is reset.
Reading from and writing to a sequence program are enabled.
The function of the buffer memories addresses listed above is described in the following table.
3 – 40
Buffer memory
function
CAN-ID n
DLC
Data bytes
Description
CAN-ID used to transmit this message into the network.
Set low and high word to FFFF
H
High byte: 00
Low byte: Number of data bytes to transmit (0 to 8)
Data bytes 1 to 8.
The number of attached data bytes is defined by DLC.
= Send data frame
Tab. 3-37: Function of Un\G8450 to Un\G8477
RTR is prohibited for these messages.
H
to disable the message.
MITSUBISHI ELECTRI
Page 63
Buffer Memory Details: Layer 2 Message ModeDetailed Description of the Module
3.6.6 Receive/Transmit Process Data (Un\G10000–Un\G10293)
In Layer 2 message mode the ME3CAN1-L can send/receive up to 42 messages pre-defined by the
user.
Transmission of Layer 2 messages is also possible via the CIF (command interface): Sending Layer 2
Message (Refer to section 3.6.7).
NOTEThe buffer memory addresses are refreshed every time the signal Yn1 is turned ON (refer to sec-
tion 3.3.2).
Address
(Decimal)
Func tion
High ByteLow Byte
10000CAN-ID 1 LW11/29 bit CAN-Identifier (low word)
10001CAN-ID 1 HW11/29 bit CAN-Identifier (high word)FFFF
10002RTR / new / DLC
10003
10004Data byte 4 Data byte 30
10005Data byte 6 Data byte 50
Data bytes
Remote Transmission
Request
Data byte 2 Data byte 10
10006Data byte 8 Data byte 70
Description
Message slot
Data length count0
message 1
Layer 2
Default Remark
FFFF
H
H
R/W
H
H
H
H
H
R/W
::::::
10287CAN-ID 42 LW11/29 bit CAN-Identifier (low word)
10288CAN-ID 42 HW11/29 bit CAN-Identifier (high word)FFFF
101289R TR / new / DLC
10290
10291Data byte 4 Data byte 30
10292Data byte 6 Data byte 50
Data bytes
Remote Transmission
Request
Data byte 2 Data byte 10
Data length count0
Layer 2
message 42
10293Data byte 8 Data byte 70
FFFF
H
H
R/W
H
H
H
H
H
R/W
Tab. 3-38: Allocation of the buffer memory addresses Un\G10000 to Un\G10293
The "Default" value is the initial value set after the power is turned ON or the PLC CPU is reset.
Write access to these buffer memory addresses is possible in "Layer 2 configuration mode" only. Refer to bit 4 in Un\G25
(section 3.5.5). The contents of these buffer memory addresses will be stored into the Flash ROM when the save command
is executed (Refer to section 3.5.3).
This information is read only for receive messages and read/write for transmit messages.
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 41
Page 64
Detailed Description of the ModuleBuffer Memory Details: Layer 2 Message Mode
C
The function of the buffer memory addresses listed above is described in the following table.
Buffer memory
function
CAN-ID n
Description
Transmit messagesReceive messages
CAN-ID used to transmit this message into the
network (11 or 29 bit according to mode set in
Received CAN-ID
Un\G21)
High byte
H
= No new data received
앫 00
앫 Bit 9 = 1: New frame received
앫 Bit 8 = 1: New data received
앫 Bit 10 = 1: Overflow
Low byte
Data length count (DLC) of the received CAN
frame
Received data bytes
RTR / new / DLC
Data bytes
High byte
앫 Bit 12 = 1: Strict DLC check for RTR
앫 Bit 15 = 0: Send data frame
Bit 15 = 1: Send RTR frame
Low byte
Number of data bytes to transmit (0 to 8)
Data bytes 1 to 8.
The number of attached data bytes is defined by
DLC.
Tab. 3-39: Function of Un\G10000 to Un\G10293
In case more than one ID can pass the filter set in Un\G6000 to Un\G6167 (Refer to section 3.6.2) the received CAN-ID
might change and will always display the CAN-ID, DLC and data of the latest received message.
Bit 15 defines if the message is transmitted as a data frame (Bit 15 = 0) or a Remote Transmit Request frame (Bit 15 = 1).
Bit 12 = 1 enables a strict DLC check for received RT
checked for a match with a user message, if the bit is "1", the CAN-ID and the DLC of the RTR frame must match the user
message to cause a response or Un\G8350 to Un\G8352 flag to be set.
Bit 15 and Bit 12 cannot be set to "1" at the same time.
Bit 15 can be set to "1" if the par
ameter B (refer to sec
Bit 12 can be set to "1" if the parameter B (refer to section 3.6.2) is set to 6FFF
If bit 8 of "RTR/new/DLC" is "1", a new message including new data has been received and stored. If bit 9 is "1" but bit 8 is
"0", the same message (same ID, DLC and data) has been received. If bit 10 is "1" at least one more message has been
stored in this message buffer while bit 8 was "1" which caused an overflow condition.
The RTR flag will not be displayed in case of receive messages. For details of the handling for received RT
to section 3.6.3.
The various cases for the bits 8 to 10 are shown in the following table.
R frames. If Bit 12 is "0", only the CAN-ID of an inbound RTR frame is
H
tion 3.6.2) is set to 5FFF
.
H
or 7FFFH.
R messages refer
Receive messages only
RTR / new / DLC
New frame
No new data
New frame
New data
New frame
No new data
Overflow
New frame
New data
Overflow
No data
received
New data (bit 8)쑗쎲쑗쎲 X
New frame (bit 9)쎲쎲쎲쎲쑗
Overflow (bit 10)쑗쑗쎲쎲 X
Tab. 3-40:Cases for bits 8 to 10 of RTR/new/DLC
쑗: Bit = 0, 쎲: Bit = 1, X: Bit status is "don
In case the received DLC is lower than 8, unused data bytes are set to 00H.
't care"
3 – 42
MITSUBISHI ELECTRI
Page 65
Buffer Memory Details: Layer 2 Message ModeDetailed Description of the Module
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)
10052nd data byte1st data byte
10064th data byte3rd data byte
10076th data byte5th data byte
10088th data byte7th data byte
Description
High ByteLow Byte
Tab. 3-42:
Data structure for transmit messages
MELSEC-L Series – CANopen Module ME3CAN1-L3 – 43
Page 66
Detailed Description of the ModuleBuffer Memory Details: Layer 2 Message Mode
C
3 – 44
MITSUBISHI ELECTRI
Page 67
Function SummaryFunctions
4Functions
4.1 Function Summary
Func tionDescription
Function modesDifferent function modes of the module4.2
Object Dictionary
CIF
SDOService Data Object4.6.4
RPDO / TPDOReceive / Transmit Process Data Object4.6.5
SYNCSynchronization object4.6.6
Node guardingNode guarding service4.6.7
HeartbeatHeartbeat service4.6.8
TIMETime stamp object4.6.9
EMCYEmergency object4.6.12
General NMTGeneral Network Management service
NMT masterNetwork Management Master service
Boot-upDevice boot-Up message service4.8.2
Flying masterFlexible network management4.8.10
LSSLayer Setting Service for devices4.8.11
Configuration manager
Profile CiA-405 V2.0Device profile for IEC 61131-3 programmable device4.9
Layer 2 Message modeLayer 2 message transmission and receive mode3.6
Link between CANopen
Command interface; used to access the Object Dictionary of the local
node or a network node.
Mechanism for the configuration of the Object Dictionary of other
CANopen
devices
network and PLC
Reference
(Section)
4.8.12
Tab. 4-1:Function list
4.3
4.4
4.8
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 1
Page 68
FunctionsFunction Modes
C
4.2 Function Modes
The ME3CAN1-L has three different function modes. The function mode is set up by Un\G21. For further information on how to set the function mode, refer to section 3.5.2.
This mode supports full access to layer 2 of the CAN communication protocol.
Layer 2 messages with 11 bits identifier can be sent and received in this mode.
This mode supports full access to Layer 2 of the CAN communication protocol.
Layer 2 messages with 29 bits identifier can be sent and received in this mode.
Tab. 4-2:Function modes of the ME3CAN1-L
4.3 Object Dictionary
The Object Dictionary (OD) is a structure for data organization within the CANopen network. The
data within the Object Dictionary is used to set CAN bus parameters, initialize special functions, control data flow, store data in many formats and send emergency messages.
The Object Dictionary is structured in indexes and sub-indexes. Each index addresses a single parameter, a set of parameters, network input/output data or other data. A sub-index addresses a subset of
the parameter or data of the index.
Index (hex)Object
0000Not used—
0001–009FData type definitions4.5
00A0–0FFFReserved—
1000–1FFFCommunication profile area (CiA-301/CiA-302)
2000–5FFFManufacturer-specific profile area
6000–9FFFReserved —
A000–AFFFStandardized profile area (CiA-405)4.9
B000–FFFFReserved—
Reference
(Section)
4.6
4.8
Tab. 4-3:General layout of the CANopen standard Object Dictionary
4 – 2
MITSUBISHI ELECTRI
Page 69
Command InterfaceFunctions
4.4 Command Interface
The Command Interface (CIF) provides access to the Object Dictionary of the ME3CAN1-L and other
CANopen nodes in the network. The various CIF functions can be used for SDO read/write, configuring/mapping RPDO and TPDO, configuring Node Guarding, Heartbeat, Emergency Messages and
others.
For details, please refer to chapter 5.
Command interface
SDO request쎲쑗쑗5.1
Send Emergency Message쎲쑗쑗5.2
Display current parameter쎲쎲쎲5.3
Sending Layer 2 Message쑗쎲쎲3.6.7
Tab. 4-4:Overview of command interface
4.5 Data Type Definition Area
Static data types are placed in the Object Dictionary for definition purposes only. Indexes 0002H to
0008
H
ma y be ma pped i n orde r to de fine t he a pprop riate space in the RPDO as not being used by the
device. An SDO access results in an error.
For details, please refer to section 4.6.5.
Index (hex)Sub-index (hex)ObjectDescriptionData type
000100
000200
00030016 bitI16
00040032 bitI32
000500
00060016 bitU16
00070032 bitU32
000800Float32 bitReal32
0009–009F00Reserved—
Data type definition
Mode 405
Function mode
Layer 2 mode
11 bit29 bit
쎲
: Applicable, 쑗: Not applicable
Reserved—
8 bitI8
Signed
8 bitU8
Unsigned
Reference
(Section)
Tab. 4-5:Data type definition
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 3
Page 70
FunctionsCommunication Profile Area
C
4.6 Communication Profile Area
The table below provides a brief description and reference information for the ME3CAN1-L
CANopen Object Dictionary.
Index
(hex)
Sub-index
(hex)
ObjectDescriptionData type
Initial
value
Flash ROM
Stored to
R/W
Describes the device profile or the
100000Device Type
application profile.
Can be changed by setting the
U32405R—
mode value in Un\G21.
100100Error RegisterRefer to section 4.6.2U80
H
R—
100200Reserved—————
1003
00
01–0FU320
Pre-defined error field Refer to section 4.6.3
U80
H
H
R/W
R
100400Reserved—————
100500
100600
COB-ID of SYNC
message
Communication Cycle
Period
Refer to section 4.6.6U32H80R/W✔
Refer to section 4.6.6U320
H
R/W✔
100700Reserved—————
100800Device Name9 Byte ASCII String
100900Hardware Version4 Byte ASCII String1.00R—
Visible
String
ME3CAN1-L
R—
100A00Software Version4 Byte ASCII String1.00R—
100B00Reserved—————
100C00Guard timeRefer to section 4.6.7U160
100D00Life time factorRefer to section 4.6.7U80
H
H
R/W✔
R/W✔
100E–100F00Reserved—————
1010
1011
00
01
00
01
Store parameters
Restore default
parameters
Highest sub-indexU801
Save all parameters
Refer to section 4.6.10
U321
Highest sub-indexU801
Restore all parameters
Refer to section 4.6.11
U321
101200COB-ID TimeRefer to section 4.6.9U32
8000
0100
H
H
H
H
H
R/W
R/W
R/W✔
R
R
101300Reserved—————
80
H
101400COB-ID EMCYRefer to section 4.6.12U32
101500Inhibit Time EMCYRefer to section 4.6.12U160
1016
00
01–7FRefer to section 4.6.8U320
101700
00
1018
01Vendor-IDU3271
02Product CodeU32ED63
Consumer heartbeat
time
Producer heartbeat
time
Identity Object
Highest sub-indexU87F
Refer to section 4.6.8U160R/W✔
Highest sub-indexU803
03Revision NumberU3210000
+
Node ID
H
H
H
H
H
H
H
R—
R/W✔
R—
R/W✔
R—
1019–101F00Reserved—————
1020
00
01
Verify Configuration
02U320
Highest sub-indexU802
Refer to section 4.8.12
U320
H
H
H
R—
R/W✔
R/W✔
1021–102700Reserved—————
1028
1029
00
01–7FRefer to section 4.6.12U32
00
01Refer to section 4.7U80
Emergency consumer
object
Error behavior
102A00NMT inhibit timeRefer to section 4.8.6U160
Highest sub-indexU87F
80
Node ID
Highest sub-indexU801
H
H
+
H
H
H
R—
R/W✔
R—
R/W✔
R—
—
—
—
Tab. 4-6:Communication profile area of the ME3CAN1-L
4 – 4
MITSUBISHI ELECTRI
Page 71
Communication Profile AreaFunctions
Index
(hex)
Sub-index
(hex)
ObjectDescriptionData type
Initial
value
Flash ROM
Stored to
R/W
102B–13FF00Reserved—————
1400–14FF
00
01
02
RPDO communication
parameter
Highest sub-indexU8
Refer to
section 4.6.5
COB-IDU32✔
Transmission
type
U8✔
Refer to table 4-7
1500–15FF00Reserved—————
Number of valid
object entries
1st mapped
object
2nd mapped
object
3rd mapped
object
4th mapped
object
5th mapped
object
6th mapped
object
7th mapped
object
8th mapped
object
U8
U32
U32
U32
U32
U32
U32
U32
U32
Refer to table 4-8✔
COB–IDU32✔
Transmission
type
Compatibility
entry
U8✔
Refer to table 4-9
U8—
1600–17FF
1800–18FF
00
01
02
03
04
RPDO mapping
parameter
Refer to
section 4.6.5
05
06
07
08
00
Highest sub-indexU8
01
02
03Inhibit timeU16✔
TPDO communication
parameter
Refer to
section 4.6.5
04
05Event timerU16✔
1900–19FF00Reserved—————
Number of valid
object entries
1st M
a
pped
object
2nd Mapped
object
3rd Mapped
object
4th Mapped
object
5th Mapped
object
6th Mapped
object
7th Mapped
object
8th Mapped
object
U8
U32
U32
U32
U32
U32
U32
U32
U32
Refer to table 4-10✔
1A00–1BFF
00
01
02
03
04
05
06
07
08
TPDO mapping
parameter
Refer to
section 4.6.5
1C00–1F2100Reserved—————
1F22
00
01–7F
CDCF
Highest sub-indexU87F
Refer to
section 4.8.12
Node ID valueDOMAIN—R/W
H
R
1F23–1F2400Reserved—————
1F25
1F26
00
Configuration request
80All Nodes
00
01–7F
Expected configuration date
Highest sub-indexU880
Refer to
Node ID value
section 4.8.12
Highest sub-indexU87F
Refer to
section 4.8.12
Node ID valueU320
U320
H
H
H
H
R
W
R
R/W
—
—
—
—01–7F
—
Tab. 4-6:Communication profile area of the ME3CAN1-L
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 5
Page 72
FunctionsCommunication Profile Area
C
Index
(hex)
1F27
Sub-index
(hex)
00
01–7F
ObjectDescriptionData type
Expected configuration time
Highest sub-indexU87F
Refer to
section 4.8.12
Node ID valueU320
Initial
value
H
H
Flash ROM
R—
R/W✔
Stored to
R/W
1F28–1F7F00Reserved—————
1F8000NMT start-upRefer to section 4.8.5U320
1F81
1F82
1F83
1F84
1F85
1F86
1F87
1F88
00
01–7F
NMT slave assignment
00
Request NMT
80All Nodes—W
00
80All NodesW
00
01–7FRefer to section 4.8.4U320
00
01–7FRefer to section 4.8.4U320
00
01–7FRefer to section 4.8.4U320
00
01–7FRefer to section 4.8.4U320
00
01–7FRefer to section 4.8.4U320
Request node
guarding
Device type
Vendor identification
Product code
Revision number
Serial number
Highest sub-indexU87F
Refer to
section 4.8.6
Node ID valueU320
Highest sub-indexU880
Refer to
section 4.8.8
Node ID value
U8
Highest sub-indexU880
Refer to
section 4.8.9
Node ID value
U80
Highest sub-indexU87F
Highest sub-indexU87F
Highest sub-indexU87F
Highest sub-indexU87F
Highest sub-indexU87F
1F8900Boot timeRefer to section 4.8.6U320
H
H
H
H
H
0
H
H
H
H
H
H
H
H
H
H
H
H
H
R/W✔
R—
R/W✔
R
R/W
R
R/W
R—
R/W✔
R—
R/W✔
R—
R/W✔
R—
R/W✔
R—
R/W✔
R/W✔
1F8A–1F8F00Reserved—————
00
01
Highest sub-indexU806
NMT master
time out
U16100R/W
H
R—
NMT master
02
negotiation
U16500R/W
time delay
1F90
03
04Priority time slotU161500R/W
NMT flying master timing parameters
Refer to
section 4.8.10
05
06
NMT master
priority
CANopen
device time slot
Multiple NMT
master detect
cycle time
U161R/W
U1610R/W
U16
4000 + 10
* Node ID
R/W
1F91–1FFF00Reserved—————
—01–7F
—01–7F
✔
Tab. 4-6:Communication profile area of the ME3CAN1-L
The "Default" value is the initial value set after the power is turned ON or the PLC CPU is reset.
Indicates whether reading from and writing to CAN bus are enabled.
R: Read enabled
W: Write enabled
Data will be saved in the Flash ROM by using the Store Parameter command in index 1010H. Be careful with write handling. The maximum number of writes to the built-in flash ROM is 10,000 times.
4 – 6
MITSUBISHI ELECTRI
Page 73
Communication Profile AreaFunctions
Mode 405 RPDO communication parameter
Default value of Sub-index (hex)
Index (hex)
00
R
H
01
R/W
H
R/W
02
H
14002200 + Node IDFE
14012300 + Node IDFE
14022400 + Node IDFE
14032500 + Node IDFE
1404–14FF280000000FE
Tab. 4-7:Mode 405 RPDO communication parameter
R = Read access
W = Write access
Mode 405 RPDO mapping parameter
Default value of sub-index (hex)
Index (hex)
16004A5800110A5800210A5800310A58004100000
16014A5800510A5800610A5800710A58008100000
16024A5800910A5800A10A5800B10A5800C100000
16034A5800D10A5800E10A5800F10A58010100000
16044A5801110A5801210A5801310A58014100000
16054A5801510A5801610A5801710A58018100000
16064A5801910A5801A10A5801B10A5801C100000
16074A5801D10A5801E10A5801F10A58020100000
16084A5802110A5802210A5802310A58024100000
16094A5802510A5802610A5802710A58028100000
160A4A5802910A5802A10A5802B10A5802C100000
160B4A5802D10A5802E10A5802F10A58030100000
160C4A5803110A5803210A5803310A58034100000
160D4A5803510A5803610A5803710A58038100000
160E4A5803910A5803A10A5803B10A5803C100000
160F4A5803D10A5803E10A5803F10A58040100000
16104A5804110A5804210A5804310A58044100000
16114A5804510A5804610A5804710A58048100000
16124A5804910A5804A10A5804B10A5804C100000
16134A5804D10A5804E10A5804F10A58050100000
16144A5805110A5805210A5805310A58054100000
16154A5805510A5805610A5805710A58058100000
16164A5805910A5805A10A5805B10A5805C100000
16174A5805D10A5805E10A5805F10A58060100000
16184A5806110A5806210A5806310A58064100000
16194A5806510A5806610A5806710A58068100000
161A4A5806910A5806A10A5806B10A5806C100000
161B4A5806D10A5806E10A5806F10A58070100000
161C4A5807110A5807210A5807310A58074100000
161D4A5807510A5807610A5807710A58078100000
161E4A5807910A5807A10A5807B10A5807C100000
161F4A5807D10A5807E10A5807F10A58080100000
16204A5808110A5808210A5808310A58084100000
16214A5808510A5808610A5808710A58088100000
16224A5808910A5808A10A5808B10A5808C100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
08
R/W
H
Tab. 4-8:Mode 405 RPDO mapping parameter
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 7
Page 74
FunctionsCommunication Profile Area
C
Default value of sub-index (hex)
Index (hex)
16234A5808D10A5808E10A5808F10A58090100000
16244A5809110A5809210A5809310A58094100000
16254A5809510A5809610A5809710A58098100000
16264A5809910A5809A10A5809B10A5809C100000
16274A5809D10A5809E10A5809F10A580A0100000
16284A580A110A580A210A580A310A580A4100000
16294A580A510A580A610A580A710A580A8100000
162A4A580A910A580AA10A580AB10A580AC100000
162B4A580AD10A580AE10A580AF10A580B0100000
162C4A580B110A580B210A580B310A580B4100000
162D4A580B510A580B610A580B710A580B8100000
162E4A580B910A580BA10A580BB10A580BC100000
162F4A580BD10A580BE10A580BF10A580C0100000
16304A580C110A580C210A580C310A580C4100000
16314A580C510A580C610A580C710A580C8100000
16324A580C910A580CA10A580CB10A580CC100000
16334A580CD10A580CE10A580CF10A580D0100000
16344A580D110A580D210A580D310A580D4100000
16354A580D510A580D610A580D710A580D8100000
16364A580D910A580DA10A580DB10A580DC100000
16374A580DD10A580DE10A580DF10A580E0100000
16384A580E110A580E210A580E310A580E4100000
16394A580E510A580E610A580E710A580E8100000
163A4A580E910A580EA10A580EB10A580EC100000
163B4A580ED10A580EE10A580EF10A580F0100000
163C4A580F110A580F210A580F310A580F4100000
163D4A580F510A580F610A580F710A580F8100000
163E4A580F910A580FA10A580FB10A580FC100000
163F4A580FD10A580FE10A5810110A58102100000
16404A5810310A5810410A5810510A58106100000
16414A5810710A5810810A5810910A5810A100000
16424A5810B10A5810C10A5810D10A5810E100000
16434A5810F10A5811010A5811110A58112100000
16444A5811310A5811410A5811510A58116100000
16454A5811710A5811810A5811910A5811A100000
16464A5811B10A5811C10A5811D10A5811E100000
16474A5811F10A5812010A5812110A58122100000
16484A5812310A5812410A5812510A58126100000
16494A5812710A5812810A5812910A5812A100000
164A4A5812B10A5812C10A5812D10A5812E100000
164B4A5812F10A5813010A5813110A58132100000
164C4A5813310A5813410A5813510A58136100000
164D4A5813710A5813810A5813910A5813A100000
164E4A5813B10A5813C10A5813D10A5813E100000
164F4A5813F10A5814010A5814110A58142100000
16504A5814310A5814410A5814510A58146100000
16514A5814710A5814810A5814910A5814A100000
16524A5814B10A5814C10A5814D10A5814E100000
16534A5814F10A5815010A5815110A58152100000
16544A5815310A5815410A5815510A58156100000
16554A5815710A5815810A5815910A5815A10
16564
16574A5815F10A5816010A5816110A58162100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A5815B10A5815C10A5815D10A5815E100000
08
R/W
H
Tab. 4-8:Mode 405 RPDO mapping parameter
4 – 8
MITSUBISHI ELECTRI
Page 75
Communication Profile AreaFunctions
Default value of sub-index (hex)
Index (hex)
16584A5816310A5816410A5816510A58166100000
16594A5816710A5816810A5816910A5816A100000
165A4A5816B10A5816C10A5816D10A5816E100000
165B4A5816F10A5817010A5817110A58172100000
165C4A5817310A5817410A5817510A58176100000
165D4A5817710A5817810A5817910A5817A100000
165E4A5817B10A5817C10A5817D10A5817E100000
165F4A5817F10A5818010A5818110A58182100000
16604A5818310A5818410A5818510A58186100000
16614A5818710A5818810A5818910A5818A100000
16624A5818B10A5818C10A5818D10A5818E100000
16634A5818F10A5819010A5819110A58192100000
16644A5819310A5819410A5819510A58196100000
16654A5819710A5819810A5819910A5819A100000
16664A5819B10A5819C10A5819D10A5819E100000
16674A5819F10A581A010A581A110A581A2100000
16684A581A310A581A410A581A510A581A6100000
16694A581A710A581A810A581A910A581AA100000
166A4A581AB10A581AC10A581AD10A581AE100000
166B4A581AF10A581B010A581B110A581B2100000
166C4A581B310A581B410A581B510A581B6100000
166D4A581B710A581B810A581B910A581BA100000
166E4A581BB10A581BC10A581BD10A581BE100000
166F4A581BF10A581C010A581C110A581C2100000
16704A581C310A581C410A581C510A581C6100000
16714A581C710A581C810A581C910A581CA100000
16724A581CB10A581CC10A581CD10A581CE100000
16734A581CF10A581D010A581D110A581D2100000
16744A581D310A581D410A581D510A581D6100000
16754A581D710A581D810A581D910A581DA100000
16764A581DB10A581DC10A581DD10A581DE100000
16774A581DF10A581E010A581E110A581E2100000
16784A581E310A581E410A581E510A581E6100000
16794A581E710A581E810A581E910A581EA100000
167A4A581EB10A581EC10A581ED10A581EE100000
167B4A581EF10A581F010A581F110A581F2100000
167C4A581F310A581F410A581F510A581F6100000
167D4A581F710A581F810A581F910A581FA100000
167E4A581FB10A581FC10A581FD10A581FE100000
167F4A5820110A5820210A5820310A58204100000
16804A5820510A5820610A5820710A58208100000
16814A5820910A5820A10A5820B10A5820C100000
16824A5820D10A5820E10A5820F10A58210100000
16834A5821110A5821210A5821310A58214100000
16844A5821510A5821610A5821710A58218100000
16854A5821910A5821A10A5821B10A5821C100000
16864A5821D10A5821E10A5821F10A58220100000
16874A5822110A5822210A5822310A58224100000
16884A5822510A5822610A5822710A58228100000
16894A5822910A5822A10A5822B10A5822C100000
168A4A5822D10A5822E10A5822F10A5823010
168B4
168C4A5823510A5823610A5823710A58238100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A5823110A5823210A5823310A58234100000
08
R/W
H
Tab. 4-8:Mode 405 RPDO mapping parameter
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 9
Page 76
FunctionsCommunication Profile Area
C
Default value of sub-index (hex)
Index (hex)
168D4A5823910A5823A10A5823B10A5823C100000
168E4A5823D10A5823E10A5823F10A58240100000
168F4A5824110A5824210A5824310A58244100000
16904A5824510A5824610A5824710A58248100000
16914A5824910A5824A10A5824B10A5824C100000
16924A5824D10A5824E10A5824F10A58250100000
16934A5825110A5825210A5825310A58254100000
16944A5825510A5825610A5825710A58258100000
16954A5825910A5825A10A5825B10A5825C100000
16964A5825D10A5825E10A5825F10A58260100000
16974A5826110A5826210A5826310A58264100000
16984A5826510A5826610A5826710A58268100000
16994A5826910A5826A10A5826B10A5826C100000
169A4A5826D10A5826E10A5826F10A58270100000
169B4A5827110A5827210A5827310A58274100000
169C4A5827510A5827610A5827710A58278100000
169D4A5827910A5827A10A5827B10A5827C100000
169E4A5827D10A5827E10A5827F10A58280100000
169F4A5828110A5828210A5828310A58284100000
16A04A5828510A5828610A5828710A58288100000
16A14A5828910A5828A10A5828B10A5828C100000
16A24A5828D10A5828E10A5828F10A58290100000
16A34A5829110A5829210A5829310A58294100000
16A44A5829510A5829610A5829710A58298100000
16A54A5829910A5829A10A5829B10A5829C100000
16A64A5829D10A5829E10A5829F10A582A0100000
16A74A582A110A582A210A582A310A582A4100000
16A84A582A510A582A610A582A710A582A8100000
16A94A582A910A582AA10A582AB10A582AC100000
16AA4A582AD10A582AE10A582AF10A582B0100000
16AB4A582B110A582B210A582B310A582B4100000
16AC4A582B510A582B610A582B710A582B8100000
16AD4A582B910A582BA10A582BB10A582BC100000
16AE4A582BD10A582BE10A582BF10A582C0100000
16AF4A582C110A582C210A582C310A582C4100000
16B04A582C510A582C610A582C710A582C8100000
16B14A582C910A582CA10A582CB10A582CC100000
16B24A582CD10A582CE10A582CF10A582D0100000
16B34A582D110A582D210A582D310A582D4100000
16B44A582D510A582D610A582D710A582D8100000
16B54A582D910A582DA10A582DB10A582DC100000
16B64A582DD10A582DE10A582DF10A582E0100000
16B74A582E110A582E210A582E310A582E4100000
16B84A582E510A582E610A582E710A582E8100000
16B94A582E910A582EA10A582EB10A582EC100000
16BA4A582ED10A582EE10A582EF10A582F0100000
16BB4A582F110A582F210A582F310A582F4100000
16BC4A582F510A582F610A582F710A582F8100000
16BD4A582F910A582FA10A582FB10A582FC100000
16BE4A582FD10A582FE10A5830110A58302100000
16BF4A5830310A5830410A5830510A5830610
16C04
16C14A5830B10A5830C10A5830D10A5830E100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A5830710A5830810A5830910A5830A100000
08
R/W
H
Tab. 4-8:Mode 405 RPDO mapping parameter
4 – 10
MITSUBISHI ELECTRI
Page 77
Communication Profile AreaFunctions
Default value of sub-index (hex)
Index (hex)
16C24A5830F10A5831010A5831110A58312100000
16C34A5831310A5831410A5831510A58316100000
16C44A5831710A5831810A5831910A5831A100000
16C54A5831B10A5831C10A5831D10A5831E100000
16C64A5831F10A5832010A5832110A58322100000
16C74A5832310A5832410A5832510A58326100000
16C84A5832710A5832810A5832910A5832A100000
16C94A5832B10A5832C10A5832D10A5832E100000
16CA4A5832F10A5833010A5833110A58332100000
16CB4A5833310A5833410A5833510A58336100000
16CC4A5833710A5833810A5833910A5833A100000
16CD4A5833B10A5833C10A5833D10A5833E100000
16CE4A5833F10A5834010A5834110A58342100000
16CF4A5834310A5834410A5834510A58346100000
16D04A5834710A5834810A5834910A5834A100000
16D14A5834B10A5834C10A5834D10A5834E100000
16D24A5834F10A5835010A5835110A58352100000
16D34A5835310A5835410A5835510A58356100000
16D44A5835710A5835810A5835910A5835A100000
16D54A5835B10A5835C10A5835D10A5835E100000
16D64A5835F10A5836010A5836110A58362100000
16D74A5836310A5836410A5836510A58366100000
16D84A5836710A5836810A5836910A5836A100000
16D94A5836B10A5836C10A5836D10A5836E100000
16DA4A5836F10A5837010A5837110A58372100000
16DB4A5837310A5837410A5837510A58376100000
16DC4A5837710A5837810A5837910A5837A100000
16DD4A5837B10A5837C10A5837D10A5837E100000
16DE4A5837F10A5838010A5838110A58382100000
16DF4A5838310A5838410A5838510A58386100000
16E04A5838710A5838810A5838910A5838A100000
16E14A5838B10A5838C10A5838D10A5838E100000
16E24A5838F10A5839010A5839110A58392100000
16E34A5839310A5839410A5839510A58396100000
16E44A5839710A5839810A5839910A5839A100000
16E54A5839B10A5839C10A5839D10A5839E100000
16E64A5839F10A583A010A583A110A583A2100000
16E74A583A310A583A410A583A510A583A6100000
16E84A583A710A583A810A583A910A583AA100000
16E94A583AB10A583AC10A583AD10A583AE100000
16EA4A583AF10A583B010A583B110A583B2100000
16EB4A583B310A583B410A583B510A583B6100000
16EC4A583B710A583B810A583B910A583BA100000
16ED4A583BB10A583BC10A583BD10A583BE100000
16EE4A583BF10A583C010A583C110A583C2100000
16EF4A583C310A583C410A583C510A583C6100000
16F04A583C710A583C810A583C910A583CA100000
16F14A583CB10A583CC10A583CD10A583CE100000
16F24A583CF10A583D010A583D110A583D2100000
16F34A583D310A583D410A583D510A583D6100000
16F44A583D710A583D810A583D910A583DA10
16F54
16F64A583DF10A583E010A583E110A583E2100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A583DB10A583DC10A583DD10A583DE100000
08
R/W
H
Tab. 4-8:Mode 405 RPDO mapping parameter
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 11
Page 78
FunctionsCommunication Profile Area
C
Default value of sub-index (hex)
Index (hex)
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
08
R/W
H
16F74A583E310A583E410A583E510A583E6100000
16F84A583E710A583E810A583E910A583EA100000
16F94A583EB10A583EC10A583ED10A583EE100000
16FA4A583EF10A583F010A583F110A583F2100000
16FB4A583F310A583F410A583F510A583F6100000
16FC4A583F710A583F810A583F910A583FA100000
16FD4A583FB10A583FC10A583FD10A583FE100000
16FE4A5840110A5840210A5840310A58404100000
16FF4A5840510A5840610A5840710A58408100000
Tab. 4-8:Mode 405 RPDO mapping parameter
R/W = Read/write access
Mode 405 TPDO communication parameter
Default value of Sub-index (hex)
Index (hex)
180054000 0180 + Node IDFE0Reserved0
180154000 0280 + Node IDFE0Reserved0
180254000 0380 + Node IDFE0Reserved0
180354000 0480 + Node IDFE0Reserved0
1804–18FF 5C0000000FE0Reserved0
00
R
H
01
R/W
H
02
R/W
H
R/W
03
H
04
H
—
R/W
05
H
Tab. 4-9:Mode 405 TPDO communication parameter
R = Read access
W = Write access
Mode 405 TPDO mapping parameter
Default value of sub-index (hex)
Index (hex)
1A004A1000110A1000210A1000310A10004100000
1A014A1000510A1000610A1000710A10008100000
1A024A1000910A1000A10A1000B10A1000C100000
1A034A1000D10A1000E10A1000F10A10010100000
1A044A1001110A1001210A1001310A10014100000
1A054A1001510A1001610A1001710A10018100000
1A064A1001910A1001A10A1001B10A1001C100000
1A074A1001D10A1001E10A1001F10A10020100000
1A084A1002110A1002210A1002310A10024100000
1A094A1002510A1002610A1002710A10028100000
1A0A4A1002910A1002A10A1002B10A1002C100000
1A0B4A1002D10A1002E10A1002F10A10030100000
1A0C4A1003110A1003210A1003310A10034100000
1A0D4A1003510A1003610A1003710A10038100000
1A0E4A1003910A1003A10A1003B10A1003C100000
1A0F4A1003D10A1003E10A1003F10A10040100000
1A104A1004110A1004210A1004310A10044100000
1A114A1004510A1004610A1004710A10048100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
08
R/W
H
Tab. 4-10: Mode 405 TPDO mapping parameter
4 – 12
MITSUBISHI ELECTRI
Page 79
Communication Profile AreaFunctions
Default value of sub-index (hex)
Index (hex)
1A124A1004910A1004A10A1004B10A1004C100000
1A134A1004D10A1004E10A1004F10A10050100000
1A144A1005110A1005210A1005310A10054100000
1A154A1005510A1005610A1005710A10058100000
1A164A1005910A1005A10A1005B10A1005C100000
1A174A1005D10A1005E10A1005F10A10060100000
1A184A1006110A1006210A1006310A10064100000
1A194A1006510A1006610A1006710A10068100000
1A1A4A1006910A1006A10A1006B10A1006C100000
1A1B4A1006D10A1006E10A1006F10A10070100000
1A1C4A1007110A1007210A1007310A10074100000
1A1D4A1007510A1007610A1007710A10078100000
1A1E4A1007910A1007A10A1007B10A1007C100000
1A1F4A1007D10A1007E10A1007F10A10080100000
1A204A1008110A1008210A1008310A10084100000
1A214A1008510A1008610A1008710A10088100000
1A224A1008910A1008A10A1008B10A1008C100000
1A234A1008D10A1008E10A1008F10A10090100000
1A244A1009110A1009210A1009310A10094100000
1A254A1009510A1009610A1009710A10098100000
1A264A1009910A1009A10A1009B10A1009C100000
1A274A1009D10A1009E10A1009F10A100A0100000
1A284A100A110A100A210A100A310A100A4100000
1A294A100A510A100A610A100A710A100A8100000
1A2A4A100A910A100AA10A100AB10A100AC100000
1A2B4A100AD10A100AE10A100AF10A100B0100000
1A2C4A100B110A100B210A100B310A100B4100000
1A2D4A100B510A100B610A100B710A100B8100000
1A2E4A100B910A100BA10A100BB10A100BC100000
1A2F4A100BD10A100BE10A100BF10A100C0100000
1A304A100C110A100C210A100C310A100C4100000
1A314A100C510A100C610A100C710A100C8100000
1A324A100C910A100CA10A100CB10A100CC100000
1A334A100CD10A100CE10A100CF10A100D0100000
1A344A100D110A100D210A100D310A100D4100000
1A354A100D510A100D610A100D710A100D8100000
1A364A100D910A100DA10A100DB10A100DC100000
1A374A100DD10A100DE10A100DF10A100E0100000
1A384A100E110A100E210A100E310A100E4100000
1A394A100E510A100E610A100E710A100E8100000
1A3A4A100E910A100EA10A100EB10A100EC100000
1A3B4A100ED10A100EE10A100EF10A100F0100000
1A3C4A100F110A100F210A100F310A100F4100000
1A3D4A100F510A100F610A100F710A100F8100000
1A3E4A100F910A100FA10A100FB10A100FC100000
1A3F4A100FD10A100FE10A1010110A10102100000
1A404A1010310A1010410A1010510A10106100000
1A414A1010710A1010810A1010910A1010A100000
1A424A1010B10A1010C10A1010D10A1010E100000
1A434A1010F10A1011010A1011110A10112100000
1A444A1011310A1011410A1011510A1011610
1A454
1A464A1011B10A1011C10A1011D10A1011E100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A1011710A1011810A1011910A1011A100000
08
R/W
H
Tab. 4-10: Mode 405 TPDO mapping parameter
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 13
Page 80
FunctionsCommunication Profile Area
C
Default value of sub-index (hex)
Index (hex)
1A474A1011F10A1012010A1012110A10122100000
1A484A1012310A1012410A1012510A10126100000
1A494A1012710A1012810A1012910A1012A100000
1A4A4A1012B10A1012C10A1012D10A1012E100000
1A4B4A1012F10A1013010A1013110A10132100000
1A4C4A1013310A1013410A1013510A10136100000
1A4D4A1013710A1013810A1013910A1013A100000
1A4E4A1013B10A1013C10A1013D10A1013E100000
1A4F4A1013F10A1014010A1014110A10142100000
1A504A1014310A1014410A1014510A10146100000
1A514A1014710A1014810A1014910A1014A100000
1A524A1014B10A1014C10A1014D10A1014E100000
1A534A1014F10A1015010A1015110A10152100000
1A544A1015310A1015410A1015510A10156100000
1A554A1015710A1015810A1015910A1015A100000
1A564A1015B10A1015C10A1015D10A1015E100000
1A574A1015F10A1016010A1016110A10162100000
1A584A1016310A1016410A1016510A10166100000
1A594A1016710A1016810A1016910A1016A100000
1A5A4A1016B10A1016C10A1016D10A1016E100000
1A5B4A1016F10A1017010A1017110A10172100000
1A5C4A1017310A1017410A1017510A10176100000
1A5D4A1017710A1017810A1017910A1017A100000
1A5E4A1017B10A1017C10A1017D10A1017E100000
1A5F4A1017F10A1018010A1018110A10182100000
1A604A1018310A1018410A1018510A10186100000
1A614A1018710A1018810A1018910A1018A100000
1A624A1018B10A1018C10A1018D10A1018E100000
1A634A1018F10A1019010A1019110A10192100000
1A644A1019310A1019410A1019510A10196100000
1A654A1019710A1019810A1019910A1019A100000
1A664A1019B10A1019C10A1019D10A1019E100000
1A674A1019F10A101A010A101A110A101A2100000
1A684A101A310A101A410A101A510A101A6100000
1A694A101A710A101A810A101A910A101AA100000
1A6A4A101AB10A101AC10A101AD10A101AE100000
1A6B4A101AF10A101B010A101B110A101B2100000
1A6C4A101B310A101B410A101B510A101B6100000
1A6D4A101B710A101B810A101B910A101BA100000
1A6E4A101BB10A101BC10A101BD10A101BE100000
1A6F4A101BF10A101C010A101C110A101C2100000
1A704A101C310A101C410A101C510A101C6100000
1A714A101C710A101C810A101C910A101CA100000
1A724A101CB10A101CC10A101CD10A101CE100000
1A734A101CF10A101D010A101D110A101D2100000
1A744A101D310A101D410A101D510A101D6100000
1A754A101D710A101D810A101D910A101DA100000
1A764A101DB10A101DC10A101DD10A101DE100000
1A774A101DF10A101E010A101E110A101E2100000
1A784A101E310A101E410A101E510A101E6100000
1A794A101E710A101E810A101E910A101EA10
1A7A4
1A7B4A101EF10A101F010A101F110A101F2100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A101EB10A101EC10A101ED10A101EE100000
08
R/W
H
Tab. 4-10: Mode 405 TPDO mapping parameter
4 – 14
MITSUBISHI ELECTRI
Page 81
Communication Profile AreaFunctions
Default value of sub-index (hex)
Index (hex)
1A7C4A101F310A101F410A101F510A101F6100000
1A7D4A101F710A101F810A101F910A101FA100000
1A7E4A101FB10A101FC10A101FD10A101FE100000
1A7F4A1020110A1020210A1020310A10204100000
1A804A1020510A1020610A1020710A10208100000
1A814A1020910A1020A10A1020B10A1020C100000
1A824A1020D10A1020E10A1020F10A10210100000
1A834A1021110A1021210A1021310A10214100000
1A844A1021510A1021610A1021710A10218100000
1A854A1021910A1021A10A1021B10A1021C100000
1A864A1021D10A1021E10A1021F10A10220100000
1A874A1022110A1022210A1022310A10224100000
1A884A1022510A1022610A1022710A10228100000
1A894A1022910A1022A10A1022B10A1022C100000
1A8A4A1022D10A1022E10A1022F10A10230100000
1A8B4A1023110A1023210A1023310A10234100000
1A8C4A1023510A1023610A1023710A10238100000
1A8D4A1023910A1023A10A1023B10A1023C100000
1A8E4A1023D10A1023E10A1023F10A10240100000
1A8F4A1024110A1024210A1024310A10244100000
1A904A1024510A1024610A1024710A10248100000
1A914A1024910A1024A10A1024B10A1024C100000
1A924A1024D10A1024E10A1024F10A10250100000
1A934A1025110A1025210A1025310A10254100000
1A944A1025510A1025610A1025710A10258100000
1A954A1025910A1025A10A1025B10A1025C100000
1A964A1025D10A1025E10A1025F10A10260100000
1A974A1026110A1026210A1026310A10264100000
1A984A1026510A1026610A1026710A10268100000
1A994A1026910A1026A10A1026B10A1026C100000
1A9A4A1026D10A1026E10A1026F10A10270100000
1A9B4A1027110A1027210A1027310A10274100000
1A9C4A1027510A1027610A1027710A10278100000
1A9D4A1027910A1027A10A1027B10A1027C100000
1A9E4A1027D10A1027E10A1027F10A10280100000
1A9F4A1028110A1028210A1028310A10284100000
1AA04A1028510A1028610A1028710A10288100000
1AA14A1028910A1028A10A1028B10A1028C100000
1AA24A1028D10A1028E10A1028F10A10290100000
1AA34A1029110A1029210A1029310A10294100000
1AA44A1029510A1029610A1029710A10298100000
1AA54A1029910A1029A10A1029B10A1029C100000
1AA64A1029D10A1029E10A1029F10A102A0100000
1AA74A102A110A102A210A102A310A102A4100000
1AA84A102A510A102A610A102A710A102A8100000
1AA94A102A910A102AA10A102AB10A102AC100000
1AAA4A102AD10A102AE10A102AF10A102B0100000
1AAB4A102B110A102B210A102B310A102B4100000
1AAC4A102B510A102B610A102B710A102B8100000
1AAD4A102B910A102BA10A102BB10A102BC100000
1AAE4A102BD10A102BE10A102BF10A102C010
1AAF4
1AB04A102C510A102C610A102C710A102C8100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A102C110A102C210A102C310A102C4100000
08
R/W
H
Tab. 4-10: Mode 405 TPDO mapping parameter
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 15
Page 82
FunctionsCommunication Profile Area
C
Default value of sub-index (hex)
Index (hex)
1AB14A102C910A102CA10A102CB10A102CC100000
1AB24A102CD10A102CE10A102CF10A102D0100000
1AB34A102D110A102D210A102D310A102D4100000
1AB44A102D510A102D610A102D710A102D8100000
1AB54A102D910A102DA10A102DB10A102DC100000
1AB64A102DD10A102DE10A102DF10A102E0100000
1AB74A102E110A102E210A102E310A102E4100000
1AB84A102E510A102E610A102E710A102E8100000
1AB94A102E910A102EA10A102EB10A102EC100000
1ABA4A102ED10A102EE10A102EF10A102F0100000
1ABB4A102F110A102F210A102F310A102F4100000
1ABC4A102F510A102F610A102F710A102F8100000
1ABD4A102F910A102FA10A102FB10A102FC100000
1ABE4A102FD10A102FE10A1030110A10302100000
1ABF4A1030310A1030410A1030510A10306100000
1AC04A1030710A1030810A1030910A1030A100000
1AC14A1030B10A1030C10A1030D10A1030E100000
1AC24A1030F10A1031010A1031110A10312100000
1AC34A1031310A1031410A1031510A10316100000
1AC44A1031710A1031810A1031910A1031A100000
1AC54A1031B10A1031C10A1031D10A1031E100000
1AC64A1031F10A1032010A1032110A10322100000
1AC74A1032310A1032410A1032510A10326100000
1AC84A1032710A1032810A1032910A1032A100000
1AC94A1032B10A1032C10A1032D10A1032E100000
1ACA4A1032F10A1033010A1033110A10332100000
1ACB4A1033310A1033410A1033510A10336100000
1ACC4A1033710A1033810A1033910A1033A100000
1ACD4A1033B10A1033C10A1033D10A1033E100000
1ACE4A1033F10A1034010A1034110A10342100000
1ACF4A1034310A1034410A1034510A10346100000
1AD04A1034710A1034810A1034910A1034A100000
1AD14A1034B10A1034C10A1034D10A1034E100000
1AD24A1034F10A1035010A1035110A10352100000
1AD34A1035310A1035410A1035510A10356100000
1AD44A1035710A1035810A1035910A1035A100000
1AD54A1035B10A1035C10A1035D10A1035E100000
1AD64A1035F10A1036010A1036110A10362100000
1AD74A1036310A1036410A1036510A10366100000
1AD84A1036710A1036810A1036910A1036A100000
1AD94A1036B10A1036C10A1036D10A1036E100000
1ADA4A1036F10A1037010A1037110A10372100000
1ADB4A1037310A1037410A1037510A10376100000
1ADC4A1037710A1037810A1037910A1037A100000
1ADD4A1037B10A1037C10A1037D10A1037E100000
1ADE4A1037F10A1038010A1038110A10382100000
1ADF4A1038310A1038410A1038510A10386100000
1AE04A1038710A1038810A1038910A1038A100000
1AE14A1038B10A1038C10A1038D10A1038E100000
1AE24A1038F10A1039010A1039110A10392100000
1AE34A1039310A1039410A1039510A1039610
1AE44
1AE54A1039B10A1039C10A1039D10A1039E100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
0000
A1039710A1039810A1039910A1039A100000
08
R/W
H
Tab. 4-10: Mode 405 TPDO mapping parameter
4 – 16
MITSUBISHI ELECTRI
Page 83
Communication Profile AreaFunctions
Default value of sub-index (hex)
Index (hex)
1AE64A1039F10A103A010A103A110A103A2100000
1AE74A103A310A103A410A103A510A103A6100000
1AE84A103A710A103A810A103A910A103AA100000
1AE94A103AB10A103AC10A103AD10A103AE100000
1AEA4A103AF10A103B010A103B110A103B2100000
1AEB4A103B310A103B410A103B510A103B6100000
1AEC4A103B710A103B810A103B910A103BA100000
1AED4A103BB10A103BC10A103BD10A103BE100000
1AEE4A103BF10A103C010A103C110A103C2100000
1AEF4A103C310A103C410A103C510A103C6100000
1AF04A103C710A103C810A103C910A103CA100000
1AF14A103CB10A103CC10A103CD10A103CE100000
1AF24A103CF10A103D010A103D110A103D2100000
1AF34A103D310A103D410A103D510A103D6100000
1AF44A103D710A103D810A103D910A103DA100000
1AF54A103DB10A103DC10A103DD10A103DE100000
1AF64A103DF10A103E010A103E110A103E2100000
1AF74A103E310A103E410A103E510A103E6100000
1AF84A103E710A103E810A103E910A103EA100000
1AF94A103EB10A103EC10A103ED10A103EE100000
1AFA4A103EF10A103F010A103F110A103F2100000
1AFB4A103F310A103F410A103F510A103F6100000
1AFC4A103F710A103F810A103F910A103FA100000
1AFD4A103FB10A103FC10A103FD10A103FE100000
1AFE4A1040110A1040210A1040310A10404100000
1AFF4A1040510A1040610A1040710A10408100000
00
R/W
H
01
R/W
H
02
R/W
H
03
R/W
H
04
R/W
H
05
R/W
H
06
R/W
H
07
R/W
H
08
R/W
H
Tab. 4-10: Mode 405 TPDO mapping parameter
R/W = Read/write access
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 17
Page 84
FunctionsCommunication Profile Area
C
11-bit Identifier
0–8 Data Bytes
Func tion Code*
Node ID
Bit 10 ... Bit 7Bit 6 ... Bit 0
CAN Message
11-Bit CAN-ID
* The Function Code is shown below.
4.6.1 CAN-ID / COB-ID
Ea ch mes sag e ty pe on e ach devic e ha s a u nique 11- bit identifier for bus arbitration and identification
on the CAN bus. The lowest CAN-ID wins the bus arbitration. CAN-IDs with lower priority (higher CANID) will wait until the bus is free.
For easier configuration, one CAN-ID scheme exists for all CANopen devices. By default four TPDO
and four RPDO are reserved for every Node-ID. To use more PDO for one node, it is necessary to use
CAN-IDs of other nodes.
Fig. 4-1: Structure of a CAN message
Broadcast objects (Node ID = 0)
COBFunction Code (binary)Resulting CAN-ID
NMT0000b0
SYNC0001b80
TIME0010b100
Tab. 4-11: Broadcast objects (Node ID = 0) and resulting CAN-ID
Peer-to-peer objects (Node ID = 1–127)
COBFunction Code (binary)Resulting CAN-ID
EMCY0001b81
TPDO10011b181–1FF
RPDO10100b201–27F
TPDO20101b281–2FF
RPDO20110b301–37F
TPDO30111b381–3FF
RPDO31000b401–47F
TPDO41001b481–4FF
RPDO41010b501–57F
TSDO1011b581–5FF
RSDO1100b601–67F
NMT error control1110b701–77F
H
H
H
H
–FF
H
H
H
H
H
H
H
H
H
H
H
H
Tab. 4-12: Peer-to-peer objects (Node ID = 1–127) and resulting CAN-ID
4 – 18
MITSUBISHI ELECTRI
Page 85
Communication Profile AreaFunctions
7
6
Manufacturer
specific*
3
* Used by the ME3CAN1-L firmware.
54210
0
H
Device
profile
specific
Communication
error (overrun,
error state)*
TemperatureVoltageCurrentGeneric error*
Restricted CAN-IDs
In a self-defined CAN-ID scheme, use of the following CAN-IDs are restric
a CAN-ID by any configurable communication object.
CAN-ID (hex)Used by COB
0NMT
1–7FReserved
101–180Reserved
581–5FFDefault TSDO
601–67FDefault RSDO
6E0–6FFReserved
701–77FNMT Error Control
780–7FFReserved
4.6.2 Error Register
The object 1001H provides error information. The CANopen device maps internal errors into this
object. It is a part of an emergency object.
ted and shall not be used as
Tab. 4-13:
Restricted CAN-IDs
Fig. 4-2: Structure of the error register
The Generic error bit will be set as long the EMCY error code is bigger than 00FF
4.6.12).
The Error Register can be cleared by clearing the pre-defined error field in object 1003
section 4.6.3).
All of these bits can be set by the emergency message transmission command in the Command Interface. (Refer to section 5.2.)
4.6.3 Pre-defined error field
This object provides the errors that occurred on the module and were signaled via the emergency
object.
● Sub-index 00
The sub-index 00
deleted by writing 0
● Sub-index 01
List of the last 15 EMCY errors sent by ME3CAN1-L. Sub-index 01
and sub-index 0F
H
: Number of errors
H
displays the number of errors that are recorded. The entire history will be
H
to this sub-index. Values other than 0H are not allowed.
H
–0FH: Standard error fields
H
contains the oldest message. Refer to section 8.2.1 for error code description.
H
(refer to section
H
. (Refer to next
H
contains the newest message
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 19
Page 86
FunctionsCommunication Profile Area
C
Client
Request
Confirmation
Server
Indication
Response
PDO producer
Request
Inhibit time
PDO consumers
Indication
Request
Process data
0 < L 울8
Process data: L bytes of application data
Indication
Indication
4.6.4 SDO
A Service Data Object (SDO) provides a direct access to the object entries of a CANopen device's
Object Dictionary. These object entries may contain data of any size and data type. SDO is used to
transfer multiple data sets from a client to a server and vice versa. The client controls which data set
is to be transferred via a multiplexer (index and sub-index of the Object Dictionary). By using the Command Interface (CIF), it is possible to make an SDO access to other CANopen devices or to the
ME3CAN1-L itself. No configuration is needed in the Object Dictionary.
For details of the Command Interface, please refer to chapter 5.
Fig. 4-3: D
ta transfer using SDOs
a
4.6.5 RPDO / TPDO
Real-time data transfer is performed by the Process Data Objects (PDO). The transfer is performed
with no protocol overhead.
PDOs correspond to objects in the Object Dictionary and provide the interface to the application
objects. Data type and mapping of application objects into a PDO is determined by a corresponding
default PDO mapping structure within the Object Dictionary. The variable mapping of PDO and the
mapping of application objects into a PDO may be transmitted to a CANopen device during the configuration process by applying the SDO services to the corresponding objects of the Object
Dictionary.
The PDO communication parameter describes the communication capabilities of the PDO.
The PDO mapping parameter contains information about the contents of the PDO.
4 – 20
Fig. 4-4: Transfer of PDOs
MITSUBISHI ELECTRI
Page 87
Communication Profile AreaFunctions
Bit 31
11-bit CAN-ID
Bit 30 ... Bit 11Bit 10 ... Bit 0
0
H
Vali d
With the Parameter "transmission type", two transmission modes are configurable:
– Synchronous transmission
– Event-driven transmission
H
bit 31).
meter:
Use the following way to change the PDO communication or mapping para
● Set the PDO to not valid (communication parameter sub-index 01
● Set the communication parameters.
● Set the mapping parameters.
H
–Set 00
– Modify the mapping at sub-indexes 01
– Enable the mapping by setting the number of mapped object
● Set the PDO to valid (communication parameter sub-index 01
to the sub-index 00H.
H
to 08H.
s to the sub-index 00H.
H
bit 31).
For unneeded data in an RPDO, a dummy mapping entry can be made to the data type definition
indexes to make the RPDO length fit the length of the TPDO accordingly.
For data type definitions indexes,
Object 1400
H
to 14FF
H
refer to section 4.5.
● Sub-index 01H: RPDO COB-ID
Fig. 4-5:
Bit allocation for sub-index 01
H
: RPDO COB-ID
Bit/ItemDescription
Vali d
11-bit CAN-ID
● Sub-index 02
Value ( hex)Description
00–F0
F1–FDReserved
FEEvent-driven (Function Mode 405)
Bit = 0: Valid
Bit = 1: Invalid
11-bit CAN-ID of the CAN base frame.
Refer to section 4.6.1.
H
: RPDO transmission type
Synchronous
Received PDO data will be processed after the next SYNC message, independent from the transmission rate specified by the transmission type.
Tab. 4-14:
Description for sub-index 01
Tab. 4-15: Description for sub-index 02H: RPDO transmission type
H
: RPDO COB-ID
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 21
Page 88
FunctionsCommunication Profile Area
C
Bit 31 ... Bit 16
Length
Bit 15 ... Bit 8Bit 7 ... Bit 0
Sub-indexIndex
Bit 31
11-bit CAN-ID
Bit 30Bit 10 ... Bit 0
0
H
Vali dRTR
Bit 29 ... Bit 11
Object 1600H to 17FF
H
● Sub-index 01H–08H: RPDO mapping parameter
The default mapping is for unsigned integer 16 bit objects (Refer to section 3.5.19).
Fig. 4-6:
Bit allocation for sub-index 01
H
–08H: RPDO
mapping parameter
Bit/ItemDescription
IndexIndex of the mapped object
Sub-indexSub-index of the mapped object
LengthLength of the mapped object (unit: bit)
Tab. 4-16:
Description for sub-index 01
mapping parameter
H
–08H: RPDO
Example To map the first unsigned 16-bit data of RPDO1 to Un\G10000, set Index 1600H Sub-index 01H to
A5800110
This stands for Object Dictionary Index A580
H
.
H
, Sub-index 01H and a data size of 16 bit.
Object 1800
H
to 18FF
H
● Sub-index 01H: TPDO COB-ID
Fig. 4-7:
Bit/ItemDescription
11-bit CAN-ID
Bit allocation for sub-index 01H: TPDO COB-ID
Vali d
RTR
Bit = 0: Valid
Bit = 1: Invalid
Bit = 0: Remote transmission Request
(RTR) allowed
Bit = 1: Remote transmission Request
(RTR) not allowed
This bit is constantly set to "1" in the
ME3CAN1-L.
11-bit CAN-ID of the CAN base frame.
Refer to section 4.6.1.
Tab. 4-17:
Description for sub-index 01
H
: TPDO COB-ID
4 – 22
MITSUBISHI ELECTRI
Page 89
Communication Profile AreaFunctions
Bit 31 ... Bit 16
Length
Bit 15 ... Bit 8Bit 7 ... Bit 0
Sub-indexIndex
● Sub-index 02H: TPDO transmission type
Valu e (hex)Description
00
01Synchronous (cyclic every SYNC)
02Synchronous (cyclic every 2nd SYNC)
03Synchronous (cyclic every 3rd SYNC)
:
:
F0Synchronous (cyclic every 240th SYNC)
F1–FDReserved
FEEvent-driven (function mode 405)
Synchronous (acyclic)
The PDO will be transmitted after occurrence of the SYNC but acyclic (not periodically), only if an
event occurred before the SYNC.
:
:
Tab. 4-18: Description for sub-index 02H: TPDO transmission type
● Sub-index 03
H
: TPDO inhibit time
This object configures the minimum time between two PDO transmissions. This is used only for
the event-driven transmission. PDO transmission
request by Yn1 will be dismissed during this
time. Unit of this value is 100 μs (ME3CAN1-L counting resolution: 1 ms). Set this to 0 to disable
the inhibit time.
● Sub-index 05
H
: TPDO event timer
If the event timer elapses and no event-driven transmission is sent during that time, a message
with the current value of the Objec
t Dictionary will be sent. Unit of this value is ms. Set this to 0
to disable the event timer.
NOTEIf the inhibit time is active, no PDO will be transmitted. Refer to fig. 4-12 and fig. 4-13.
Object 1A00
to 1BFF
H
H
● Sub-index 01H–08H: TPDO mapping parameter
The default mapping is for unsigned integer 16 bit objects (Refer to section 3.5.19).
Fig. 4-8:
Bit allocation for sub-index 01
H
mapping parameter
–08H: RPDO
Bit/ItemDescription
IndexIndex of the mapped object
Sub-indexSub-index of the mapped object
LengthLength of the mapped object (unit: bit)
Tab. 4-19:
Description for sub-index 01
mapping parameter
H
–08H: RPDO
Example To map unsigned 16-bit data of Un\G10000 to the first 16 bit of TPDO 1, set index 1A00H sub-index
01
H
to A1000110H.
H
This stands for Object Dictionary index A100
, sub-index 01H and a data size of 16-bit.
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 23
Page 90
FunctionsCommunication Profile Area
C
Object Dictionary
Buffer memory data
Data exchange request (Yn1)
TPDO 1 Inhibit time
TPDO 1 Event time
CAN Bus TPDO 1
0001
H
5374
H
2102
H
3528
H
0001
H
0000
H
5374
H
2102
H
3528
H
5374
H
2102
H
3528
H
0001
H
Object Dictionary
Buffer memory data
Data exchange request (Yn1)
TPDO 1 Inhibit time
TPDO 1 Event time
CAN Bus TPDO 1
0001
H
5374
H
2102
H
3528
H
0001
H
0000
H
5374
H
2102
H
3528
H
2102
H
3528
H
0001
H
Relation between buffer memory, data exchange control, inhibit time and event timer
The following cases show the relation between buffer memory data of the Transmit Process Data, data
exchange control (Yn1), PDO inhibit time, PDO event timer and CAN bus data in NMT state Operational for event-driven PDO's.
NOTEThe event and inhibit timer are started every time when PDO transmission is started.
● Case 1: Inhibit time = 0, Event time = 0
Fig. 4-9:
Relationships for inhibit time and event time = 0
If the data exchange request is triggered by Yn1 and the data in the buffer memory is different to
the data in the Object Dictionary, the buffer memory data will be copied to the Object Dictionary.
Then a PDO will be created and sent to the CAN bus.
If the data are the same, no PDO will be sent even if the data exchange is tr
iggered by Yn1.
● Case 2: Inhibit time > 0, Event time = 0
4 – 24
Fig. 4-10:
Relationships for inhibit time > 0 and event time = 0
The behavior is the same as for case 1, but with the following condition added:
– A PDO will only be sent if the inhibit time is not active and the data ex
change is requested.
MITSUBISHI ELECTRI
Page 91
Communication Profile AreaFunctions
Object Dictionary
Buffer memory data
Data exchange request (Yn1)
TPDO 1 Inhibit time
TPDO 1 Event time
CAN Bus TPDO 1
0001
H
2102
H
3528
H
0001
H
0000
H
2102
H
3528
H
2102H3528
H
0001
H
0001H2102
H
3528
H
Object Dictionary
Buffer memory data
Data exchange request (Yn1)
TPDO 1 Inhibit time
TPDO 1 Event time
CAN Bus TPDO 1
0001
H
2102
H
3528
H
0001
H
0000
H
2102
H
3528
H
2102
H
3528
H
0001
H
5374
H
5374
H
5374
H
● Case 3: Inhibit time = 0, Event time > 0
Fig. 4-11:
Relationships for inhibit time = 0 and event time > 0
The behavior is the same as for case 1, but with the following condition added:
– A PDO will also be sent whenever the event timer elapses,
even if the data is the same.
● Case 4: Inhibit time > 0, Event time > 0, Inhibit time < Event time
Fig. 4-12:
Relationships for inhibit time > 0, event time > 0 and inhibit time < event time
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 25
The behavior is the same as for case 1, but with the following conditions added:
– A PDO will only be sent if the inhibit time is not active and the data ex
– A PDO will also be sent whenever the event timer elapses.
change is requested.
Page 92
FunctionsCommunication Profile Area
C
Object Dictionary
Buffer memory data
Data exchange request (Yn1)
TPDO 1 Inhibit time
TPDO 1 Event time
CAN Bus TPDO 1
0001
H
3528
H
0001
H
0000
H
3528
H
3528
H
3528
H
0001
H
5374
H
5374
H
5374
H
SYNC producer
Request
SYNC consumers
Indication
0 byte
Indication
Indication
SYNC Object
SYNC triggered PDO Objects
Communication cycle period
Time
● Case 5: Inhibit time > 0, Event time > 0, Inhibit time > Event time
Fig. 4-13:
The behavior is the same as for case 4. This case is to illustrate how the timing will be if the inhibit
time is longer than the event time.
4.6.6 SYNC
The SYNC producer broadcasts the synchronization object periodically. The SYNC message provides
the basic network synchronization mechanism. The time period between SYNC messages is specified
by the standard parameter communication cycle period. There may be a time jitter in transmission by
the SYNC producer corresponding approximately to the latency from some other message being
transmitted just before the SYNC.
Relationships for inhibit time > 0, event time > 0 and inhibit time > event time
4 – 26
Fig. 4-14: Transfer of a SYNC message
MITSUBISHI ELECTRI
Page 93
Communication Profile AreaFunctions
Bit 31
11-bit CAN-ID
Bit 30Bit 10 ... Bit 0
0
H
Xgen.
Bit 29 ... Bit 11
Object 1005H: COB-ID SYNC message
In order to guarantee timely access to the network, the SYNC is gi
Fig. 4-15: Bit allocation for object 1005
Bit/ItemDescription
XDo not care
Bit = 0: Don't generate SYNC message
Bit = 1: Generate SYNC message
gen.
11-bit CAN-ID
NOTES:
앫 The device needs to be active NMT master to produce SYNC messages.
앫 Before activating SYNC generation, the commun
11-bit CAN-ID of the CAN base frame.
Refer to sec
tion 4.6.1.
H
: COB-ID SYNC message
ication cycle period has to be set up.
Tab. 4-20: Description for object 1005H: COB-ID SYNC message
H
Object 1006
: Communication cycle period
ven a very high priority CAN-ID.
H
The object 1006
provides the communication cycle period. This period defines the SYNC interval.
The 32 bit value is given in μs units. The ME3CAN1-L counting resolution is 1 ms, values smaller than
1 ms will set internally to 1 ms, values starting from 1 ms will be divided by 1000. The value 0 disables
the SYNC producing. The module needs to be active NMT Master to produce SYNC messages.
Setting range: 0 to 4, 294, 967, 295
For details about NMT master refer to section 4.8.5.
4.6.7 Node guarding
This protocol is used to detect remote errors in the network. Each NMT slave serves one response message for the node guarding protocol.
The NMT master polls each NMT guarding slave at regular time intervals. This time-interval is called
the guard time and may be different for each NMT slave. The response of the NMT slave contains the
NMT state of that NMT slave. The node lifetime is given by guard time multiplied by lifetime factor. The
node lifetime may be different for each NMT slave. If the NMT slave has not been polled during its lifetime, a remote node error is indicated through the NMT service life guarding event. A remote node
error is indicated through the NMT service node guarding event if:
– the NMT master does not receive the confirmation af
– the response of the NMT guarding slave state does not match the expected state,
– the NMT guarding slave did not receive the NMT master R
H
.
100D
ter the R
TR within the node life time,
TR polling for time set in 100CH and
If a remote error occurred previously but the errors in the guarding protocol have disappeared, it will
be indicated that the remote error has been resolved through the NMT service node guarding event
and the NMT service life guarding event.
If Heartbeat is activated, the Node guarding settings will be ignored.
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 27
Page 94
FunctionsCommunication Profile Area
C
NMT Master
Request
1F81
H
: Retry factor
NMT slave
Indication
COB-ID = 1792 + Node-ID
t
Response
s: NMT slave state
4= Stopped
5 = Operational
127 = Pre-operational
t: Toggle Bit
Confirmation
Request
Confirmation
s
ts
Indication
Response
1F81
H
: Guard time
100D
H
: Life time factor
100C
H
: Guard time
Fig. 4-16: Node guarding
NOTENode guarding produces a high bus load. It is recommended to use heartbeat instead.
Object 100CH: guard time (slave setting)
The 16 bit guard time in units of ms is the time limit for which the response must be sent. The value 0
disables life guarding.
t 100D
Objec
The 8 bit life time factor value multiplied by the guard time gi
H
: life time factor (slave setting)
ves the life time for which the NMT Mas-
ter has to send the guarding request. The value 0 disables life guarding.
Both Objects have to be set to activate Node guarding. The order in which Guard time and Life time
factor are set does not matter.
Object 1F81
For the NMT slave assignment, please refer to sect
The heartbeat protocol defines an error control service without a request. A hear tbeat producer transmits a heartbeat message cyclically. One or more heartbeat consumer receives the indication. The
relationship between producer and consumer is configurable via the Object Dictionary. The heartbeat consumer guards the reception of the heartbeat within the heartbeat consumer time. If the
heartbeat is not received within the heartbeat consumer time a heartbeat event will be generated.
If the ME3CAN1-L is configured as Flying Master, the heartbeat producing and consuming is automatically activated (refer to section 4.8.10).
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 29
Fig. 4-17: Heartbeat
NOTEHeartbeat produces a high bus load, but only half that of node guarding.
Object 1016
The consumer heartbeat time object indicates the expect
H
, Sub-index 01H–7FH: Consumer heartbeat time
ed heartbeat cycle times. Monitoring of the
heartbeat producer starts after reception of the first heartbeat. The consumer heartbeat time should
be higher than the corresponding producer heartbeat time. Before reception of the first heartbeat,
the status of the heartbeat producer is unknown.
Fig. 4-18:
Bit allocation for sub-index 01
heartbeat time
If the heartbeat time is 0 or the node-ID is 0 or greater than 127, the corresponding object entry is not
used.
The unit of heartbeat time is ms.
Object 1017
The unit of 16 bit producer heartbeat time is ms. The value 0 disables the producer heartbeat.
H
: Producer heartbeat time
H
–0FH: Consumer
Page 96
FunctionsCommunication Profile Area
C
TIME producer
Request
TIME consumers
Indication
Time stamp
Indication
Indication
Bit 31
11-bit CAN-ID
Bit 30Bit 10 ... Bit 0
0
H
consumeproduce
Bit 29 ... Bit 11
4.6.9 TIME
The TIME producer broadcasts the time stamp object. This TIME provides the simple network clock.
The time stamp contains the time of day, which is represented by a 48 bit sequence. These sequences
represent the time in milliseconds after midnight (28 bits) and the number of days since 1984-01-01
(16 bits). Only one time stamp producer is allowed in the Network.
The time and the date have to be configured by setting Un\G51 to Un\G57 (clock data).
In order to guarantee timely access to the network, the TIME is given a very high priority CAN-ID.
CANopen devices that operate a local clock may use the TIME object to adjust their own time base
to that of the time stamp object producer.
The consuming and producing setting can be directly changed at Un\G50 (refer to section 3.5.11).
In case of time overflow (time later than 31st December 2079 23:59.59), the time returns to 1st January
2000 00:00:00. Buffer memory display for year will be 00 to 99 in all cases.
NOTEFor TIME consuming, a received time stamp before 1st January 2000 0:00.00 is set to 1st January
2000 00:00:00.
Fig. 4-19: Tim
e stampi ng
Object 1012H: COB-ID time stamp object
Fig. 4-20: Bit allocation for object 1012H: COB-ID time stamp object
Bit/ItemDescription
consume
produce
11-bit CAN-ID11-bit CAN-ID of the CAN base frame. (Refer to section 4.6.1)
Bit = 0: Do not consume TIME messages
Bit = 1: Consume TIME messages
Bit = 0: Do not produce TIME messages
Bit = 1: Produce TIME messages
NOTE:
앫 The device needs to be active NMT master to produce TIME messages.
Tab. 4-21: Description for object 1012H: COB-ID time stamp object
4 – 30
MITSUBISHI ELECTRI
Page 97
Communication Profile AreaFunctions
Restore default
parameter command
Reset command
Factor y defaul t
parameter valid
4.6.10 Store parameters
To store all parameters to the non-volatile memory, write SDO 65766173H (ISO8859 string code:
"save") to Object Index 1010
H
, sub-index 01H or use the store command in the CIF (command inter-
face, refer to section 3.5.18). After each power-up or restart, the saved parameters will be valid.
NOTEThe store parameter command is not necessary for CDCF files stored on Object 1F22H.
On read access, the ME3CAN1-L gives back information about its storage functionality:
BitDescription
0Constant 1: Device does save parameter on command.
1Constant 0: Device does not save parameter without user request.
2–31Reserved
Tab. 4-22: Storage functionality information
4.6.11 Restore default parameters
NOTES
To restore factory default parameters, write SDO 64616F6CH (ISO8859 code: daol ("load")) to Object
Index 1011
H
, sub-index 01H. The stored parameters are then overwritten to factory default settings.
Fig. 4-21:
Restore procedure
Do not make a store parameter command before executing the reset command. Otherwise the
factory default parameters will be overwritten with the previous settings.
H
CDCF files stored on Object 1F22
will be also cleared and will be cleared directly before the
restart command.
On read access, the ME3CAN1-L gives back information about its restoring functionality:
BitDescription
0Constant 1: Device does restore factory default parameters on command.
1–31Reserved
Tab. 4-23: Restoring functionality information
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 31
Page 98
FunctionsCommunication Profile Area
C
EMCY producer
Request
EMCY consumers
Indication
0 ... 1
Indication
Indication
Inhibit time
Request
23 ... 7
eec
ermsef
Bit 31
11-bit CAN-ID
Bit 30 ... Bit 11Bit 10 ... Bit 0
0
H
Vali d
4.6.12 EMCY
Emergency objects are triggered by the occurrence of a CANopen device internal error. An emergency object is transmitted only once per "error event." No further emergency objects are transmitted
as long as no new errors occur on a CANopen device. Zero or more emergency consumers may
receive the emergency object.
The received EMCY Messages will be displayed in Un\G750 to Un\G859 (refer to section 3.5.17). A
transmission of EMCY Messages is possible over the CIF (command interface, refer to section 3.5.18).
Fig. 4-22: EMCY Message
eec:Emergency error code (2 Byte) (Refer to section 3.5.17)
er:Error register (1 Byte)(refer to object 1001
msef: Manufacturer-specific error code (5 Byte)
H
Object 1014
: COB-ID EMCY
Fig. 4-23:
Bit allocation for object 1014
Bit/ItemDescription
Vali d
11-bit CAN-ID
Bit = 0: EMCY producing is valid
Bit = 1: EMCY producing is invalid
11-bit CAN-ID of the CAN base frame.
Refer to section 4.6.1.
Tab. 4-24:
Description for object 1014
For the resulting COB-ID, refer to section 4.6.1.
H
in section 4.6.2)
H
: COB-ID EMCY
H
: COB-ID EMCY
NOTEThe setting of the CAN-ID is fixed in the ME3CAN1-L and cannot be changed.
H
Object 1015
: Inhibit time EMCY
This object configures the minimum time between two EMCY messages. The unit of the 16 bit value
is 100 μs. The value 0 disables the inhibit time.
The ME3CAN1-L counting resolution is 1ms
starting from 1ms will be divided by 1000.
4 – 32
, values smaller than 1 ms will set internally to 1ms, values
This object configures the COB-IDs for the EMCY objects that the module is consuming. The sub
refers to the related node-ID.
Fig. 4-24:
H
,
H
, sub-index 01H–7F
Bit/ItemDescription
Bit = 0: EMCY consuming of remote
Vali d
11-bit CAN-ID
Bit = 1: EMCY consuming of remote
11-bit CAN-ID of the CAN base frame.
Refer to section 4.6.1.
Node is valid
Node is not valid
Bit allocation for object 1028
sub-index 01
H
–7F
H
Tab. 4-25:
Description for object 1028
For the resulting COB-ID, refer to section 4.6.1.
-index
H
MELSEC-L Series – CANopen Module ME3CAN1-L4 – 33
Page 100
FunctionsError Behavior
C
4.7 Error Behavior
If the ME3CAN1-L detects a failure during NMT state Operational it will automatically change to NMT
state Pre-operational by default. Alternatively the ME3CAN1-L can be configured to change to the
NMT state Stopped or remain in the current NMT state.
The following failures can be detected:
● Bus-OFF conditions of the CAN interf
ace
● Only as NMT Slave:
Life guarding event with the state 'occ
–
urred' and the reason 'time out'
– Heartbeat event with state 'occurred' and the reason 'time out'
● PL
C RUN
STOP: If the setting value is 01H, the ME3CAN1-L will change into Pre-operational but
can be set again to Operational when the PLC is in STOP.
H
With the setting value 00
or 02H, the ME3CAN1-L cannot set into Operational as long as the PLC
is in STOP.
Severe CANopen device errors also may be caused by CANopen device internal failures.
Object 1029
Value ( hex)Description
H
, Sub-index 01H: Error behavior object
00Change to NMT state Pre-operational (only if currently in NMT state Operational)
01
02Change to NMT state Stopped
03–FENot used
No change of the NMT state
Tab. 4-26: Error class values
PLC RUN STOP: In case setting value 01H the ME3CAN1-L will change into Pre-operational but can be set again to Operational also when the PLC is in STOP.
4 – 34
MITSUBISHI ELECTRI
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.