TCN-MVB-ACP ACP protocol description

Size: px
Start display at page:

Download "TCN-MVB-ACP ACP protocol description"

Transcription

1 ACP protocol description Programmer s manual Version 1.18 tcn-mvb-acp_ms_en_118

2 AMiT spol. s r. o. does not provide any warranty concerning the contents of this publication and reserves the right to change the documentation without obligation to inform any body or authority about it. This document can be copied and redistributed under following conditions: 1. The whole text (all pages) must be copied without any changes. 2. All redistributed copies must retain the AMiT, spol. s r. o. copyright notice and any other notices contained in the documentation. 3. This document may not be distributed for purpose making of profit. The names of products and companies used herein can be trademarks or registered trademarks of their respective owners. AMiT is a registered trademark. Copyright (c) 2016, AMiT, spol. s r. o. Producer: AMiT, spol. s r. o. Naskové 1100/3, Praha Technical support: support@amit.cz tcn-mvb-acp_ms_en_118 2/71

3 Contents History of revisions... 5 Related documentation Introduction HW solution System block scheme Interface to 407 processor Interface to host system SW solution Description of MVB module access protocol Description of services Writing the configuration service Reading the configuration service Writing the configuration extended service Reading the configuration extended service Writing the device status service Reading the device status service Reading the list of found devices service Reading the MVB statistics service Clearing the MVB statistics service Writing the ports configuration service Reading the ports configuration service Writing data to the port service Reading data from the port service Writing data to set of ports service Reading data from set of ports service Enabling the port service Disabling the port service Enabling set of ports service Disabling set of ports service Forcing data to the port service Unforcing data from the port service Unforcing all data from traffic store service Writing the ACP/ANM control Reading the ACP/ANM status service Clearing the journal service Reading the journal service Description of services for MD communication (class 2) AMI result codes Reading the station identifier service Writing the station identifier service Reading the routing directories service Writing the routing directories service Reading the TCN messenger status Writing the TCN messenger control Registration of caller and replier functions Cancel previous registration of caller and replier functions /71 tcn-mvb-acp_ms_en_118

4 3.3.9 Reading states of MD instances Writing control of the caller instance Writing control of the replier instance Description of services for bus administration (class 3 and 4) Writing bus administrator configuration service Writing cancel bus administrator configuration service Writing start/stop bus administrator service Reading bus administrator status service Reading bus administrator statistics service Clearing bus administrator statistics service The Description of services for module firmware updating Download control Download status check Firmware data download Get information about device Encoding of data types tcn-mvb-acp_ms_en_118 4/71

5 History of revisions Document name: tcn-mvb-acp_ms_en_118.pdf Version Date Author of change Changes Maštálka O. New document Maštálka O. Correct result codes, add enabling set of ports and disabling set of ports services Maštálka O. Add reading the list of found devices service Maštálka O. Add fields HW and SW name into Reading the configuration service. Add reading the MVB statistics service. Add clearing the MVB statistics service. Correct encoding of data types Maštálka O. Add field T_reply into Writing the configuration service. Add fields Frame_cnt, Frame_err_cnt, Frame_err_a_cnt, Frame_err_b_cnt and Switch_cnt to Reading the MVB statistics service Maštálka O. Updated chapter Maštálka O. Add MD and journal services Maštálka O. Add state machine description in MD services Maštálka O. Add bus administrator services Maštálka O. Add examples of using some services Maštálka O. Chapter 3.1. correct sequential number description Maštálka O. Document revision Maštálka O. Add particular counting of ACP frame length in all services Maštálka O. Correct description of writing control of the replier instance Maštálka O. Correct bus administrator services (chapter 3.4.), added a get information about device configuration frame (chapter 3.5.4) Dočekal A. Chapter 3.5.4, DEV_STATUS updated, information about invalid device runtime status added Maštálka O. Chapter 3.4.1, add service load of list of devices for MD communication. Chapter 3.4.5, add counters to bus administrator statistics Maštálka O. Chapter 3.1., add example of data stuffing and framing. Chapter 3.3.6, add MICAS system group compatibility Tomáš M. Add Chapters 3.2.3, Related documentation 5/71 tcn-mvb-acp_ms_en_118

6 1. Introduction Module RM-MVB10/1x is a communication interface between MVB line and customer hardware. The module mediates the all MVB services. Module software, depending on its type, provides for MVB TCN process data and message services as well as bus administration. This document describes the module software interface which provides to TCN MVB the process data services. Piggy back technique Built-in into third party equipments Parallel / serial connection to host CPU Possible support of all MVB classes Possible bus administration Possibility of TCN messenger Secured communication protocol with host CPU Simple implementation of protocol in host CPU tcn-mvb-acp_ms_en_118 6/71

7 2. HW solution 2.1. System block scheme 407 Altera Host pipe UART emulation Fig. 1 - System block scheme 2.2. Interface to 407 processor Interface to 407 processor is designed as proprietary pipe over SPI bus. Description of this interface is not subject of this document Interface to host system Interface to host is realized by UART, choice of which depends on applicator. Variants considered so far takes into account the asynchronous UART interface (RXD, TXD, handshaking), simplified emulated UART over parallel bus and emulated UART 16C550A over LPC bus. Detail description of these interfaces is beyond the scope of this document. 7/71 tcn-mvb-acp_ms_en_118

8 3. SW solution 3.1. Description of MVB module access protocol Protocol for accessing MVB via UART is frame oriented. The frame is preambled by pair of characters data link escape followed by start of text (DLE STX) and terminated by pair of characters data link escape followed by end of text (DLE ETX). Presence of character DLE as data is realized by its twinning. Codes of control characters was chosen from ASCII table (STX = 0x02, ETX = 0x03, DLE = 0x10). Example of stuffing and framing of data is in the following table: Data to be sent: A DLE B ETX DLE STX E After stuffing and framing: DLE STX A DLE DLE B ETX DLE DLE STX E DLE ETX Note: Frame is composed from 6-byte header and data. On the frame end is stored the frame checksum, calculated under CRC16-CCITT algorithm. Minimum frame length is 8 bytes, maximum frame length is 508 bytes. of initial (DLE STX) preamble and terminating (DLE ETX) delimiter is not included in frame length nor in frame header. Frame is structured as follows: U16 Frame length incl. header and CRC (minimum 8 bytes) / response ( r ) Service Ch8 Service type Command/Status U8/Ch8 Command/process return code Frame data When a twinning DLE character appears, it is not part of frame (not included in frame length) and must be removed when receiving data. CRC is calculated from all data, starting with frame length and last data byte before CRC field. CRC16-CCITT uses a x 16 + x 12 + x polynomial Initial CRC value before calculation is equal to 0xFFFF. Note: Protocol is of request/response type, i.e. each service is confirmed. Modification (write) services are coded by upper case letter, reading services are coded by lower case letter. All frame elements are aligned to multiples of their length and moreover, each frame is rounded to even number of bytes. tcn-mvb-acp_ms_en_118 8/71

9 All multi-byte numeric frame components are little endian ordered. Little endian ordering relates only to frame items. Port data (datasets) are transmitted like byte-stream without endian conversion. It s up to application to fill the dataset properly, in accordance with data type specification in TCN standard (TCN standard codes all multi-byte numerical types with big endian order). Sequential number identifies the given session; it s incremented by modulo 256 for each new outgoing session, correspond response includes a sequential number identical with request. If processing of data fails, then the reply frame does not contain any data except of return code. Return codes are as follows: Return code Value amit_mvb_ok 0 All is OK amit_mvb_failure 1 Unspecified failure Communication return codes amit_mvb_res_bad_size 2 Incorrect frame length amit_mvb_res_send_err 3 Frame sending error amit_mvb_res_tmo_err 4 Session timeout (while waiting for response) amit_mvb_rem_canc_err 5 Session cancelled by partner amit_mvb_rem_not_found 6 Session not found at partner amit_mvb_rem_no_free 7 No free resources for incoming request at partner amit_mvb_rem_dupl 8 Previous session was not yet finished amit_mvb_rem_ usr_unreg 9 User not registered at partner amit_mvb_rem_int_err 10 Internal error at partner Application return codes amit_mvb_rem_no_free 30 No free resources in remote application (instance, memory) amit_mvb_rem_ srv_unreg 31 Service not registered amit_mvb_rem_ srv_fail 32 Service not executed amit_mvb_rem_bad_len 33 Wrong length of received datagram amit_mvb_rem_bad_pars 34 Incorrect parameters in received datagram amit_mvb_rem_lp_err 35 LPI/LPA access error amit_mvb_rem_ls_err 36 Supervision interface error amit_mvb_rem_port_bad_cfg 37 Incorrect port configuration amit_mvb_rem_ports_many 38 Too many ports amit_mvb_rem_sys_no_psv 39 Passive state of system is required amit_mvb_dwn_err_init 52 Initialization of firmware loading error amit_mvb_dwn_err_erase 53 Memory erase error amit_mvb_dwn_err_wrt 54 Data write error amit_mvb_dwn_err_fw 55 New firmware data are not valid, firmware refused amit_mvb_dwn_err_chksm 56 Invalid checksum amit_mvb_dwn_err_len 57 Invalid data length amit_mvb_dwn_err_sys 58 System download error 9/71 tcn-mvb-acp_ms_en_118

