Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “We had a CASE
conditional with an IF
statement inside it .”
A block of code is set as follows:
PROGRAM PLC_PRG VAR currentHopperWeight : REAL := 250; bag1Weight : REAL; bag2Weight : REAL; END_VAR
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
PROGRAM PLC_PRG VAR password : STRING(255) := 'password'; length : UINT; acceptPass : bool; END_VAR
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance: "Air gapped systems are simply systems that are not connected to the internet.”
Tips or important notes
Appear like this.