Softmotion: Driveinterface: Servostar
Softmotion: Driveinterface: Servostar
CONTENT
2 FEATURES 4
3 CAN-TRAFFIC 5
1.1 BusInterface
wParam1 Not used
wParam2 Not used
dwParam1 Not used
dwParam2 Not used
1.2 AxisGroup
wParam1 CAN channel No (typically 0)
wParam2 Baudrate in kBit (125, 250, 500, 1000)
wParam3 SYNC generator:
0: PLC generates SYNC (only possible if PLC is highly precise);
2: SYNC device generates SYNC (additional hardware needed)
wParam4 Not used
dwParam1 Reserved
dwParam2 Reserved
dwParam3 Not used
dwParam4 Reserved
* normally the drive should work with SYNCSRC 3 and FPGA 3, when controlled via CAN. Former
firmware versions had some problems when running in this mode. Then it could help to set these
values to 0.
2 Features
o RegulatorOn, DriveStart
o Detecting and acknowledging errors
o reading/writing SoftMotion and drive parameters (to access index 0xaabb subindex 0xcc
with length 0xdd in byte (only necessary for writing) use MC_Read/Write(Bool)Parameter with
parameter number -16#ddaabbcc)
o any gearing factors (dwRatioTechUnitsDenom/iRatioTechUnitsNum)
o linear/rotary axes
o drive internal homing (configure with object 0x6098 etc. or via ASCII commands
NREF/DREF)
o limit switches
o 32-Bit latching (only possible after homing): 1 channel; digital input must be defined
o configuration from file
o configuration from dialogs in PLC configuration
o controlling modes (SMC_SetControllerMode): position, velocity, current (switch regulator
off before switching them)
o supported SYNC generators (to be set in PLC Configuration, AxisGroup) : PLC, SYNC-
Device
3 CAN-Traffic
base load:
Telegram Data Bit length 125 250 500 1 MBit/s
bytes kBit/s kBit/s kBit/s
SYNC 0 47 0,376 ms 0,188 ms 0,094 ms 0,047
ms
SDO 8 111 0,888 ms 0,444 ms 0,222 ms 0,111
ms
overall 1,264 ms 0,632 ms 0,316 ms 0,158ms
per drive:
Telegram Data Bit 125 250 500 1
bytes length kBit/s kBit/s kBit/s MBit/s
Control word and operation mode 3 71 0,568 0,284 0,142 0,071
ms ms ms ms
SetPosition/SetVelocity/SetCurren 4 79 0,632 0,316 0,158 0,079
t ms ms ms ms
Status word and actual position 8 111 0,888 0,444 0,222 0,111
ms ms ms ms
optional: actual velocity 3 71 0,568 0,284 0,142 0,071
ms ms ms ms
overall (no actual velocity) 2,656 1,328 0,664 0,332
ms ms ms ms
overall (with actual velocity) 3,288 1,644 0,822 0,411
ms ms ms ms
With/Without receiving the actual velocity, and with one SDO reserve it is possible to control n drives:
Cycle time 125 250 500 1
[ms] kBit/s kBit/s kBit/s MBit/s
1 0/0 0/0 1/1 2/2
2 0/0 1/1 2/2 4/5
3 0/1 1/1 3/4 6/8
4 1/1 2/2 4/5 9/11
5 1/1 2/3 5/7 10/13
8 2/2 4/5 9/11 18/23