« Previous : 1 : 2 : 3 : 4 : 5 : ... 6 : Next »

Dynamic Peer Host Configuration in UDP

UDP (User Datagram Protocol) is one of two prominent protocols in transport layer.

This protocol is quite simple and fast so many real time systems are taking it.

However it is unreliable on data integrity.

If your system does not allow any data loss, you should take TCP rather than UDP.

 

ezTCP has two optional communication modes and they are TCP and UDP.

You can select one considering your systems and its environment.

 

In case of TCP, ezTCP communicates one remote host at a time.

(Except for some products which have multiple monitoring function)

Like this, ezTCP can set a peer host as its counterpart in UDP.

However, because this protocol has no connection procedure, transferring same data to multiple hosts at a time.

This is possible because the peer host address could be set to broadcast IP address.

 

Then, how about switching peer host?

This means that ezTCP communicate with one host at a time but the host can be changed without additional setting.

ezTCP can do this.

We call this option “Dynamic Peer Host Configuration” and almost products equip that.

ezTCP changes peer host to a new one which sends the last received data to itself.

Even if ezTCP is sending data continuously, it changes the peer host right after data from another host has arrived.

 

사용자 삽입 이미지

ezTCP updates the peer host address when a packet from another device has been arrived.

How to use it?

 Just set both peer IP address and port number to 0.

That’s all.

사용자 삽입 이미지
사용자 삽입 이미지




이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/08/18 05:20 2010/08/18 05:20
, , , , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/119

Restriction for the Security

Almost ezTCP products have restriction function.

The concept is block accesses from any unauthorized devices.

MAC address and IP address with the network mask can be used for this function.

According to using which products, you can use both or just one way.

The blow table shows you which products support both ways.

 

사용자 삽입 이미지

Using restriction

1. An IP address only.

When ezTCP is in TCP server mode, the restriction is available.

   a. Run ezConfig

   b. Search and Select your product

   c. Set an IP address on the [Allowed IP Address] parameter.

사용자 삽입 이미지

It seems to be quite simple.

Now, only a device whose IP address is the same with the value of the [Allowed IP Address] parameter can access to your product.

In this case, you can set only one IP address for the permission.

 

2. An IP address with network mask.

   a. Run ezManager

   b. Search and select your product

   c. Move to the [Option] tab

   d. Check the [Allowed IP Range] option.

   e. Set an IP address on the [IP Address] box.

사용자 삽입 이미지

   f. Check or uncheck each check box of the [Network Mask]

If you check all the check boxes, just one device which is set to the [IP Address] box is the only one which can access to your device.

사용자 삽입 이미지

Otherwise, it is possible to adjust the range of permission.

The detail is in the below table.

 

사용자 삽입 이미지

3. MAC address.

   a. Run ezManager

   b. Search and select your product

   c. Move to the [Option] tab

   d. Check the [Allowed MAC address] option.

   e. Set an MAC address on the box.

사용자 삽입 이미지

Like the case 1, you can set just one device for permission.

And, note that MAC address is valid only the same local network.

 

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/08/12 10:29 2010/08/12 10:29
, , , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/118

[ezVSP 3.x] Driver Signature Problem.

ezVSP has been continuously updating for users’ conveniences.

Especially, the compatibility with operating system had been considerably improved since the version 3.0A.

 <Click the blow image>

사용자 삽입 이미지

We found that when using some systems, driver signature problem could be a factor of inappropriate work.

We had been tried to solve this problem but support desk of the company which made the driver we are using said the only way to avoid this problem is disabling driver signature enforcement.

This problem is caused the systems in the red box.

( MS Windows 7 - 64bit, MS Windows Server 2008 - 64bit )

The procedure to handle this problem is followed.

1. Turn your PC on.

2. Hit the F8 key several times on your keyboard right after turning the PC on.

<Click the blow image>

 

사용자 삽입 이미지

3. Select the “Disable Driver Signature Enforcement” among the menu of advanced boot options.

4. This work is needed in every time you restart the PC.

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/08/09 01:15 2010/08/09 01:15
, , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/117

TX Delay

TX delay option is for giving delay to the serial output.

