Share this

M Series Tutorial (Basic Tutorial) | How to Create Your First Project

2026-04-06 06:27:04 · · #1

Let's embark on a new chapter in M-series controller programming education, starting with the first lesson in the basic course—how to create your first project!

01

Preliminary preparations

Software: Sysctrl Studio (available from Chuanhe Automation Academy)

Hardware: M-series controller (this tutorial uses the M511S as an example)

02

New construction projects

Step 1: Double-click to open the software Sysctrl Studio, select 【File】→【New】. Users can modify the project name and set the project storage location, and select the corresponding controller.

Step 2: Create a new POU

By default, a Programming Object (PG) POU is created in a new project and added to the task, ready for immediate programming. If you create a new PG, you need to manually add it to the task.

Step 3: Add program calls

Click on [Task] → [Add Call] → Select the program you want to add.

Step 4: Write a simple program

(1) Create a new variable “switch”, click “normally open contact” in the menu bar above, and bind it to the variable “switch”.

(2) Create a new variable “Indicator Light”, click the “···” to the right of 【Assign to】 to assign the variable to the address of QX0.0. According to the address mapping relationship, %QX0.0~%QX0.7 correspond to output points 0~7, and %QX1.0~%QX1.7 correspond to output points 10~17.

(3) Click on the coil in the top menu bar and bind it to the variable "indicator".

Step 5: After the program is written, click "Check Program and Configuration" in the menu bar to check for any problems with the program syntax and system configuration.

03

Communication settings

Step 1: Taking the M511S as an example, it supports communication via both Ethernet and USB.

(1) Ethernet connection

(2) USB connection

Step 2: Select [Controller] → [Communication Settings] from the menu bar.

(1) Ethernet connection

① In the pop-up window, select Ethernet for 【Type】 and select the connected Ethernet network card for 【Adapter】.

② Click on [Broadcast Search]. The system will scan for corresponding controllers, with the default IP address being [192.168.1.1]. Select the corresponding controller and click [OK].

Notice:

When connecting to the host computer via Ethernet, the computer and controller must be on the same network segment. For example, if the controller has the default IP address (192.168.1.1), the computer's IP address needs to be changed to 192.168.1.x (x can be any number between 0 and 255, but cannot be the same as the fourth segment of the controller's IP address).

PC IP settings: Open Ethernet settings, click [Properties] → [Internet Protocol Version 4 (TCP/IPv4)] → Modify the host computer IP address.

(2) USB connection

In the pop-up window, select USB virtual serial port for [Type] and the corresponding connection port for [COM port].

04

Download program

Step 1: After successful compilation, the program can be downloaded to the controller, as shown in the figure.

Step 2: Select "Yes" in the pop-up window, and the controller will enter the running state.

Step 3: Monitoring

Select "Online" in the menu bar to enter monitoring mode. You can view the controller status at the bottom of the project.

Step 4: Write the variable values

Confirm that the controller is running before writing values ​​to the variables. There are two ways to write variable values.

(1) In the variable declaration area, fill in the value to be written in the "Prepare value" field, right-click and select "Write value" or "Write all".

(2) In the program writing area, right-click the corresponding element and select Modify Value.

Step 5: After setting the variable "Switch" to TRUE, the value of the variable "Indicator Light" will change to TRUE, and you will see the first light on the controller's output point light up.

Read next

CATDOLL 136CM Tami (Customer Photos)

Height: 136cm Weight: 23.3kg Shoulder Width: 31cm Bust/Waist/Hip: 60/54/68cm Oral Depth: 3-5cm Vaginal Depth: 3-15cm An...

Articles 2026-02-22
CATDOLL Dolly Hard Silicone Head

CATDOLL Dolly Hard Silicone Head

Articles
2026-02-22
CATDOLL 146CM Tami TPE

CATDOLL 146CM Tami TPE

Articles
2026-02-22