System bus (can) for lenze plc devices, Can system blocks – Lenze DDS System bus CAN for PLC User Manual

Page 115

Advertising
background image

System bus (CAN) for Lenze PLC devices

CAN system blocks

7.7

CAN_Synchronization (node number: 102)

7−27

L

PLC−Systembus EN 2.0

Configuration example: synchronisation via system bus (CAN)

When carrying out the commissioning, observe the following sequence:

Location

Step

Information

All devices

1.

Commission controller/PLC and system bus.

2.

Inhibit controller/PLC.

DDS

3.

Integrate CAN_Synchronization SB into the control configuration.

Slave devices

4.

Connect CAN_bSyncInsideWindow_b to a digital output.

5.

C1120 = 1

Synchronisation by sync telegram via system bus
active.

6.

C0366 = 1 (Lenze setting)

CAN sync response:
Slave devices respond to sync telegram.

Master

7.

Define order of the telegrams (identifiers):
1. Send new setpoint to all slaves
2. Send sync telegram
3. Receive response of all slaves

8.

Start communication / send sync telegrams.

Slave devices

9.

Read C0362 from the master.

Query cycle time of the sync telegram from the
master.

10.

Set C1121 in accordance with C0362 from the master.

Adjust interval of the sync telegrams to be
received to the cycle time of the master.

11.

Set C1123.

Set optimum size for the "time slot".

·

If the sync signal "jitters" heavily, increase
"time slot".

12.

Enable controller/PLC via the signal CAN_bSyncInsideWindow_b
applied to the digital output.

Monitor the synchronisation.

·

If CAN_bSyncInsideWindow_b = TRUE, enable
controller/PLC.

Configuration example: synchronisation via terminal

When carrying out the commissioning, observe the following sequence:

Location

Step

Information

All devices

1.

Commission controller/PLC and system bus.

2.

Inhibit controller/PLC.

DDS

3.

Integrate CAN_Synchronization SB into the control configuration.

Slave devices

4.

Connect CAN_bSyncInsideWindow_b to a digital output.

5.

Apply sync signal of the master to terminal.

9300 Servo PLC: terminal X5/E5
Drive PLC: terminal X3/I1
ECSxA: X6/DI1

Slave devices

6.

C1120 = 2

Synchronisation by sync signal via terminal active.

Slave devices

7.

C0366 = 1 (Lenze setting)

CAN sync response:
Slave devices respond to sync telegram.

Master

8.

Start communication, send sync telegrams.

Slave devices

9.

Read C0362 from the master.

Query cycle time of the sync signal from the
master.

10.

Set C1121 in accordance with C0362 from the master.

Adjust interval of the sync signals to be received
to the cycle time of the master.

11.

Set C1123.

Set optimum size for the "time slot".

·

If the sync signal "jitters" heavily, increase
"time slot".

12.

Enable controller/PLC via the signal CAN_bSyncInsideWindow_b
applied to the digital output.

Monitor the synchronisation.

·

If CAN_bSyncInsideWindow_b = TRUE, enable
controller/PLC.

Advertising