Absolute rotary encoder with TCP/IP+UDP interface

Absolute rotary encoder with TCP/IP+UDP interface
ABSOLUTE ROTARY ENCODER
W ITH MODBUS / TCP INTERFACE
USER MANUAL
FRABA Inc.
1800 East State Street, Suite 148, Hamilton, NJ 08609
Phone +1 609 750 8705, Fax. +1 609 750 8703
www.posital.com, [email protected]
MODBUS / TCP
USER MANUAL
Imprint
Alteration of Specifications reserved
FRABA Inc.
Technical specifications, which are described in
this manual, are subject to change due to our
1800 East State Street, Suite 148
permanent strive to improve our products.
Hamilton, NJ 08609
USA
Document information
Documentname: UMUS-OCD-EM
Phone +1 609 750 8705
Fax.
Versionnumber: 05/09
Author:
Reiner Bätjer
+1 609 750 8703
www.posital.com
[email protected]
Copyright
Service-Phone
The company POSITAL claims copyright on this
documentation. It is not allowed to modify, to
For technical support, questions and suggestions
for improving our products and documentations
extend, to hand over to a third party and to copy
this documentation without written approval by
call our telephone line: +49/221/96213-0
the company POSITAL. Nor is any liability assumed for damages resulting from the use of the
information contained herein. Further, this publication and features described herein are subject
to change without notice.
Version 05/09
Page 2
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
1 Introduction ....................................................... 4
5.4 Operating ....................................................... 16
1.1 Absolute Rotary Encoders ............................... 4
5.5 Advanced functionality ................................... 16
1.2 Ethernet ........................................................... 5
5.6 Parameters..................................................... 17
1.3 TCP/IP ............................................................. 5
5.6.1 Commands .................................................. 17
1.4 Modbus/TCP .................................................... 5
5.6.2 Variables ..................................................... 18
2 Hardware set-up and Ethernet Connection .... 7
5.6.3 Encoder answers ........................................ 20
6 Glossary........................................................... 20
2.1 Network Topology ............................................ 7
2.2 Connecting an Absolute Encoder ..................... 8
2.3 Ethernet Cables ............................................... 8
2.3.1 RJ45 – M12 crossed ..................................... 8
2.3.2 RJ45 – M12 straight ...................................... 8
2.3.3 M12 – M12 crossed....................................... 8
2.4 Diagnostic LED‟s .............................................. 9
3 Data transmission ........................................... 10
3.1 Values ............................................................ 10
3.2 Format............................................................ 10
3.3 Function code 03 ........................................... 10
3.4 Function code 16 ........................................... 10
3.5 Modbus Mapping ........................................... 11
4 Programming................................................... 12
4.1 Programming of Parameters .......................... 12
4.2 Operating by the integrated Web Server ........ 13
4.3 E-mail and Network Configuration ................. 14
5 Operating by TCP/IP Commands ................... 15
5.1 Introduction .................................................... 15
5.2 Installation ...................................................... 15
5.3 PATH Variable ............................................... 15
5.3.1 MS-DOS, Win95, Win98, WinME ................ 15
5.3.2 WinNT3.51, WinNT4, Win2000, WinXP ...... 16
Version 05/09
Page 3
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
1 Introduction
1.1 Absolute Rotary Encoders
Absolute rotary encoders provide a definite value
for every possible rotary position. All these values
The encoder is able to provide three different
kinds of output data: the position value, a velocity
are reflected on one or more code discs. The
beams of infrared LEDs are sent through the
value and a time stamp. These can be use in
arbitrary combinations for TCP transmitting.
code discs and detected by Opto-Arrays. The
output signals are electronically amplified and the
The following functions of the absolute rotary
resulting value is transferred to the interface.
encoder can be programmed directly via the
Ethernet connection:
The absolute rotary encoder has a maximum
resolution of 65,536 steps per revolution (16 Bit).
-
The Multi-Turn version can detect up to 16,384
revolutions (14 Bit). Therefore the largest result-
-
-
Used scope of physical resolution
Total scaled resolution
Preset value
Code sequence (Complement)
30
ing resolution is 30 Bit = 2 = 1,073,741,824
steps. The standard Single-Turn version has 13
There is no specific software required for version
Bit, the standard Multi-Turn version 25 Bit.
A1 to initiate and use the absolute rotary encoder
because the sensor can be read out and pro-
The encoder sends the data in binary code via
standard or fast Ethernet (10 Base T, 100 Base
grammed by any standard web browser. For this
purpose the absolute rotary encoder contains a
T). At present it supports the following international standardized protocols: TCP, IP (http and
web server, which provides HTML documents
with embedded Java applets. These documents
SMTP in version A1).
are a widely self-explanatory graphical user interface (GUI) that is described in detail in chapter
4.2. The automated data transfer with a control
system is done with TCP/IP by simple plain text
commands and data in ASCII format.
The encoder supports the communication with
Modbus/TCP-PLC‟s and –IPC‟s. With function
code 03 can you read out data. Function code 16
allow to set the parameters. More details see in
chapter 3.4.
Version 05/09
Page 4
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
1.2 Ethernet
error in engineering as description of all layers
The present developments in the field of Industrial Ethernet are based on the vision of an inte-
between 1 and 7.
grated access of all data of a company through a
uniform communication system. In higher levels
The IP protocol of layer 3 was developed in the
70‟s by the US military (MIL-STD 1777). It allows
of enterprise communication Ethernet is the main
medium of data transfers. Combined with other IT
a universal addressing independent of the hardware involved in heterogeneous networks. It also
technologies it is internationally standardized. In
the long run automation engineers will benefit
manages the transfer of large packets by splitting
them up into smaller packets. The well-known
from the rapid technological progress in the mass
markets of IT and web technologies.
TCP protocol (MIL-STD 1778) ensures a reliable
data transfer.
Ethernet technically provides a system with high-
Http (RFC 2068) and SMTP (MIL-STD 1781)
er data transfer rates than common field bus
systems. TCP/IP and UDP do have a statistical
belong to layer 7 of the OSI model and allow to
transfer data and documents via web browser or
access method to access the medium thereby
prohibiting determined response times. Many
to send e-mails.
developments are intensely done on additional
real time mechanisms, e.g. Ethernet Powerlink,
1.4 Modbus/TCP
MODBUS is an application layer messaging
Ethernet/IP, Profinet or EtherCat. However, you
can already get access times that are sufficient
protocol, positioned on level 7 of the OSI model,
that provides client/server communication be-
for many applications when using TCP/IP or
UDP. If you directly connect the absolute encoder
tween devices connected on different types of
buses or networks.
to a computer via a 100 Mbit network card, you
will get a cycle time of less than 2 ms. In huge
As an industry‟s standard since 1979, MODBUS
continues to enable millions of automation devic-
networks the cycle times will depend on the utilization of the network.
es to communicate. Today, support for the simple
and elegant structure of MODBUS continues to
grow. The Internet community can access MODBUS at a reserved system port 502 on the
1.3 TCP/IP
TCP/IP stack.
MODBUS is a request/reply protocol and offers
Even though Ethernet and TCP/IP are often used
together and sometimes used interchanged,
services specified by function codes.
MODBUS function codes are elements of MOD-
these are three different kinds of terms and you
should carefully separate them. The coherences
BUS request/reply PDUs. The objective of this
document is to describe the function codes used
are based on the ISO/OSI reference model after
ISO/IEC 7498 that is needed to basically under-
within the framework of MODBUS transactions.
MODBUS is an application layer messaging
stand these terms.
protocol for clients.
For more information‟s see www.modbus.org.
Ethernet only describes layer 1 and 2 in this
model, nevertheless the term is often used in
Version 05/09
Page 5
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
1.5 OSI-Modell
Layer
7
Application
Layer
Modbus
6
Mapping Layer
Modbus <-> TCP
4
Transport Layer
TCP
3
Network Layer
IP
2
Ethernet Mac
Layer
IEEE 802.3
1
Physical Layer
Application
5
Data transport
Cable
1.6 MODBUS frame
Transaction
Protocol
identification
identification
MODBUS
Frame
Version 05/09
Lenght
TCP
Frame
MODBUS
Frame
Adress
Function
Data
Code
Page 6
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
2 Hardware set-up and Ethernet Connection
2.1 Network Topology
Using Ethernet there are different kinds of topologies possible. The connection of the encoder
dard, “straight” network cable (not a crossover
cable). You need at least a cable of category 5 to
can be made both directly to the computer with a
network card or indirectly with a switch, hub or
get a data transfer rate up to 100 Mbit. If there is
a network component in the network, which does
company network, see figure below. If you use a
direct connection to a computer without network
not provide Fast Ethernet, the sensor will automatically switch down to 10 Mbit.
components in between, you need to use a stan-
cat 5 crossover cable
cat 5 cable
Cat 5 cable
Version 05/09
Page 7
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
2.2 Connecting an Absolute Encoder
The encoder is connected by a 5 pin M12 connector for the power supply and one 4 pin,
D-coded M12 connector for Ethernet.
Connector Ethernet
4 pin female, D-coded
Connector power supply
5 pin male, A-coded
Pin Number
Signal
Pin Number
Signal
1
Tx +
1
+24 V
2
Rx +
2
+24 V
3
Tx -
3
0V
4
Rx -
4
0V
5
PE
Sketch on encoder view
4
3
4
3
5
2
1
1
2
2.3 Ethernet Cables
2.3.1 RJ45 – M12 crossed
Signal
RJ45 Pin M12 Pin
Signal
2.3.3 M12 – M12 crossed
Tx+
1
2
Rx+
Signal
M12 Pin
M12 Pin
Signal
Tx-
2
4
Rx-
Tx+
1
2
Rx+
3
4
Rx-
Rx+
3
1
Tx+
Tx-
Rx-
6
3
Tx-
Rx+
2
1
Tx+
Rx-
4
3
Tx-
2.3.2 RJ45 – M12 straight
Signal
RJ45 Pin
M12 Pin
Signal
Tx+
3
1
Tx+
Tx-
6
3
Tx-
Rx+
1
2
Rx+
Rx-
2
4
Rx-
Version 05/09
Page 8
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
2.4 Diagnostic LED’s
LED
Color
Description for LED = on
Rx1
Yellow Incoming
and
outgoing
traffic for port 1
Link1
Green
Link to another Ethernet
component for port 1
Collosion1 *
Red
Ethernet collisions on the
bus for port 1
Rx2 *
Yellow Incoming
and
outgoing
traffic for port 2
Link2 *
Green
Link to another Ethernet
component for port 2
Collosion2 *
Red
Ethernet collisions on the
bus for port 2
Error *
Red
-
Run *
Green
* Not available
-
Ethernet
TCP/IP
Err
Run
Rx2
Link2
Col2
Rx1
Col1
Link1
PWR
Port 1
Port 2
Version 05/09
Page 9
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
3 Data transmission
3.1 Values
Position values, velocity and a time stamp are
packed as two bytes per register, with the binary
contents right justified within each byte. For each
provided.
register, the first byte contains the high order bits
3.2 Format
and the second contains the low order bits. The
Error check in ADU is for Modbus/TCP not
Data type
Sign
Position
32 bit integer
unsigned
Velocity
32 bit integer
signed
Time stamp
64 bit integer
unsigned
available, because TCP use a Error check. For
details see www.modbus.org.
3.4 Function code 16
16 (0x10) Write Multiple registers
This function code is used to write a block of
3.3 Function code 03
03 (0x03) Read Holding Registers
contiguous registers in a remote device. The
requested written values are specified in the
This function code is used to read the contents of
a contiguous block of holding registers in a
request data field. Data is packed as two bytes
per register. The normal response returns the
remote device. The Request PDU specifies the
starting register address and the number of
function code, starting address, and quantity of
registers written.
registers. In the PDU Registers are addressed
starting at zero. Therefore registers numbered i.e.
Please take care under all circum-stances that
1-8 are addressed as 0-7.
The register data in the response message are
Version 05/09
the encoder is not turned off while it is writing
to the flash !
Page 10
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
3.5 Modbus Mapping
Start address: 0000
Number of registers: 8
Register
Data type
Data
0
Position
Bit 17-32
1
“
Bit 1-16
2
Velocity
Bit 17-32
“
Bit 1-16
3
4
Time stamp
Bit 49-64
5
“
Bit 33-48
6
“
Bit 17-32
“
Bit 1-16
7
8
Not in use
-
9
Not in use
-
10
UsedScopeOfPhysRes Bit 17-32
“
11
12
Bit 17-32
“
Bit 1-16
13
14
Bit 1-16
TotalScaledRes
Preset
Bit 17-32
15
“
Bit 1-16
16
Offset
Bit 17-32
“
Bit 1-16
17
18
CountingDirection
CW = 0
Bit 1-16
CCW = 1
“
19
Bit 17-32
Registers 10 to 18 are only in use to send the parameters to the encoder.
Notify:
The write registers will not get an update with changed parameters from the Web applet or TCP
commands.
The velocity value can be wrong during setting some parameters
Version 05/09
Page 11
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
4 Programming
4.1 Programming of Parameters
The encoder is able to provide three different kinds of output data: the position value, a velocity value and a
time stamp. These can be used in arbitrary combinations.
Parameter
Description
Used scope of physical resolution Specifies the part of the physical resolution used for the encoder in
(parameter 1.)
physical steps. If e.g. for an encoder with a resolution of 8192 steps
per revolution 16384 is chosen, the encoder will count 8192 steps per
revolution (if “Total scaled resolution” is set to the same value as “Used
scope of physical resolution”) and start with zero again after 2 revolutions. If this value is not set to a value which results in an integer division with the total physical resolution, the encoder value will jump to
zero when passing the physical zero point.
Total scaled resolution
Specifies the scaled resolution which is used over the area of physical
(parameter 2.)
steps defined by “Used scope of physical resolution”. If e.g. the encoder is set as described above and “Total scaled resolution” is set to
10, the encoder will count 10 steps over the physical steps defined with
“Used scope of physical resolution”, i.e. 5 steps per revolution.
Code sequence
The code sequence (complement) can be programmed as an operating parameter. This parameter determines whether the output code
increases or decreases when the axis is turned clockwise.
Preset value
The preset value is the desired output value for the actual position of
the axis. The actual output value will be set to this preset value.
Offset value
The offset value can set the offset to physical position of the axis.
The html page, the programmable parameters, and the diagnostics of the encoder are described in the next
chapter.
Max. physical
position value
Max. needed
position value
(parameter 2.)
Wanted zero
crossing
(parameter 1.)
Version 05/09
Page 12
Physical zero
crossing
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
4.2 Operating by the integrated Web Server
The absolute rotary encoder can be addressed
page, will open a html page showing all available
by any web browser (e.g. Netscape, Internet
commands („Information about Commands“) or
Explorer, Opera, etc.). Please enter the IP
the page to configure the network settings.
address of the encoder in the address field of the
Chapter 5 describes these commands in more
browser. The factory setting for the IP address is
detail.
10.10.10.10. Chapter 4.3 will deal with changing
To
the IP address.
continuously please set the desired cycle time
read,
for
example,
the
position
value
and choose the cyclic mode. Each command to
If the encoder has built up a connection to the
the encoder and messages from the encoder are
browser, you can see its start page. To be able to
logged in the encoder message window.
parameterize the encoder
please open the page “Main Controller Site“ (see
image below). The other links on the starting
Version 05/09
Page 13
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
4.3 E-mail and Network Configuration
The rotary encoder can be used either with the
wired IP 10.10.10.10 or the software IP address
which can be programmed. A switch to choose
either option is located in the connection cap. If
the switch 2 is in position “off”, the programmable
IP has been chosen. Both Hex rotary switches
and switch 1 are not in use for this encoder. The
configuration window can be accessed via the
“Main Controller Site” or the start page.
Version 05/09
Page 14
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
5 Operating by TCP/IP Commands
5.1 Introduction
To use the absolute encoder with a control
are administrator rights necessary. Otherwise
system platform independent commands and
data in ASCII format can be exchanged by
your PC/control system will try to reach the
encoder via your computers standard gateway.
TCP/IP. To take a look at the commands and a
short description please see chapter 5.6. To find
The default IP address of the sensor is
10.10.10.10. You can check the connection to the
out how to address the TCP/IP interface of your
control or operating system please refer to the
sensor with the command “ping <IP-sensor>“.
documentation for these devices
5.2 Installation
To communicate with the Encoder using our
example tools tcpcl or updcl, a Java runtime
environment is required on your PC. If you have
not installed Java, you can get it from our CD
(look under the section “accessories”). You can
also download the latest version from
http://java.sun.com/products/j2se.
Copy
the
FRABA-Java programs which you can find on our
web site
http://www.posital.com/de/products/POSITAL/Ab
soluteEncoders/AbsoluteEncoders_OCD_Industri
alEthernet_TCP_IP_base.html onto your hard
disk, e.g. in the folder c:\fraba\ethernet.
Afterwards you need to set up the PATH variable
for the Java installation and the FRABA-Java
programs. For a convenient start we also
provided batch files to start the java files,
depending on the IP addresses you might need
to modify them. For TCP will be used port 6000.
If you use a Windows PC, you can try the
following connection to the sensor: Go to the
command prompt (DOS) and type in “ping
5.3 PATH Variable
5.3.1 MS-DOS, Win95, Win98, WinME
<computer-name>” or “ipconfig”. In response you
get the IP address of your computer. If the
Please add the required paths to c:\Autoexec.bat
encoder IP address is not located within your
subnet mask, you will need to prepare the data
behind the “Path” line. Example:
Path=c:\ms-dos; c:\Program Files\BC\BIN
transfer to the encoder by entering the command
“route add <IP-sensor> <IP-computer>“. Maybe
Version 05/09
Path=%Path%;c:\fraba\ethernet\
Path=%Path%;c:\programme\java\bin
Page 15
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
5.3.2 WinNT3.51, WinNT4, Win2000, WinXP
In Start – Settings – Control panel – System –
Advanced – Environment Variables you can
required paths! Depending on the operating
system used administrator rights might be
configure the variable “Path”. Please do not
change the other path settings, but only add
necessary.
the
5.4 Operating
After starting the batch file TCP_10101010.bat
the connection to the encoder will be built up.
If the encoder is running in cyclic mode, you can
see position values coming continuously from the
Once you are connected, you can try e.g. “read
offset” (please note space) to read out the
encoder. You can enter a command anyway,
although your input will be overwritten by new
calculated offset from the encoder. You can see
all available commands in the next chapter.
position values, the command will still be sent
once you press enter.
The Java program can be finished with CTRL-C.
5.5 Advanced functionality
In the subdirectory "advanced" in the Zip-file
not contain „\0‟ or „\n‟. This can be switched by
“Software Tools” there is a version of the TCPclient with enhanced functionality:
binary / ASCII, it will be automatically switched when the encoder is switched from/to bi-
the time from the command till the encoder
issues an answer can be measured in steps
nary mode.
Scrolling of the output can be turned on/off via
of 10 ms. This can be switched on/off using
time / notime.
scroll / noscroll
'new' renews the connection to the encoder
the binary values transmitted by the encoder
can be transferred to ASCII again, if it does
'exit' will close the TCPClient application
Version 05/09
Page 16
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
5.6 Parameters
commands and parameters have to be entered in
5.6.1 Commands
one line and started with <ENTER>. “Value“ means
the output value. You can change and read the
Important: Please note spaces, upper and lower
case! <Value> means the parameter to enter. All
settings of the encoder by using the following commands:
Commands
Remarks
Run!
This command will order the encoder to send a position value, regardless
of the time mode.
set <Variable>=<Value>
This command will set a variable to a given value. If successful, the
encoder will answer in the form <Variable>=<Value>, else an error
message will be issued. All variables/modes are stored in the internal flash
a few seconds after they were set.
After the value was saved, the message "Parameters successfully written!"
is issued to all connected TCP-Clients. If the encoder is turned off while
writing to the flash, the process can damage the flash and destroy the
encoder program.
Please take care under all circumstances that the encoder is not turned off
while it is writing to the flash !
read <Variable>
This command will read out a variable from the encoder. The encoder will
answer in the form <Variable>=<Value>.
Version 05/09
Page 17
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
5.6.2 Variables
Variables
UsedScopeOfPhysRes
Remarks / Values
Specifies the part of the physical resolution used for the encoder in physical
steps. If e.g. for an encoder with a resolution of 8192 steps per revolution
16384 is chosen, the encoder will count 8192 steps per revolution (if
TotalScaledRes is set to the same value as UsedScopeOfPhysRes) and
start with zero again after 2 revolutions. If this value is not set to a value
which results in an integer division with the total physical resolution, the
encoder value will jump to zero when passing the physical zero point.
Default value: Physical resolution of the type label. I.e. 4096 resolutions x
8192 steps per revolution = 33,554,432
TotalScaledRes
Specifies the scaled resolution which is used over the area of physical
steps defined by UsedScopeOfPhysRes. If e.g. the encoder is set as
described above and TotalScaledRes is set to 10, the encoder will count 10
steps over the physical steps defined with UsedScopeOfPhysRes, i.e. 5
steps per revolution. Default value: Physical resolution of the type label. I.e.
4096 resolutions x 8192 steps per revolution = 33,554,432
CountingDir
Specifies the direction to turn the axis which is associated with higher
values.
CW: denotes that clockwise turning will increase the position value
CCW: denotes that counterclockwise turning will increase the position
value
Preset
When the preset is set, an internal offset will be calculated, which will be
saved and added to all position values afterwards. The value given for the
preset denotes the position value the encoder will show at the point where
the preset was set.
Offset
This variable makes it possible to directly change the offset calculated and
set by the preset function.
TimeMode
Possible time modes are:
polled: Encoder will only send output values if asked to do by "Run!"
cyclic: Encoder will send output values after time specified by
CycleTime.
change of state: The Encoder will send the output values only if either
the position or the velocity has changed. The values are checked
every 5 ms to reduce unwanted network traffic
Version 05/09
Page 18
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
Variables
Remarks / Values
OutputMode
Possible output modes are:
[Position_][Velocity_][Timestamp_]
where the components mean:
Position: Encoder will send a scaled Position value.
Velocity: Encoder will send a velocity Value (steps/s).
Timestamp: Encoder will send a timestamp in microseconds, starting
with 0 at the startup of the encoder. As the counter is a 32 Bit value, the
timestamp will reach zero again after approx. 1.2 hours. This variable has
got no effect to the Modbus communication.
OutputType
Possible output types are:
ASCII: Encoder will send ASCII-letters in the form
"POSITION=<POSITION> VELOCITY=<VELOCITY> TIMESTAMP=<TIME>"
ASCII_SHORT: Encoder will send ASCII-numbers in the form
"<POSITION> <VELOCITY> <TIME>", separated by spaces
BINARY: Encoder will send 32 bit binary values without any separator
between the values.
This variable has got no effect to the Modbus communication.
CycleTime
States the time in ms for the cyclic time mode. Can have values between
1 ms and 999,999 ms. This variable has got no effect to the Modbus communication.
IP
Sets the IP-address of the encoder and must be a valid IP-address in the
form a.b.c.d, with a, b, c, d from 0 to 255.
Attention: The IP-address will only be activated after a new power-up when
switch 2 is in position “off”.
NetMask
The net mask used by the encoder. Please take care that Encoder and
PLC/PC are within the same subnet or specify a working gateway.
Gateway
Gateway to be used by the encoder, if own IP-address and destination
IP-address are not within the same subnet specified by the net mask.
OwnEmailAddr
The email-address given as the sender in emails from the encoder.
RmtEmailAddr
The email address emails will be send to.
SMTPServerIP
The IP-address of the SMTP-server which the encoder will send the email
by.
Verbose
Level of information output for tracer (0 = only errors, 1 = errors and warnings, 2 = errors, warnings and clues)
Version 05/09
Page 19
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
5.6.3 Encoder answers
Encoder answers
Remarks
<Variable>=<Value>
If a variable was correctly set, the encoder will answer to all connected
TCP-clients with the variable and its new value. This indicates that the
Encoder understood the command and now uses the value, it does not
indicate that the value was already save to the internal Flash, please allow
some additional seconds for that.
ERROR: ...
If something went wrong, the encoder will issue an error, e.g. if it did not
understand a command or if a value for a variable was not correct. It will
describe the error after the "ERROR:" tag.
WARNING: ...
If a variable was set to a value, which is permitted, but which may result in
problems when certain conditions occur, the encoder will issue a warning.
This could for example happen, if the variable UsedScopeOfPhysRes is set
to a value which does not result in an integer division with the physical
resolution of the encoder when dividing the total physical resolution of the
encoder. The reason for the warning will be sent following the "WARNING:"
tag.
Parameters successfully
written!
If any variable was set, it is important to wait until the encoder displays this
message before the encoder can be turned off, otherwise the internal flash
might be damaged.
6 Glossary
Term
Explanation
10 Base T
Transmission line with 10 Mbit data transmission rate
100 Base T
Transmission line with 100 Mbit data transmission rate
ADU
Application Data Unit
ASCII
American Standard Code for Information Interchange
ASCII describes as code the correlation from digital integers to a normal font
described character.
Batch file
Script program for MS-DOS
Baudrate
Transmission rate; it display the transmission bits per second
Binary
Numeric system with value 0 or 1.
Browser
Software program to display HTML-Sides on different operating systems
(Linux, Unix, Windows, ...)
CAT5
Terminations for transmission rates up to 100 Mbit.
Version 05/09
Page 20
UMUS-OCD-EM
MODBUS / TCP
USER MANUAL
CRC
The cyclic redundancy check is a method from the information technology to
control a checksum for data, to reduce errors by the transmission.
EMC
Electromagnetic compatibility, there are rules to verifying devices.
Ethernet
Ethernet is a computer network technology based on frames.
Term
Explanation
Fast Ethernet
Transmission technology with 100 Mbit transmission rate.
FCS-Bytes
The Frame Check Sequenz-Bytes are a 32 Bit CRC-Checksum.
Flash
Internal memory, saved data will be available after power down.
HTML
The Hypertext Markup Language is a document format used in the World
Wide Web to be displayed by a browser
HTTP
The Hypertext Transfer Protocol is a stateless transmission protocol for data
transmission.
Hub
The hub connects different network segments e.g. in an Ethernet network.
IP-Adresse
IP-address allow a logic addressing from computer in a network.
IP-Protokoll
The Internet Protocol is widespread in computer networks. It is the implementation of the internet layer of the TCP/IP-model
MODBUS
Is an application layer messaging protocol, positioned at level 7 of the OSI
model, that provides client/server communication between devices connected
on different types of buses or networks.
MODBUS/TCP
The Internet community can access MODBUS at a reserved system port 502
on the TCP/IP stack.
Mbit
Transmission rate or baud rate, million bits per second
OCD
Acronym: OPTOCODE, name of an encoder series manufactured by FRABA
POSITAL.
OSI-Modell
The Open System Interconnection reference model is a open layer model for
the organisation of a communication.
PDU
Protocol Data Unit
PPP-Packet
The Point-to-Point Protocol will be need for a connection establishment. It
enables the transmission between different network protocols.
SMTP
Simple Mail Transfer Protocol managed the transmission of e-mails.
Switch
A switch is an electronic device to connect computers e.g. network segments
in a local network. Unlike a hub, a switch uses stacks to avoid network collisions.
TCP
The Transmission Control Protocol is a connection orientated transmission
protocol, in a network.
TCP-Client
MS-DOS program available from FRABA to communicate with the encoder.
UDP
User Datagram Protocol is utilized to send data that does not need to be
transferred in a reliable way.
Version 05/09
Page 21
UMUS-OCD-EM
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement