EasyManua.ls Logo

Kimaldi BioMax2 - Ephy Configuration

Kimaldi BioMax2
91 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 44 of 91
- $0E - TCP_TimeOut: This is a byte that encodes the time in seconds between
transmission retries. In other words, after the transmission of a frame, the BioMax2 /
KBio2-Online electronics will wait for Acknowledgement from the Host during
TCP_TimeOut seconds. After this time, the frame will be resent up to 3 times. After
3 failed retries, the BioMax2 / KBio2-Online electronics will close the TCP/IP
socket. This same parameter controls the KeepAlive frame of the BioMax2 / KBio2-
Online electronics: every 10 x TCP_TimeOut seconds, the BioMax2 / KBio2-Online
electronics will send a frame with the ASCII $06 byte to check that communications
with the Host remain valid. If the frame KeepAlive is not acknowledged after 3
retries, the Socket will also be closed.
If TCP_TimeOut is 0, no retries are made, KeepAlive frames are not generated and the
socket can only be closed from the Host.
-
$0F - KSP-Address_Low: This byte encodes Node_ID in a KSP network. It would be
equivalent to the 8 bit DIP-Switch of Kimaldi CAN system products.
-
$10 - CFG_ePHY: This byte allows for the type of Ethernet connection available for
our electronics to be consulted and specified in advance.
- $1E - TCP Port-RemoteHost: Four BCD digits that indicate the Host port through
which TCP communications (Bio-OCX protocol via TCP (TCP Server) or KSP-TCP
communications (KSP protocol via TCP (TCP-client) ) will be established . Its
default value is 0000, so that the enabled protocol is Bio-OCX (TCP Server). If a
different value is encoded (typically, 6601), TCP-Client will be enabled.
- $1F - KSPPort-RemoteHost: Four BCD digits that indicate the Host port through
which communications with BioMax2 / KBio2-Online electronics will be establis-
hed (KSP protocol via UDP). Its default value is 6001 and it requires a value other
than 0000.
It is important to remember that changes in the IP configuration will not take effect until
after the machine is restarted, which can be done by simply sending the ApplyCFG
instruction.
8.2.1. ePHY configuration
During the start-up phase and before starting IP communications, the BioMax2 / KBio2-
Online electronics must negotiate the transmission speed to the subnetwork where it is
connected. The process is as follows:
1. Self-negotiation: this allows for connection to 10 BaseT or 100 BaseT, Half-Duplex.
2. Manual negotiation to 100 BaseT, Half-Duplex.
3. Manual negotiation to 10 BaseT, Half-Duplex.
4. Let us assume that there is no available IP connection. PHy is configured to 100
BaseT.
After an
ApplyCFG application, the Ethernet connection should be renegotiated, which
could last a few seconds in the worst case scenario (where there is no Ethernet
connection). The correct configuration of the $10 parameter (CFG_ePHY) allows for the
electronics start-up time to be optimised.

Table of Contents