HW Group PortStore5 Manual Download Page 20

PortStore5 Manual

HW group

www.HW-group.com

20

==== Trigerring Setup =====
*L: Trigger Length

1

Number of bytes for the packet start and packet end triggering condition. Allowed values are 0 to
4. If the lengths of your start and end conditions differ, use the trigger condition mask and
remember to include the masked characters in the length of the triggering condition, even though
they contain actual frame data.

*P: Post Trigger Length

0

In some protocols, the packet end condition is followed e.g. by a checksum. This condition defines
the number of characters that make up a packet after the packet termination condition. If the start
and stop trigger conditions are equal, this value specifies the packet length without the leading 0 to
4 bytes of the start trigger.

*S: Start Trigger Pattern

58.0.0.0

Start trigger condition for packet transmission. Four bytes
are set; however, only the number of bytes specified in “L: Trigger Length” is considered.

*M: Start Trigger Mask

255.0.0.0

Mask of the start trigger condition. Masking works similarly to the Ethernet netmasks using a bitwise
AND. Value of 255 means that the tested character must be equal to the character specified in “V: Start
Trigger Pattern”.  For example, to start the transfer with any ASCII control character (0..31d), use
0.0.0.0 for the trigger pattern, 224.0.0.0 for the mask and 1 for the length. If you set the character to 0
and the mask to 0, the trigger matches any character.

*X: Stop Trigger Pattern

10.0.0.0

Sets the stop trigger condition for sending data to the Ethernet.

*Y: Stop Trigger Mask

255.0.0.0

Mask of the stop packet trigger condition for serial line data. For
example, the settings displayed here are intended for
transferring data in the IntelHEX format over RS485. The start
trigger is a colon and the transfer is terminated after receiving
the <LF> (0Ah = 10d) control character.

*E: Max. Start-Stop Length

999

Maximum number of characters that the device sends after the
START trigger, unless the STOP trigger is encountered sooner.
After transmission, another START trigger is expected.
Essentially, this is a “timeout” specified as the number of
characters.

==== UDP/IP Mode Setup =====
A: Max. Packet Length

250

Maximum UDP packet length in bytes.

Configuration example

To send all data from the serial
line to the remote device, use
this configuration:

*L: Trigger Length

0

*P: Post Trigger Length 0
*S: Start Trigger Pattern 0.0.0.0
*M: Start Trigger Mask

0.0.0.0

*X: Stop Trigger Pattern 255.0.0.0
*Y: Stop Trigger Mask

255.0.0.0

*E: Max. Start-Stop Length

200

(

4B input data

AND

*M

) =

*S

(

4B input data

AND

*Y

)=

*X

Summary of Contents for PortStore5

Page 1: ...PortStore5 Manual HW group www HW group com 1 PortStore5 MANUAL...

Page 2: ...ing safety and maintenance instructions The device must not be used in particular under any of the following conditions The device is noticeably damaged The device does not function properly Unfastene...

Page 3: ...hen the connection is established stored data are sent as a continuous RAW TCP stream The remote port can be controlled with a virtual driver for Windows just like for example COM 5 a Windows XP Vista...

Page 4: ...data Buffer overflow signaling Network None RS 232 HW or SW handshake if buffer is full Buffer type Linear FIFO data space Buffer data readout format RAW binary TCP IP stream Ethernet port Interface...

Page 5: ...PortStore5 Manual HW group www HW group com 5...

Page 6: ...ort mode OFF ON RS 485 serial port mode check the R and H parameters recommended R3 H1 LEDs Power green External power connected LINK amber Ethernet activity Status green Device starting up firmware u...

Page 7: ...UDP Setup tab click Find modules The MAC address of the device appears in the left column Single click the MAC address and set the required parameters at least the IP address mask and gateway Make su...

Page 8: ...up com 8 Configuring the device over WWW In the UDP Setup tab click the correct MAC address and press Open in the WEB browser You need to log in to access the configuration The default credentials are...

Page 9: ...e R for Reboot and press Disconnect to disconnect from the device The device restarts Note TCP Setup can be disabled with the Enable TCP setup option When unchecked the device refuses connections to p...

Page 10: ...When using a RS485 converter configure I1 or I2 and remember to turn on HALF DUPLEX using H1 I need to supply power to a RS 232 application If you don t need to control data flow HW handshake but nee...

Page 11: ...sure to restart your PC Make sure that NVT is enabled at the UDP Setup tab in the Hercules utility If not enable NVT and save the settings Start HW VSP and find the device at the UDPsetup tab Select...

Page 12: ...l port activity to C serialport log TCP server mode Activates VSP as a TCP IP server The driver then behaves as a TCP Client Server device the first side to receive any data switches to Client mode an...

Page 13: ...and description The description of the settings combines WWW based configuration and TCP setup or Serial setup Some functions are only available in Serial setup TCP setup TEA security settings QUIET m...

Page 14: ...PortStore5 Manual HW group www HW group com 14 Network parameters...

Page 15: ...owed to communicate with the device This value must be the result of a bitwise AND of the remote IP address and the restriction mask option N otherwise the device does not react N Mask 0 0 0 0 This ma...

Page 16: ...101 6 15 min n 124 7 30 min n 144 8 1 h n 179 9 2 h n 249 The timeout can be fine tuned by specifying a value from 10 to 255 according to this formula n 16 n 0 2 s n 32 n 15 0 8 s 3 0 s n 64 n 31 3 2...

Page 17: ...PortStore5 Manual HW group www HW group com 17 TCP mode settings...

Page 18: ...gh to serial port 1 On accept telnet control codes K Keep connection Off Keeps TCP connections alive to avoid automatic termination upon timeout specified by the B IP protocol retry time parameter Whe...

Page 19: ...Store5 Manual HW group www HW group com 19 UDP IP mode settings If you select T IP mode UDP the device will communicate with the remote side using UDP packets Also the following menu appears in the Se...

Page 20: ...tart Trigger Pattern For example to start the transfer with any ASCII control character 0 31d use 0 0 0 0 for the trigger pattern 224 0 0 0 for the mask and 1 for the length If you set the character t...

Page 21: ...he serial line Any speed from 50 to 115 200 Bd can be set To set 9600 Bd enter B9600 The resolution depends on the speed Up to about 1000 Bd 1 Bd steps can be used At 10 kBd only 100 Bd steps are stil...

Page 22: ...nce to set up 9 bit communication with a majority of data having space parity enter PS V1 space parity variable parity on M Multidrop mask 0 N Multidrop network addres 0 S Stop bits 2 Number of stop b...

Page 23: ...r of characters defining the timeout stays the same 10 characters means about 11 ms at 9600 Bd or 5 7 ms at 19200 Bd G Char Transmit Delay 0 Off When controlling devices with a small RS232 buffer it i...

Page 24: ...are sent according to defined conditions If there was a power failure PortStore sends a device restart notification to the specified e mail address as soon as the power is restored The U and X paramet...

Page 25: ...ect PortStore Power Up init Defines e mail address and subject to be sent when the device is turned on after a power failure Buffer Full e mail V To e mail address ResponsiblePerson company com Y e ma...

Page 26: ...saved settings 0 Restores settings from slot 1 1 Restores settings from slot 2 2 Stores current settings to slot 1 3 Stores current settings to slot 2 R Reboot Software restart Necessary e g when the...

Page 27: ...the last 4 bytes to the value shown above use K3 0D 0E 0F 10 The key is used to verify one time passwords OTP when authenticating the remote side Other device parameters Q Quiet Batch mode Quiet mode...

Page 28: ...PortStore5 Manual HW group www HW group com 28 What s new in the WEB interface Firmware upgrade Upgrades the current device firmware This operation may change some settings...

Page 29: ...T IP mode TCP V NetworkVirtualTerminal On K Keep connection Off E Erase buffer on None Press Enter to continue Serial Setup B Speed 9600 D Data bits 8 P Parity None V Variable Parity Off S Stop bits 1...

Page 30: ...ed 8V A DTR Output unasserted 8V T Serial Line Timeout 0 Off G Char Transmit Delay 0 Off H Tx Control Tx FULL duplex I RS485 RS422 control Off Security Setup A TCP autorisation Off K TEA key 0 01 02 0...

Page 31: ...both devices If security is an essential requirement and the device should only communicate within the local network use the following settings In this case only communication within the LAN segment...

Page 32: ...if the receiving device shuts down PortStore5 is used to receive this data over RS 232 and store it into the internal Flash buffer Once in a while the special software downloads the data over the Eth...

Page 33: ...ur extension is not standardized however when we implemented this extension in 2001 no such standard was known to us How does it work The commands are control sequences in the TCP IP data stream the F...

Page 34: ...al value the value directly indicates the communication speed in Bauds Outgoing sequence FF FA 2C 01 00 00 00 00 FF F0 PortStore5 returns FF FA 2C 65 00 00 25 80 FF F0 Converting 00 00 25 80 to decima...

Page 35: ...In UDP mode there are no acknowledgment checks the application itself must tolerate data loss The advantage is a somewhat faster response time which is particularly useful for RS 485 lines NVT Networ...

Page 36: ...PortStore5 Manual HW group www HW group com 36 Contact HW group s r o Rumunsk 26 122 Praha 2 120 00 Czech republic Tel 420 222 511 918 Fax 420 222 513 833 http www HW group com...

Reviews: