This is an example of controlling a linear guide on Simumatik by a program running on the Sysmac simulator. You can operate the linear guide with the joystick and buttons on Simumatik. Virtual environments make it easier to test human interaction. For details, please check this article (Japanese).
This project was built in the following environment.
Sysmac Studio | Ver. 1.61 |
Simumatik Launcher | Version 3.3.2, win32 |
Build it by following these steps.
Setting up Simumatik involves signing in to the Simumatik web platform and installing the software (Simumatik Launcher). Skip this if you are already using Simumatik.
To sign in to the imumatik Platform, access the following:
To install Simumatik Launcher, refer to the following:
https://docs.simumatik.com/launcher/
System uses the publicly available "Introduction to Motion Control System". Once the System is loaded, make the following changes:
The changed items are as follows.
Component | Property | Value |
---|---|---|
Inductive_sensor_IN4 | Z | 0.797m |
Linear_Driver_1 | Actual position variable | Drive1.ActualPosition |
Driver type | Omron_nexsocket | |
Encoder relation | 1000.0 | |
Setpoint variable | Drive1.SetPosition | |
Linear_Driver_2 | Actual position variable | |
Driver type | Omron_nexsocket | |
Setpoint variable | ||
Linear_motion_slide_encoder | Relation | 0.001 |
PB_NC_IN1 | Label visible | ✅ |
Label text | #Stop | |
PB_NO_IN0 | Label visible | ✅ |
Maintained | ✅ | |
Label text | #Servo on | |
PB_NO_IN2 | Label visible | ✅ |
Label text | #Move to Zero | |
PLC_16DIO_4AIO | Analog range | -4000.00 to 4000.00 |
Driver type | Omron_nexsocket | |
Var AI1 | AI1 | |
Var DI1 | DI1 | |
Var DI2 | DI2 | |
Var DO1 | DO1 | |
Var DO2 | DO2 | |
Voltage range | -10.00 to 10.00 | |
Potentionmeter | Initial value | 100.0 |
Open the project (Simumatik_Introduction_to_Motion_Control.smc2) in Sysmac Studio and run the simulator.
Once the Sysmac simulator is up, start emulation with Simumatik.
I recommend checking the hash value of the acquired Sysmac Studio project.
file | sha256 |
---|---|
Simumatik_Introduction_to_Motion_Control.scm2 | ba18491909424973d833a98ac611bd1dd10ee219f623771f5ccc8f3dddadb2ac |