86
11.4.8
TCP Link Mode
In this mode link with external device using text messages can be established.
Any string of data coming to COM will be routed to server. (if link is currently active) First
message will be packet to special packet
7
. Packet will be sent as Codec12.
If you want to send message to COM, you need to pack in special packet.
1.
External Devices ->COMx Settings->Baudrate = any of available baudrates
2.
External Devices ->COMx Settings->Mode = TCP Link Mode
3.
External Devices ->COMx Settings->Parity = any setting
4.
When sending a packet through COMx don’t forget to enter a new line otherwise
the packet will not be recognized. Packet format: <enter your message> <enter
new line> - send. For example:
message/n
or in HEX it should look like:
6D 65 73
73 61 67 65 0D 0A
These parameters are automaticaly configured when TCP Link mode is selected:
* Record refresh timeout 9999999 sec.
* ignores weektime, timesync, and records
11.4.9
TCP Link Mode (Binary)
This mode is the same as above but binary message doesn’t need new line. Packet will be
sent as Codec12. Packet format: <enter your message> - send. For example:
message
or in
HEX it should look like:
6D 65 73 73 61 67 65
1.
External Devices ->COMx Settings->Baudrate = any of the available baudrates
2.
External Devices ->COMx Settings->Mode = TCP Link Mode(Binary)
FM63 supports buffering messages when there is no data link, messages will be saved to
flash with a timestamp. Space reserved for buffering is 64 kB. By default buffering is disabled. To
enable set “TimeStamp” property. Buffered messages will be sent using Codec13 protocol.
Note. There is a default timeout which is 30ms. When no packets are received for more
than 30ms, its seen as the end of the packet.
7
For additional information of special packet, please contact to your local sales representative
Содержание FM6320
Страница 1: ...FM6320 User Manual V1 13...