0% found this document useful (0 votes)
53 views

Somachine PLC Training: Rezky Nova Sonny

This document provides an overview of PLC training using Somachine software. It discusses the basic components of a PLC, including the TM241 series logic controller architecture. It also covers basic PLC wiring for digital and relay outputs as well as transistor outputs. The document reviews the Somachine software, including its capabilities to program PLCs, HMIs, drives and motion controllers. It provides instructions on installing the Somachine software and creating a first project, including adding a PLC device and mapping I/O variables.

Uploaded by

Ifaldi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Somachine PLC Training: Rezky Nova Sonny

This document provides an overview of PLC training using Somachine software. It discusses the basic components of a PLC, including the TM241 series logic controller architecture. It also covers basic PLC wiring for digital and relay outputs as well as transistor outputs. The document reviews the Somachine software, including its capabilities to program PLCs, HMIs, drives and motion controllers. It provides instructions on installing the Somachine software and creating a first project, including adding a PLC device and mapping I/O variables.

Uploaded by

Ifaldi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 66

Somachine PLC Training

Rezky Nova Sonny


Your Goal ! 1 More about PLC

2 More about Somachine

3 PLC Addressing & Specification

4 Basic Logic & Function

5 Basic Arithmetic

6 Offline & Online Simulation

7 Debugging & Project Management

8 Licensing
Basic Knowledge
Programmable Logic Controller

VS

PLC DCS
Page 3
Basic Knowledge
PLC TM241 Series

Prog. Language Embedded I/O Embedded Comm. Real Time Clock


Ladder, ST, FBD, SFC Regular I/O, Fast I/O, Ethernet, Serial, USB,
Relay & Transistor Out. CANOpen

DC or AC Supply Run / Stop Storage Memory


SD card for recipe & RAM & Non volatile
Data Logging memory

Page 4
Basic Knowledge
PLC TM241 Series

TM241 Logic Controller Architecture :


A. TM4 expansion module (3 Maximum)
B. TM3/TM2 expansion module (7 Maximum)
C. Logic Controller

Page 5
Basic Knowledge
PLC TM241 Series

General components :
1. Run/Stop Switch 9. Power terminal
2. SD card slot 10. Ethernet port
3. Battery slot 11. Status LED
4. Cartridge slot 12. TM4 connector
5. I/O LED 13. Serial 1 terminal
6. USB Mini B 14. Serial 2 terminal
7. Clip lock din rail 15. Input terminal
8. Output terminal 16. TM2/TM3 connector

Page 6
Basic Knowledge
Label Function Type Color Status
PLC TM241 Series
On
PWR Power Green
Off
On
Flashing
RUN Machine status Green
1 flash
Off
System LED Cartridge LED I/O LED On
Flashing
ERR Error Red
1 single flash
3 flashes
I/O I/O error Red On

SD SD card access Green On


On
BAT Battery Red
Flashing
On
SL1 Serial line 1 Green
Off
On
SL2 Serial line 2 Green
Off
On
TM4 Error on TM4 bus Red
Off
On
3 flashes
ETH Ethernet port status Green 4 flashes
5 flashes
6 flashes

Page 7
Basic Knowledge
PLC TM241 Series

Connecting your PC to
PLC is by using USB Mini-
B or Ethernet Cable.

Page 8
Basic Knowledge
PLC TM241 Series
Digital Input Wiring
A. Sink wiring (positive logic)
B. Source Wiring (negative logic)

Page 9
Basic Knowledge
PLC TM241 Series
Relay Output Wiring
1. Common
2. Add diode / RC for life time

Page 10
Basic Knowledge
PLC TM241 Series

Transistor Output Source Wiring


1. The V1+, V2+ and V3+
terminals are not connected
internally.
2. The V1–, V2– and V3–
terminals are not connected
internally.

Page 11
Basic Knowledge
PLC TM241 Series

Transistor Output Sink Wiring


1. The V1+, V2+ and V3+
terminals are not connected
internally.
2. The V1–, V2– and V3–
terminals are not connected
internally.

Page 12
Finish Your Software
Installation !

Step 1 Install Virtual Clone Drive


Step 2 Extract Somachine .zip files
Step 3 Mount Somachine.iso file using Virtual clone
Step 4 Install Somachine
Basic Knowledge
Somachine Software