10 3.2. Description of services Software of RM-MVB10/1x module provides a set of services through which the host CPU can access MVB ports, supervise MVB bus, control ACP/ANM protocol and read its status / diagnostic. Following services are available: Service Code Chapter Writing the configuration service C Reading the configuration service c Writing the configuration extended service N Reading the configuration extended service n Writing the device status service D Reading the device status service d Reading the list of found devices service I Reading the MVB statistics service s Clearing the MVB statistics service T Writing the ports configuration service P Reading the ports configuration service P Writing data to the port service W Reading data from the port service r Writing data to set of ports service G Reading data from set of ports service g Enabling the port service E Disabling the port service U Enabling set of ports service S Disabling set of ports service R Forcing data to the port service F Unforcing data from the port service X Unforcing all data from traffic store service A Writing the ACP/ANM control! Reading the ACP/ANM status service? Clearing the journal service J Reading the journal service j Writing the configuration service Writing the configuration service provides setting the device address and lines configuration. U16 Frame length (12 bytes) Service Ch8 Writing the configuration ( C ) Sequence number U8 Session sequential number Configuration U16 Device configuration tcn-mvb-acp_ms_en_118 10/71

11 T_Reply U16 Reply timeout 0 default reply (42.7 μs) 1 ¼ reply (10.7 μs) 2 ½ reply (21.4 μs) 3 ¾ reply (32 μs) 4 default reply (42.7 μs) 5 1 ¼ reply (53.4 μs) 6 1 ½ reply (64 μs) 7 1 ¾ reply (74.7 μs) 8 double reply (85.4 μs) The configuration item has following format: Bit 15 Bit 14 Bit Bit 0 11 Line A Line B MD Priority Device address MVB A, B lines: Line A Line B 0 0 Passive state, device reconfiguration (initial device state) 0 1 Reserved 1 0 Reserved 1 1 Regular state, operation on redundant MVB lines MD priority (for devices of class 2 and higher only): Bit 13 Bit Reserved 0 1 Messages low priority 1 0 Messages high priority 1 1 Reserved Note: Example: U16 Frame length (8 bytes) Service Ch8 Writing the configuration ( C ) Status U8 Return code of processing Device address 0 means that no change of device address is requested. Setting of device address is possible only in passive state. It is necessary to put the device into passive state first in case of request for device address change. Device address = 16, message low priority, default reply timeout. Hexadump of request is: 10:02:0C:00:63:43:00:01 10:10:10:10:00:00:71:B4 10:03 Hexadump of response is: 10:02:08:00:72:43:00:01 93:F8:10:03 11/71 tcn-mvb-acp_ms_en_118

12 3.2.2 Reading the configuration service Reading the configuration service provides reading of current device configuration and identification of MVB hardware and software. Device address 0 means, that no address has been set up yet. U16 Frame length (8 bytes) Service Ch8 Reading the configuration ( c ) U16 Frame length (74 bytes) Service Ch8 Reading the configuration ( c ) Status U8 Return code of processing Configuration U16 Device configuration HW name String32 NULL terminated string with identification of MVB hardware and its version SW name String32 NULL terminated string with identification of MVB software and its version The Device configuration item has identical format with the same item in chapter Writing the configuration service. Example: Hexadump of request: 10:02:08:00:63:63:00:02 25:23:10:03 Hexadump of response: 10:02:4A:00:72:63:00:02 10:10:10:10:52:4D:2D:4D 56:42:31:30:2F:31:31:20 31:00:00:00:00:00:00:00 00:00:00:00:00:00:00:00 00:00:00:00:41:4D:69:54 20:4D:56:42:20:6C:69:62 2D:56:31:2E:30:32:2D:31 31:2E:31:31:2E:32:30:31 33:00:00:00:0A:1A:10:03 Device address=16, message low priority, HW name= RM-MVB10/11 1 SW name= AMiT MVB lib-v tcn-mvb-acp_ms_en_118 12/71

13 3.2.3 Writing the configuration extended service Writing the configuration extended service provides setting the device address, lines configuration and HW configuration. U16 Frame length (16 bytes) Service Ch8 Writing the configuration ( N ) Sequence number U8 Session sequential number Configuration U16 Device configuration T_Reply U16 Reply timeout 0 default reply (42.7 μs) 1 ¼ reply (10.7 μs) 2 ½ reply (21.4 μs) 3 ¾ reply (32 μs) 4 default reply (42.7 μs) 5 1 ¼ reply (53.4 μs) 6 1 ½ reply (64 μs) 7 1 ¾ reply (74.7 μs) 8 double reply (85.4 μs) HW interface cfg U8 0 default configuration without optical control 1 configuration with optical control Reserved U8 Reserved Reserved U16 Reserved The configuration item is specified in chapter Writing the configuration service. Note: U16 Frame length (8 bytes) Service Ch8 Writing the configuration ( N ) Status U8 Return code of processing Device address 0 means that no change of device address is requested. Setting of device address is possible only in passive state. It is necessary to put the device into passive state first in case of request for device address change. 13/71 tcn-mvb-acp_ms_en_118

14 3.2.4 Reading the configuration extended service Reading the configuration extended service provides reading of current device configuration and identification of MVB hardware and software. Device address 0 means, that no address has been set up yet. U16 Frame length (8 bytes) Service Ch8 Reading the configuration ( n ) U16 Frame length (76 bytes) Service Ch8 Reading the configuration ( n ) Status U8 Return code of processing Configuration U16 Device configuration HW name String32 NULL terminated string with identification of MVB hardware and its version SW name String32 NULL terminated string with identification of MVB software and its version HW interface cfg U8 0 default configuration without optical control 1 configuration with optical control Reserved U8 Reserved The Device configuration item has identical format with the same item in chapter Writing the configuration service Writing the device status service Writing the device status service allows to set the device status. This status is then sent to other devices. U16 Frame length (10 bytes) Service Ch8 Writing the device status ( D ) tcn-mvb-acp_ms_en_118 14/71

15 Note: Device status U16 Device status When setting the device status, only SDD, DNR and SER bits can be affected. The other bits are set automatically by device itself. U16 Frame length (8 bytes) Service Ch8 Writing the device status ( D ) Status U8 Return code of processing Reading the device status service Reading the device status service allows to read status of device, identified by its device address. U16 Frame length (10 bytes) Service Ch8 Reading the device status ( d ) Device address U16 Device address Format of Device address item is as follows: Bit Bit 0 11 Reserved Device address U16 Frame length (12 bytes) Service Ch8 Reading the device status ( d ) 15/71 tcn-mvb-acp_ms_en_118

16 Note: Status U8 Return code of processing Device status U16 Device status Freshness U16 Time, elapsed from last transmission of status from given device [ms] Device status of device itself is possible to read only after it has been sent on bus Reading the list of found devices service Through reading the list of found devices service can be read the current list of found devices on the MVB bus. The list includes device address and device status for each found MVB device. By single frame can be read list of maximum 124 devices; in case that more devices are present on the MVB bus, it s possible to read other MVB devices by entering of the appropriate set index. U16 Frame length (10 bytes) Service Ch8 Reading the list of found devices ( l = 0x6C) Set index U16 0 = set of first 124 devices, 1 = set of second 124 devices, U16 Frame length (8 + nr_devices * 4 + 4) Service Ch8 Reading the list of found devices ( l = 0x6C) Status U8 Return code of processing Number of devices U16 Number of devices (maximum 124) Device descriptor 1 U32 Descriptor of device No. 1 Device descriptor 2 U32 Descriptor of device No. 2 Device descriptor n U32 Descriptor of device No. n Number of additional devices U16 Number of devices in following sets, that did not fit into frame tcn-mvb-acp_ms_en_118 16/71

17 Device descriptor: Reading the MVB statistics service Bit Bit 0 15 Device status Device address Reading the MVB statistics provides reading MVB statistics and diagnostics counters. U16 Frame length (8 bytes) Service Ch8 Reading the MVB statistics ( s ) DLE ETX U16 End Of Frame (0x10, 0x03) DLE STX U16 Start Of Frame (0x10, 0x02) U16 Frame length (104 bytes) Service Ch8 Reading the MVB statistics ( s ) Status U8 Return code of processing state Bus_timeout_cnt U32 Bus timeout counter Reply_timeout_cnt U32 Reply timeout counter Frame_lost_cnt U32 Frame lost counter Frame_cnt U32 Frame counter Frame_err_cnt U32 Counter of erroneous frames Frame_err_a_cnt U32 Counter of erroneous frames on line A Frame_err_b_cnt U32 Counter of erroneous frames on line B Switch_cnt U32 Counter of line switches Received master frame statistics Valid_cnt U32 Counter of valid frames Dupl_cnt U32 Counter of duplicated frames Error_cnt U32 Counter of error frames Manch_viol_cnt U32 Counter of manchester violation errors Bus_not_idle_cnt U32 Counter of bus not idles Over_balance_cnt U32 Counter of over balance errors Signal_err_cnt U32 Counter of signal quality errors Crc_err_cnt U32 Counter of CRC errors Received slave frame statistics Valid_cnt U32 Counter of valid frames Dupl_cnt U32 Counter of duplicated frames Error_cnt U32 Counter of error frames Manch_viol_cnt U32 Counter of manchester violation errors 17/71 tcn-mvb-acp_ms_en_118

18 Bus_not_idle_cnt U32 Counter of bus not idles Over_balance_cnt U32 Counter of over balance errors Signal_err_cnt U32 Counter of signal quality errors Crc_err_cnt U32 Counter of CRC errors Clearing the MVB statistics service Clearing the MVB statistics service provides reseting MVB statistics and diagnostics counters. U16 Frame length (8 bytes) Service Ch8 Clearing the MVB statistics ( T ) U16 Frame length (8 bytes) Service Ch8 Clearing the MVB statistics ( T ) Status U8 Return code of processing Writing the ports configuration service By writing the ports configuration service is possible to configure addresses, lengths and type of ports. By single frame can be configured up to 124 ports; when configuration of more ports is required, then is necessary to call this service more times. If the port has been configured formerly, new configuration replaces the original one (port is reconfigured). Each port can be configured as source, target (sink) or source and sink simultaneously. Ports can be configured only in passive state of MVB. tcn-mvb-acp_ms_en_118 18/71

