01) CP Training-STARDOM-LetsTryLD

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

STARDOM Technical Assistance

Let's try LD!

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
This lesson

 How to create and debug control application to


be executed on an FCN/FCJ.
 How to make an IEC program by Logic Designer.
 Starting Logic Designer
 Open project
 Save project
 Target Setting
 Creating logic
 Make
 Download
 Starting control application / Debugging

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.2
Install Logic Designer in PC

 Install Logic Designer in PC


 Key Code: stardom_evaluation

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.3
Logic Designer

Logic Designer
Logic Designer can be used to create and debug control applications.

- Programing Languages / IEC61131-3 Programming


•Function Blocks Diagrams (FBD)
•Ladder Diagrams (LD) Let’s try.
•Structured Text (ST)
•Sequence Function Charts (SFC)
•Instruction List (IL)

- Debugging Support
•Software Wiring Function
•Online Layout and Value Display
•Setting Breakpoints
•Logic Analyzer Function
•Watch Window

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.4
Let’s try ! Hands-On

System Configuration

create Logic Designer


Control
Application
debug

download

Control
Application
or
IP address
FCN FCJ 192.168.0.1

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.5
LD Hands-On

Program

ADD function
COUNTER = COUNTER + 1

Coil
A coil copies the state of the element on its left
to the element on its right without modification.

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.6
Open New Project of Logic Designer Hands-On

STARDOM_NPAS

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.7
Make Project Name Hands-On

Project File T1.mwt


T1.mwt

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.8
Set Target Setting Hands-On

Click
localhost

If using FCN-FCJ Simulator, key in “localhost”

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.9
Make Ladder Logic Hands-On

Click3

Click1
Click2
around here

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.10
Adding Variable 1/2 Hands-On

Add variable to variable


worksheet using the Variable
Properties dialog

Click

Double
Click

Variable Properties dialog


| Document Number | June 25, 2018 |
© Yokogawa Electric Corporation
Page.11
Adding Variable 2/2 Hands-On

Add variable to variable


worksheet using the Variable
Properties dialog

Click

Double
Click

Variable Properties dialog

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.12
Hands-On
Make (Compile and Link)

Click

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.13
Start “FCN-FCJ Simulator” Hands-On

Click

Click

Click

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.14
Start “FCN-FCJ Simulator” Hands-On

Without License for “FCN-FCJ Simulator”, we can use the Simulator for
1800 sec (30 mins)

Count down timer that


once it count up after 30
mins, simulator will stop

After simulator stop, you


can start simulator again
for another 30 mins
session

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.15
Hands-On
Download Procedure

Click4
Click1

Check!3
Click2

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.16
Confirm Download Hands-On

Click1

Click2

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.17
PLC Start & Debug mode ON Hands-On

Click

Click

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.18
Debug Hands-On

Blue is False

Double
Click

Click

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.19
Review this lesson

 How to create and debug control application


using Logic Designer.

 This program does not handle I/O access.


That’s why Resource Configurator is not used.

 Next Step
 Function
 Function Block
 Resource Configurator
 I/O access

| Document Number | June 25, 2018 |


© Yokogawa Electric Corporation
Page.20

You might also like