SoMachine is a professional, efficient and open Original Equipment Manufacturers (OEM) software solution
that aides you in the developing, configuring and commissioning of the entire machine in a single
environment (including logic, motor control, HMI and related network automation functions).

Page 14
Basic Knowledge
Somachine Software

What you can program with Somachine Software ?

PLC HMI Drive controller Motion controllers


• Modicon TM238 • Magelis XBTGT • Altivar ATV IMC • Modicon LMC058
• Modicon TM241 • Magelis XBTGK • Modicon LMC078
• Modicon TM251 • Magelis XBTGH
• Modicon TM258 • Magelis GTO
• Magelis GTU
• Magelis STU
• Magelis STO

Page 15
Basic Knowledge
Somachine Software

Hardware and software requirement to run Somachine Software

Page 16
Basic Knowledge
Somachine Software

• Creating your first project

Create new project by clicking new project button


Page 17
Basic Knowledge
Somachine Software

• Creating your first project

1. Click Empty Project


2. Submit name of your project
1
3. Click OK

2
3

Page 18
Basic Knowledge
Somachine Software

• Creating your first project


Follow the workflow scheme, add
device by clicking Configuration
button.

Page 19
Basic Knowledge
Somachine Software

• Creating your first project


1. Select device for your project
2. Click add button
3. Wait until your device move to
right side, then click OK
2

3
Page 20
Basic Knowledge
Somachine Software

• Creating your first project


1. Go to device tree then
click on Digital Input
2. Expand channel IDW0
3. Click reset mapping
4 2 4. Give variable input name

3
Page 21
Basic Knowledge
Somachine Software

• Creating your first project


1. Go to device tree then click
on Digital Output
2. Expand channel QW0
3. Click reset mapping
4 2 4. Give variable output name

3
Page 22
Basic Knowledge
Somachine Software

• Creating your first project 1. Click plus button on


application menu tree
2. Click POU

Page 23
Basic Knowledge
Somachine Software

• Creating your first project


1. Give name of your program
2. Select type Program on radio
button
1
3. Select your program language
2 4. Click Add

3
4
Page 24
Basic Knowledge
Somachine Software

• Creating your first project


1. Click plus icon on MAST
2. Click Program call

Page 25
Basic Knowledge
Somachine Software

• Creating your first project


1. Click browse icon
2. Select your program
2 3. Click OK

3
Page 26
Basic Knowledge
Somachine Software

• Creating your first project


1. Make sure your program is
added.
2. Click Add
1 3. Then your program will be
appear on MAST task

2
Page 27
Basic Knowledge
Somachine Software

• Creating your first project


1. Go to application tree then
2 click on your program
(MainProgram)
3 2. Insert coil and contact
1 3. Give variable name on coil
and contact

Page 28
Basic Knowledge
Somachine Software

• Creating your first project


1. Go to menu strip and click
1 build then build all
2. Make sure program don’t
have any error at the
message left bottom side

Page 29
Basic Knowledge
Somachine Software

• Creating your first project


1. Go to menu strip and click
online then simulation
2. Make sure Simulation sign
appear at the right bottom
side
3. To turn of simulation mode,
just click simulation on
Online menu strip again
1

2
Page 30
Basic Knowledge
Somachine Software

• Creating your first project


1. To connect click Login icon
2. Click Yes
3. To disconnect click Logout
1 3
icon

Page 31
Basic Knowledge
Somachine Software

• Creating your first project


1. Click Start icon
2. Click yes button
3. Make sure indicator STOP
1 changes to RUN

Page 32
Basic Knowledge
Somachine Software

• Creating your first project


1. Click on contact to give a value
2. Press CTRL+F7 to write value
into contact

Page 33
Basic Knowledge
Somachine Software

• Uploading your first project

1. Make sure PLC are ON


2. Connect PLC using USB mini
3. Click on Detected PLC
4. Navigate to device tree then click
MyController after that click red
blink LED to make sure
connection, PLC will blinking
4
3

Page 34
Basic Knowledge
Somachine Software

• Uploading your first project


1. Go to menu strip and click
online then uncheck
simulation
2. Make sure Simulation sign
not appear at the right
bottom side

2
Page 35
Basic Knowledge
Somachine Software

• Uploading your first project


1. Go to menu strip and click online
1 then click Login or press Alt+F8
key