19 U16 Frame length (8 + nr_ports * bytes) Service Ch8 Writing the ports configuration ( P ) Number of ports U16 Number of ports involved in configuration (maximum 124) Port descriptor 1 U32 Descriptor of port No. 1 Port descriptor 2 U32 Descriptor of port No. 2 Port descriptor n U32 Descriptor of port No n. Port descriptor: Fcode: Bit Bit 17 Bit 16 Bit Bit 0 11 Reserved Src Snk Fcode Port address Value Port length (bits) Note: U16 Frame length (10 bytes) Service Ch8 Writing the ports configuration ( P ) Status U8 Return code of processing Number of ports U16 Number of processed ports After configuration port remains passive. Data can be written into passive source port, but they are not transmitted on bus. From passive sink port data can be read, but they are not received from bus. Port is enabled by service Enabling the port. It allows application to ensure, that only valid data prepared in advance are sent/received on/from the bus (important namely with device reconfiguration). Sink port and source port can be written using one descriptor or two descriptors placed just behind. 19/71 tcn-mvb-acp_ms_en_118

20 Example: Configuration of 6 ports: 1. Port source, address = 220h, fcode = 3 2. Port source, address = 221h, fcode = 4 3. Port source, address = 222h, fcode = 2 4. Port sink, address = 300h, fcode = 1 5. Port sink, address = 301h, fcode = 3 6. Port sink, address = 302h, fcode = 0 Hexadump of request is: 10:02:22:00:63:50:00:03 06:00:20:32:02:00:21:42 02:00:22:22:02:00:00:13 01:00:01:33:01:00:02:03 01:00:74:9B:10:03 Hexadump of response is: 10:02:0A:00:72:50:00:03 06:00:5A:88:10: Reading the ports configuration service Through reading the ports configuration service can be read the current configuration of all ports. By single frame can be read configuration of maximum 124 ports; in case that more ports is configured, it s possible to read other ports by entering of the appropriate set index. U16 Frame length (10 bytes) Service Ch8 Reading the ports configuration ( p ) Set index U16 0 = set of first 124 ports, 1 = set of second 124 ports, U16 Frame length (8 + nr_ports * bytes) Service Ch8 Reading the ports configuration ( p ) Status U8 Return code of processing Number of ports U16 Number of ports in set (maximum 124) Port descriptor 1 U32 Descriptor of port No. 1 Port descriptor 2 U32 Descriptor of port No. 2 Port descriptor n U32 Descriptor of port No. N Number of additional ports U16 Number of ports in following sets, that did not fit into frame tcn-mvb-acp_ms_en_118 20/71

21 Port descriptor: Bit Bit 21 Bit 20 Bit 19 Bit 18 Bit 17 Bit 16 Bit Bit 0 11 Reserved Src Snk Twc Frc Src Snk Fcode Port address Current configuration Static configuration Note: The current port configuration is given by combination of following flags: Flag Description Src Source Source port Snk Sink Destination port Twc Transfer with checksum Transfer of process data with checksum (for debugging only) Frc Force In the port is stored the replacement data (see chapter Forcing data to the port service ) When neither Src nor Snk flags are set at dynamic configuration, the port is passive Writing data to the port service The service provides writing data into source port. U16 Frame length (8 + datset_length + 2) Service Ch8 Writing data to the port ( W ) Port identification U16 Port length (fcode) and address Dataset Port contents Port identification: Bit Bit 0 11 Fcode Port address Note: U16 Frame length (8 bytes) Service Ch8 Writing data to the port ( W ) Status U8 Return code of processing It is not possible to write data into sink port, alternatively into port which is not configured. 21/71 tcn-mvb-acp_ms_en_118

22 The port fcode must agree with previous configuration. When data is entered into port, it is not passed immediately onto bus: the port must be first enabled (see chapter Enabling port service) and data is sent when the port is asked for transfer by master. When writing data into port the force can be eventually applied (see chapter Forcing data to the port service ) Reading data from the port service By reading data from the port service is read the appropriate dataset from port. U16 Frame length (10 bytes) Service Ch8 Reading data from the port ( r ) Port identification U16 Port length (fcode) and address Note: U16 Frame length (8 + dataset_length + 2 bytes) Service Ch8 Reading data from the port ( r ) Status U8 Return code of processing Freshness U16 Time, elapsed from last data transmission to port [ms] Dataset Port contents Data cannot be read from port, which is not configured. If the port is configured as source and at the same time as sink, data is read from sink port part. When reading data from port the forcing can be eventually applied (see chapter Forcing data to the port service ). tcn-mvb-acp_ms_en_118 22/71

23 Writing data to set of ports service By writing data to set of ports service can be data written simultaneously into more source ports. U16 Frame length (8 + nr_ports * 2 + nr_ports * dataset_length + 2 bytes) Service Ch8 Writing data to set of ports ( G ) Number of ports U16 Number of ports (maximum 124 for 16-bit ports) Identification of 1. port U16 Port No. 1 length (fcode) and address Identification of 2. port U16 Port No. 2 length (fcode) and address Identification of n. port U16 Port No. n length (fcode) and address Dataset 1 Contents of 1. port Dataset 2 Contents of 2. port Dataset n Contents of n. port Note: U16 Frame length (8 bytes) Service Ch8 Writing data to set of ports ( G ) Status U8 Return code of processing Data consistency is guaranteed only within contents of single port (dataset), but not between individual ports. Dataset is transferred always as a whole Reading data from set of ports service Reading data from set of ports service is used for reading more dataset from ports. U16 Frame length (8 + nr_ports * bytes) Service Ch8 Reading data from set of ports ( g ) 23/71 tcn-mvb-acp_ms_en_118

24 Number of ports U16 Number of ports (maximum 124 for 16-bit ports) Identification of 1. U16 Port No. 1 length (fcode) and address port Identification of 2. U16 Port No. 2 length (fcode) and address port Identification of n. U16 Port No. n length (fcode) and address port Note: U16 Frame length (8 + nr_ports * (2 + dataset_length) + 2 bytes) Service Ch8 Reading data from set of ports ( g ) Status U8 Return code of processing state Number of ports U16 Number of read ports (maximum 124 for 16-bit ports) Freshness 1 U16 Time, elapsed from last data transmission to 1. port [ms] Dataset 1 Contents of 1. Port Freshness 2 U16 Time, elapsed from last data transmission to 2. port [ms] Dataset 2 Contents of 2. Port Freshness n U16 Time, elapsed from last data transmission to n. port [ms] Dataset n Contents of n. port If the datasets are longer than maximum data length of frame, less ports is read Enabling the port service By enabling the port service is enabled transmitting/receiving data from/to port to/from bus. U16 Frame length (10 bytes) tcn-mvb-acp_ms_en_118 24/71

25 Service Ch8 Enabling the port ( E ) Port address U16 Port address Note: U16 Frame length (8 bytes) Service Ch8 Enabling the port ( E ) Status U8 Return code of processing Recommended procedure for application is: first of all write data into source port through Write data to port service and after then enable transmitting of data from port. By this way is guaranteed validity of dataset which is transmitted to bus Disabling the port service Disabling the port service is disabled transmitting/receiving data from/to port to/from bus(es). U16 Frame length (10 bytes) Service Ch8 Disabling the port ( U ) Port address U16 Port address U16 Frame length (8 bytes) Service Ch8 Disabling the port ( U ) Status U8 Return code of processing state 25/71 tcn-mvb-acp_ms_en_118

26 Note: When application stops to produce data to certain ports (for instance due to change of operation state), it s recommended to disable these ports. By this is guaranteed, that data in sink ports become of outdated for potential consumers Enabling set of ports service This service allows enabling more ports at once. For more information please refer to the Enabling the port service. U16 Frame length (8 + nr_ports * bytes) Service Ch8 Enabling set of ports ( S ) Number of ports U16 Number of ports (maximum 124) Port address 1 U16 Address of 1. port Port address 2 U16 Address of 2. port Port address n U16 Address of n. port U16 Frame length (8 bytes) Service Ch8 Enabling set of ports ( S ) Status U8 Return code of processing state Disabling set of ports service This service allows disabling more ports at once. For more information please refer to the Enabling the port service. U16 Frame length (8 + nr_ports * bytes) tcn-mvb-acp_ms_en_118 26/71

27 Service Ch8 Disabling set of ports ( R ) Number of ports U16 Number of ports (maximum 124) Port address 1 U16 Address of 1. port Port address 2 U16 Address of 2. port Port address n U16 Address of n. port U16 Frame length (8 bytes) Service Ch8 Disabling set of ports ( R ) Status U8 Return code of processing state Forcing data to the port service Forcing data to the port service allows transmitted (from source port) or received (by sink port) a substitute data instead of real data. U16 Frame length (8 + dataset_length * bytes) Service Ch8 Forcing data to the port ( F ) Port identification U16 Port length (fcode) and address Force data Substitute data Force mask Substitute data mask U16 Frame length (8 bytes) 27/71 tcn-mvb-acp_ms_en_118

28 Note: Service Ch8 Forcing data to the port ( F ) Status U8 Return code of processing If a substitute data are stored in port, then force flag for corresponding port dynamic configuration and frc flag in device status are set Unforcing data from the port service By unforcing data from the port service are removed the substitute data from port. U16 Frame length (8 + dataset_length + 2 bytes) Service Ch8 Unforcing data from the port ( X ) Port identification U16 Port length (fcode) and address Unforce mask Mask for force data cancelling Note: U16 Frame length (8 bytes) Service Ch8 Unforcing data from the port ( X ) Status U8 Return code of processing When force is cancelled for source port, the substitute data are not removed immediately, but there are overwritten by new real data from application Unforcing all data from traffic store service Unforcing all data from traffic store service removes the force data from all ports in traffic store. U16 Frame length (8 bytes) tcn-mvb-acp_ms_en_118 28/71

29 Service Ch8 Unforcing all data from traffic store ( A ) U16 Frame length (8 bytes) Service Ch8 Unforcing all data from traffic store ( A ) Status U8 Return code of processing state Writing the ACP/ANM control Writing the ACP/ANM control provides settings of timeouts and reseting of statistics counters. U16 Frame length (20 bytes) Service Ch8 Writing the ACP/ANM control (! ) Command mask U32 Mask of commands to be executed: 0x1 configuration of timeouts 0x2 reset of statistics of ANM protocol 0x4 reset of statistics of ACP protocol Alive timeout U32 Timeout of waiting for duplicated frame [ms] Session timeout U32 Timeout of waiting for the end of the session [ms] U16 Frame length (12 bytes) Service Ch8 Writing the ACP/ANM control (! ) Status U8 Return code of processing state 29/71 tcn-mvb-acp_ms_en_118

30 Note: Timeouts result U8 Result of configuration timeouts ANM result U8 Result of reseting ANM protocol statistics ACP result U8 Result of reseting ACP protocol statistics Reserved U8 Reserved It is recommended to set up alive timeout as session timeout * Reading the ACP/ANM status service Reading the ACP/ANM status provides reading of the library version and reading of ACP/ANM statistics and diagnostics counters. U16 Frame length (8 bytes) Service Ch8 Reading the ACP/ANM status (? ) U16 Frame length (172 bytes) Service Ch8 Reading the ACP/ANM status (? ) Status U8 Return code of processing state Manufacturer String32 NULL terminated string with name of manufacturer of device Timestamp U32 UNIX timestamp of ACP/ANM library release Version U16 Version of the ACP/ANM library release Revision U16 Revision of the ACP/ANM library release Build U16 Build of the ACP/ANM library release Reserved U16 Reserved ANM_tx_cnt U32 Counter of transmit ANM responses ANM_tx_rfs_cnt U32 Counter of refused ANM responses ANM_rx_cnt U32 Counter of received ANM requests ANM_rx_rfs_cnt U32 Counter of refused ANM requests ACP_alive_tmo U32 Timeout of waiting for duplicated frame [ms] ACP_session_tmo U32 Timeout of waiting for the end of the session [ms] ACP_tx_cnt U32 Counter of transmit ACP datagrams tcn-mvb-acp_ms_en_118 30/71

31 ACP_tx_err_cnt U32 Counter of ACP datagrams which were impossible to transmit ACP_rx_cnt U32 Counter of received ACP datagrams ACP_rx_err_cnt U32 Counter of ACP datagrams received with error ALI_tx_cnt U32 Counter of transmit ALI frames ALI_tx_cnt_err U32 Counter of ALI frames which were impossible to transmit ALI_rx_cnt U32 Counter of received ALI frames ALI_rx_err_cnt U32 Counter of ALI frames received with error ALI_rx_no_free_cnt U32 Counter of no free buffers ALI_rx_out_stx_cnt U32 Counter of out sequence DLE STX ALI_rx_out_etx_cnt U32 Counter of out sequence DLE ETX ALI_rx_out_dle_cnt U32 Counter of unknown DLE sequences ALI_rx_bad_len_cnt U32 Counter of received frames with incorrect length ALI_rx_bad_crc_cnt U32 Counter of frames with incorrect CRC ALI_rx_que_err_cnt U32 Counter of queue errors ASISI_tx_cnt U32 Counter of transmit ASISI frames ASISI_tx_cnt_err U32 Counter of ASISI frames which were impossible to transmit ASISI_rx_cnt U32 Counter of received ASISI frames ASISI_rx_err_cnt U32 Counter of ASISI frames received with error ASISI_rx_dma_cnt U32 Counter of received ASISI frames with DMA error ASISI_rx_to_cnt U32 Counter of ASISI frames with TO error ASISI_rx_que_err_cnt U32 Counter of ASISI queue errors ASISI_rx_bad_hdr_cnt U32 Counter of ASISI frames with incorrect header ASISI_bad_nss_cnt U32 Counter of incorrect NSS states Clearing the journal service Clearing the journal service provides clearing of the main and extra journal. After calling this service the main and extra journal are empty. U16 Frame length (8 bytes) Service Ch8 Clearing the journal service ( J ) 31/71 tcn-mvb-acp_ms_en_118

32 U16 Frame length (8 bytes) Service Ch8 Clearing the journal service ( J ) Status U8 Return code of processing state Reading the journal service Reading the journal service provides reading of parameters, reading of records identified by start id and end id and reading of last records of the journal. It is possible to read maximum of 4 journal records by one command. Common request format is as follows: U16 Frame length (min. 10 bytes) Service Ch8 Reading the journal service ( j ) Command U8 1 reading of journal parameters 2 reading of journal records identified by start_id and end_id 3 reading of last journal records Reserved U8 Reserved Journal_ U8 of the journal: 0 main journal 1 extra journal Parameters depending on the type of command Reading of journal parameters request format is as follows: U16 Frame length (10 bytes) Service Ch8 Reading the journal service ( j ) Command U8 1 reading of journal parameters Reserved U8 Reserved Journal_ U8 of the journal: 0 main journal 1 extra journal tcn-mvb-acp_ms_en_118 32/71

33 Reading of journal parameters response format is as follows: U16 Frame length (16 bytes) Service Ch8 Reading the journal service ( j ) Status U8 Return code of processing state Total length U16 Total length of the journal Current length U16 The current number of records in the journal Oldest ID U16 The unique identification of the oldest record Newest ID U16 The unique identification of the newest record Reading of the journal records identified by start id and end id request format: U16 Frame length (10 bytes) Service Ch8 Reading the journal service ( j ) Command U8 2 reading of journal records identified by start_id and end_id Reserved U8 Reserved Journal_ U8 of the journal: 0 main journal 1 extra journal Start ID U16 Unique identification of the first record to be read End ID U16 Unique identification of the last record to be read Reading of the journal records response format is as follows: U16 Frame length (10 + nr_records * bytes) Service Ch8 Reading the journal service ( j ) Status U8 Return code of processing state Records number U32 Number of journal records in the frame Time stamp secs 1 U32 UTC number of seconds of first record 33/71 tcn-mvb-acp_ms_en_118

34 Time stamp ticks 1 U16 Number of ticks (1/65536s) of first record Reserved 1 U16 Reserved File name 1 String16 FILE of the first record Line number 1 U16 LINE of the first record Reserved 1 U8 Reserved Event type 1 U8 of the event of the first record 0 information 1 warning 2 error Event description 1 String78 Event description of the first record Reserved 1 U16 Reserved Time stamp secs 2 U32 UTC number of seconds of second record Time stamp ticks 2 U16 Number of ticks (1/65536s) of second record Reserved 2 U16 Reserved File name 2 String16 FILE of the second record Line number 2 U16 LINE of the second record Reserved 2 U8 Reserved Event type 2 U8 of the event of the second record 0 information 1 warning 2 error Event description 2 String78 Event description of the second record Reserved 2 U16 Reserved Reading of the last journal records request format: U16 Frame length (10 bytes) Service Ch8 Reading the journal service ( j ) Command U8 3 reading of last journal records Reserved U8 Reserved Journal_ U8 of the journal: 0 main journal 1 extra journal Number of last U16 Number of last records records The response format is the same as in reading journal records identified by ids. tcn-mvb-acp_ms_en_118 34/71

35 3.3. Description of services for MD communication (class 2) AMI result codes Return codes are as follows: Return code Standard codes am_ok am_failure am_bus_err am_rem_conn_ovf am_conn_tmo_err am_send_tmo_err am_reply_tmo_err am_alive_tmo_err am_loc_no_mem_err am_rem_canc_err am_already_used am_no_reply_exp_err am_nr_of_conv_ovf am_reply_len_ovf am_dupl_conv_err am_no_ready_inst_err am_call_len_ovf am_unknown_dest_err am_inaug_err am_try_later_err am_gw_ori_reg_err am_repeat_tmo_err am_try_later_alive_err User codes am_not_init am_already_init am_int_fatal_err am_descr_not_init am_bus_unknw_type am_bus_wtb_dupl am_bus_lm_err am_route_dir_err am_tx_pool_empty am_rx_pool_empty Errors on local station am_loc_next_not_found am_loc_topo_cnt_err am_loc_not_node am_loc_rout_fct_nset am_loc_sta_next_err am_loc_fct_next_err am_loc_sta_not_found Value 0 all is OK 1 unspecified failure 2 no bus transmission possible 3 too many incoming connections 4 connect request not answered 5 send timeout (connect was ok) 6 session timeout 7 no complete message received 8 not enough memory or timers 10 canceled by partner 11 same operation already done 13 no such reply expected error 14 too many calls requested 15 reply message too long 16 duplicated conversation error 18 no ready instance error 20 call message too long 21 unknown destination address 22 train inauguration occurred 23 the request shall be repeated after send timeout 26 origin is not registered in router 27 the conversation was not setup (repeat timeout) 29 the request shall be repeated after send timeout, maximum is alive timeout 60 interface is not initialized 61 interface is already initialized 62 corrupted internal structures 63 network descriptor is not initialized 64 unknown or unsupported bus type 65 duplicated train bus 66 error on LMI or LMA 67 error while access routing directories 68 transmit packet pool is empty 69 receive packet pool is empty 71 next_station (router) not found in station directory 72 Incorrect combination of address and topo_counter 73 station is not node (it is not connected WTB) 74 router function is not set 75 incorrect combination of final station and router 76 incorrect combination of function and router 79 station not found in station directory 35/71 tcn-mvb-acp_ms_en_118

36 Return code am_loc_fct_not_found am_loc_pck_unknw am_loc_pck_bad_len am_loc_pck_bad am_loc_pck_no_state Errors on remote station am_rem_next_not_found am_rem_topo_cnt_err am_rem_not_node am_rem_rout_fct_nset am_rem_sta_next_err am_rem_fct_next_err am_rem_sta_not_found am_rem_fct_not_found am_rem_pck_unknw am_rem_pck_bad_len am_rem_data_size_ovr am_rem_data_size_less am_rem_pck_bad am_rem_pck_no_state Errors on network layer am_return_path_bad am_bad_net_header AMI input errors am_bad_params Errors on transport layer am_conv_not_found am_invalid_event am_no_free_event Errors on session layer am_sta_id_not_set am_sta_id_bad am_fct_reg_too_many am_fct_unreg_caller am_fct_unreg_replier am_fct_not_manager am_fct_add_fundi_err am_fct_already_def am_dir_write_err am_dir_delete_err am_dir_entrs_more Value 80 function not found in function directory 81 unknown or unsupported packet type 82 incorrect packet length 85 incorrect data in packet 87 no state for incoming packet 89 next_station (router) not found in station directory 90 Incorrect combination of address and topo_counter 91 station is not node (it is not connected WTB) 92 router function is not set 93 incorrect combination of final station and router 94 incorrect combination of function and router 97 station not found in station directory 98 function not found in function directory 99 unknown or unsupported packet type 100 incorrect packet length 101 length of receive data exceeds message length 102 message exceeds length of receive data 103 incorrect data in packet 105 no state for incoming packet 110 test of packet return path fails 111 incorrect network packet header 112 incorrect input parameters to AMI function 115 conversation not found 116 incorrect or unsupported event 117 no free event 120 station id has not yet assigned to this station 121 incorrect identification of station 122 too many registered functions 123 no caller is registered to given function 124 no replier is registered to given function 125 only manager function can use system addressing 126 error while adding function into function directory 127 function is defined on another station 128 error while writing into routing directories 129 some entries were not deleted from directory 130 not all entries were read from directory tcn-mvb-acp_ms_en_118 36/71

37 Following services are available: Service Code Chapter Reading the station identifier service 0x Writing the station identifier service 0x Reading the routing directories service 0x Writing the routing directories service 0x Reading the TCN messenger status 0x Writing the TCN messenger control 0x Registration of caller and replier functions 0x Cancel previous registration of caller and replier functions 0x Reading states of MD instances 0x Writing control of the caller instance 0x Writing control of the replier instance 0x Reading the station identifier service This service provides information about the station identifier of device itself. U16 Frame length (8 bytes) Service Ch8 Reading the station identifier service (0x80) U16 Frame length (10 bytes) Service Ch8 Reading the station identifier service (0x80) Status U8 Return code of processing state Station identifier U8 8-bit station identifier (255 = identifier not set) Reserved U8 Reserved Writing the station identifier service This service provides setting of station identifier of the device itself. U16 Frame length (10 bytes) 37/71 tcn-mvb-acp_ms_en_118

38 Service Ch8 Writing the station identifier service (0x81) Sequential U8 Session sequential number number Station identifier U8 8-bit station identifier Reserved U8 Reserved U16 Frame length (8 bytes) Service Ch8 Writing the station identifier service (0x81) Status U8 Return code of processing state Reading the routing directories service This service provides reading the content of routing directories (station, function and group directory). U16 Frame length (10 bytes) Service Ch8 Reading the routing directories service (0x82) Directory_ U8 of the directory: 1 station directory 2 function directory 3 group directory Reserved U8 Reserved Common response format is as follows: U16 Frame length (8 bytes) tcn-mvb-acp_ms_en_118 38/71

39 Service Ch8 Reading the routing directories service (0x82) Status U8 Return code of processing Entries number U32 Number of directory entries Directory... Depending on the type of the directory Station directory response format is as follows: U16 Frame length (10 + nr_entries * bytes) Service Ch8 Reading the routing directories service (0x82) Status U8 Return code of processing Entries number U32 Number of directory entries Station directory entry No. 1 Reserved U8 Reserved Final station id U8 Identification of the final station Next station id U8 Identification of the next (router) station Bus identification U8 Identification of the bus Device address U32 Device address Station directory entry No. 2 Reserved U8 Reserved Final station id U8 Identification of the final station Next station id U8 Identification of the next (router) station Bus identification U8 Identification of the bus Device address U32 Device address Station directory entry No. n Reserved U8 Reserved Final station id U8 Identification of the final station Next station id U8 Identification of the next (router) station Bus identification U8 Identification of the bus Device address U32 Device address Function directory response format is as follows: U16 Frame length (10 + nr_entries * bytes) Service Ch8 Reading the routing directories service (0x82) Status U8 Return code of processing Entries number U32 Number of directory entries 39/71 tcn-mvb-acp_ms_en_118

40 Function directory entry No. 1 Function id U8 Identification of the function Station id U8 Identification of the station which provides the function Function directory entry No. 2 Function id U8 Identification of the function Station id U8 Identification of the station which provides the function Function directory entry No. n Function id U8 Identification of the function Station id U8 Identification of the station which provides the function Group directory response format is as follows: U16 Frame length (10 + nr_entries + 2 bytes) Service Ch8 Reading the routing directories service (0x82) Status U8 Return code of processing Entries number U32 Number of directory entries Group 1 U8 Identification of the 1st group Group 2 U8 Identification of the 2nd group Group n U8 Identification of the group No. n Writing the routing directories service This service provides writing of entries into the routing directories (station, function and group directory). The maximum number of entries is 62 for the station directory, 249 for the function directory and 64 for the group directory. Common request format is as follows: U16 Frame length (min. 10 bytes) Service Ch8 Writing the routing directories service (0x83) Directory_ U8 of the directory: 1 station directory 2 function directory 3 group directory Reserved U8 Reserved tcn-mvb-acp_ms_en_118 40/71

41 Number of entries U16 Number of directory entries Directory... Depending on the type of the directory Writing station directory request format is as follows: U16 Frame length (10 + nr_entries * bytes) Service Ch8 Writing the routing directories service (0x83) Directory_ U8 1 station directory Reserved U8 Reserved Number of entries U16 Number of station directory entries Station directory entry No. 1 Reserved U8 Reserved Final station id U8 Identification of the final station Next station id U8 Identification of the next (router) station Bus identification U8 Identification of the bus Device address U32 Device address Station directory entry No. 2 Reserved U8 Reserved Final station id U8 Identification of the final station Next station id U8 Identification of the next (router) station Bus identification U8 Identification of the bus Device address U32 Device address Station directory entry No. n Reserved U8 Reserved Final station id U8 Identification of the final station Next station id U8 Identification of the next (router) station Bus identification U8 Identification of the bus Device address U32 Device address Writing function directory request format is as follows: U16 Frame length (10 + nr_entries * bytes) Service Ch8 Writing the routing directories service (0x83) Directory_ U8 2 function directory Reserved U8 Reserved 41/71 tcn-mvb-acp_ms_en_118

TCN-MVB-ACP ACP protocol description

TCN-MVB-ACP ACP protocol description ACP protocol description Programmer s manual Version 1.17 tcn-mvb-acp_ms_en_117 AMiT spol. s r.o. does not provide any warranty concerning the contents of this publication and reserves the right to change

More information

Train Communication Network IEC Real Time Protocols

Train Communication Network IEC Real Time Protocols Train Communication Network IEC 61375-2 Real Time Protocols Message Services IEC Train Communication Network 1 RTP- Message Services 1. General Principles 2. Variables 1. Principle of cyclic Process Data

More information

CS 4453 Computer Networks Winter

CS 4453 Computer Networks Winter CS 4453 Computer Networks Chapter 2 OSI Network Model 2015 Winter OSI model defines 7 layers Figure 1: OSI model Computer Networks R. Wei 2 The seven layers are as follows: Application Presentation Session

More information

Inst: Chris Davison

Inst: Chris Davison ICS 153 Introduction to Computer Networks Inst: Chris Davison cbdaviso@uci.edu ICS 153 Data Link Layer Contents Simplex and Duplex Communication Frame Creation Flow Control Error Control Performance of

More information

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science

Data Link Technology. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Data Link Technology Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Agenda Functions of the data link layer Technologies concept and design error control flow

More information

DELPHI CORPORATION. LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide

DELPHI CORPORATION. LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide DELPHI CORPORATION LIN to RS-232 Gateway Systems Analysis INterface Tool (SAINT) Users Guide Document Number TBD Version D, Draft 1 August 15, 2003 Copyright Delphi Corporation, 2003 Maintained by: Chris

More information

Framing and Stuffing. Advanced Computer Networks

Framing and Stuffing. Advanced Computer Networks Framing and Stuffing Advanced Computer Networks Framing & Stuffing Outline Synchronous vs Asynchronous Transmissions Asynchronous Character Transmissions Framing Identifying Synchronous Block Boundaries

More information

Introduction to Computer Networks. 03 Data Link Layer Introduction

Introduction to Computer Networks. 03 Data Link Layer Introduction Introduction to Computer Networks 03 Data Link Layer Introduction Link Layer 1 Introduction and services 2 Link Layer Services 2.1 Framing 2.2 Error detection and correction 2.3 Flow Control 2.4 Multiple

More information

The data link layer has a number of specific functions it can carry out. These functions include. Figure 2-1. Relationship between packets and frames.

The data link layer has a number of specific functions it can carry out. These functions include. Figure 2-1. Relationship between packets and frames. Module 2 Data Link Layer: - Data link Layer design issues - Error Detection and correction Elementary Data link protocols, Sliding window protocols- Basic Concept, One Bit Sliding window protocol, Concept

