Professional Documents
Culture Documents
Session 8
Objectives
• Describe different forms of communication:
• PLC protocols
• FTP
• TCP/IP
8-2
For What is Networking Used?
• Data
• Transfer cell values between In-Sight sensors, PCs, or factory floor
devices
• Control
• Control of Events, Triggers, Jobs, Online/Offline Status from a third
party source
• Image
• For display purposes in third party applications
• For image archival
8-3
Who can Communicate?
• In-Sight <-> In-Sight
8-4
Supported Communication
8-5
Supported Communication (cont.)
8-6
Protocols for PLC
• EtherNet/IP *
• Rockwell such as the ControlLogix
• Can do Implicit and Explicit messaging
• ProfiNET *
• Siemens such as the S7-300 and S7-400
• Through Buffer commands and the variable table
• MC Protocol (MELSEC)
• Mitsubishi such as Q- and L- series PLCs
• CC link is the hardware implementation (remote registry)
• CIPSync
• Isochronous communication with embedded time stamps
• PLC
• Another In-Sight
8-8
Terminology: TCP/IP and IP address
8-9
Terminology: IP address
8-10
Terminology: Subnet
Subnet = networked In-Sights with similar IP addresses
• Example: 255.255.255.0
255 means all IP addresses on this subnet are identical in this position
0 means each host IP address is different in this position
8-11
Hosts Not on the Same Subnet
To log onto a host not on the subnet, you need to specify the
host’s IP address
8-12
Device Functions
• WriteDevice – Sends one or more cell values to another device
over the network using TCP/IP
• If value is a number, sent as a string
• If value #ERR, nothing is sent
• TCPDevice
- Used with both WriteDevice and ReadDevice
- Establishes TCP/IP connection (Client/Server)
8-13
TCP
Client Server
(sender) (receiver)
Event
TCPDevice TCPDevice
WriteDevice ReadDevice
Data
8-14
TCP
Client Server
(sender) (receiver)
Event
TCPDevice TCPDevice
WriteDevice ReadDevice
Data
TCPDevice TCPDevice
Change C2 reference to
cell containing number or string
such as FormatString
8-16
TCP/IP
• For In-Sight to In-Sight, both sender and receiver must go
Online before doing a WriteDevice or ReadDevice
8-17
WriteImageFTP Parameters
8-18
WriteImageFTP
• Data Formats
0 = TEXT
Standard ASCII Text file format (.TXT)
1 = HTML (default)
Standard HTML file format (.HTM)
4 = XML
Standard XML file format (.XML)
8-20
WriteFTP – Neat Trick
• HTML format
8-21
WriteFTP
• HTML format
• Web Page generated from Write FTP with HTML
selected
8-22
Common Issues
• Make sure that system is online
8-24