Skip to main content

Posts

Showing posts from 2023

[Book Summary] Great World Religions: Islam—Professor John L Esposito

Rating: ★ ★ ★ ★ ★

[Book Summary] Driven to Distraction— Edward M. Hallowell M.D. and John J. Ratey M.D.

Rating: ★ ★ ★ ★ ★

[Book Summary] Authentic Happiness—Martin Seligman

Rating: ★ ★ ★ ★ ★

[Book Summary] Like Water: A Cultural History of Bruce Lee—Daryl Joji Maeda

Rating: ★ ★ ★ ★ ★

[Book Summary] Getting to Yes—Roger Fisher and William Ury

Rating: ★ ★ ★ ★ ★

[Book Summary] The 7 Habits of Highly Effective Families— Stephen R. Covey

Rating: ★ ★ ★ ★ ☆

[Book Summary] The Almanack of Naval Ravikant: A Guide to Wealth and Happiness—Eric Jorgenson

Rating: ★ ★ ★ ★ ★

「海外僑胞返國行使第16任總統副總統選舉權」專區

「海外僑胞返國行使第16任總統副總統選舉權」專區。

[Book Summary] How to Decide—Annie Duke

Rating: ★ ★ ★ ★ ☆

[Book Summary] Decolonizing Wealth:Indigenous Wisdom to Heal Divides and Restore Balance—Edgar Villanueva

Rating: ★ ★ ★ ★ ☆

[Book Summary] Getting Things Done—David Allen

Rating: ★ ★ ★ ★ ☆

[Book Summary] Predictably Irrational—Dan Ariely

Rating: ★ ★ ★ ★ ★

[Book Summary] The Rise and Fall of Alexandria—Justin Pollard

Rating: ★ ★ ★ ★ ☆

[Book Summary] The ADHD Advantage—Dale Archer, MD

Rating: ★ ★ ★ ★ ☆

[Book Summary] The 7 Habits of Highly Effective People—Stephen R. Covey

Rating: ★ ★ ★ ★ ★

[Book Summary] We Were Dreamers—Simu Liu

Rating: ★ ★ ★ ★ ★

[Book Summary] Quit—Annie Duke

Rating: ★ ★ ★ ★ ★

[Ubuntu] Notebook-4 安裝 TimeShift 備份軟體、fcitx 中文酷音輸入法及 mozc 日文輸入法、Tweaks、視窗縮放

前一陣子有點迷上玩 Asphalt 9,後來就改成使用 Ubuntu 22.04,沒有接觸就沒有玩的可能,不久便把這個興趣戒斷。 在調適 Ubuntu 22.04 的過程中遇到一些困難,所以乾脆寫這篇文章把所有的指令整理起來,哪天有需要用到的時候會方便一點。

[Book Summary] HONOR—Thrity Umrigar

Rating: ★ ★ ★ ★ ★

[多圖注意] 開速霸陸的本粉朝聖本田歷史中心,做密西根的校友拜訪有緣無份的過往

本次旅行重點—Honda Heritage Center

Application Note: How to Get Printer's Status to Allen-Bradley's PLC?