More information

FeliCa Card User's Manual Excerpted Edition

FeliCa Card User's Manual Excerpted Edition Technical Document FeliCa Card User's Manual Excerpted Edition Version 2.0 No. M617-E02-00 Introduction This document describes the protocol specifications and the command specifications of any contactless

More information

Lecture / The Data Link Layer: Framing and Error Detection

Lecture / The Data Link Layer: Framing and Error Detection Lecture 2 6.263/16.37 The Data Link Layer: Framing and Error Detection MIT, LIDS Slide 1 Data Link Layer (DLC) Responsible for reliable transmission of packets over a link Framing: Determine the start

More information

Data Link Layer: Overview, operations

Data Link Layer: Overview, operations Data Link Layer: Overview, operations Chapter 3 1 Outlines 1. Data Link Layer Functions. Data Link Services 3. Framing 4. Error Detection/Correction. Flow Control 6. Medium Access 1 1. Data Link Layer

More information

Overview. Data Link Technology. Role of the data-link layer. Role of the data-link layer. Function of the physical layer

Overview. Data Link Technology. Role of the data-link layer. Role of the data-link layer. Function of the physical layer Overview Data Link Technology Functions of the data link layer Technologies concept and design error control flow control fundamental protocols Suguru Yamaguchi Nara Institute of Science and Technology

More information

BULLETIN 1203-GD2, -GK2 & 1336-GM2 DF1 MESSAGING (FULL DUPLEX / POINT-TO-POINT)

BULLETIN 1203-GD2, -GK2 & 1336-GM2 DF1 MESSAGING (FULL DUPLEX / POINT-TO-POINT) BULLETIN 1203-GD2, -GK2 & 1336-GM2 DF1 MESSAGING (FULL DUPLEX / POINT-TO-POINT) APPLICATION NOTE OCTOBER 20, 1999 PURPOSE The purpose of this document is to provide information on using the DF1 Full Duplex/Point-to-Point

More information

Automatic transfer switch

Automatic transfer switch Automatic transfer switch Modbus communication Protocol LINE 1 LINE 2 Q1 LOAD Q2 AUT RESET OFF _ OK MENU MENU AUT + MAN IR COM IEC 60947-6-1 Part. LE09507AA_EN-09/16-01 GF Automatic transfer switch EN

More information

Comparison of ISO-OSI and TCP/IP Suit. Functions of Data Link Layer:

