omron — 3.2.9. Debugging by Simulation

Precautions for Correct Use  When the SIM_SetActPos, SIM_SetActVel, or SIM_SetActTrq simulation instruction is used, the Simulink cannot pass the value to the Act.Pos (actual current position), Act.Vel (actual current velocity), or Act.Trq (actual current torque) variable of the Sysmac Studio. Do not use the SIM_SetActPos, SIM_SetActVel, or SIM_SetActTrq simulation instruction to pass the value from the Simulink to the Act.Pos (actual current position), Act.Vel (actual current velocity), or Act.Trq (actual current torque) variable  When the SIM_SetVelocity simulation instruction is used for the encoder axis, the of the Sysmac Studio.

Simulink cannot pass the value to the Act.Vel (current velocity ) variable of the Sysmac Studio. Do not use the SIM_SetVelocity simulation instruction to pass the value from the  Unit conversion of the axis variables (i.e., calculation based on the electronic gear Simulink to the Act.Vel (current velocity) variable of the Sysmac Studio. ratio setting) uses the command pulse count per motor rotation and work travel distance per motor rotation at the simulation start of the Simulink.

Therefore, if the command pulse count per motor rotation or work travel distance per motor rotation is changed by the MC_WriteAxisParameter instruction during the simulation, the variable and the Act.Vel (actual current velocity) variable of the Sysmac Studio. Simulink cannot correctly write the values to the Act.Pos (actual current position) Do not change the command pulse count per motor rotation or work travel distance per motor rotation when the values are written from the Simulink to the Act.Pos (actual current position) variable and the Act.Vel (actual current velocity) variable of the Sysmac Studio. Additional Information  Refer to the Sysmac Studio Version 1 Operation Manual (Cat.

No. W504) for the program debugging procedures.  The control performance is changed by changing the gain and other parameters of the Servo Drive. Refer to 4.2. Sysmac IO Device Support Models and Simulation 46 Target Functions for the simulation target functions. 9 Select Stop from the Simulation Menu of the Sysmac Studio.