Using Touchscreen PLC
-
Upload
icp-das-usa-inc -
Category
Software
-
view
179 -
download
0
Transcript of Using Touchscreen PLC
Using Modbus Touch Screen PLCs with Remote I/O Modules
Maria Lemone, Sales Manager ICP DAS USA, Inc.
[email protected] 1-310-517-9888 x105
Making Data Acquisition Easy
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Robert Murao, Tech Support Engr ICP DAS USA, Inc.
[email protected] 1-310-517-9888 x111
www.icpdas-usa.com
www.icpdas-usa.com 1-310-517-9888 ext 105
Using Modbus Touch Screen PLC’s with Remote I/O
Making Data Acquisition Easy
Introduction
Product & Technology Overview
• Modbus RTU and Modbus TCP Protocols
• Data Acquisition & Data Logging Technology
• Touch Screen PLC’s & Development Environment
• Ladder Logic & C Language Programming
Live Demonstration
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Making Data Acquisition Easy
ICP DAS USA • Products are used Worldwide
• ICP DAS established in 1993, ICP DAS USA in 2001
• Manufacture our Products in Taiwan
• RoHS Compliant, ISO-9001:2008
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Background on Modbus
Making Data Acquisition Easy
• Modbus is a Serial Based Communications Protocol
• Industrial communications for instrumentation, control and data acquisition devices
• Originally published by Modicon (now Schneider Electric) in 1979 for use with its Programmable Logic Controllers
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Data Acquisition
Making Data Acquisition Easy
Data acquisition (abbreviated DAQ) is the process of sampling of real world physical conditions and conversion of the resulting samples into digital numeric values that can be manipulated by a computer.
Temp.
Digital Output
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Digital vs Analog
Making Data Acquisition Easy
Digital Inputs: Detects if a voltage is above or below a specific threshold. Digital Outputs: Controls a voltage with a computer or controller Analog Inputs: Variable voltage, current, temperature or pressure measurements Analog Outputs: Variable voltage or current electrical signals
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Modbus RTU Data Acquisition
Making Data Acquisition Easy
• Up to 255 Devices in One Network • Developed with Industrial Applications in Mind • Openly Published and Royalty-Free • Easy to Deploy and Maintain • Communicates up to 4000 Feet without a Repeater
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Modbus Function Codes
Making Data Acquisition Easy
Read Write Reset Multiple Outputs
Report Slave
ID
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Modbus Registers
Making Data Acquisition Easy
Analog Output Value
Analog Output Read Back
Safe Output Value
Power On Output Value
Watchdog Timeout
Watchdog Timeout
Reset Status
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Making Data Acquisition Easy
Use RS-485 based DCON &
Modbus RTU protocols
Labview, DasyLab, DDE,
dll, OPC and OCX drivers
Communicates to PLC, DCS, PC or
many other controllers
70 + selections of analog, digital,
and I/O specialty modules
Auto tunes data rate and data
format
tM-TH8
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Modbus RTU I/O Solutions: M-7000 & tM Series
www.icpdas-usa.com 1-310-517-9888 ext 105
Using Modbus RTU DAQ
Making Data Acquisition Easy
• Link the M-7000 and host PC with I-7561 Serial to USB or tDS-715 Serial to Ethernet Converter
• Click the Search on DCON Utility main menu to scan for devices on the RS-485 network
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Po
we
r &
Da
ta
Modbus TCP
Eth
ern
et
Ethernet / Modbus TCP
Modbus TCP Ethernet I/O Solutions
Making Data Acquisition Easy
Eth
ern
et
Modbus TCP Eth
ern
et
Modbus TCP
tPET-A4
ET-7255
Power & Data
PET-7060 or WISE-7167
ET-7217 ET-7215
tET-C4
Eth
ern
et
Modbus T
CP
Ethernet / Modbus TCP
Modbus TCP protocol
Digital, Relay, Current, Voltage, RTD, Thermistor, Thermocouple I/O
Works with PC, PLC, DCS, TouchPads and many other Controllers
NS-205PSE
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Using Modbus TCP DAQ
Making Data Acquisition Easy
• Link the ET-7000 and host PC
• Click the Search on MiniOS7 Utility’s main menu to scan for devices on the Ethernet network
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Connect by Web Browser
Making Data Acquisition Easy
• Enter in Configured IP Address
• Input User Name & Password
• Web HMI allows you to configure the ET-7017
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
MicroTouch Annunciator System
Making Data Acquisition Easy
Nurse Call Alarms
Door Alarm Display
Emergency Call
Systems
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
WF-2000 Series
Making Data Acquisition Easy
Wireless Modbus Data Acquisition
Zigbee Modbus RTU
Wi-Fi Modbus
TCP
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Zigbee Wireless Network
Making Data Acquisition Easy
Flexible Topologies
Cluster Tree
Star
Mesh
Coordinator establishes communication Path
Slaves are Repeaters
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Zigbee Wireless I/O in Factory Automation
Making Data Acquisition Easy
Counters
Conveyor Control
Weight
Temperature Monitoring
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Modbus TCP vs Modbus RTU
Making Data Acquisition Easy
• Modbus TCP is over Ethernet networks • Modbus RTU is over Serial networks • Networks are Not the Same • Can use a Modbus RTU to Modbus TCP Gateway like tGW-715
to Combine Networks
Modbus Gateway
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Data Logging Technology
Making Data Acquisition Easy
• Data Logging: The process of using a computer to collect data through sensors, analyze the data and save and output the results of the collection and analysis.
• Data logs in remote locations can be retrieved in different ways like via FTP and email.
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Free EZ Data Logger Software
Making Data Acquisition Easy
Trends
Gauges
Bar Graphs
Layout
Supports DCON, Modbus RTU, &
Modbus TCP Protocols
Trending Information
Data Logging Display Data Supports VB
Script
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
WF-2000 Series Making Data Acquisition Easy
Modbus Touch Screen PLC’s
2.8”
3.5”
4.3”
7.3”
2.8, 3.5, 4.3, 7.3”
Free Development Environment
C Language & Ladder Logic Programmable
PoE Options
Demo Programs
Keypad Remotes
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Making Data Acquisition Easy
Touch Screen PLC’s
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Making Data Acquisition Easy
Mounting
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
HMIWorks Development Environment
Making Data Acquisition Easy
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Making Data Acquisition Easy
Drag & Drop Design
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Making Data Acquisition Easy
Ladder Logic
• Basis of most control functions
• Logical functions: AND, OR, and exclusive OR (XOR)
• Logic functions are implemented by developing a ladder diagram.
• Function Blocks
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105
Types of Variables
Making Data Acquisition Easy
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Contact
Making Data Acquisition Easy
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Ladder Rungs & Rails
Making Data Acquisition Easy
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Ladder Rungs & Rails
Making Data Acquisition Easy
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Jump, Label, Return
Making Data Acquisition Easy
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Making Data Acquisition Easy
Programming with Ladder Logic
• New Project > Ladder Programming Type > Add New Virtual Tag
• Pointer
• F2: Left Contact
• F3: Right Contact
• F4: Parallel Contact
• F5: Coil
• F6: Left Function Block
• F7: Right Function Block
• F8: Parallel FB
• Jump
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Making Data Acquisition Easy
C Language
• Flexible & Portable
• Functions & Recursion
• Libraries (Including Math)
• Case Statements
• Condition Statements
• For and While Loops
• Data Structures
• Variables
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Making Data Acquisition Easy
Operators
• Arithmetic: +, -, *, /, %
• Relational: >, >=, <, <=
• Equality: ==, !=
• Logical: && (and), || (or
• Increment and Decrement: ++, --
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Example: if (x !=y) && (c==b) { a=c + d*b; a++; }
Making Data Acquisition Easy
Loop Statements
• While (condition) {statements} While a condition is true, execute statements
• For (initialization; condition; increment) {statements} If true, execute statements increment and repeat until not true
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
Examples: while(1); // loop forever for (i=0; i<3; i++) { printf(“hello world”); } //print hello world 3 times
Making Data Acquisition Easy
If and Switch Statements
• If (condition1) {statements1} else if (condition2) {statements2} else {statementsn}
www.icpdas-usa.com 1-310-517-9888 ext 105 Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016
• Switch (expression){ case 1: statements case 2: statements default: statements }
ICP DAS USA Benefits
• Customized Products & OEM Capability • Low lead times, cost effective design solutions, and
personalized care • Competitive price/performance ratio, while offering
the latest solutions for current industrial trends. • We are able to provide hardware and software
solutions • ICP DAS USA provides a great variety of products with
modular and universal solutions for your applications and projects.
Making Data Acquisition Easy
Modbus Touch Screen PLC’s & I/O | Maria Lemone | 2016 www.icpdas-usa.com 1-310-517-9888 ext 105