In case of serial devices which have low performance in processing data or don't have any buffer, those devices need giving delay to handle received data.

Usually, data rate of Ethernet is faster than serial.

Thus, users who have devices like the above can use the TX delay option.

The basic concept of this option is pretty simple.

That is giving duration of set bytes between each byte.

A byte consists of 10 or 11 bytes.

User image

For example, if you set 1 to this value, each data received from Ethernet will be sent to the serial port with one byte duration.

See the below figure.

User image

If you set this value to 2, the reslut will be the same with the below.
User image


The maximum value of this parameter is 25.
You can set this option on ezManager with dragging your mouse.
User image

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/07/27 05:14 2010/07/27 05:14
, ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/116

Using the Macro mode

CIE-M10/H10 has 4 different types for monitoring and controlling its I/O ports.

Those are Modbus/TCP, HTTP, Serialized Modbus/TCP and Macro.

This is second time of talking about the Macro.

I want to look into the usages of this mode.

 

<Configuration>

The tool for configuring parameters of CIE-M10/H10 is ezManager.

The mode can be changed by this program.

User image

1. Move to the [I/O Ports] tab.

2. Select the [I/O Port Option] tab

3. Check the [Macro] option and set formulas on each output port.

 

<Practical Example>

See the below setting

 

User image

1. Do0 = i0
It is not necessary to explain the result of this.

2. Do1 = /i0
You must be notice that Do0 and Do1 are never turned ON or OFF in the same time.

3. Do2 = i0 + i1
Except for the first situation of the below truth table, Do2 will keep HIGH.

User image

4. Do3 = i0 * i1
Except for the last situation of the below truth table, Do3 will keep LOW.
User image

5. Do4 = /i0 * /i1
According to the priority, both i0 and i1 are reversed.
Then, the results are operated by AND operator.
User image

6. Do5 = /i0 + /i1
Like the Do4, the reversed values are operated by OR operator.
User image

7. Do6 = /(i0 + /i1)
The bracket has the top priority than any other operators.
Thus, i0 and reversed i1 are operated by OR operator at first.
Then the result is reversed by NOT operator
User image

8. Do7 = i1

<Test>

Following show status of the I/O ports under two different situation.
Try to guess why the result came out.

1. All the input ports are truned OFF

User image


2. All the input ports are truned ON
User image

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/07/21 00:11 2010/07/21 00:11
, , , , , , , , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/115

About Macro mode of CIE-M10/H10

CIE-M10/H10 has 4 different types for monitoring and controlling its I/O ports.

Those are Modbus/TCP, HTTP, Serialized Modbus/TCP and Macro.

I want to talk about the Macro in this time.

This mode is for automatic control of the output ports.

The source could be combination of input ports using simple Boolean algebra.

For example, you can give output port #0 only the input port 0 has valid HIGH signal.


<Operators>

Three operators (AND, OR and NOT) can be used.

The bracket could be included for priority of each term.

1. AND (*)

: It gives HIGH only all the terms are HIGH. It seems like multiplication.

2. OR (+)

: It gives HIGH if one of the terms is HIGH. It seems like addition.

3. Not (/)

: It inverts the signal.


<Operand>

The input ports are used as operand.

Each input port (i0 ~ i7) and combinations of the ports could be used.


<Example>

1. Do0 = i0 + i1

It is a very simple equation. Do0 is turned ON when one of both input ports i0 and i1 has HIGH at least. See the below truth table.

User image

2. Do1 = i0 * / (i1 + i7)

It is a more complicated equation.

a. The operation in the bracket is calculated.

b. The result of a. is inverted by NOT (/) operator in front of the bracket.

c. And then, the result of b. is calculated with i0 by the AND operator.

See the below truth table.

User image

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/07/19 04:28 2010/07/19 04:28
, , , , , , , , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/114

Event Byte Option

About the [Event Byte] option

ezManager has this option for the all ezTCP/LAN and WLAN series.

User image
What is for the Event Byte?
Meaning of the Event Byte could be changed according to the communication mode.

1. TCP Server mode

 This value is used for sending data which had arrived from the serial port before TCP connection is established to the remote server.

If this value is set to 0, the data will be ignored.

If this value set to another value, the data will be sent to the network.