You can read this post on  LinkedIn  as well. Disclaimer: This article isn't sponsored by RealTime Automation, Zebra, or Rockwell Automation. This is an independent application note. Plus, there is no commission from links below. Introduction: Zebra printer seems to be quite popular in the industry. The Japanese grocery store Maruichi, the Vietnamese restaurant Pho Minh Ky, my ex (employer, not girlfriend), etc. However, it can be painful if you need to integrate a printer with an Allen-Bradley CompactLogix controller. If your printer only has light indicators but not an integrated display like ZD420/421, you'll have to look up the troubleshooting guide to figure out the meaning. (And yes, we don't like looking it up online if there is already an HMI around.) If you dig around on the Internet, you'll probably see an article on PLC.net that talks about opening sockets for communication. However, that can be tricky and time-consuming if you don't have sufficient IT kn

Application Note: How to Handle Unicode-formatted ASCII Object in EasyBuilder Pro (EBPro)?

You can read this post on  LinkedIn  as well. Introduction The support on string datatype in EBPro Macro falls short. I complained about it in my last article GetData()/SetData() and Error C45 in EasyBuilder Pro (EBPro) . When I contacted Maple Systems' technical support, they couldn't answer my question and played dead in hope that I would walk away. And I did, disappointedly... Luckily, the solution dawned on me last night. Now let's learn! Section 1: Limitations of String Datatype in EBPro Macro If you create an ASCII input object in EBPro, you can choose from Unicode or UTF-8 encoding. For Unicode, each word reads 2 bytes . In contrast, each word reads 1 byte for UTF-8. Section 2: The Problem with Extra Spacing in ASCII Objects If you limit your usage to very basic functions on HMI, you have nothing to worry about. However, if you write a Macro to play with these ASCII objects or read/write them to/from your PLC controller. You may run into a problem like this.

Application Note: GetData()/SetData() and Error C45 in EasyBuilder Pro (EBPro)

You can read this post on  LinkedIn  as well. Introduction: I started my PLC and HMI programming journey with Allen-Bradley products in 2020. Due to a career change, I landed in the Greater Boston Area in 2021 and launched an excursion to learn the Maple Systems HMI (and how powerful a Macro function can be). However, learning Macro isn't all that bright and shiny. I ran into a problem when using PLC tags (still an Allen-Bradley CompactLogix controller). When I compiled the Macro, it gave me a C45 error message saying "The tag can't be found." What? I SUCCESSFULLY imported every single tag already! That burning feeling brings me back to the objected-oriented programming class in 2013. I struggled and couldn't make any progress. Later, my colleague told me why that happened when he checked in with me. So here we go to learn what was the root cause! Section 1: Understanding the Controller and Program Tags For a 5000 series controller from Allen-Bradley, you use Logi

Application Note: 5069-SERIAL Communication through Generic ASCII and RS-485

You can read this post on  LinkedIn  as well. Introduction: The Allen-Bradley module 5069-SERIAL, released in 2018, offers enhanced communication capabilities for various protocols, including DH-485 and DF1, through a firmware update V2.012 in 2020. While the user manual lacks practical examples for sensor communication, this comprehensive application note aims to fill that gap. Specifically, we will focus on integrating the module with the Panasonic HL-G112 Laser Displacement Sensor. By following the outlined setup process, you can avoid pitfalls and accelerate your prototype development. Fig. 1 Section 1: Understanding Sensor Specifications: In this Application Note, I pick Panasonic HL-G112 Laser Displacement Sensor for development. I'll walk you through the entire setup process so that you can stay away from traps and have your prototype hit the ground running earlier! Fig. 2 Let's start with the sensor specification sheet. ( Download Link ) I use RS

Application Note: ProSave Security Backdoor? Access HMI Settings without Password?

You can read this post on  LinkedIn  as well. Introduction: ProSave is a powerful software tool developed by SIEMENS. It's designed to streamline data management tasks for Siemens S7-1200 and S7-1500 series PLCs. It also communicates with SIMATIC HMI devices. ProSave provides backup, restore, and data transfer operations so that we can use ProSave for project management and ensure system reliability. Join me as we uncover the power of backups, explore the realm of password-protected projects, and uncover a surprising discovery that may leave you running to check your devices. Section 1: Backups for Peace of Mind In the vast landscape of ProSave, we encounter a crucial feature that stands tall—the ability to generate backups of PLC/HMI projects. These backups serve as a safety net, offering swift restoration in the face of PLC/HMI failures or during project migrations. Whether you seek to safeguard the entire project or specific components such as hardware configurations, user progr

[Book Summary] The Rise and Fall of the Dinosaurs: A New History of a Lost World—Steve Brusatte

Rating: ★ ★ ★ ★ ★

[UMAA] 申請轉換學生身分 F-1 到旅遊身分 B-2

[Book Summary] Ibn Khaldun—Robert Irwin

Rating: ★ ★ ★ ☆ ☆

[Book Summary] The Making of A Dream—Laura Wides-Muñoz

Rating: ★ ★ ★ ★ ★

[Book Summary] Metropolis—Ben Wilson

Rating: ★ ★ ★ ★ ★

[Book Summary] Entangled Life: How Fungi Make Our Worlds, Change Our Minds & Shape Our Futures—Merlin Sheldrake

Rating: ★ ★ ★ ★ ☆