“Variables + FB Instances” folder in the Project Browser. After entering all the variables build the project changes.
Figure B-8: Elementary Variables for the Simulation
5. Under the Program folder in the project browser - > Tasks -> MAST -> Sections -> Right Click sections -> New Section
Figure B-9: Creating a new section screen, note the language used. 7. Click Tools -> Click Types Library Browser editor
8. Change library name to <Libset V13.0>
9. To search for certain section/characters type in FRONT of *
10. Add the correct function blocks by dragging them into the FBD grid, add Links (wires) to connect I/O
Figure B-10: Simulation FBD Layout
11. To add variables on a function block’s I/O double click the pin name then click the [...] 12. To add comments click on the [A…] on the upper toolbar
13. Build -> Build Changes (Note: You must be offline to build changes)
14. Select all Function Blocks with cursor -> Right click -> Initialize New Animation Table
Figure B-11: Example of Animation table results by forcing Voltage 1 & 2 values.
Making One Large Function Block
1. Going back to the Variables and FB Instances folder in the Project Browser, re-click on Elementary Variables and switch to the DFB Types tab
2. Create a new DFB Type and name it GAIN_VdB_ALARM. Hitting Enter, the Type should automatically fill in as <DFB> and expanding GAIN_VdB_ALARM should provide you with additional folders.
3. Fill in the <inputs>, <outputs>, and <private> variables as seen in table below.
a. NOTE: When creating Gain_Calc variable under <sections>, there will be a pop- up window with <FBD> set as language. Confirm by clicking OK
Figure B-12: DFB I/O variable list.
4. Under <sections> of DFB Types, double click on Gain_Calc. This will open up a new blank FBD schematic. Go back to Function Block Diagram of dB_Gain_Circuit, select entire circuit, and copy and paste into the new blank schematic.
5. Replace the (old) underlined variable names with the new I/O.
Figure B-13: FBD layout after copy and pasting the old schematic into the new blank schematic. Notice some variables are underlined because they are invalid.
Figure B-14: FBD schematic with new DFB I/O variables defined in Figure 1-12 6. Go back to original FBD circuit and right click on schematic -> FFB Input Assistant 7. For Input Name, select GAIN_dB_ALARM -> OK
8. Place GAIN_dB_ALARM function block on original schematic -> Build -> Build changes
Figure B-16: FBD schematic with new DFB placed. Note: you may place it anywhere, the block demonstrates the ability to compress the circuit into a larger block. 9. Under the “Derived FB Types” in the Project Browser, right-click GAIN_dB_ALARM
and select “Put in Library” -> select Custom Lib -> click Custom FAMILY -> OK -> OK
Figure B-17: Placing the DFB into a custom library saves the circuit for future use in other projects.
Appendix C. Bill of Materials
Appendix D. Scheduling
Figure D-1: Fall Quarter 2018 Gantt Chart
Figure D-2: Winter Quarter 2019 Gantt Chart
References:
[1] A. B. Gavali, S. A. Patil and A. R. Koli, "Technology-Based Learning system in
Programmable Logic Controller Education," 2016 IEEE Eighth International Conference on Technology for Education (T4E), Mumbai, 2016, pp. 264-265.
Description: Ways to teach a PLC course
[2]“ABL8REM24050.” [Online]. Available: https://www.schneider-
electric.us/en/product/ABL8REM24050/regulated-smps---1-or-2-phase---100..240-v-ac---24-v--- 5-a/. [Accessed: 08-Jan-2019].
Description: Company page describing who they are and what they do
[3] “About Siemens,” About Siemens - Company - Siemens Global Website. [Online]. Available: https://www.siemens.com/global/en/home/company/about.html. [Accessed: 19-Oct-2018].
Description: Company page describing what they do and who they are
[4] “About Us,” Discover Schneider Electric . [Online]. Available: https://www.schneider- electric.us/en/about-us/. [Accessed: 19-Oct-2018].
Description: Company page describing who they are and what they do
[5]“BMXAMI0410.” [Online]. Available: https://www.schneider-
electric.us/en/product/BMXAMI0410/analog-input-module-x80---4-inputs---high-speed/. [Accessed: 23-Apr-2019].
Description: Company page describing who they are and what they do
[6]“BMXAMO0410.” [Online]. Available: https://www.schneider-
electric.us/en/product/BMXAMO0410/isolated-analog-output-module-x80---4-outputs/. [Accessed: 25-Jan-2019].
Description: Product page
[7]“BMXCPS3500.” [Online]. Available: https://www.schneider-
electric.us/en/product/BMXCPS3500/power-supply-module-x80---100..240-v-ac---36-w/. [Accessed: 25-Mar-2019].
Description: Product page
[8]“BMXDDI1602.” [Online]. Available: https://www.schneider-
electric.us/en/product/BMXDDI1602/discrete-input-module-x80---16-inputs---24-v-dc-positive/. [Accessed: 16-Apr-2019].
Description: Product page
[9]“BMXDRA0805.” [Online]. Available: https://www.schneider-
electric.us/en/product/BMXDRA0805/discrete-output-module-x80---8-outputs---relay---24..240- v-ac/. [Accessed: 28-Mar-2019].
[10] “Course Description,” Course -- Catalog -- CSU, Chico. [Online]. Available:
http://catalog.csuchico.edu/viewer/course/display.aspx?cycle=11&subject=SMFG&number=386 . [Accessed: 19-Oct-2018].
Description: Description of PLC related course at Chico State
[11] “DIN Rail Enclosures,” Cbus Direct. [Online]. Available:
https://www.cbusdirect.co.uk/cbus-product-range/din-rail-enclosures/. [Accessed: 03-Apr-2019].
Description: Overview of how PLCs work
[12] “Extended Learning,” CSUSB. [Online]. Available: http://bulletin.csusb.edu/extended- learning/. [Accessed: 19-Oct-2018].
Description: Course description for PLC courses at San Bernardino State
[13] “FDT Group,” About us. [Online]. Available: https://fdtgroup.org/about/fdt-group/. [Accessed: 19-Oct-2018].
Description: International standard used by Automation industries
[14] “Fresno State,” Industrial Technology. [Online]. Available:
http://www.fresnostate.edu/catalog/subjects/industrial-technology/_source/index.html#courses.
[Accessed: 19-Oct-2018].
Description: Course description for PLC topics are Fresno State
[15]“HMIS5T.” [Online]. Available: https://www.schneider-electric.us/en/product/HMIS5T/stu- rear-module---dark-grey---width-118-mm---depth-40.1-mm/. [Accessed: 23-Apr-2019].
Description: Product page
[16]“HMIS85.” [Online]. Available: https://www.schneider-
electric.us/en/product/HMIS85/5in7-small-touchscreen-display-front-module-backlight-led- color-tft-lcd/. [Accessed: 15-Mar-2019].
Description: Product page
[17] “Is Digitization and IoT a New Thing? Not if you come from Industrial Automation,”
Schneider Electric Blog, 16-May-2018. [Online]. Available:
https://blog.schneider-electric.com/machine-and-process-management/2018/01/03/digitization- iot-new-thing-not-come-industrial-automation/. [Accessed: 19-Oct-2018].
Description: Picture of creator of the first PLC
[18] “Modicon M580 - ePac Controller - Ethernet Programmable Automation controller & Safety PLC,” Standard environment - Modicon M580 - ePac Controller - Ethernet Programmable Au. [Online].Available: https://www.schneider-electric.com/en/product-range/62098-modicon-m580- --epac-controller---ethernet-programmable-automation-controller-&-safety-plc/?parent-category- id=3900&parent-subcategory-id=3950. [Accessed: 19-Oct-2018].
[19] P. Pratumsuwan and W. Pongaen, "An embedded PLC development for teaching in
mechatronics education," 2011 6th IEEE Conference on Industrial Electronics and Applications, Beijing, 2011, pp. 1477-1481.
Description: PLC course description/requirements
[20] “Professional Development,” PLC and Soft Logic Controllers. [Online]. Available:
http://extension.fullerton.edu/ProfessionalDevelopment/Course/13093/1. [Accessed: 19-Oct- 2018].
Description: Description of PLC course at Fullerton State
[21]“P584040.” [Online]. Available: https://www.schneider-
electric.us/en/product/BMEP584040/processor-module-m580---level-4---remote/. [Accessed: 08- Apr-2019].
Description: Product page
[22] “PLC Hardware,” PLC Hardware - Industrial Automation & Network Equipment. [Online]. Available: https://www.plchardware.com/Products/SM-PPX;505-6504.aspx. [Accessed: 03-Apr- 2019].
Description: PLC Hardware Vendor
[23]“TCSESU053FN0.” [Online]. Available: https://www.schneider-
electric.us/en/product/TCSESU053FN0/ethernet-tcp-ip-switch---connexium---5-ports-for- copper/. [Accessed: 03-Apr-2019].
Description: Product page
[24]“Tyrone Goose neck Tablet Stand,” Amazon. [Online]. Available:
https://www.amazon.com/Tryone-Gooseneck-Nintendo-Samsung-Overall/dp/B01AUQ33LG. [Accessed: 23-May-2019].
Description: HMI stand
[25] “Technavio Announces Top Five Vendors in the Global Micro PLC Market from 2016 to 2020,” 02-May-2016. [Online]. Available:
https://www.businesswire.com/news/home/20160502005493/en/Technavio-Announces-Top- Vendors-Global-Micro-PLC. [Accessed: 19-Oct-2018].
Description: The five major market leaders in PLC analysis
[26] “The Types of PLCs,” Techwalla. [Online]. Available:
https://www.techwalla.com/articles/the-types-of-plcs. [Accessed: 19-Oct-2018].
Description: General overview of PLCs and how they work
[27] “What is a PLC?,” AMCI : Advanced Micro Controls Inc :: What is a PLC? [Online]. Available:
https://www.amci.com/industrial-automation-resources/plc-automation-tutorials/what-plc/.
[Accessed: 19-Oct-2018].
[28] “What is PLC? Programmable Logic Controller,” Unitronics. [Online]. Available:
https://unitronicsplc.com/what-is-plc-programmable-logic-controller/. [Accessed: 19-Oct-2018].