59
Copyright (C) 2020-2021 Reserved by ASIX Electronics Corporation, All Rights Reserved.
AX58200
Motor Control User Guide
Reference Design User Guide
7-3 Link Reference
In this application, the PLC reference PDs as below table.
AX58200_MotorControl PD Link
PLC Side Variable
Slave Side Object
Description
MAIN.arrAms_NetId
N/A
Input 6bytes AMS Netld of Master
Golbal_Value_Axes[0].nStateWord
Statusword
Input 2bytes, CiA402 object for CSP mode
Golbal_Value_Axes[0].nPosActVal
Position actual value
Input 4bytes, CiA402 object for CSP mode
Golbal_Value_Axes[0].nCtrlWord
Controlword
Output 2bytes, CiA402 object for CSP mode
Golbal_Value_Axes[0].nTargetPos
Target velocity
Output 4bytes, CiA402 object for CSP mode
Table 7 - 1
7-4 Set DC Cycle Time
Before entering the DC mode, you need to set the system clock first. Please follow the steps below.
⚫
Step 1: Double click Real Time and set Real Time 1ms (the shortest task cycle time 1ms)
Figure 7 - 14
⚫
Step 2:
Click “
I/O Idle Task
” and set “
Cycle ticks
”
a 1ms
Figure 7 - 15