Home
PMC825 User`s Manual - Stock Flight Systems
Contents
1. Format Example Description Board Name NME ARINC 825 Board A string of up to 32 bytes consisting of a hu man readable ASCII text that gives the board a name This name can be read from the mo dule via the GET_MODULE_INFO system call at any time All characters exceeding 32 bytes will be ignored Ethernet Speed Local MAC Address SPD 100 LMA 00 01 02 03 04 05 Ethernet data rate The following settings are valid and specify the data rate in Mbit s e SPD 10 e SPD 100 e SPD 1000 MAC address of the PMC825 module consi sting of six two digit hexadecimal numbers from 00 to FF separated by colons All Let ters A F have to be capital Note that the first byte has to be 00 otherwise the Ethernet interface will not work Local IP Address LIP 192 009 200 033 LIP DHCP IP address of the PMC825 module consi sting of four three digit decimal numbers in the range of 000 255 separated by dots Al ternatively the PMC825 may be directed to obtain its IP address from a DHCP server by specifying the IP address as the four letter acronym DHCP in capital letters CAN Baud Rate 0 lt x lt 7 PMC825_Users_Manual_V1 2 paf page 12 of 26 CB3 250 Baud rate of the specified CAN channel The following settings are valid and specify the baud rate in kbit s e CBx 83 e CBx 125 e CBx 250 e CBx 500 e CBx 1000 www stockflightsystems com Desy pad lA A K Meaning
2. PMC825 User s Manual Format Example Innovative Control Systems Inc Stock Flight Systems Wetzel Technology GmbH Description CAN Channel Ethernet Link Switch 0 lt x lt 7 LS1 1 Activates deactivates the Ethernet link of the CAN channel specified by x The following settings are valid and specify the state of the link 0 inactive 1 active e LSx 0 e LSx 1 Note that disabled Ethernet links will conti nue tol transmit CAN status packets once per second and respond to IMCP packets CAN Channel Ethernet Update Rate 0 lt x lt 7 UR4 0100 Sets the gap between subsequent emissions of UDP IP packets containing received CAN messages for the specified CAN channel in milliseconds as a 4 digit decimal number in the range of 0001 9999 Note that this setting does not affect the con tinuous transmission of CAN status packets every 100ms and once per second as broadcast and the ability of the PMC825 to respond to IMCP packets with a latency lt 500us CAN Channel MAC Address 0 lt x lt 7 MA2 00 14 4F C3 B8 6E MAC address of the remote host for commu nication with the PMC825 CAN channel spe cified by x consisting of six two digit hexadecimal numbers from 00 to FF separa ted by colons All Letters A F have to be ca pital CAN Channel IP Address 0 lt x lt 7 CAN Channel Local UDP Port Number 0 lt x lt 7 IP6 192 009 200 051
3. PMC825_SOCKET_ERR At least one of the communication sockets could not be successfully in itialized 11 2 Pmc825Stopinterface Synopsis include pmc825 h void Pmc825StopInterface PMC825_IF intf Description The Pmc825StopInterface function releases the connection between a PMC825 module and the host by closing the corresponding UDP IP sockets and releasing the allocated memory 11 3 Pmc825RawCanRead Synopsis include pmc825 h int Pmc825RawCanRead PMC825_IF intf CAN_MSG msg Description The Pmc825RawCanRead function tries to return one unformatted CAN message from the buffer associated with the CAN channel of the PMC825 module specified through the PMC825_IF inter face structure Return Values Upon successful completion Pmc825RawCanRead returns PMC825_ OK Otherwise one of the following codes is returned PMC825_NO_MSG No message could be read from the module 11 4 Pmc825RawCanWrite Synopsis include pmc825 h int Pmc825RawCanWrite PMC825_IF intf CAN_MSG msg int msg_count Description The Pmc825RawCanWrite function tries to write one or more unformatted CAN messages to the buffer associated with the CAN channel of the PMC825 module specified through the PMC825_IF interface structure for transmission The number of messages to be transmitted is specified by msg_count Return Values Upon successful completion Pmc825RawCanWrite returns PMC825_OK Otherwise one of the PMC
4. www stockflightsystems com 4 Innovative Control PMC a M Systems Inc nah h 4 825 User S anua Stock Flight Systems DAY tu STOCK Wetzel Technology GmbH 1 Overview The PMC825 PCI Mezzanine Card PMC plug in board offers 4 or 8 optically isolated CAN 2 0B in terfaces according to ISO 11898 and a 10 100 1000 BaseT Ethernet interface To minimize CPU load on host computers the PMC825 uses an onboard Xilinx Virtex 4 FPGA with dual PowerPC 405 processors and 8 MByte DRAM to process and store CAN messages The PCI bus interface is rea lized using a PLX PCI9656 bridge chip The CAN bus interfaces are accessible via a 26 pin micro D Sub connector Figure 1 shows the PMC 825 board Figure 1 PMC825 Board The PMC825 features are PMC form factor e 64 bit 66 MHz PCI interface e 4 8 optically isolated ARINC 825 interfaces per module e Licensed Bosch CAN controller IP cores implemented in Xilinx Virtex 4 FX60 FPGA e Dual on chip 192 MHz PowerPC 405 processors e Shared RAM interface between PCI host and PMC825 e PMC carriers for platform diversity PCI cPCI PCI X PCI Express VME e Module firmware supports record playback functions and high resolution timestamping e PCI host drivers for Linux X86 Solaris SPARC VxWorks and Windows XP 7 e XCT window oriented toolbox for Linux and Windows XP 7 with PMC825 Ethernet UDP IP interface e Human readable module configuration file for CAN Ethernet interfaces on MicroSDHC card e Mic
5. LPO 34567 IP address of the remote host for communi cation with the PMC825 CAN channel speci fied by x consisting of four three digit decimal numbers in the range of 000 255 separated by dots UDP port number of the PMC825 module used to receive Ethernet UDP IP packets from as a 5 digit decimal number in the ran ge of 03000 65535 Note that port numbers below 3000 will create problems on many host computers CAN Channel Remote UDP Port Number 0 lt x lt 7 RP5 34578 Figure 15 PMC825 Configuration File Tags PMC825_Users_Manual_V1 2 paf page 13 of 26 UDP port number of the PMC825 module used to send Ethernet UDP IP packets to as a 5 digit decimal number in the range of 03000 65535 Note that port numbers below 03000 will create problems on many host computers www stockflightsystems com Innovative Cantal Systems Inc si fiy PMC825 User s Manual ner STOCK Wetzel Technology GmbH A sample PMC325 configuration file is shown below PMC825 Module Configuration File C Stock Flight Systems 2010 Ethernet line speed 10 100 or 1000 SPD 100 Board name max 32 bytes NME First CAN Board This board s MAC and IP address LMA 00 01 02 03 04 05 LIP 192 009 200 033 CAN interface baud rates 1000 500 250 125 or 83 CBO 1000 CB4 125 CB5 83 CB6 250 CB7 500 MAC IP addresses and local remote numbers channel MA0 00 14 4F C3 3C DE SUN IP0 192 009 200
6. 0 1837 144703496 2 20 2 0 0 2 2 Parameter Value Left Aleron Position 2 507493 Right Aileron Position 2 507493 Elevator Position 47 000000 Rudder Position 3 510490 Body Pitch Rate 50 000000 Body Roll Rate 51 400127 Body Yaw Rate 5 014986 Height above Elipsoid 38 550095 Aircraft Latitude 1 570800 Aircraft Longitude 3 141600 PP gt gt gt gt gt gt u gt Figure 18 ARINC 825 Rx Subwindow PMC825_Users_Manual_V1 2 paf page 23 of 26 www stockflightsystems com De signed M L tv STOCK PMC825 User s Manual Innovative Control Systems Inc Stock Flight Systems Wetzel Technology GmbH New Profile E Open Profile B Save Profile E Save Profile as 3 IFNS Profile Header Profile Info User FIDs J User Units C Enumerations E3 INS Mag Status E INS Mode LRU Code E Node Service Codes E Profile ID E Profile Sub ID Parameter ES 4 Flight State amp 8 Flight Controls gt Rudder Position rad gt Elevator Position rad e 8 8 EDER gt Left Aileron Position r Right Aileron Position E 16 Air Data 20 Navigation B 127 Temporary Test amp M Figure 19 ARINC 825 Profile Editor 12 2 Trace P Add Parameter Delete Parameter Parameter Options LCC DOC ECES PVT SPP Byte Bit EPP Byte Bit PUC P Normal Operation Channel ls llo v Local Bit Private Bit 0 4363
7. 051 LP0 34567 RP0 34568 LSO 1 URO 0010 MAC IP addresses and local remote TP1 192 009 200 051 LP1 34569 RP1 34570 MAC IP addresses and local remote numbers channel MA2 FF FF FF FF FF FF Broadcast TP2 192 009 200 255 LP2 34571 RP2 34572 UR2 0001 MAC IP addresses and local remote numbers channel TP3 192 009 200 051 LP3 34573 RP3 34574 UR3 1000 MAC IP addresses and local remote numbers channel IP4 192 009 200 051 PMC825_Users_Manual_V1 2 paf page 14 of 26 www stockflightsystems com Innovative Control Systems Inc ee afy A PMC825 User s Manual Stock Flight Systane aa al dle Wetzel Technology GmbH LP4 34575 RP4 34576 LS4 1 MAC IP addresses and local remote port numbers for CAN channel 5 TP5 192 009 200 051 LP5 34577 RP5 34578 LS5 1 MAC IP addresses and local remote port numbers for CAN channel 6 TP6 192 009 200 051 LP6 34579 RP6 34580 LS6 0 UR6 0005 MAC IP addresses and local remote port numbers for CAN channel 7 IP7 192 009 200 051 LP7 34581 RP7 34582 LS7 1 UR7 0200 End of PMC825 Module Configuration File For CAN channels which are not accessed via the Ethernet UDP IP interface the corresponding entries in the configuration file for MAC IP addresses and port numbers may be omitted All CAN channels that have no baud rate tag in the configuration file will be initialized to be bus off by de fault Specifying 255 as the last
8. Ethernet Controller MagJack Ethernet PHY The standalone version of the PMC825 is packaged in an aluminum housing as shown in figure 3 and contains an internal power supply unit This unit is a member of the Network Extended Control PMC825_Users_Manual_V1 2 pdf page 4 of 26 www stockflightsystems com Innovative Control Systems Inc a A A PMC825 User S Manual Stock Flight Systems tu das ido Wetzel Technology GmbH System NECS family of embedded computer systems and is referred to as PowerNECS Po werNECS is sealed against electromagnetic interference and operates from a 9 36 VDC power sup ply according to the EN 2282 1992 characteristics of aircraft electrical supplies The power consumption is lt 15 W the box dimensions are 172 x 92 x 70 6 mm the weight is 0 5 kg Figure 4 shows the mechanical dimensions of the PowerNECS enclosure All dimensions in mm Figure 4 PowerNECS Mechanical Dimensions PMC825_Users_Manual_V1 2 paf page 5 of 26 Innovative Control Systems Inc Stock Flight Systems Wetzel Technology GmbH PMC825 User s Manual www stockflightsystems com Des pad lA A K 2 PMC825 Front Panel Connectors The PMC825 module has two front panel connectors The connector to the right is dedicated to the Ethernet interface and uses a MagJack L829 1J1T 43 Integrated Connector Module The pinout of this connector is according to the established RJ 45 standard and s
9. digit of an IPx tag sets up the corresponding interface for broad cast communication In this case multiple instances of XCT may connect to the same CAN channel of a PMC825 module port numbers are still relevant in this case The MAC address for broadcast channels is automatically set to FF FF FF FF FF FF by the PMC825 firmware If the LIP tag is set to DHCP the PMC825 attempts to contact a DHCP server in the network and tries to obtain a valid IP address from it Once this process has been completed successfully the PMC825 wil transmit a status message for CAN channel 0 once per second as a broadcast UDP packet Reception of this packet allows host computers in the network to determine the IP address of a PMC825 based on its module name If the MAC address of a remote host is not known the corresponding MAx tag may be omitted In this case the PMC825 will use ARP requests ten times per second to determine the remote hosts MAC address in order to establish communication with this host Specifying the remote hosts MAC address in the configuration file avoids this process and speeds up the link initialization The continuous transmission of Ethernet UDP IP packets with received CAN messages can be ena bled or disabled using the LSx tag for each CAN channel individually Likewise the time between subsequent packets can be adjusted through the URx tag The minimum time gap between CAN receive packets is 1ms t
10. to a PMC825 CAN channel e Pmc825RawCanRead Read unformatted CAN messages e Pmc825RawCanWrite Write unformatted CAN messages e Pmc825CanAerospaceRead Read CANaerospace formatted CAN messages e Pmc825CanAerospaceWrite Write CANaerospace formatted CAN messages e Pmc825Arinc825Read Read ARINC 825 formatted CAN messages e Pmc825Arinc825Write Write ARINC 825 formatted CAN messages e Pmc825CtrlRead Read a PMC825 control response packet e Pmc825CtrlWrite Write a PMC825 control command packet 11 1 Pmc825Startinterface Synopsis include pmc825 h int Pmc825StartInterface PMC825_IF intf unsigned int pm825_ip unsigned int host_ip int rx_port int tx_port int channel Description The Pmc825StartInterface function establishes the connection between the specified channel of a PMC825 module and the host by the means of UDP IP sockets It initializes a PMC825_IF interface structure that refers to the CAN channel The interface structure is used by other I O functions to re fer to that CAN channel Return Values PMC825_Users_Manual_V1 2 paf page 17 of 26 Wetzel Technology GmbH www stockflightsystems com Innovative Coritroi Systems Inc si ef PMC825 User s Manual ner STOCK Upon successful completion Pmc825StartInterface returns PMC825_OK Otherwise one of the following codes is returned PMC825_MEM_ALLOC_ERR The memory required to establish communication could not be ob tained
11. window displays all received CAN messages with the corresponding time stamp identifier and length together with a continuously updated message counter that shows how many messages with a particular identifier have been received The transmit window allows to specify CAN messages and to select and transmit them by mouse click Raw and protocol specific data representations may be selected using the display format selector of the Standard CAN message receive and transmit subwindows Several other subwindows which may be launched using the buttons on the left side of the main win dow Add to Project provide advanced control and display functions for standard CAN and proto col specific functions XCT is subject to continuous development to cover all protocol specific functions of CANaerospace and ARINC 825 XCT updates for all operating systems may be down loaded from www wetzel technology com files XCT 12 1 ARINC 825 Rx The ARINC 825 Rx subwindow allows to display received CAN messages in raw format as well as in a profiled mode based on ARINC 825 communication profiles see figure 18 To allow this XCT reads all ARINC 825 communication profile files with pro suffix in its bin directory each time it is started XCT also provides a profile editor Profile for ARINC 825 communication profiles see figure 19 which allows to analyze and edit ARINC 825 communication profiles unamed E oX Count Time ms LCC SrcFID IVD LCL PVT DOC D
12. 00 i po rad gt FLOAT Elevator Position 10 436300 0 ms Downward The Trace subwindow displays all incoming CAN messages without overwriting messages with the same identifier This subwindow will allow to record these messages and store them in dedicated fi les for post recording analysis 12 3 CAN Status The CAN Status subwindow see figure 20 continuously displays the current status of the CAN in terface including detailed information about the CAN error counters 7 unamed TOX Bus State Active RX Error Count f l TX Error Count ACK Error Count CRC Error Count Format Error Count Stuff Error Count Dom gt Rec Error Count Rec gt Dom Error Count Figure 20 CAN Status Subwindow EIER Bus State RX Error Count TX Error Count 248 ACK Error Count 0 CRC Error Count 0 Format Error Count o Stuff Error Count 0 Dom gt Rec Error Count 1 Rec gt Dom Error Count 0 PMC825_Users_Manual_V1 2 paf page 24 of 26 www stockflightsystems com Innovative Control Systems Inc ae A PMC825 User s Manual Stock Flight Systems De er STOCK Wetzel Technology GmbH 12 4 Graph View The Graph View subwindow see figure 21 allows to display CAN messages representing analog parameters in a graphical x t diagram Up to six parameters per subwindow can be overlayed or dis played separately All parameters are color coded and may be given user defined names for clarit
13. 47 18 0459 E136314896 D4 42 48 347 18 0460 13631490004 40 99 CAN Message 347 18 0462 E 136314904 D4 42 c6 b4 Receive Subwindow 174 18 0465 E136314884 D4 42 13 33 174 18 0467 E136314888 D4 40 8a 3d 174 18 0470 136314892 D4 41 c8 00 347 18 0472 E144703500 D4 40 66 66 347 18 0475 E 144703492 D4 00 00 00 Add ARINC 825 Rx 347 18 0477 144703496 D4 00 00 00 Add Trace Window Add CAN Status Filter Filter Off v Hex g Add Graph View Eb Add Data Visualization 2 Add Node Service Window E Add CAN Statistic Message Standard 000 Prora Gite Standard 002 003 004 005 006 Reload amp Check Extended 011 022 033 044 ARINC 825 CANaerospace IFNS Profile a 3 4 Flight State E 8 Flight Controls CAN Message E 16 Ar Data Transmit Subwindow 20 Navigation 8 3 127 Temporary Test amp Maint Add to Project ES Add Receive Window E Add Transmit Window 2 2 Q9 o 2 2 2 a 2 o 2 2 gt Decimal w Delete Selected a Transmit Selected 1 0 0 Detached Msg s O Load 0 0 Display Format CAN Bus Load Selector Indicator Figure 17 XCT Main Window PMC825_Users_Manual_V1 2 paf page 22 of 26 www stockflightsystems com Innovative Contral Systems Inc al si PMC825 User s Manual Stock Flight Systems STOCK Wetzel Technology GmbH Standard CAN message receive and transmit subwindows are launched by default The receive
14. 825_Users_Manual_V1 2 paf page 18 of 26 www stockflightsystems com Innovative Control Systems Inc en A PMC825 User s Manual Stock Flight Systems Dey STOCK Wetzel Technology GmbH following codes is returned PMC825_BUF_OVERFLOW The number of messages specified by msg_count exceeded the maximum number of MAX_CAN_MSG_COUNT 11 5 Pmc825CanAerospaceRead Synopsis include pmc825 h include can_as h int Pmc825CanAerospaceRead PMC825_IF intf CAN_AS_MSG msg Description The Pmc825CanAerospaceRead function tries to return one CANaerospace formatted CAN mes sage from the buffer associated with the CAN channel of the PMC825 module specified through the PMC825_IF interface structure Return Values Upon successful completion Pmc825CanAerospaceRead returns PMC825_OK Otherwise one of the following codes is returned PMC825_NO_MSG No message could be read from the module 11 6 Pmc825CanAerospaceWrite Synopsis include pmc825 h include can_as h int Pmc825CanAerospace Write PMC825_IF intf CAN_AS_MSG msg int msg_count Description The Pmc825CanAerospaceWrite function tries to write one or more CANaerospace formatted CAN messages to the buffer associated with the CAN channel of the PMC825 module specified through the PMC825_IF interface structure for transmission The number of messages to be trans mitted is specified by msg_count Return Values Upon successful completion Pmc825Ca
15. D 19 5V 29 AD 18 Ground V 1 0 AD 17 31 AD 16 C BEI2 FRAME Ground 5 7 i 46 ww CO 00 wnn w ali o N 41 43 PAR V 1 0 a 1 Ground 37 Ground 45 AD 14 PMC RSVD 3 3V STOP Ground SERR Ground AD 13 AD 12 47 Ground AD 10 oe ONS ADI 09 49 AD O8S 3 3V Ground oa _ 51 AD O7 PMC RSVD 4 ADIO4 V 1 0 AD 03 ADJO1 61 AD OO 5V 62 53 3 3V 61 ACK64 PMC RSVD Ground PMC RSVD PMC RSVD 3 3V 63 Ground REQG4 64 63 Ground PMC RSVD Figure 10 PMC825 Pn1 Pn2 Connector Pinout PMC825_Users_Manual_V1 2 paf page 8 of 26 www stockflightsystems com Innovative Control Systems Inc one fly 4 PMC825 User S Manual Stock Flight Systems tU ia lo Wetzel Technology GmbH PMC Connectors Pin Assignments Pn3 Jn3 64 Bit PCI Pn4 Jn4 User Defined I O Signal Signal Pin Signal PCI RSVD Ground Ground C BEI7 C BEI6 C BE 5 C BE 4 Ground V 1 0 PAR64 AD 63 AD 62 AD 61 Ground Ground 32 Ground AD 48 34 AD 47 AD 46 AD 45 Ground V 1 0 AD 44 AD 43 AD 42 AD 41 Ground Ground ADI40 AD 39 AD 38 AD 37 Ground Ground AD 36 ADJ 35 ADI34 AD 33 Ground PCI RSVD PCI RSVD 60 Figure 11 PMC825 Pn3 Pn4 Connector Pinout 6 Firmware Status LEDs Seven status LEDs are located o
16. FID SID DATA a 2590 138543128 419141 4 NOC 8 1i 0 066 061 083 053 a 2590 138543133 419141 5 NOC 8 194 061 083 053 2590 138543124 419141 6 NOC 8 194 064 000 000 a 2590 138543136 4191419 NOC 8 194 132 135 012 a 432 136314908 4190829 NOC 4 193 160 000 000 432 136314912 419083 2 NOC 4 193 058 061 111 432 136314916 4190834 NOC 4 065 152 240 038 a 2590 136314896 419142 1 NOC 4 194 072 000 000 a 2590 136314900 419142 2 NOC 4 193 150 102 100 2590 136314904 419142 3 NOC 4 2590 144703500 4191434 NOC 20 a 2590 144703492 419143 6 NOC 20 a 2590 144703496 4191438 NOC 20 a 2590 144703568 4191439 NOC 20 2590 142606340 4191442 NOC 16 2590 142606368 4191445 NOC 16 1295 136314884 4191426 NOC 4 1295 136314888 419142 8 NOC 4 1295 136314892 419143 1 NOC 4 123 144703552 418749 0 NOC 20 123 144703556 418749 3 NOC 20 123 144703560 418749 5 NOC 20 123 144703884 418788 9 NOC 20 A 066 189 083 053 193 097 153 150 000 000 000 033 255 255 255 244 000 000 000 048 193 112 000 000 065 153 153 154 066 025 153 154 193 135 092 039 193 200 000 000 193 109 030 192 066 148 196 090 064 051 051 051 007 AS ARINC825 Raw Dec ARINC825 Raw Hex ARINC825 Profile Count LCC FID DOC LCL PVT 1837 138543128 2 8 6 1 0 1837 138543132 2 8 7 1 0 a 1837 138543124 2 8 5 1 0 o 1837 138543136 2 8 8 1 0 1837 136314896 2 4 4 0 0 1837 136314900 2 4 5 0 0 a 1837 136314904 2 4 6 0 0 1837 144703500 2 20 3 0 0 1837 144703492 2 20 1 0
17. HC Card Pinout PMC825_Users_Manual_V1 2 paf page 10 of 26 Wetzel Technology GmbH www stockflightsystems com Innovative Contral Systems Inc pair fly si PMC825 User s Manual Stock Flight Systems STOCK 8 Ethernet Interface Aside from serving its PCI interface the PMC825 uses its Ethernet interface for the communication between a theoretically unlimited number of PMC825 modules or PowerNECS and host compu ters as shown in figure 14 Ethernet Switch al ETA PMC825 Modules Figure 14 Ethernet Communication between PMC825 Modules and Host Computers The PMC825 Ethernet interface data rate can be setto 10 100 or 1000 Mbit s To support smooth integration into standard Ethernet networks the PMC825 responds to Internet Control Message Protocol ICMP echo requests ping as well as to Address Resolution Protocol ARP requests The PMC825 IP adress assignment may be either static or dynamic The PMC825 contains a DHCP client to support dynamic IP address assignment The PMC825 employs the User Datagram Protocol UDP for the communication with host compu ters IP addresses and UDP port numbers used by the PMC825 may be assigned for each CAN channel individually This maximizes flexibility for the integration of PMC825 modules into already configured networks On power up the PMC825 obtains required Media Access Control MAC addresses from remote hosts using ARP request messages Appl
18. TOCK Wetzel Technology GmbH 3 PowerNECS Front Panel Connectors Aside from the PMC825 front panel connectors the PowerNECS offers two additional 9 pin D Sub connectors located above the PMC825 bezel These connectors are used to supply PowerNECS with 9 36VDC input power and also provide access to CAN channel 0 of the PMC825 The corre sponding pinout is compatible with the CANaerospace and ARINC 825 specifications and shown in figure 7 The pins 1 2 5 and 7 of both connectors are internally connected so that both connectors are functionally identical Figure 8 shows the internal routing of the CAN interface 0 lines s Power Ground Not connected reserved for future use Not connected reserved for future use CAN Low Channel 0 Power 9 36VDC Not connected reserved for future use Not connected reserved for future use CAN High Channel 0 Not connected reserved for future use Power 9 36VDC CAN Low Channel 0 Not connected reserved for future use Not connected reserved for future use Power Ground Not connected reserved for future use CAN High Channel 0 Not connected reserved for future use Not connected reserved for future use Figure 7 PowerNECS Front Panel Connector Pinout CAN H Channel 0 25 Pin D Sub Connector Front View A Ye E a s o o o o olo a o oo arta tar tar tar tar tar tar tarta CAN L Channel 0 Figure 8 Internal routing of CAN Interface 0 lines to PowerNECS Front Panel Connector PMC825_
19. Users_Manual_V1 2 paf page 7 of 26 www stockflightsystems com 4 CAN Activity LEDs PMC825 User s Manual Innovative Control Systems Inc Stock Flight Systems Wetzel Technology GmbH The CAN activity LEDs located on the front panel see figure 9 indicate if a CAN channel transmits and or receives CAN messages Every CAN channels has a dedicated activity LED which flashes once for every transmitted received message or continuously at a rate of 2Hz in case of a steady message flow If the activity LED of a particular CAN channel stays dark in an active network the physical interface correctness of all network nodes including the used baud rates sample points and termination resistors should be verified Figure 9 CAN Activity LEDs 4 Channel PMC825 5 PMC Connectors The PMC825 is fully compatible to the IEEE P1386 1 standard The PMC connector pinout is shown in figures 10 and 11 Pn1 Jn1 32 Bit PCI Ground PMC Connectors Pin Assignments INTA Pn2 Jn2 32 Bit PCI Signal TRST TDO INTB TMS INTC TDI Ground BUSMODE1 5V Ground PCI RSVD Pin 1 3 5 7 9 INTD PCI RSVD PCI RSVD PCI RSVD ur _ Ground PCI RSVD BUSMODE2 3 3V RST 24 Ground C BEI3 NID e i e a wel ON O00 N a 13 Gr 5 25 IDSEL BUSMODE3 BUSMODE4 Ground AD 29 AD 26 3 3V AD 23 AD 22 AD 2 1 27 3 3V AD 20 A
20. en these files are detected the content is automatically programmed into FLASH memory and the new firmware is started On success the PMC825 firmware deletes the upgrade files from the MicroSD card and writes a log file INSTALL LOG to the card which provides information about the upgrade The content of this log file will typically look as follows PPCO Software Update File ppc0O srd found PPCO Software Update Programming Successful PPCO Software Update Verification Successful PPCO Software Update File Deleted PPC1 Software Update File ppcl srd found PPC1 Software Update Programming Successful PPC1 Software Update Verification Successful PPC1 Software Update File Deleted Firmware upgrades using the MicroSD card are possible for PPCO PPC1 or both PMC825 proces sors at the same time PMC825_Users_Manual_V1 2 paf page 16 of 26 Wetzel Technology GmbH www stockflightsystems com Innovative Coritroi Systems Inc si ef sae PMC825 User s Manual ner STOCK 11 PMC825 Socket Interface Library The PMC825 Socket Interface Library consists of a set of functions which provide the interface bet ween applications written in C and the PMC825 resources using 4 3 BSD datagram sockets It is provided in source code and allows to be compiled and linked for various operating systems The In terface Library has successfully been tested with SUN Solaris SUSE RedHat Linux MacOS and MS Windows Compilation f
21. exceeded the maximum number of MAX_CAN_MSG_COUNT PMC825_Users_Manual_V1 2 paf page 21 of 26 www stockflightsystems com 4 Innovative Control Systems Inc Ma f PMC825 User S Manual Stock Flight Systems tu sea e Wetzel Technology GmbH 12 XCT Toolbox Overview The XCT integrated toolbox is a window oriented interface that communicates with the PMC825 using an Ethernet UDP IP connection or the PCI bus interface Multiple instances of XCT may connect to any CAN channel of a PMC825 and control transmission and reception of CAN messa ges Additionally XCT supports the CANaerospace and ARINC 825 protocols XCT is available for Linux and MS Windows Solaris and MacOS versions in preparation and runs on any desktop or laptop computer with an Ethernet interface XCT allows configuration files to be generated and re loaded which contain application specific settings Project Figure 17 shows the main window of XCT after it has been invoked Network Interface CAN Baud Rate Activation Deactivation Selection PMC 825 IP Address CAN Channel Selection Selection XCT edited Extras Window Help J aussen PHos25 3 192 9 200 33 A v 1 MBit Termination Off ee imal Default Receive TEOK 4 Receive Window Default Receive Transmit Window E Default Transmit Time Id Len Message 18 0453 138543128 D4 42 46 347 18 0454 E138543133 D4 c2 46 347 18 0455 E 138543124 D4 c2 38 347 18 0458 E 138543136 D4 c2 8b 3
22. he maximum time gap is 9999ms Be aware that specifying large gap times may lead to data loss depending on the traffic on the corresponding CAN channel The LSx and URx tag settings do not affect the transmission of CAN status packets every PMC825_Users_Manual_V1 2 paf page 15 of 26 www stockflightsystems com Innovative Control Systems Inc a PMC825 User s Manual Stock Flight Systems Dey STOCK Wetzel Technology GmbH 100ms and once per second as broadcast and the ability of the PMC825 to respond to Internet Control Message Protocol ICMP echo requests ping as well as to Address Resolution Protocol ARP requests For communication with XCT the local and remote port numbers are presently fixed to the values shown in figure 16 These values have to be specified in the PMC825 configuration file to enable communication with XCT CAN Channel Local Port Number LPx tag Remote Port Number RPx tag 34567 34568 Figure 16 Local and Remote Port Numbers for Communication with XCT 10 PMC825 Firmware Upgrades The PMC825 allows firmware upgrades to be made through the MicroSD card interface The PMC825 binary firmware upgrade files have to be stored on a MicroSD card which is inserted in the PMC825 MicroSD card slot The files must have the case sensitive name ppcO srd and ppc1 srd to be recognized by the PMC825 firmware which checks for these files each time power is applied Wh
23. hown in figure 5 The Micro Sub D front panel connector combines the CAN interfaces and additional RS 232 RS 422 and signals for future use as shown in figure 6 Pins 10 13 and 23 25 of this connector should not be connected and left open unless supported by a customized firmware available on request The CAN Ground signals can be used to connect systems with non isolated CAN transceivers to the PMC825 For isolated networks using CAN Low and CAN High only the CAN Ground pins may be left unconnected LED 2 green 100Mbit s amber 1000Mbit s Description Transmit Data Transmit Data LED 1 TX ur Receive Data Not Connected Receive Data 1234567 8 Not Connected Figure 5 RJ45 Ethernet Connector Pinout po RS 232 Ground RS 232 Tx RS 485 Inverting Line In L RS 232 Rx RS 485 Non Inverting Line In R CAN Ground CAN Ground CAN High Channel 7 CAN High Channel 3 CAN High Channel 6 CAN High Channel 2 CAN High Channel 5 CAN High Channel 1 CAN High Channel 4 CAN High Channel 0 2N0 4200 Oo OOO OOODOVCODOD O ODO DO OOOO ON Figure 6 25 Pin Micro Sub D Connector Pinout PMC825_Users_Manual_V1 2 paf page 6 of 26 CAN Low Channel 7 CAN Low Channel 3 CAN Low Channel 6 CAN Low Channel 2 CAN Low Channel 5 CAN Low Channel 1 CAN Low Channel 4 CAN Low Channel 0 www stockflightsystems com Innovative Cantal Systems Inc si ef sae PMC825 User s Manual ner S
24. ication Programmer Interfaces APIs for the PMC825 Ethernet interface supporting various operating systems are available on request PMC825_Users_Manual_V1 2 paf page 11 of 26 www stockflightsystems com Desy pad lA A K 9 PMC825 Configuration File PMC825 User s Manual Innovative Control Systems Inc Stock Flight Systems Wetzel Technology GmbH The PMC825 configuration file is a human readable ASCII file that is stored on a MicroSD card which is inserted in the PMC825 MicroSD card slot The configuration file has to have the case sen sitive name PMC825 CFG to be recognized by the firmware This file is read by the PMC825 firm ware from the MicroSD card slot each time power is applied The content is used to configure the CAN baud rate the local Ethernet interface and the board name used by XCT for additional refe rence and display of the board it is connected to Additionally the configuration file allows to specify default settings for the IP addresses MAC addresses and port numbers for the communication with XCT or the Ethernet API on a per CAN channel basis The configuration file format uses the case sensitive tags shown in figure 15 No spaces are allowed between the tag the and the following letters All data in the configuration file that does not begin with a recognized tag will be ignored This allows user comments in the file if caution is taken that no tag letters are used Meaning
25. ion Pmc825Arinc825Write returns PMC825_OK Otherwise one of the following codes is returned PMC825_BUF_OVERFLOW The number of messages specified by msg_count exceeded the maximum number of MAX_CAN_MSG_COUNT 11 9 Pmc825CtrlRead Synopsis include pmc825 h int Pmc825CtrlRead PMC825_IF intf CTRL_MSG ctrl_msg Description The Pmc825CtrlRead function tries to return one PMC825 control message from the buffer asso ciated with the CAN channel of the PMC825 module specified through the PMC825_IF interface structure Return Values Upon successful completion Pmc825CtrlRead returns PMC825_OK Otherwise one of the follo wing codes is returned PMC825_NO_MSG No message could be read from the module 11 10 Pmc825CtrlWrite Synopsis PMC825_Users_Manual_V1 2 paf page 20 of 26 www stockflightsystems com Innovative Control Systems Inc en PMC825 User s Manual Stock Flight Systems DB STOCK Wetzel Technology GmbH include pmc825 h int Pmc825CtrlWrite PMC825_IF intf CTRL_MSG msg Description The Pmc825CtrlWrite function tries to write aPMC825 control messages to the buffer associated with the CAN channel of the PMC825 module specified through the PMC825_IF interface structure for transmission Return Values Upon successful completion Pmc825Arinc825Write returns PMC825_OK Otherwise one of the following codes is returned PMC825_BUF_OVERFLOW The number of messages specified by msg_count
26. n the card edge of the PMC825 is shown in figure 12 The firmware run LEDs flash alternating between DS6 4 and DS5 3 during normal operation PMC 825 Board Description FPGA Config Finished FPGA Config Started PV Power Valid DS6 DS3 Firmware Run LEDs Figure 12 PMC825 Status LED Assignment PMC825_Users_Manual_V1 2 paf page 9 of 26 www stockflightsystems com Innovative Coritroi Systems Inc si fly sae PMC825 User s Manual ner STOCK Wetzel Technology GmbH 7 MicroSD Card Slot The PMC325 offers a MicroSD card slot that supports FAT16 or FAT32 formatted MicroSD and MicroSDHC cards MicroSD cards used with the PMC825 have to support the Serial Peripheral In terface SPI mode and be capable of operating under a sustained SPI data rate of 25 MHz The card slot pinout of the PMC825 is shown in figure 13 and is fully compatible with the MicroSD speci fication of the SD Card Organization www sdcard org The MicroSD card interface is used to configure the PMC825 during startup using a dedicated con figuration file see section 9 and to perform firmware upgrades see section 10 Options for CAN data recording on MicroSDHC card are available on request Description Reserved Chip Select low active Data In Supply Voltage System Clock Supply Voltage Ground Data Out Reserved Figure 13 MicroSD MicroSD
27. nAerospaceWrite returns PMC825_ OK Otherwise one of the following codes is returned PMC825_BUF_OVERFLOW The number of messages specified by msg_count exceeded the maximum number of MAX_CAN_MSG_COUNT 11 7 Pmc825Arinc825Read Synopsis include pmc825 h include arinc825 h int Pmc825Arinc825Read PMC825_IF intf ARINC825_MSG msg PMC825_Users_Manual_V1 2 paf page 19 of 26 www stockflightsystems com Innovative Control Systems Inc a A PMC825 User s Manual Stock Flight Systems Dag STOCK Wetzel Technology GmbH Description The Pmc825Arinc825Read function tries to return one ARINC 825 formatted CAN message from the buffer associated with the CAN channel of the PMC825 module specified through the PMC825_IF interface structure Return Values Upon successful completion Pmc825Arinc825Read returns PMC825_OK Otherwise one of the following codes is returned PMC825_NO_MSG No message could be read from the module 11 8 Pmc825Arinc825Write Synopsis include pmc825 h int Pmc825Arinc825Write PMC825_IF intf ARINC825_MSG msg int msg_count Description The Pmc825Arinc825Write function tries to write one or more ARINC 825 formatted CAN messa ges to the buffer associated with the CAN channel of the PMC825 module specified through the PMC825_IF interface structure for transmission The number of messages to be transmitted is spe cified by msg_count Return Values Upon successful complet
28. or other Unix derivatives including realtime operating systems like Vx Works LynxOS QNX or Integrity 178 should require only minor code changes if any at all Example programs coming with the library show how applications make use of the library calls to at tach to PMC825 CAN channels read and write CAN messages perform control functions and de tach from a PMC825 CAN channel All relevant interface structures and definitions are contained in just three include files pmc825 h can_as h arinc825 h to minimize integration effort The current version of the library may be downloaded anytime from www arinc825 com Compatibility of new versions to previous versions is ensured so that upgrading to a new library version does not require changes in already existing applications The functions provided by the PMC825 Socket Interface Library are listed below The calls are not multithread safe Any application accessing the PMC825 has to call Pmc825StartInterface once before using any other Socket Interface Library call Good practice is to call Pmc825StopInterface once the PMC825 resource is not needed by the application anymore Failing to do so will prevent the PMC825 from freeing resources by shutting down the open UDP IP socket The PMC825 Socket Interface Library provides the following user callable routines e Pmc825StartInterface Establish a communication path to a PMC825 CAN channel e Pmc825StopInterface Release a communication path
29. roSD card based firmware upgrade mechanism e Standalone version with integrated power supply product name PowerNECS available PMC825_Users_Manual_V1 2 paf page 3 of 26 Innovative Control Systems Inc Stock Flight Systems Wetzel Technology GmbH PMC825 User s Manual www stockflightsystems com Desy pad lA A K The PMC825 is a standalone computer system and an intelligent PCI slave device that utilizes its processing power to relief external computer systems from the tasks of transmitting receiving buf fering and pre postprocessing low medium or high speed CAN CANaerospace and ARINC 825 messages It can handle up to 100 bus load at the maximum CAN data rate of 1MBit s on all channels without data loss The driver software provides an easy to handle function call interface for CAN bus message transmission and reception including support for the CANaerospace and ARINC 825 higher layer protocols The PMC 825 software consists of PCI host drivers for various operating systems and platforms sample C source code and the Qt based XCT toolbox connec ted to the PMC825 via Ethernet UDP IP Figure 2 shows a simplified block diagram of the PMC825 board PMC PCI Connectors microSD Card Slot PCI Bridge Chip PLX 9656 Program FLASH 128 MB CPU 1 PPC 405 192 MHz RS 232 RS 422 Controller 8 Bosch C_CAN Controllers Figure 2 Simplified PMC825 Block Diagram CPU2 PPC 405 192 MHz TEMAC
30. s 10 Msg s E 136314900 E 136314896 eo a ER ER amp 0 2 2 ER RR 2 4 RE ER Filter Filter Off y Decimal Figure 23 CAN Statistics Subwindow PMC825_Users_Manual_V1 2 paf page 26 of 26
31. www stockflightsystems com Innovative Control Systems Inc a A 4 PMC825 User S Manual Stock Flight Systems to ia do Wetzel Technology GmbH Date 14 6 2010 Products covered PMC825 Version 1 2 PowerNECS Author Michael Stock ics lr WETZEL innovative Control Systems Inc Y T E C H N O L O G Y Innovative Control Systems Inc Wetzel Technology GmbH 10801 N 24th Ave Suite 103 Hermann Oberth Stra e 11 Phoenix AZ 85029 85640 Putzbrunn USA Germany phone 1 602 564 0851 phone 49 89 46089262 fax 1 602 588 9440 fax 49 89 46089263 e mail support icsaero com e mail info wetzel technology com website www icsaero com website www wetzel technology com Stock Flight Systems ARI NIC Sch tzenweg 8a 82335 Berg Farchach 825 Germany phone 49 8151 9607 0 fax 49 8151 9607 30 e mail info stockflightsystems com website www stockflightsystems com PMC825_Users_Manual_V1 2 paf page 1 of 26 Driven by www stockflightsystems com Innovative Coritroi Systems Inc si ef ae PMC825 User s Manual ner STOCK Wetzel Technology GmbH Table of Contents Section Title Overview PMC325 Front Panel Connectors PowerNECS Front Panel Connectors CAN Activity LEDs PMC Connectors Firmware Status LEDs MicroSD Card Slot Ethernet Interface PMC825 Configuration File PMC325 Firmware Upgrades PMC325 Socket Interface Library XCT Toolbox Overview oNO VI POOD _ PMC825_Users_Manual_V1 2 paf page 2 of 26
32. y lo 126314004 S r Foor 0 3 136312096 e MEME roar 0 o e _ foarte freno o LA TS fro o Cr TM LTE Z Zoom to Marker X Clear All R Reset All A Automatic Mode F1 Single Graph F2 Split Graph A IO Va eS Te ST 0 01 05 0 01 10 0 01 15 0 01 20 0 01 25 0 01 30 0 01 35 0 01 40 0 01 45 0 01 50 0 01 55 0 021 Figure 21 Graphic Subwindow 12 5 Data Visualization The Data Visualization subwindow see figure 22 allows to display CAN messages bitwise or using a gauge for analog parameters This subwindow may also be launched directly by double clicking on any CAN message in the standard receive or ARINC 825 Rx subwindows gt 53 97 Body Yaw Rate rad s Hide Properties Name Body Yaw Rate Unit rad s Data Type Float 0 3 Precision 2 Min 100 000000 Max 100 000000 Figure 22 Data Visualization Subwindow 12 6 Node Service The Node Service subwindow will allow to interact with CANaerospace and ARINC 825 nodes using the node service interface specified with these protocols 12 7 CAN Statistics The CAN Statistics subwindow see figure 23 provides a combined graphic numeric display of the network traffic on a per messge basis showing all received messages PMC825_Users_Manual_V1 2 pdf page 25 of 26 www stockflightsystems com Innovative Control 5 Systems Inc PMC825 User s Manual ande Wetzel Technology GmbH DOR 10 Msg s 10 Msg
Download Pdf Manuals
Related Search
Related Contents
Maxima Manual Functional Specifications for a Wearable Proximity Detector to Aid USER MANUAL – S203TA USER'S MANUAL salon-vivre-autremen.. Projecta Tabscreen Electrol, High Contrast Cinema Vision Copyright © All rights reserved.
Failed to retrieve file