Presentation is loading. Please wait.

Presentation is loading. Please wait.

Do-more Technical Training The Do-more Way. Do-more Architecture Hardware or System Resource Device MemoryInstruction Server Do-more PLCs are “device-centric”

Similar presentations


Presentation on theme: "Do-more Technical Training The Do-more Way. Do-more Architecture Hardware or System Resource Device MemoryInstruction Server Do-more PLCs are “device-centric”"— Presentation transcript:

1 Do-more Technical Training The Do-more Way

2 Do-more Architecture Hardware or System Resource Device MemoryInstruction Server Do-more PLCs are “device-centric” Devices interface directly to the PLC’s hardware & system resources, handling low-level issues like protocols, handshaking, memory allocation, status flags & communication buffer management Devices provide a uniform interface to the hardware for the instructions Devices also provide a uniform interface to the hardware for the memory Most instructions do not use Devices but interface directly to memory Servers are similar to Devices but run in the background Servers (like Devices) interface directly to the PLC’s hardware or System Resources Servers (like Devices) also provide a uniform interface to the hardware for the memory With a few exceptions, Servers do not normally interface with instructions Devices are interfaces that provide access to Do-more resources

3 Advantages of Device-Centricism Provides a level of abstraction ▫R▫Reduces complexity when interfacing to the PLC’s system resources (e.g. hardware) ▫I▫Increases efficiency in handling complex functions Provides a uniform programming interface even if the hardware is different Provides a uniform interface to memory so it is impossible to have memory mapping issues Provides clearly-named memory structures that give access to the particular device’s features & functions Handles the hardware asynchronously for the programmer Think of the standard interfaces to a computer (mouse, keyboard, monitor), or a phone (touch screen, swipe, long press), etc. These interfaces are generic even though providing access to very different hardware.

4 Do-more Devices Three types: ▫(▫(1) Built-in (1) – exist by default @@DMLogger @@IntEIPClient @@IntEthDMPPClient @@IntEthernet @@IntModTCPClient @@IntSerial @@LocalIOMaster @@UserLog ▫(▫(2) System-created – created by system as user modifies CPU Configuration or adds modules to system @@IntSerModbusClient (1) @@IntEIPServer (1) @@EthIOMaster (1) @@CTRIO_xxx (2) @@CTRIO_xxx_CyFz (2) @@CTRIO_xxx_Outy (2) @@ECOM_xxx (2) @@ERM (2) @@GSEDRV100 (2) @@SERIO_xxx_y (2) ▫(▫(3) User-created – created manually by the user (2) @@EtherNetIPClient @@ModbusTCPClient @@SMTPClient @@TCPClient @@TCPServer @@UDPConnection (1) Name of Device(s) cannot be changed (2) Name given upon creation (changeable)

5 Do-more Configuration Hierarchy 1)CPU Configuration 2)I/O Configuration 3)Module Configuration(s) 4)Device Configuration 5)I/O Mappings 6)Memory Configuration The order is on purpose!

6 (1) CPU Configuration Ethernet Port: Can handle many simultaneous Devices/Servers/Functions Ethernet Port DomoreServer DLServer @IntEthernet Peerlink Function 2ndInt EthServer ModbusTCP Server Ethernet IP Server @EthIOMaster @SMTPClient@TCPClient

7 (1) CPU Configuration Serial Port: Only does one Configuration Serial Port @IntSerial Do-more Programming Configuration: Baud rate Data bits Stop bits Parity Transmit control RTS control K-Sequence Server Configuration: Station Baud rate Data bits Stop bits Parity Transmit control RTS control Modbus RTU Server (Slave) Configuration: Unit ID Baud rate Data bits Stop bits Parity Transmit control RTS control Modbus RTU Client (Master) Configuration: Timeout Retries Inter-packet Delay Baud rate Data bits Stop bits Parity Transmit control RTS control General Purpose Configuration: Baud rate Data bits Stop bits Parity Transmit control RTS control

