SlideShare a Scribd company logo
Standard Program

Chapter 1 Latched Output Program
Write the program which latches the output.
CAUTION
Click the ladder program area to enable operation. The title bar will turn blue.
Key operations are not enabled when the title bar and menu items are grayed out.
1 Click [Edit Ladder] button on the remote control.
2 Input the program below.
Place the cursor inside the ladder diagram on the left hand side and begin to input data.

These symbols can be input by pressing the following keys.

3 Let's convert the program you have written into a form the PLC can recognize.
Press the [F4] key.
The background of the program is changed from gray to white.
The program has been converted.
If the program has not been input properly, a conversion error message is displayed.
Standard Program

Chapter 2 Program Transfer to PLC
Write the program you have created to the PLC.
An actual PLC is not required because a virtual FX Series PLC is already in your computer.
1 The program can be written to the PLC by selecting "Online" - "Write to PLC" in the ladder program area.
2 When the message 'Write completed. The simulation will start.' is displayed, select [OK].

The PLC starts to operate.
The 'RUN' indicator lamp should be lit in the I/O monitor display area of the PLC.
If it is not lit, the PLC is not operating.
Next, let's simulate the program you have created.
Go to the next step.
Standard Program

Chapter 3 Confirm Latched Output Program Operation
Can you light the operation status lamp using your program?
1 When [PB1] (X20) on the operation panel is pressed, the lamp Operating (Y0) is lit.
2 Even when [PB1] (X20) on the operation panel is released, the lamp remains lit.
The output ON status is held by the lamp Operating (Y0) contact.
In this operation, the output is 'latched'. (Latched output program)
3 In this program, if the [SW1] (X24) is set ON, the lamp cannot be lit no matter if the drive input [PB1] (X20) is
ON or not. Switch [SW1] (X24) takes precedence over [PB1] (X20).
Let's suppose [PB1] (X20) was a start input and [SW1] (X24) was a stop input.
Can you think of some practical situations where this could be useful?
4 In the program below, the operating lamp comes ON when [PB1] (X20) is pressed and will remain lit if [PB1]
(X20) is released.
If [SW1] (X24) is turned ON, the lamp will be turned OFF.
However, if both [PB1] (X20) and [SW1] (X24) are ON, the lamp Operating (Y0) will be lit.
The input [PB1] (X20) takes precedence over [SW1] (X24).

This is an extra programming exercise.
When confirming the operation, start to program after selecting "Project" - "New project".

Did you get it right?
No Yes (Go to the next step.)
Standard Program

Chapter 4 SET/RST Instruction
Another method for holding the output status is the 'SET instruction'.
Let's use the 'SET instruction'.
1 Click [Edit Ladder] button on the remote control.
2 Select "Project" - "New".
3 Let's input a program.
1) Place the cursor inside the ladder diagram on the left hand side.

Press the [F5] key.
In the 'Enter comment' dialog box, enter X20 and click [OK].
Press the [F8] key.
In the 'Enter symbol' dialog box, enter SET Y0 and click [OK].
(Use a space between SET and Y0)
2) Write the program on the second line.
Press the [F5] key.
In the 'Enter symbol' dialog box, enter X21 and click [OK].
Press the [F8] key.
In the 'Enter symbol' dialog box, enter RST Y0 and click [OK].
(Use a space between RST and Y0)
The program should look like this. Make sure that yours is correct.

4 Let's convert the program you have written into a form the PLC can recognize.
Press the [F4] key.
5 The program can be written to the PLC by selecting "Online" - "Write to PLC".

Did you get it right?
No Yes (Go to the next step.)
Standard Program

Chapter 5 Confirm SET/RST Instruction Operation
Let's light a lamp.
1 When [PB1] (X20) on the operation panel is pressed, the lamp Operating (Y0) is lit.
2 When [PB1] (X20) on the operation panel is released, the lamp remains lit.
The output status of the lamp Operating (Y0) is held by the SET instruction.
3 When [PB2] (X20) on the operation panel is pressed, the lamp Operating (Y0) is reset and extinguished.
In PLC programs, SET/RST instructions are often used to hold output status or results.
This instruction can be used any number of times for the same output so that the problem caused by dual coils can
be solved.

Did you get it right?
No Yes (Go to the next step.)

More Related Content

Similar to Bd1 erdenejargal b 2

plc slc 500.pptx
plc slc 500.pptxplc slc 500.pptx
plc slc 500.pptx
MUST
 
Auto CAD - 2D
Auto CAD - 2DAuto CAD - 2D
Auto CAD - 2D
Vj NiroSh
 
Autocad Training Delhi
Autocad Training DelhiAutocad Training Delhi
Autocad Training Delhi
lalit_625
 
ABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docxABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docx
ransayo
 
