Skip to content

Virtual linear guide operation with Simumatik and Sysmac Studio.

License

Notifications You must be signed in to change notification settings

kmu2030/Motion-control-on-Simumatik-with-Sysmac-Studio

Repository files navigation

WHAT IS THIS

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).

Linear guide operation with Sysmac simulator and Simumatik

Built environment

This project was built in the following environment.

Sysmac Studio Ver. 1.61
Simumatik Launcher Version 3.3.2, win32

How to use

Build it by following these steps.

1. git clone this repository or download the zip

2. Simumatik setup

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:

http://app.simumatik.com/

To install Simumatik Launcher, refer to the following:

https://docs.simumatik.com/launcher/

3. System setup

System uses the publicly available "Introduction to Motion Control System". Once the System is loaded, make the following changes:

System setup procedure

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

4. Running Sysmac simulator

Open the project (Simumatik_Introduction_to_Motion_Control.smc2) in Sysmac Studio and run the simulator.

5. Start Simumatik emulation

Once the Sysmac simulator is up, start emulation with Simumatik.

File hash

I recommend checking the hash value of the acquired Sysmac Studio project.

file sha256
Simumatik_Introduction_to_Motion_Control.scm2 ba18491909424973d833a98ac611bd1dd10ee219f623771f5ccc8f3dddadb2ac

About

Virtual linear guide operation with Simumatik and Sysmac Studio.

Topics

Resources

License

Stars

Watchers

Forks