8 (1) CPU Configuration (Default) Uses Internal Ethernet Port The following are not manually configurable All use the @IntEthernet Device ▫Do-more Server  Allows access to all Do-more memory  Do-more Designer uses this ▫DL Server  Allows access to DL-memory ▫SNTP “Simple Network Time Protocol”  Used by NETTIME instruction to set CPU time ▫ICMP “Internet Control Message Protocol”  Responds to external “pings”  Used by PING instruction to find an IP address ▫DNS “Domain Name System” Protocol  Used by DNSLOOKUP instruction to find IP address ▫Peerlink Function  Used by PEERLINK instruction for easy comms  Allows access to PL-memory blocks (16 blocks of 16 words)  Allows access to PL memory structure

9 (1) CPU Configuration (Manual) TimeSync Configuration (@IntEthernet) ▫A▫Allows access to: SSDT0 ($Now) system date/time structure SST23 ($TimeSynced) system bit Internal Ethernet Port (@IntEthernet) ▫C▫Configure IP settings ▫E▫Enable Secondary Ethernet Connection AAllows access to all Do-more memory over a different UDP Port Number DDo-more Designer uses this ▫(▫(By default, DLRX/DLWX instructions can be used) Modbus/TCP Server Configuration (@ModbusTCPServer) ▫A▫Allows access to M-memory ▫U▫Uses ModbusTCPServer memory structure Ethernet/IP Explicit Message Server (@IntEIPServer) ▫A▫Allows access to up to 8 configured Do-more memory blocks ▫U▫Uses $IntEIPServer memory structure

10 Serial Port Mode()Serial Port Mode (@IntSerial) ▫Do-more Programming  Allows access to all Do-more memory  Uses $IntSerialServer memory structure ▫K-sequence Server  Allows access to DL-memory  Uses $IntSerialServer memory structure ▫Modbus RTU Server (Slave)  Allows access to M-memory  Uses $IntSerialServer memory structure ▫Modbus RTU Client (Master) (@IntSerModbusClient)  Used by MRX/MWX instructions ▫General Purpose  Used by STREAMIN/STREAMOUT instructions  Uses $IntSerial memory structure Default Watchdog TimeoutDefault Watchdog Timeout ▫Uses:  ST13 ($WatchdogReboot) system bit  ST24 ($HwWatchdogMode) system bit  ST25 ($DisableHwWdog) system bit  ST37 ($DisableSwWdog) system bit  ST128 ($WatchdogTimeout) system bit  DST23 ($WatchdogTimeVal) system double word  DST385 ($WatchdogReboots) system double word ▫Used by WATCHDOG instruction

11 (2) I/O Configuration DL205 Local Master (@LocalIOMaster) ▫A▫Allows Auto/Manual Configuration of I/O ▫A▫Allows access to I/O memory ▫U▫Uses $LocalIOMaster memory structure Ethernet I/O Master (@EthIOMaster) ▫C▫Controls up to 16 EBC100 slaves ▫A▫Allows access to I/O memory ▫U▫Uses $EthIOMaster memory structure

12 (3) Module Configuration CTRIO/CTRIO2 (@CTRIO_001) ▫C▫Creates @CTRIO_001 device that uses $CTRIO_001 memory structure ▫C▫Creates various memory structures as module is configured (e.g. $CTRIO_001_C1F1) ▫U▫Used by all CTxxxxxx & RD/WT instructions ECOM/ECOM100 (@ECOM_002) ▫A▫Allows access to DL-memory ▫C▫Can be used by DLRX/DLWX & RD/WT instructions ERM/ERM100 (e.g. @ERM_003) ▫A▫Allows access to Do-more memory or DL-memory ▫C▫Can be used by DLRX & RD/WT instructions F2-8AD4DA-x ▫A▫Allows configuration of resolution, track & hold, input/output ranges GS Drive (e.g. @MyGSDrive) ▫U▫Uses $MyGSDrive memory structure ▫U▫Used by GSREGRD/GSREGWR instructions

13 SERIO/SERIO4 (@SERIO_004_A, _B, _C) ▫D▫Do-more Programming AAllows access to all Do-more memory UUses $SERIO_004_A, _B, _C memory structure ▫K▫K-sequence Server AAllows access to DL-memory UUses $SERIO_004_A, _B, _C memory structure ▫M▫Modbus RTU Server (Slave) AAllows access to M-memory UUses $SERIO_004_A, _B, _C memory structure ▫M▫Modbus RTU Client (Master) UUsed by MRX/MWX instructions ▫G▫General Purpose UUsed by STREAMIN/STREAMOUT instructions UUses $SERIO_004_A, _B, _C memory structure Terminator Analog Output ▫A▫Allows configuration of enable, output type/range

14 (4) Device Configuration System Devices ▫D▫D▫D▫Do-more Logger (@DMLogger) UUsed by STREAMOUT instruction ▫E▫E▫E▫EtherNet/IP Explicit Message Client (@IntEIPClient) UUsed by EIPMSG instruction ▫D▫D▫D▫Do-more Ethernet Peer-to-Peer Client (@IntEthDMPPClient) UUsed by RX/WX instructions ▫M▫M▫M▫Modbus TCP Client (@IntModTCPClient) UUsed by MRX/MWX instructions ▫U▫U▫U▫User Log (@UserLog) UUsed by STREAMOUT instruction ▫D▫D▫D▫DL Client (@IntEthernet) UUsed by DLRX/DLWX instructions

15 User Devices ▫E▫E▫E▫EtherNet/IP Explicit Message Client (e.g. @MyEIPClient) UUsed by EIPMSG instruction ▫M▫M▫M▫Modbus TCP Client (e.g. @MyModTCPClient) UUsed by MRX/MWX instructions ▫S▫S▫S▫SMTP Client (e.g. @MySMTPClient) UUsed by EMAIL instruction ▫T▫T▫T▫TCP Client (e.g. @MyTCPClient) UUses $MyTCPClient memory structure UUsed by OPENTCP, STREAMIN/STREAMOUT instructions ▫T▫T▫T▫TCP Server (e.g. @MyTCPServer) UUses $MyTCPServer memory structure UUsed by TCPLISTEN, STREAMIN/STREAMOUT instructions ▫U▫U▫U▫UDP Connection (e.g. @MyUDPConnect) UUses $MyUDPConnect memory structure UUsed by PACKETIN/PACKETOUT instructions

16 (5) I/O Mappings Auto mode automatically assigns X/Y/WX/WY addressing in sequential order ▫A▫Addresses are shown in g gg gray Manual mode allows editing of the start address for each module ▫A▫Addresses are shown in black ▫A▫Address overlaps show in red ▫A▫Addresses exceeding memory range are bold red ▫A▫A base’s default map can be changed

17 (6) Memory Configuration Memory Blocks ▫I▫Indexable EE.g. Fred0, Fred1, Fred2, etc. ▫C▫Common data type EE.g. bits, numeric, structure ▫R▫Referenced by name & index EE.g. Fred0, Fred[V15] ▫C▫Cannot be created while editing ladders Heap Items (single instance) ▫N▫Not indexable EE.g. Fred, Wilma, Barney, etc. ▫C▫Common data type SStructure only ▫R▫Referenced by name (no index) EE.g. Fred, Wilma, Barney, etc. ▫C▫Can be created while editing ladders NNOTE: Cannot download in RUN mode (System Configuration changed)

18 Point #1: Device-centric Hardware or System Resource Device MemoryInstruction Server

19 Point #2: Configuration Hierarchy 1)CPU Configuration 2)I/O Configuration 3)Module Configuration(s) 4)Device Configuration 5)I/O Mappings 6)Memory Configuration


Download ppt "Do-more Technical Training The Do-more Way. Do-more Architecture Hardware or System Resource Device MemoryInstruction Server Do-more PLCs are “device-centric”"

Similar presentations


Ads by Google