Commissioning
In the following, the steps required for controlling the inverter via CANopen are described.
Parameterization required
1.
Set the CANopen node address.
2.
Set the CANopen baud rate.
3.
Optional: Configure inverter as "mini master".
–
Required if the initialization of the CANopen network and the associated status change
from "Pre-Operational" to "Operational" is not effected by a higher-level host system.
from "Pre-Operational" to "Operational" is not effected by a higher-level host system.
–
4.
Optional: Change the response of the inverter to the triggering of the RPDO time monitoring.
5.
Save parameter settings: 0x2022:003 (P700.03) = "On / start = [1]".
6.
Switch the inverter off and then on again in order that the changed communication settings can get effective.
7.
Program the master so that the following SDO messages are sent to the inverter:
1.
0x2631:037 (P400.37) = 1 (activate network control)
2.
0x2860:001 (P201.01) = 5 (set network as standard setpoint source)
3.
PDO mapping and configuration of the process data objects RPDO1 and TPDO1 (see the sections "RPDO1 mapping modification" and "TPDO1 mapping modification").
8.
Control inverter via RPDO1 (and evaluate the current status via TPDO1).
–
For assignment of the control word and setpoint selection, see section "RPDO1 mapping modification".
–
For assignment of the status word and actual value output, see section "TPDO1 mapping modification".
–
Acceleration 0x2917 (P220.00) and deceleration 0x2918 (P221.00) can be set/changed via SDO messages.
In the default setting, the digital input DI1 is assigned the "Run" function. If the network control is activated, this function serves as "start enable" for start commands via network. Hence, the digital input DI1 must be set to the HIGH level in order that the motor can be started via the network.
RPDO1 mapping modification
The RPDO1 is used to control the inverter.
Changing the identifier (COB-ID) and the PDO mapping only allows the following procedure:
1.
Set RPDO1 to "invalid": Set bit 31 in the identifier 0x1400:001 (P540.01) = 1.
2.
Set RPDO1 mapping to "invalid": set 0x1600:000 = 0
3.
Map NetWordIN1 data word 0x4008:001 (P590.01) to RPDO1: set 0x1600:001 = 0x40080110.
4.
Network setpoint frequency (0.1) 0x400B:003 (P592.03) to RPDO1: set 0x1600:002 = 0x400B0310.
5.
Set RPDO1 mapping to "valid" again: set 0x1600:000 = 2 (number of mapped parameters).
6.
Optional: Set timeout time for monitoring the data reception in 0x1400:005 (P540.05) in [ms].
–
Default setting: 100 ms
7.
Change identifier for RPDO1 (optional) and set RPDO1 to "valid" again: Write the new identifier into 0x1400:001 (P540.01) and simultaneously set bit 31 to "0".
–
Default setting: 0x200 + node address (hex)
–
Example: Node address = 10 (0xA) and basic identifier = default setting:
Identifier to be written into = 0x200 + 0xA = 0x20A = (0b0011 0000 1010)
Identifier to be written into = 0x200 + 0xA = 0x20A = (0b0011 0000 1010)
|
Bit
|
Default setting
|
For details and configuration, see
|
|
0
|
Not active (reserve)
|
|
|
1
|
Not active (reserve)
|
|
|
2
|
Activate quick stop
|
|
|
3
|
Not active (reserve)
|
|
|
4
|
Run forward (CW)
|
|
|
5
|
Activate preset (bit 0)
|
|
|
6
|
Activate preset (bit 1)
|
|
|
7
|
Reset error
|
|
|
8
|
Not active (reserve)
|
|
|
9
|
Activate DC braking
|
|
|
10
|
Not active (reserve)
|
|
|
11
|
Not active (reserve)
|
|
|
12
|
Reverse rotational direction
|
|
|
13
|
Not active (reserve)
|
|
|
14
|
Not active (reserve)
|
|
|
15
|
Not active (reserve)
|
Specifying the frequency setpoint (byte 3+4 of the RPDO1)
–
The specification is made unsigned (independent of the direction of rotation) as integer in the resolution [0.1 Hz].
–
The direction of rotation is defined in the default setting via bit 12 of the NetWordIN1 data word.
–
Example: 456 = 45.6 Hz
TPDO1 mapping modification
The TPDO1 is used for the output of status information and the actual frequency value.
Changing the identifier (COB-ID) and the PDO mapping only allows the following procedure:
1.
Set TPDO1 to "invalid": Set bit 31 in the identifier 0x1800:001 (P550.01) = 1.
2.
Set TPDO1 mapping to "invalid": set 0x1A00:000 = 0.
3.
Map NetWordOUT1 data word 0x400A:001 (P591.01) to TPDO1: set 0x1A00:001 = 0x400A0110.
4.
Frequency (0.1) 0x400B:003 (P592.03) to TPDO1: set 0x1A00:002 = 0x400C0310.
5.
Set TPDO1 mapping to "valid" again: set 0x1A00:000 = 2 (number of mapped parameters).
6.
Option: Transmission type in 0x1800:002 (P550.02) Event timer in 0x1800:005 (P550.05).
–
Default setting: Cyclic transmission every 20 ms.
7.
Change identifier for TPDO1 (optional) and set TPDO1 to "valid" again: Write the new identifier into 0x1800:001 (P550.01) and simultaneously set bit 31 to "0".
–
Default setting: 0x40000180 + node address (hex)
–
Example: Node address = = 10 (0xA) and TPDO1 basic identifier = default setting:
Identifier to be written into 0x1800:001 (P550.01) = 0x40000180 + 0xA = 0x4000018A (0b0100 0000 0000 0000 0000 0001 1000 1010)
Identifier to be written into 0x1800:001 (P550.01) = 0x40000180 + 0xA = 0x4000018A (0b0100 0000 0000 0000 0000 0001 1000 1010)
|
Bit
|
Default setting
|
For details and configuration, see
|
|
0
|
Ready for operation
|
|
|
1
|
Not connected
|
|
|
2
|
Operation enabled
|
|
|
3
|
Fault active
|
|
|
4
|
Not connected
|
|
|
5
|
Quick stop active
|
|
|
6
|
Running
|
|
|
7
|
Device warning active
|
|
|
8
|
Not connected
|
|
|
9
|
Not connected
|
|
|
10
|
Setpoint speed reached
|
|
|
11
|
Current limit reached
|
|
|
12
|
Actual speed = 0
|
|
|
13
|
Rotational direction reversed
|
|
|
14
|
Release holding brake
|
|
|
15
|
Inverter disabled (safety)
|
Output of the actual frequency value (byte 3+4 of the TPDO1)
–
The output is made unsigned (independent of the direction of rotation) as integer in the resolution [0.1 Hz].
–
An active reversal is displayed via bit 13 of the NetWordOUT1 data word.
–
Example: 456 = 45.6 Hz
Restart of the communication
A restart of communication is required after changes of the interface configuration (e. g. node address and baud rate) in order that the changed settings become effective.
For restarting communication, there are two options:
a.
Switch inverter off and on again.
b.
0x2300 (P508.00) Set = "Restart with current values [1]".
The following parameter can be used to restart or stop communication.
Optionally it is also possible to reset all communication parameters to the default status.
Parameter
Node address setting