Do-more Technical Training Memory Types. (1) Physical I/O (2) System Memory (3) User Memory.

Slides:



Advertisements
Similar presentations
Operators & Identifiers The Data Elements. Arithmetic Operators exponentiation multiplication division ( real ) division ( integer quotient ) division.
Advertisements

I/O: SPARC Assembly Department of Computer Science Georgia State University Georgia State University Updated Spring 2014.
SPIM and MIPS programming
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Advanced Access to Allen-Bradley Devices with VS.NET Win Worrall Applications/Development Engineer Renee Sikes Applications.
A Next Generation OCS Welcome to Horner Operator Control Station Training.
1 RIO Pocket PLC. 2 Smart. Compact. Low Cost. Lots of I/O. Smart – RISC processor, memory, pulse counters, PID process loops, web interface, capability,
String Recognition Simple case: recognize 1101 “ ” 0 “1” 0 “11” 0 Reset 1 “110” “1101”
Chapter 2 Machine Language. Machine language The only language a computer can understand directly. Each type of computer has its own unique machine language.
CSCE 212 Quiz 8 – 3/23/11 1.What type of element is the ALU (combinational or state) and what does it mean for an element to be that type? 2.What is the.
SLAC asyn class, Day 1, August 26, 2010 Example asyn driver Modbus Mark Rivers, Marty Kraimer, Eric Norum University of Chicago Advanced Photon Source.
Advanced Instructions Most PLCs now support more advanced functions such as Floating point math, Boolean operations, Shifting, Sequencing, Program control.
Introduction to PLC Operation
Variables and Data Types
Chapter 3 Elements of Assembly Language. 3.1 Assembly Language Statements.
C Tokens Identifiers Keywords Constants Operators Special symbols.
Storing and Organizing Data. Why Do I Need to Understand How Data Is Represented? In order to install, program,maintain, and troubleshoot today’s PLCs,
Introduction First 32 bit Processor in Intel Architecture. Full 32 bit processor family Sixth member of 8086 Family SX.
An Example Architecture. A Paper Computer - Woody Woody's characteristics Word size – 8 bits One word.
Introduction to PLC Operation
Module B - Computation1/61 Module-B-Computation Variables Basic Memory Operations Expressions.
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
Instruction Sets. Instruction set It is a list of all instructions that a processor can execute. It is a list of all instructions that a processor can.
8085 INTERNAL ARCHITECTURE.  Upon completing this topic, you should be able to: State all the register available in the 8085 microprocessor and explain.
Microprocessor & Assembly Language
Do-more Technical Training The Do-more Way. Do-more Architecture Hardware or System Resource Device MemoryInstruction Server Do-more PLCs are “device-centric”
Do-more Technical Training Instruction Set (String)
Do-more Technical Training Communications (Modbus TCP)
Do-more Technical Training Instruction Set (Misc/Data Manipulation)
Do-more Technical Training System Configuration (CPU Configuration)
The Microprocessor & Its Architecture A Course in Microprocessor Electrical Engineering Department Universitas 17 Agustus 1945 Jakarta.
Do-more Technical Training
Do-more Technical Training
BRX Technical Training
BRX Technical Training
Do-more Technical Training
Do-more Technical Training
Do-more Technical Training
Do-more Technical Training
Do-more Technical Training
Do-more Technical Training
Do-more Technical Training
Basic Computer Organization and Design
Do-more Technical Training
Do-more Technical Training
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Do-more Technical Training
Do-more Technical Training
TMF1414 Introduction to Programming
BRX Technical Training
Chapter 10 © 2011, The McGraw-Hill Companies, Inc.
BRX Technical Training
Do-more Technical Training
Do-more Technical Training
Do-more Technical Training
Ken D. Nguyen Department of Computer Science Georgia State University
Do-more Technical Training
Microprocessor and Assembly Language
Do-more Technical Training
Digital Concepts for PLCs
Do-more Technical Training
PLC 5 I/O Addressing.
Distributed Energy Engineering
BRX Technical Training
8051 Micro Controller.
Data Movement Instructions
Do-more Technical Training
Ken D. Nguyen Department of Computer Science Georgia State University
Chapter 10 Instruction Sets: Characteristics and Functions
Getting Started With Coding
Presentation transcript:

