Manual Ixarc Ocd em
Manual Ixarc Ocd em
Manual Ixarc Ocd em
User Manual
Absolute rotary encoders provide a definite value The encoder is able to provide three different kinds
for every possible rotary position. All these values of output data: the position value, a velocity value
are reflected on one or more code discs. The and a time stamp. These can be use in arbitrary
beams of infrared LEDs are sent through the code combinations for TCP transmitting.
discs and detected by Opto-Arrays. The output
signals are electronically amplified and the result- The following functions of the absolute rotary en-
ing value is transferred to the interface. coder can be programmed directly via the Ethernet
connection:
The absolute rotary encoder has a maximum reso- - Used scope of physical resolution
lution of 65,536 steps per revolution (16 Bit). The - Total scaled resolution
Multiturn version can detect up to 16,384 revolu- - Preset value
tions (14 Bit). Therefore the largest resulting reso- - Code sequence (Complement)
30
lution is 30 Bit = 2 = 1,073,741,824 steps. The
standard Singleturn version has 13 Bit, the stand- There is no specific software required for version
ard Multiturn 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 grammed by any standard web browser. For this
standard or fast Ethernet (10 Base T, 100 Base T). purpose the absolute rotary encoder contains a
At present it supports the following international web server, which provides HTML documents with
standardized protocols: TCP, IP (http and SMTP in embedded Java applets. These documents are a
version A1), UDP and Modbus. 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.
1.5 OSI-Modell
Layer
7 Application Modbus
Layer
Application
6
Mapping Layer Modbus <-> TCP
5
4 Transport Layer TCP
Data transport
3 Network Layer IP
2 Ethernet Mac
IEEE 802.3
Layer
1 Physical Layer Cable
Cat 5 Cable
Cat 5 Cable
3 Data transmission
3.1 Values register, the first byte contains the high order bits
Position values, velocity and a time stamp are and the second contains the low order bits. The
provided. Error check in ADU is for Modbus/TCP not
available, because TCP use a Error check. For
3.2 Format details see www.modbus.org.
4 Programming
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 inte-
ger 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 physi-
(parameter 2) cal 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 operat-
ing 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.
Please note the FAQ for important information!
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.)
The absolute rotary encoder can be addressed please open the page “Main Controller Site“ (see
by any web browser (e.g. Netscape, Internet image below). The other links on the starting
Explorer, Opera, etc.). Please enter the IP page, will open a html page showing all available
address of the encoder in the address field of commands („Information about Commands“) or
the browser. The factory setting for the IP the page to configure the network settings.
address is 10.10.10.10. Chapter 4.3 will deal Chapter 5 describes these commands in more
with changing the IP address. detail.
To read, for example, continuously the position
If the encoder has built up a connection to the values please set the desired cycle time and
browser, you can see its start page. To be able choose the cyclic mode. Each command to the
to parameterize the encoder encoder and messages from the encoder is
logged in the encoder message window.
5.1 Introduction
To use the absolute encoder with a control system standard gateway. The default IP address of the
platform independent commands and data in sensor is 10.10.10.10. You can check the
ASCII format can be exchanged by TCP/IP. To connection to the sensor with the command “ping
take a look at the commands and a short <IP-sensor>“.
description please see chapter 5.6. To find out how
to address the TCP/IP interface of your control or 5.2 Installation
operating system please refer to the
documentation for these devices 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
website
https://www.posital.com/media/fraba/productfinder/
posital/tools-ixarc-ocd-em-java_client.zip
onto your hard disk, e.g. in the folder
c:\fraba\ethernet.
In Start – Settings – Control panel – System – required paths! Depending on the operating
Advanced – Environment Variables you can system used administrator rights might be
configure the variable “Path”. Please do not necessary.
change the other path settings, but only add the
5.4 Operating
After starting the batch file dos10.bat in tools- calculated offset from the encoder. You can see
ixarc-ocd-em-java_client.zip (subdirectory all available commands in the next chapter.
TCPIP+UDP-Client\TCPClient_Posital_Time\) If the encoder is running in cyclic mode, you can
the connection to the encoder with IP-Address see position values coming continuously from
10.10.10.10 will be built up. IF you need another the encoder. You can enter a command anyway,
IP-Address then you can change the batch file. although your input will be overwritten by new
Once you are connected, you can try e.g. “read position values, the command will still be sent
offset” (please note space) to read out the once you press enter.
The Java program can be finished with CTRL-C.
5.6 Parameters
5.6.1 Commands
Important: Please note spaces, upper and “Value“ means the output value. You can
lower case! <Value> means the parameter to change and read the settings of the encoder by
enter. All commands and parameters have to be using the following commands:
entered in one line and started with <ENTER>.
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 that under all circumstances 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>.
5.6.2 Variables
7 FAQ
1. Question: Why cannot set the Preset value more than one time?
Answer: The Preset value will save in the flash of the encoder. This flash has only writing
cycles of 100000 times. If the register 14+15 is in use to set the Preset value it could be
that thousands of cycles will safe in the flash and the life time of the encoder decrease
significant. So we fix it that it is not possible to save the same preset value for more than
one time. The next preset value must be different, but can use in the next but one. I.e.
Preset value is 0. Then set in the first time 0, in the second 1, in the next one 0, ...
In newer Java versions ~>7 Update 16 there are problems with the Certificates. But it is
possible to put the device on a white list:
Hint: With Internet Explorer and Google Chrome there should be a problem after switching
to another page. But with Firefox this works stable.
b.) Use an older JAVA version. But it could be that this is not allowed from you IT admin-
istration!
c.) In the most cases our customers use the web-applet only for the configuration.
Temporary they can use the JAVA tool from our website. See details in chapter 5.4.
Then they can send the commands with command line input. See chapter 5.6.
8 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
Baud rate 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.
CRC The cyclic redundancy check is a method from the information technol-
ogy to control a checksum for data, to reduce errors by the transmis-
sion.
EMC Electromagnetic compatibility, there are rules to verifying devices.
Ethernet Ethernet is a computer network technology based on frames.
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 net-
work.
IP-Address IP-address allows a logic addressing from computer in a network.
IP-Protocol The Internet Protocol is widespread in computer networks. It is the im-
plementation of the internet layer of the TCP/IP-model
MODBUS Is an application layer messaging protocol, positioned at level 7 of the
OSI model, which provides client/server communication between devic-
es 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-Model The Open System Interconnection reference model is a open layer
model for the organization 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.
13 Revision index
Add hint for FAQ 7 that Firefox works without problem 2015-05-20 1.4
Add FAQ 8: Error message "Exception while opening stream with IP…" 2015-12-17 1.5
Update FAQ 8 to a secure IT solution and add explanation to Java tool 2016-02-08 1.6
Address modifications and small spelling corrections
Disclaimer
© FRABA B.V., All rights reserved. We do not assume responsibility for technical inaccuracies or
omissions. Specifications are subject to change without notice.