
Gocator Line Profile Sensors: User Manual
Protocols • 505
Modbus Protocol
Modbus is designed to allow industrial equipment such as Programmable Logic Controllers (PLCs),
sensors, and physical input/output devices to communicate over an Ethernet network.
Modbus embeds a Modbus frame into a TCP frame in a simple manner. This is a connection-oriented
transaction, and every query expects a response.
This section describes the Modbus TCP commands and data formats. Modbus TCP communication lets
the client:
l
Switch jobs.
l
Align and run sensors.
l
Receive measurement results, sensor states, and stamps.
To use the Modbus protocol, it must be enabled and configured in the active job.
The Gocator 4.x firmware uses mm, mm
2
, mm
3
, and degrees as standard units. In all protocols,
values are scaled by 1000, as values in the protocols are represented as integers. This results in
effective units of mm/1000, mm
2
/1000, mm
3
/1000, and deg/1000 in the protocols.
If buffering is enabled with the Modbus protocol, the PLC must read the Buffer Advance output register
(see
on page 508) to advance the queue before reading the measurement results.
For information on configuring the protocol using the Web interface, see
Concepts
A PLC sends a command to start each Gocator. The PLC then periodically queries each Gocator for its
latest measurement results. In Modbus terminology, the PLC is a Modbus Client. Each Gocator is a
Modbus Server which serves the results to the PLC.
The Modbus protocol uses TCP for connection and messaging. The PLC makes a TCP connection to the
Gocator on port 502. Control and data messages are communicated on this TCP connection. Up to eight
clients can be connected to the Gocator simultaneously. A connection closes after 10 minutes of
inactivity.
Messages
All Modbus TCP messages consist of an MBAP header (Modbus Application Protocol), a function code,
and a data payload.
The MBAP header contains the following fields:
Summary of Contents for Gocator 2130
Page 250: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 250...
Page 262: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 262 2D View 3D View...
Page 263: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 263 Measurement Panel...
Page 279: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 279 Measurement Panel...
Page 285: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 285...
Page 292: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 292 Measurement Panel...
Page 298: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 298 2D View 3D View...
Page 305: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 305 2D View 3D View...
Page 309: ...Gocator Line Profile Sensors User Manual Gocator Web Interface 309 2D View 3D View...
Page 586: ...Gocator Line Profile Sensors User Manual Specifications 587 Dimensions Envelope...
Page 588: ...Gocator Line Profile Sensors User Manual Specifications 589 Envelope...
Page 590: ...Gocator Line Profile Sensors User Manual Specifications 591 Dimensions Envelope...
Page 592: ...Gocator Line Profile Sensors User Manual Specifications 593 Dimensions Envelope...
Page 594: ...Gocator Line Profile Sensors User Manual Specifications 595 Dimensions...
Page 595: ...Gocator Line Profile Sensors User Manual Specifications 596 Envelope...
Page 597: ...Gocator Line Profile Sensors User Manual Specifications 598 Dimensions...
Page 598: ...Gocator Line Profile Sensors User Manual Specifications 599 Envelope...
Page 600: ...Gocator Line Profile Sensors User Manual Specifications 601 Dimensions...
Page 601: ...Gocator Line Profile Sensors User Manual Specifications 602 Envelope...
Page 603: ...Gocator Line Profile Sensors User Manual Specifications 604 Dimensions...
Page 604: ...Gocator Line Profile Sensors User Manual Specifications 605 Envelope...
Page 608: ...Gocator Line Profile Sensors User Manual Specifications 609 Dimensions...
Page 609: ...Gocator Line Profile Sensors User Manual Specifications 610 Envelope...
Page 611: ...Gocator Line Profile Sensors User Manual Specifications 612 Dimensions...
Page 612: ...Gocator Line Profile Sensors User Manual Specifications 613 Envelope...
Page 615: ...Gocator Line Profile Sensors User Manual Specifications 616 Dimensions...
Page 616: ...Gocator Line Profile Sensors User Manual Specifications 617 Envelope...