Do-more Technical Training Memory Types

(1) Physical I/O (2) System Memory (3) User Memory

Memory Types (1) Physical I/O ▫Input  Bit (X0-2047)*  Word (WX0-255)* ▫Output  Bit (Y0-2047)*  Word (WY0-255)* ▫Specialty  CTRIO  Module ($CTRIO_001) [30]  Counter ($CTRIO_001_C1F1) [8]  Pulse Catch ($CTRIO_001_C1F2) [3]  Edge Timer ($CTRIO_001_C1F2) [8]  Raw Out ($CTRIO_001_Out0) [2]  Pulse Out ($CTRIO_001_Out0) [10]  Discrete Out ($CTRIO_001_Out0) [3]  SERIO ($SERIO_001_A, _B, _C) [6]  GSDrive ($GS1_100) [26] *NOTE: Adjustable size # of structure members

Memory Types (2) System Memory ▫Bits (ST0-1023) ▫Dword (DST0-511) ▫Structures  Date/Time (SDT0-7) [9]  I/O Masters  LocalIOMaster [4]  EthIOMaster [68]  Peerlink (PL) [86]  Programs ( ) [147]  Tasks ( ) [15]  Servers [4]  IntEIPServer  IntSerialServer  IntUSBServer  ModbusTCPServer  Stream [6]  IntSerial   Packet ( ) [3]  PID ( ) [19]  Ramp/Soak ( ) [5]  Drum ( ) [8]  String [2]  ERR  LastERR0-7  MSG  LastMSG0-7  PartNum  SerialNum  SysDesc  SysName # of structure members

Memory Types (3) User Memory 1 ▫Bits  C  DLX  DLY  DLC  MI  MC ▫Word  Unsigned  V  PL0-255  DLV NOTE: Adjustable size 2 NOTE: Octal address  Signed  N  MIR  MHR ▫Dword  Signed (D0-4095)  Real (R0-4095) ▫Structures  Timer (T0-255) [5]  Counter (CT0-255) [5]  Date/Time (UDT0-31) [9]  String [2]  Short (SS0-127)  Long (SL0-63) # of structure members

Memory Types Project Browser Project Browser  ▫Configuration   Memory

Memory Types Strong Typing ▫E▫Every element in the PLC has a data type ((bit, real, unsigned word, timer structure, etc.) ▫S▫Strong Typing PRO: Instructions know the data types EEXAMPLE: AA signed double-word (D-memory) can be compared to a real number (R-memory) without conversion to the same data type ▫E▫Even constants are strongly typed EEXAMPLES: HHexadecimal (prefix of “0x”; zero x) DDecimal (the number itself) OOctal (prefix of “0”; zero) RReal (enter a decimal point with the number; e.g. 2.0)

Casting ▫Strong Typing CON: Sometimes Strong Typing “gets in the way”  How to use just one bit in a V-memory location?  How to look at a group of 16 discrete inputs as a word?  How to look at 2 Modbus Holding Registers as a 32-bit Real number? : ▫Casting operator suffix “:” (colon) is the answer:  V5:0 – look at bit 0 in V5  X0:UB – look at X0-7 as an unsigned byte  X16:UW – look at X16-31 as an unsigned word  X32:SD – look at X32-63 as signed double-word ▫Type boundaries must be observed (byte, word, double word):  X1:UB – invalid, but X0:UB or X8:UB are valid ▫More examples:  MHR10:R – look at 16-bit MHR10-11 as 32-bit real  V12:SD – look at 16-bit V12-13 as a signed word  V11:B0 – look at byte 0 (low byte) of V11  V11:SB1 – look at byte 1 (high byte) of V11 as signed byte ▫Use Element Browser & Cast Builder Tool to help build

Memory Types