105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studioTùng Nguyễn
 
04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihmconfidencial
 
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
Marcio Miranda
 
04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm
Marcio Miranda
 
الهندسه الميكانيكيه الشامله hvac 3
الهندسه  الميكانيكيه   الشامله    hvac 3الهندسه  الميكانيكيه   الشامله    hvac 3
الهندسه الميكانيكيه الشامله hvac 3
maymohamed29
 
PLC Programming.pdf
PLC Programming.pdfPLC Programming.pdf
PLC Programming.pdf
VishwanathanRishanth
 
10 vat300 e_c4-1_rev_b
10 vat300 e_c4-1_rev_b10 vat300 e_c4-1_rev_b
10 vat300 e_c4-1_rev_b
Dien Ha The
 
All you need to know about adding an sw7
All you need to know about adding an sw7All you need to know about adding an sw7
All you need to know about adding an sw7
webmtn
 
debugging-for-functional-consultants_compress.pdf
debugging-for-functional-consultants_compress.pdfdebugging-for-functional-consultants_compress.pdf
debugging-for-functional-consultants_compress.pdf
ssuserd257fb
 
05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)
confidencial
 
05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)
Marcio Miranda
 
Sap ecatt - mass data uploading
Sap ecatt -  mass data uploadingSap ecatt -  mass data uploading
Sap ecatt - mass data uploading
Capgemini
 

Similar to Bd1 erdenejargal b 2 (20)

Bd1 gantumur mon e 1
Bd1 gantumur mon e 1Bd1 gantumur mon e 1
Bd1 gantumur mon e 1
 
Manual LogixPro
Manual LogixProManual LogixPro
Manual LogixPro
 
plc slc 500.pptx
plc slc 500.pptxplc slc 500.pptx
plc slc 500.pptx
 
Auto CAD - 2D
Auto CAD - 2DAuto CAD - 2D
Auto CAD - 2D
 
Autocad Training Delhi
Autocad Training DelhiAutocad Training Delhi
Autocad Training Delhi
 
ABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docxABC Consolidated Financial InfoABC Companys current financial inf.docx
ABC Consolidated Financial InfoABC Companys current financial inf.docx
 
105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio105996292 electrical-control-automation-studio
105996292 electrical-control-automation-studio
 
04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm
 
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
04 conex%c3%a3o%20 logo!%200ba7%20com%20ihm
 
04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm04 conexão logo! 0 ba7 com ihm
04 conexão logo! 0 ba7 com ihm
 
Plc trilogi5 purdue
Plc trilogi5 purduePlc trilogi5 purdue
Plc trilogi5 purdue
 
الهندسه الميكانيكيه الشامله hvac 3
الهندسه  الميكانيكيه   الشامله    hvac 3الهندسه  الميكانيكيه   الشامله    hvac 3
الهندسه الميكانيكيه الشامله hvac 3
 
PLC Programming.pdf
PLC Programming.pdfPLC Programming.pdf
PLC Programming.pdf
 
10 vat300 e_c4-1_rev_b
10 vat300 e_c4-1_rev_b10 vat300 e_c4-1_rev_b
10 vat300 e_c4-1_rev_b
 
All you need to know about adding an sw7
All you need to know about adding an sw7All you need to know about adding an sw7
All you need to know about adding an sw7
 
Lab
LabLab
Lab
 
debugging-for-functional-consultants_compress.pdf
debugging-for-functional-consultants_compress.pdfdebugging-for-functional-consultants_compress.pdf
debugging-for-functional-consultants_compress.pdf
 
05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)
 
05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)05 conexão logo! 0 ba7 com ihm (wincc flexible)
05 conexão logo! 0 ba7 com ihm (wincc flexible)
 
Sap ecatt - mass data uploading
Sap ecatt -  mass data uploadingSap ecatt -  mass data uploading
Sap ecatt - mass data uploading
 

More from Enhmandah Hemeelee (20)

Lab 02
Lab 02Lab 02
Lab 02
 
Bd 01
Bd 01Bd 01
Bd 01
 
Semenar 02
Semenar 02Semenar 02
Semenar 02
 
Li354 plc lects 2011a
Li354  plc lects 2011aLi354  plc lects 2011a
Li354 plc lects 2011a
 
111 120
111 120111 120
111 120
 
101 110
101 110101 110
101 110
 
91 100
91 10091 100
91 100
 
81 90
81 9081 90
81 90
 
61 70
61 7061 70
61 70
 
51 60
51 6051 60
51 60
 
41 50
41 5041 50
41 50
 
31 40
31 4031 40
31 40
 
21 30
21 3021 30
21 30
 
11 20
11 2011 20
11 20
 
1 10
1 101 10
1 10
 
1 10
1 101 10
1 10
 