Comparison of ISO-OSI and TCP/IP Suit. Functions of Data Link Layer: Comparison of ISO-OSI and TCP/IP Suit Functions of Data Link Layer: 1. Frame generation ( Character Count, Character Stuffing, Bit Stuffing) 2. Error Processing (Parity(EVEN or ODD), Block Parity, Hamming

More information

RapidIO Physical Layer MegaCore Function

RapidIO Physical Layer MegaCore Function RapidIO Physical Layer MegaCore Function April 2005, MegaCore version 2.2.1 Errata Sheet Introduction This document addresses known errata and documentation changes for version 2.2.1 of the RapidIO Physical

More information

Telematics. 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

Telematics. 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments 19540 - Telematics 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments Matthias Wa hlisch Department of Mathematics and Computer Science Institute of Computer Science 19. November, 2009 Institute

More information

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control Chapter 6 What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control OSI Model Hybrid Model Software outside the operating system Software inside

More information

JetWeb JX6-INT1 Function Description

JetWeb JX6-INT1 Function Description JetWeb JX6-INT1 Function Description Article # 608 640 72 Edition 2.1 December 2003 / Printed in Germany Function Description December 2003 JetWeb JX6-INT1 JETTER AG reserves the right to make alterations

More information

CSCI-1680 Link Layer I Rodrigo Fonseca

CSCI-1680 Link Layer I Rodrigo Fonseca CSCI-1680 Link Layer I Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Last time Physical layer: encoding, modulation Today Link layer framing Getting frames

More information

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16 Guide To TCP/IP, Second Edition Chapter 5 Transport Layer TCP/IP Protocols Objectives Understand the key features and functions of the User Datagram Protocol (UDP) Explain the mechanisms that drive segmentation,

More information

Protocol Principles. Framing, FCS and ARQ 2005/03/11. (C) Herbert Haas

Protocol Principles. Framing, FCS and ARQ 2005/03/11. (C) Herbert Haas Protocol Principles Framing, FCS and ARQ (C) Herbert Haas 2005/03/11 Link Layer Tasks Framing Frame Protection Optional Addressing Optional Error Recovery Connection-oriented or connectionless mode Optional

More information

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN? Embedded networks Characteristics Requirements Simple embedded LANs Bit banged SPI I2C LIN Ethernet Last Time CAN Bus Intro Low-level stuff Frame types Arbitration Filtering Higher-level protocols Today

More information

Computer Network. Direct Link Networks Reliable Transmission. rev /2/2004 1

Computer Network. Direct Link Networks Reliable Transmission. rev /2/2004 1 Computer Network Direct Link Networks Reliable Transmission rev 1.01 24/2/2004 1 Outline Direct link networks (Ch. 2) Encoding Framing Error detection Reliable delivery Media access control Network Adapter

More information

Code No: RR Set No. 1

Code No: RR Set No. 1 Code No: RR320503 Set No. 1 III B.Tech II Semester Regular Examinations, Apr/May 2007 COMPUTER NETWORKS ( Common to Computer Science & Engineering, Information Technology, Electronics & Control Engineering,

More information

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1 CSMC 417 Computer Networks Prof. Ashok K Agrawala 2009 Ashok Agrawala Set 4 1 The Data Link Layer 2 Data Link Layer Design Issues Services Provided to the Network Layer Framing Error Control Flow Control

More information

BIG-IP Service Provider: Message Routing Administration. Version 13.0

BIG-IP Service Provider: Message Routing Administration. Version 13.0 BIG-IP Service Provider: Message Routing Administration Version 13.0 Table of Contents Table of Contents Using the Diameter Configuration Wizard...5 Overview: Diameter Configuration Wizard... 5 About

More information

OSI Layers (Open System Interconnection)

OSI Layers (Open System Interconnection) OSI Layers (Open System Interconnection) What is a Network? A network refers to two or more connected computers that can share resources such as data, a printer, an Internet connection, applications, or

More information

Some portions courtesy Robin Kravets and Steve Lumetta

Some portions courtesy Robin Kravets and Steve Lumetta CSE 123 Computer Networks Fall 2009 Lecture 4: Data-Link I: Framing and Errors Some portions courtesy Robin Kravets and Steve Lumetta Administrative updates I m Im out all next week no lectures, but You

More information

Chapter 3. The Data Link Layer. Wesam A. Hatamleh

Chapter 3. The Data Link Layer. Wesam A. Hatamleh Chapter 3 The Data Link Layer The Data Link Layer Data Link Layer Design Issues Error Detection and Correction Elementary Data Link Protocols Sliding Window Protocols Example Data Link Protocols The Data

More information

Technical Note: NVMe Simple Management Interface

Technical Note: NVMe Simple Management Interface Technical Note: NVMe Simple Management Interface Revision 1.0 February 24, 2015 LEGAL NOTICE: Copyright 2007-2015 NVM Express, Inc. ALL RIGHTS RESERVED. This Technical Note on the NVMe Simple Management

More information

Gryphon Hardware Information: LIN card

Gryphon Hardware Information: LIN card Gryphon Hardware Information: LIN card External D-9 connector pinout Pin # Channel Assignment 01 1 VIN+ 02 1 No Connect 03 1 LIN BUS 04 1 VIN- / GND 05 1 No Connect 06 1 No Connect 07 1 No Connect 08 1

More information

Your favorite blog :www.vijay-jotani.weebly.com (popularly known as VIJAY JOTANI S BLOG..now in facebook.join ON FB VIJAY

Your favorite blog :www.vijay-jotani.weebly.com (popularly known as VIJAY JOTANI S BLOG..now in facebook.join ON FB VIJAY VISIT: Course Code : MCS-042 Course Title : Data Communication and Computer Network Assignment Number : MCA (4)/042/Assign/2014-15 Maximum Marks : 100 Weightage : 25% Last Dates for Submission : 15 th

More information

Advantages and disadvantages

Advantages and disadvantages Advantages and disadvantages Advantages Disadvantages Asynchronous transmission Simple, doesn't require synchronization of both communication sides Cheap, timing is not as critical as for synchronous transmission,

More information

3. (a) What is bridge? Explain the operation of a LAN bridge from to (b) Explain the operation of transparent bridge.

3. (a) What is bridge? Explain the operation of a LAN bridge from to (b) Explain the operation of transparent bridge. Code No: RR320503 Set No. 1 III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007 COMPUTER NETWORKS ( Common to Computer Science & Engineering, Information Technology, Electronics & Control Engineering,

More information

Configuring RTP Header Compression

Configuring RTP Header Compression Configuring RTP Header Compression First Published: January 30, 2006 Last Updated: July 23, 2010 Header compression is a mechanism that compresses the IP header in a packet before the packet is transmitted.

More information

Maxiflex Single Harwell NIM M1588 User Manual

Maxiflex Single Harwell NIM M1588 User Manual Maxiflex Single Harwell NIM M1588 User Manual SCOPE This document describes the installation, configuration and use of the Maxiflex M1588 Single Harwell NIM. This version of the manual refers to the NIM

More information

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

CCNA 1 Chapter 7 v5.0 Exam Answers 2013 CCNA 1 Chapter 7 v5.0 Exam Answers 2013 1 A PC is downloading a large file from a server. The TCP window is 1000 bytes. The server is sending the file using 100-byte segments. How many segments will the

More information

CP30/G30/MC31 Firmware Version 3100 Known Issues

CP30/G30/MC31 Firmware Version 3100 Known Issues CP30/G30/MC31 Firmware Version 3100 Known Issues Introduction This document lists issues that have been identified with firmware version 3100 for the Kingfisher CP30/G30/MC31 modules. Where possible, workarounds

More information

II. Principles of Computer Communications Network and Transport Layer

II. Principles of Computer Communications Network and Transport Layer II. Principles of Computer Communications Network and Transport Layer A. Internet Protocol (IP) IPv4 Header An IP datagram consists of a header part and a text part. The header has a 20-byte fixed part

More information

Sequential Event Recorder

Sequential Event Recorder DESCRIPTION Sequential Event Recorder Product Specifications and Installation Data The Sequential Event Recorder (SER) is an intelligent Genius I/0 block that resides directly on the Genius LAN. The primary

More information

Transmission/ reception tables

Transmission/ reception tables Transmission/ reception tables Message Exchange When in Transmit Only mode, the Control and Transmission tables are filled in prior to executing the EXCHx instruction, and can be of type %KW or %MW. No

More information

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data ELEX 4550 : Wide Area Networks 2015 Winter Session UDP and TCP is lecture describes the two most common transport-layer protocols used by IP networks: the User Datagram Protocol (UDP) and the Transmission

More information

Advanced Computer Networks. Rab Nawaz Jadoon DCS. Assistant Professor COMSATS University, Lahore Pakistan. Department of Computer Science

Advanced Computer Networks. Rab Nawaz Jadoon DCS. Assistant Professor COMSATS University, Lahore Pakistan. Department of Computer Science Advanced Computer Networks Rab Nawaz Jadoon Department of Computer Science DCS COMSATS Institute of Information Technology Assistant Professor COMSATS University, Lahore Pakistan Advanced Computer Networks

More information

Specification. For. Serial Interface DN-T645/625

Specification. For. Serial Interface DN-T645/625 Date 2002-08-30 1 page of 55 Specification For Serial Interface DN-T645/625 Denon, Ltd. Date 2002-08-30 2 page of 55 Histories Rev. Date Name Description 1.00 Aug., 30, 02 J.Watanabe Date 2002-08-30 3

More information

NOKIA M2M SYSTEM PROTOCOL 2 SPECIFICATION. Copyright 2004 Nokia. All rights reserved. Issue

NOKIA M2M SYSTEM PROTOCOL 2 SPECIFICATION. Copyright 2004 Nokia. All rights reserved. Issue NOKIA M2M SYSTEM PROTOCOL 2 SPECIFICATION Copyright 2004 Nokia. All rights reserved. Issue 1.0 9231719 Contents ACRONYMS AND TERMS...1 DEFINITIONS AND SYMBOLS...2 1 ABOUT THIS DOCUMENT...4 2 INTRODUCTION...5

More information

ETC II Modbus Communications Protocol Reference Guide

ETC II Modbus Communications Protocol Reference Guide ETC II Modbus Communications Protocol Reference Guide SATEC Ltd. BG0595 Rev. A1 Every effort has been made to ensure that the material herein is complete and accurate. However, the manufacturer is not

More information

ISPV3 Programmer s Guide. This guide addresses the features, setup and operation of the CRD89C51xxx microcontrollers with ISPV3 firmware.

ISPV3 Programmer s Guide. This guide addresses the features, setup and operation of the CRD89C51xxx microcontrollers with ISPV3 firmware. 1 Introduction Programmer s Guide This guide addresses the features, setup and operation of the CRD89C51xxx microcontrollers with firmware. The firmware is intended to provide In-system / In-application

More information

LORD MANUAL. Wireless Sensor Networks LXRS Data Communications Protocol

LORD MANUAL. Wireless Sensor Networks LXRS Data Communications Protocol LORD MANUAL Wireless Sensor Networks LXRS Data Communications Protocol 1 2013 LORD Corporation MicroStrain Sensing Systems 459 Hurricane Lane Suite 102 Williston, VT 05495 United States of America Phone:

More information

CSE 123A Computer Networks

CSE 123A Computer Networks CSE 123A Computer Networks Winter 2005 Lecture 4: Data-Link I: Framing and Errors Some portions courtesy Robin Kravets and Steve Lumetta Last time How protocols are organized & why Network layer Data-link

More information

Mettler Toledo Driver PTC Inc. All Rights Reserved.

Mettler Toledo Driver PTC Inc. All Rights Reserved. 2017 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 3 Overview 3 Setup 4 Channel Properties General 5 Channel Properties Serial Communications 6 Channel Properties Write Optimizations

More information

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections Application / Transport Interface Application requests service from transport layer Transport Layer Application Layer Prepare Transport service requirements Data for transport Local endpoint node address

More information

Chapter 7 Internet Protocol Version 4 (IPv4) Kyung Hee University

Chapter 7 Internet Protocol Version 4 (IPv4) Kyung Hee University Chapter 7 Internet Protocol Version 4 (IPv4) 1 7.1 Introduction The transmission mechanism used by the TCP/IP Unreliable and connectionless datagram protocol Best-effort delivery service IP packets can

More information

Direct Link Networks: Building Blocks (2.1), Encoding (2.2), Framing (2.3)

Direct Link Networks: Building Blocks (2.1), Encoding (2.2), Framing (2.3) Direct Link Networks: Building Blocks (2.1), Encoding (2.2), Framing (2.3) ECPE/CS 5516: Computer Networks Originally by Scott F. Midkiff (ECpE) Modified by Marc Abrams (CS) Virginia Tech courses.cs.vt.edu/~cs5516

More information

Transport Layer Marcos Vieira

Transport Layer Marcos Vieira Transport Layer 2014 Marcos Vieira Transport Layer Transport protocols sit on top of network layer and provide Application-level multiplexing ( ports ) Error detection, reliability, etc. UDP User Datagram

More information

asix5 User s Manual see and get more AslView User s Manual

asix5 User s Manual see and get more AslView User s Manual asix5 User s Manual see and get more AslView User s Manual Doc. No. ENP5017 Version: 28-10-2007 User s Manual asix5 ASKOM and asix are registered trademarks of ASKOM Spółka z o.o., Gliwice. Other brand

More information

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification Application Note 3/2003 PC Master Software Communication Protocol Specification By Pavel Kania and Michal Hanak S 3 L Applications Engineerings MCSL Roznov pod Radhostem Introduction The purpose of this

More information

Pretty Good Protocol - Design Specification

Pretty Good Protocol - Design Specification Document # Date effective October 23, 2006 Author(s) Ryan Herbst Supersedes Draft Revision 0.02 January 12, 2007 Document Title Pretty Good Protocol - Design Specification CHANGE HISTORY LOG Revision Effective

More information

3COM0271 Computer Network Protocols & Architectures A

3COM0271 Computer Network Protocols & Architectures A 3COM0271 Computer Network Protocols & Architectures A Week 4: Bit Stuffing and Un-stuffing Practical You should be familiar with the idea of framing from Chapter 2 of Peterson and Davie and also from the

More information

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion Areas for Discussion Direct Link s Joseph Spring School of Computer Science 3COM0271 Computer Protocols & Architecture s Based on Chapter 2, Peterson & Davie, Computer s: A Systems Approach, 4 th Ed Problems

More information

Point-to-point Link CP 441 Installation. and Parameter Assignment SIMATIC. S7-400 Point-to-point Link CP 441 Installation and Parameter Assignment

Point-to-point Link CP 441 Installation. and Parameter Assignment SIMATIC. S7-400 Point-to-point Link CP 441 Installation and Parameter Assignment Point-to-point Link CP 441 Installation and Parameter Assignment SIMATIC S7-400 Point-to-point Link CP 441 Installation and Parameter Assignment Manual Preface Product Description 1 Basic Principles of

More information

Universal Serial Bus Host Interface on an FPGA

Universal Serial Bus Host Interface on an FPGA Universal Serial Bus Host Interface on an FPGA Application Note For many years, designers have yearned for a general-purpose, high-performance serial communication protocol. The RS-232 and its derivatives

More information

ECE4110 Internetwork Programming. Introduction and Overview

ECE4110 Internetwork Programming. Introduction and Overview ECE4110 Internetwork Programming Introduction and Overview 1 EXAMPLE GENERAL NETWORK ALGORITHM Listen to wire Are signals detected Detect a preamble Yes Read Destination Address No data carrying or noise?

More information

Utilities. Introduction. Working with SCE Platform Files. Working with Directories CHAPTER

Utilities. Introduction. Working with SCE Platform Files. Working with Directories CHAPTER CHAPTER 4 Revised: September 27, 2012, Introduction This chapter describes the following utilities: Working with SCE Platform Files, page 4-1 The User Log, page 4-5 Managing Syslog, page 4-8 Flow Capture,

More information

5th Slide Set Computer Networks

5th Slide Set Computer Networks Prof. Dr. Christian Baun 5th Slide Set Computer Networks Frankfurt University of Applied Sciences WS1718 1/38 5th Slide Set Computer Networks Prof. Dr. Christian Baun Frankfurt University of Applied Sciences

More information

Chapter 3. The Data Link Layer

Chapter 3. The Data Link Layer Chapter 3 The Data Link Layer 1 Data Link Layer Algorithms for achieving reliable, efficient communication between two adjacent machines. Adjacent means two machines are physically connected by a communication

More information

Data link layer functions. 2 Computer Networks Data Communications. Framing (1) Framing (2) Parity Checking (1) Error Detection

Data link layer functions. 2 Computer Networks Data Communications. Framing (1) Framing (2) Parity Checking (1) Error Detection 2 Computer Networks Data Communications Part 6 Data Link Control Data link layer functions Framing Needed to synchronise TX and RX Account for all bits sent Error control Detect and correct errors Flow

More information

I/O Organization John D. Carpinelli, All Rights Reserved 1

I/O Organization John D. Carpinelli, All Rights Reserved 1 I/O Organization 1997 John D. Carpinelli, All Rights Reserved 1 Outline I/O interfacing Asynchronous data transfer Interrupt driven I/O DMA transfers I/O processors Serial communications 1997 John D. Carpinelli,

More information

ECE 650 Systems Programming & Engineering. Spring 2018

ECE 650 Systems Programming & Engineering. Spring 2018 ECE 650 Systems Programming & Engineering Spring 2018 Networking Transport Layer Tyler Bletsch Duke University Slides are adapted from Brian Rogers (Duke) TCP/IP Model 2 Transport Layer Problem solved:

More information

INTRODUCTION...2 GENERAL INFORMATION...3

INTRODUCTION...2 GENERAL INFORMATION...3 SIEME Communication Driver Driver for Serial Communication Between Studio and Siemens Devices Using MPI Interfaces Contents INTRODUCTION...2 GENERAL INFORMATION...3 DEVICE CHARACTERISTICS...3 LINK CHARACTERISTICS...3

More information

EWBS Receiving Module Communication specifications

EWBS Receiving Module Communication specifications 2017/01/05 EWBS Receiving Module Communication specifications v1.00 Century Revision history Revision Date Changes 1.00 2017/01/05 Initial Release. 1 Serial communication specifications Asynchronous serial

More information

Design of Multifunction Vehicle Bus Controller

Design of Multifunction Vehicle Bus Controller Design of Multifunction Vehicle Bus Controller Zhongqi LI, Fengping Yang, Qirong Xing, College of Electrical & Electronic Engineering, East China Jiaotong University, Nanchang, P. R.China lzq0828@163.com

More information

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015 TCD30xx User Guide ETH Ethernet MAC with Timestamp Extension Revision 1.0.0-41582 July 17, 2015 Copyright 2015, TC Applied Technologies. All rights reserved. LIST OF TABLES... 16-3 LIST OF FIGURES... 16-4

More information

DATA LINK LAYER UNIT 7.

DATA LINK LAYER UNIT 7. DATA LINK LAYER UNIT 7 1 Data Link Layer Design Issues: 1. Service provided to network layer. 2. Determining how the bits of the physical layer are grouped into frames (FRAMING). 3. Dealing with transmission

More information

Network Technology 1 5th - Transport Protocol. Mario Lombardo -

Network Technology 1 5th - Transport Protocol. Mario Lombardo - Network Technology 1 5th - Transport Protocol Mario Lombardo - lombardo@informatik.dhbw-stuttgart.de 1 overview Transport Protocol Layer realizes process to process communication data unit is called a

More information

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1,

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1, CSMC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala 1 Message, Segment, Packet, and Frame host host HTTP HTTP message HTTP TCP TCP segment TCP router router IP IP packet IP IP packet

More information

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol Transport Layer Transport Layer The transport layer is responsible for the delivery of a message from one process to another Types of Data Deliveries Client/Server Paradigm An application program on the

More information

CSE 123: Computer Networks

CSE 123: Computer Networks Student Name: PID: UCSD email: CSE 123: Computer Networks Homework 1 Solution (Due 10/12 in class) Total Points: 30 Instructions: Turn in a physical copy at the beginning of the class on 10/10. Problems:

More information

The I-7530A-MR Modbus RTU to CAN Converter

The I-7530A-MR Modbus RTU to CAN Converter The I-7530A-MR Modbus RTU to CAN Converter User s Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery

More information

Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa

Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa Abstract: The first time a customer uses the CDP-TX-02N/RX-02N (called CDP-02 module) radio module, they are often uncertain

More information

The MMDVM Specification ( )

The MMDVM Specification ( ) The MMDVM Specification (20150922) Introduction The MMDVM is intended to be an open-source Multi-Mode Digital Voice Modem, which utilises the power of an ARM processor and a simple analogue interface board.

More information

6 Remote memory access protocol (normative)

6 Remote memory access protocol (normative) 6 Remote memory access protocol (normative) 6.1 General 6.1.1 Purpose The remote memory access protocol (RMAP) has been designed to support a wide range of SpaceWire applications. Its primary purpose however

More information

User Datagram Protocol

User Datagram Protocol Topics Transport Layer TCP s three-way handshake TCP s connection termination sequence TCP s TIME_WAIT state TCP and UDP buffering by the socket layer 2 Introduction UDP is a simple, unreliable datagram

More information

Introduction to Protocols

Introduction to Protocols Chapter 6 Introduction to Protocols 1 Chapter 6 Introduction to Protocols What is a Network Protocol? A protocol is a set of rules that governs the communications between computers on a network. These

More information

Programming Assignment 3: Transmission Control Protocol

Programming Assignment 3: Transmission Control Protocol CS 640 Introduction to Computer Networks Spring 2005 http://www.cs.wisc.edu/ suman/courses/640/s05 Programming Assignment 3: Transmission Control Protocol Assigned: March 28,2005 Due: April 15, 2005, 11:59pm

More information

Operator Manual for Profibus

Operator Manual for Profibus PROCESS ANALYSERS SERVOPRO MultiExact Operator Manual for Profibus Part Number: Revision: Language: 05410007A 0 UK English This page intentionally blank LIST OF CONTENTS Section Page 1. DESCRIPTION AND

More information

Transmission SIGNALs

Transmission SIGNALs Chapter 6 Digital Communications Basics 6.1 Introduction 6.2 Transmission media 6.3 Source of signal impairment 6.4 Asynchronous Transmission 6.5 Synchronous Transmission 6.6 Error Detection Methods 6.7

More information

Specification. for. Serial Interface DN-C635

Specification. for. Serial Interface DN-C635 Date 2003-01-28 1 page of 39 Specification for Serial Interface DN-C635 Denon, Ltd. Date 2003-01-28 2 page of 39 Histories Rev. Date Name Description 1.0 Jan.,28, 03 J.Watanabe Date 2003-01-28 3 page of

More information

Outline. CS5984 Mobile Computing

Outline. CS5984 Mobile Computing CS5984 Mobile Computing Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Outline Review Transmission Control Protocol (TCP) Based on Behrouz Forouzan, Data Communications and Networking,

More information

Revision 1.2. July 24, COM Protocol Manual. for MDC and ADC N 11th St - San Jose CA

Revision 1.2. July 24, COM Protocol Manual. for MDC and ADC N 11th St - San Jose CA Revision 1.2 July 24, 2017 COM Protocol Manual for MDC and ADC www.mountztorque.com - 1080 N 11th St - San Jose CA 95112-408.292.2214 1 1 Overview and Communication Specifications 1.1 Overview If the PC

More information

EDBG. Description. Programmers and Debuggers USER GUIDE

EDBG. Description. Programmers and Debuggers USER GUIDE Programmers and Debuggers EDBG USER GUIDE Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging

More information

MULTIPLE-CHOICE QUESTIONS (MCQ) EXAMINATION DURATION: 105 MINUTES. Annotations to the assignments and the solution sheet. Note the following points

MULTIPLE-CHOICE QUESTIONS (MCQ) EXAMINATION DURATION: 105 MINUTES. Annotations to the assignments and the solution sheet. Note the following points Special Exercise for Operating Systems and Computer Networks Page: 1 MULTIPLE-CHOICE QUESTIONS (MCQ) EXAMINATION DURATION: 105 MINUTES Annotations to the assignments and the solution sheet This is a multiple

More information

CS 640 Introduction to Computer Networks. Role of data link layer. Today s lecture. Lecture16

CS 640 Introduction to Computer Networks. Role of data link layer. Today s lecture. Lecture16 Introduction to Computer Networks Lecture16 Role of data link layer Service offered by layer 1: a stream of bits Service to layer 3: sending & receiving frames To achieve this layer 2 does Framing Error

More information

CS 640 Introduction to Computer Networks Spring 2009

CS 640 Introduction to Computer Networks Spring 2009 CS 640 Introduction to Computer Networks Spring 2009 http://pages.cs.wisc.edu/~suman/courses/wiki/doku.php?id=640-spring2009 Programming Assignment 3: Transmission Control Protocol Assigned: March 26,

More information

ET4254 Communications and Networking 1

ET4254 Communications and Networking 1 Topic 9 Internet Protocols Aims:- basic protocol functions internetworking principles connectionless internetworking IP IPv6 IPSec 1 Protocol Functions have a small set of functions that form basis of

More information

Configure IP SLA Tracking for IPv4 Static Routes on an SG550XG Switch

Configure IP SLA Tracking for IPv4 Static Routes on an SG550XG Switch Configure IP SLA Tracking for IPv4 Static Routes on an SG550XG Switch Introduction When using static routing, you may experience a situation where a static route is active, but the destination network

More information

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING UNIT-2 2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS 2.2.1 Pure ALOHA 2.2.2 Slotted ALOHA 2.2.3 Carrier Sense Multiple Access 2.2.4 CSMA with Collision Detection 2.2.5 Collision Free Protocols 2.2.5.1

More information

Setting Up an Avaya Definity ProLogix Digital PIMG Integration with Cisco Unity Connection

Setting Up an Avaya Definity ProLogix Digital PIMG Integration with Cisco Unity Connection CHAPTER 4 Setting Up an Avaya Definity ProLogix Digital PIMG Integration with Cisco Unity Connection For detailed instructions for setting up an Avaya Definity ProLogix digital PIMG integration with Cisco

More information

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER

SIP System Features. SIP Timer Values. Rules for Configuring the SIP Timers CHAPTER CHAPTER 4 Revised: March 24, 2011, This chapter describes features that apply to all SIP system operations. It includes the following topics: SIP Timer Values, page 4-1 SIP Session Timers, page 4-7 Limitations

More information