2. TCP Client mode

 This value is used for determine the time to send the connection request to the server.
If this value set to 0, ezTCP send the connection request right after it boots up.
If this value set to 100 (100 bytes), ezTCP doesn't send the request until the 100 bytes come from the serial port.
After making TCP connection, ezTCP send the serial data to the server.

3. UDP mode
 This value is used for determine the data size which is sent at once as a block.
That means you can configure the UDP block size.

Maximum values
According to the products and some security options, maximum value of this parameter could be changed.

User image

These values are related to the buffer size of each product.



이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/06/28 20:06 2010/06/28 20:06
, , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/112

Introduction of a New product [CSE-H55]

Sollae Systems is planning to introduce a new ezTCP product within a couple of weeks.
The name of product is CSE-H55.

User image

This model has been developed for users who need RS422 or 485 communications only.
Basic features are followed.

Features
* 1 Serial port for RS-422 or RS-485 (4 pins Terminal block interface)
* 10/100Mbit Ethernet
* Operating Temperature: Industrial Temperature Range -40 to 85 degrees Celsius.

Application Diagrams
* LAN
User image

* Internet (with IP Share Router)
User image

* Serial Tunneling
User image

* Multi-drop system
User image

Connection of the serial port
* RS-422 connection
User image

* RS-485 connection
User image

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/06/23 01:45 2010/06/23 01:45
, , , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/111

[ezVSP 3.2A] Manage Data Bypass

This is second time for introducing a new function of ezVSP 3.2A.
Today's topic is "Data Bypass" function.



Data Bypass

User image

Two virtual serial ports communicate with each other with activating this function.
This function is useful when remote devices do not support DNS or DDNS under dynamic IP address environment.
In addition, you can monitor the data between the devices.
Note that only monitoring is available. (You can send data to the both virtual ports with any serial program)

Start Data Bypass

Run ezVSP 3.2A and select the [Option] >> [Manage Data Bypass] menu.
User image

There are two sections.
In Make Data Bypass section, all the running virtual serial ports are listed on left side.
If you click one of the ports, candidates as a counterpart are listed on the right side of the section.
User image

You can understand those ports as a pair of source and destination for data bypass.

When clicking the [Make] button after selecting both virtual ports, the pair of ports is registered on the [Manage Data Bypass] section.
User image
User image

After registering data bypass, the icons of those ports will be changed.
User image

Stop Data Bypass

When stopping data bypass function, move to the [Option]>>[Manage Data Bypass] menu again.
Click the pair of virtual ports and press the [Delete] button.
User image

 
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/06/21 06:16 2010/06/21 06:16
, , , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/110

[ezVSP 3.2A] Emulation of Baud Rate

ezVSP 3.2A has been relapsed.
Download it Now!

Not only operation and styles of some menus have been modified and three functions have been added.
I'm going to introduce the each function and today's topic will be "Emulation of Baud Rate".

[Emulation of Baud Rate]

Basically, a virtual serial port which is made by ezVSP does not use its terminals baud rate.
For example, although you open the virtual port with 115,200 bps, data transfer speed of the port is so much faster than that.
When you want to use the baud rate, set the port to be on the list of [Emulation of Baud Rate].

Start Emulation of Baud Rate

Click [Option] >> [Emulation of Baud rate] menu.

User image

The below window will appear.
Ports which you made will be listed on the left side.
User image

Click a port and press the [Start >>] button.
User image

The port will be moved on the right side.
User image

Check if the "[E]" is ahead of the port setup.
User image

Stop Emulation of Baud Rate

Select the port and press [<< Stop] button.
User image

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by eztcp

2010/06/17 04:09 2010/06/17 04:09
, , , , , ,
Response
No Trackback , No Comment
RSS :
http://blog.eztcp.com/ensollae/rss/response/106

« Previous : 1 : 2 : 3 : 4 : 5 : ... 6 : Next »

블로그 이미지

SOLLAE SYSTEMS ENGLISH BLOG

- Roy

Notices

Archives

Recent Comments

Recent Trackbacks

Calendar

«   2010/09   »
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Site Stats

Total hits:
37013
Today:
44
Yesterday:
155