Page 36
Basic Knowledge
Somachine Software

• Uploading your first project


1. Popup message will appear press
1 Alt+F key to confirm

Page 37
Basic Knowledge
Somachine Software

• Uploading your first project


1. Popup message will shown for
several times, press YES button

Page 38
Basic Knowledge
Somachine Software

• Uploading your first project


1. Click run button to start PLC
1

Page 39
Basic Knowledge
Somachine Software

• Uploading your first project

1 1. Make sure Run indicator is ON


2. Navigate to Online menu strip,
then click “Source download to
2 connected device”

1
Page 40
Basic Knowledge
Somachine Software

• Uploading your first project


1. Wait until process transferring
project complete, then your PLC is
ready.

Page 41
Basic Knowledge
Somachine Software

• Downloading project from PLC


1. Open somachine software
1 2. Navigate to “Connect Controller”
menu
3. Click update when you can’t see
2 4 your device
4. Select your device
5. After that click “Select”

3 5

Page 42
Basic Knowledge
Somachine Software

• Downloading project from PLC


1. Select Upload project from
1 controller
2. Click continue

Page 43
Basic Knowledge
Somachine Software

• Downloading project from PLC

1
1. Navigate where you want to save the project, then click Extract.
2. New window somachine software will be openned

Page 44
Basic Logic & Function
Standard Data Types

Kind of data type that supported on Somachine.

Page 45
Basic Logic & Function
Standard Data Types

Kind of data type memory addressing that supported on Somachine.

Page 46
Basic Logic & Function
Logic Gates

Page 47
Basic Logic & Function
Interlocking

Page 48
Basic Logic & Function
Timer Function Block

Page 49
Basic Logic & Function
Counter Function Block

Page 50
Basic Logic & Function
Quiz & Conclusion
This method is commonly used to protect the hands of operators
operating dangerous machines. The machine only starts when both
activate buttons are pressed almost simultaneously (within 0.2
seconds).

This has to be done with the left and right hand.


The machine stops immediately if one of the buttons is released.
Create a control program to repeatedly actuate the press cylinder
while still complying with the safety requirements detailed above.
Two keyboard keys will be used as starter buttons for checking the
solution.

2 Push button
1 Valve

Page 51
Basic Logic & Function
Quiz & Conclusion

Using start button to start motor conveyor, sensor will detect product
after 5 product conveyor will stop, and can start after button start
pressed.

1 Push button
1 Motor

Page 52
Basic Logic & Function
Arithmetic Function Block

Page 53
Project Version Management

To start manage your program versioning automatically by click on below icon

Page 54
Project Version Management

Go to Project Versioning tab menu and


then:
1 1. Turn on automatic project versioning
2
2. Change versioning mode
3. And click OK after that

Page 55
Project Version Management

1
2 To see your last project version :
1. Click on Somachine Icon at the top
left side
2. Click to Versions tab menu
3 3. Click last project and the detail
version project on the right side

Page 56
Somachine Licensing

1 2 To register your Somachine software


follow this instruction :
1. Click on Somachine icon at the top
left side
3 2. Expand Help Center Menu
3. Click Registration menu
4. The online help web page will be
open, follow detail information on
that online help page.

Page 57
Somachine Firmware

• Upgrading / Downgrading Firmware

1. Open somachine software


2. Navigate to Maintenance menu tab, then click Controller Assistant

Page 58
Somachine Firmware

• Upgrading / Downgrading Firmware


1. Click Update Firmware

Page 59
Somachine Firmware

• Upgrading / Downgrading Firmware


1. Select your PLC
2. Select your firmware
3. Click Next

1
2
3

Page 60
Somachine Firmware

• Upgrading / Downgrading Firmware 1. Select DHCP on communication


setting
2. Click next

Page 61
Somachine Firmware

• Upgrading / Downgrading Firmware


1. Click write on PLC

Page 62
Somachine Firmware

• Upgrading / Downgrading Firmware


1. Double click on your device
2. Select your communication mode
3. Click connect

2 3

Page 63
Somachine Firmware

• Upgrading / Downgrading Firmware


1. Message box will be appear , press
Alt+F to confirm

Page 64
Somachine Firmware

• Upgrading / Downgrading Firmware 1. Wait until progess done, click OK


2. Restart power of your PLC

Page 65

You might also like