Bd1 munkhbayar
Bd1 munkhbayarBd1 munkhbayar
Bd1 munkhbayar
 
Bd1 gantumur eng e 1
Bd1 gantumur eng e 1Bd1 gantumur eng e 1
Bd1 gantumur eng e 1
 
Orchuulga
OrchuulgaOrchuulga
Orchuulga
 
бие даалт 1,2 бат өлзий
бие даалт 1,2  бат өлзийбие даалт 1,2  бат өлзий
бие даалт 1,2 бат өлзий
 

Recently uploaded

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 

Recently uploaded (20)

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 

Bd1 erdenejargal b 2

  • 1. Standard Program Chapter 1 Latched Output Program Write the program which latches the output. CAUTION Click the ladder program area to enable operation. The title bar will turn blue. Key operations are not enabled when the title bar and menu items are grayed out. 1 Click [Edit Ladder] button on the remote control. 2 Input the program below. Place the cursor inside the ladder diagram on the left hand side and begin to input data. These symbols can be input by pressing the following keys. 3 Let's convert the program you have written into a form the PLC can recognize. Press the [F4] key. The background of the program is changed from gray to white. The program has been converted. If the program has not been input properly, a conversion error message is displayed.
  • 2. Standard Program Chapter 2 Program Transfer to PLC Write the program you have created to the PLC. An actual PLC is not required because a virtual FX Series PLC is already in your computer. 1 The program can be written to the PLC by selecting "Online" - "Write to PLC" in the ladder program area. 2 When the message 'Write completed. The simulation will start.' is displayed, select [OK]. The PLC starts to operate. The 'RUN' indicator lamp should be lit in the I/O monitor display area of the PLC. If it is not lit, the PLC is not operating. Next, let's simulate the program you have created. Go to the next step.
  • 3. Standard Program Chapter 3 Confirm Latched Output Program Operation Can you light the operation status lamp using your program? 1 When [PB1] (X20) on the operation panel is pressed, the lamp Operating (Y0) is lit. 2 Even when [PB1] (X20) on the operation panel is released, the lamp remains lit. The output ON status is held by the lamp Operating (Y0) contact. In this operation, the output is 'latched'. (Latched output program) 3 In this program, if the [SW1] (X24) is set ON, the lamp cannot be lit no matter if the drive input [PB1] (X20) is ON or not. Switch [SW1] (X24) takes precedence over [PB1] (X20). Let's suppose [PB1] (X20) was a start input and [SW1] (X24) was a stop input. Can you think of some practical situations where this could be useful? 4 In the program below, the operating lamp comes ON when [PB1] (X20) is pressed and will remain lit if [PB1] (X20) is released. If [SW1] (X24) is turned ON, the lamp will be turned OFF. However, if both [PB1] (X20) and [SW1] (X24) are ON, the lamp Operating (Y0) will be lit. The input [PB1] (X20) takes precedence over [SW1] (X24). This is an extra programming exercise. When confirming the operation, start to program after selecting "Project" - "New project". Did you get it right? No Yes (Go to the next step.)
  • 4. Standard Program Chapter 4 SET/RST Instruction Another method for holding the output status is the 'SET instruction'. Let's use the 'SET instruction'. 1 Click [Edit Ladder] button on the remote control. 2 Select "Project" - "New". 3 Let's input a program. 1) Place the cursor inside the ladder diagram on the left hand side. Press the [F5] key. In the 'Enter comment' dialog box, enter X20 and click [OK]. Press the [F8] key. In the 'Enter symbol' dialog box, enter SET Y0 and click [OK]. (Use a space between SET and Y0) 2) Write the program on the second line. Press the [F5] key. In the 'Enter symbol' dialog box, enter X21 and click [OK]. Press the [F8] key. In the 'Enter symbol' dialog box, enter RST Y0 and click [OK]. (Use a space between RST and Y0) The program should look like this. Make sure that yours is correct. 4 Let's convert the program you have written into a form the PLC can recognize. Press the [F4] key. 5 The program can be written to the PLC by selecting "Online" - "Write to PLC". Did you get it right? No Yes (Go to the next step.)
  • 5. Standard Program Chapter 5 Confirm SET/RST Instruction Operation Let's light a lamp. 1 When [PB1] (X20) on the operation panel is pressed, the lamp Operating (Y0) is lit. 2 When [PB1] (X20) on the operation panel is released, the lamp remains lit. The output status of the lamp Operating (Y0) is held by the SET instruction. 3 When [PB2] (X20) on the operation panel is pressed, the lamp Operating (Y0) is reset and extinguished. In PLC programs, SET/RST instructions are often used to hold output status or results. This instruction can be used any number of times for the same output so that the problem caused by dual coils can be solved. Did you get it right? No Yes (Go to the next step.)