Parker PHD28 Скачать руководство пользователя страница 48

40 

PHD 

 

 

Serial Ethernet Recovery Flexcan (SERF) Development Board 

 

Note: a daughter board with a matrix style keypad or encoder can be connected to 
J1 through J12. 

 

Figure 16: Power and communication jumpers 

The following table describes the corresponding jumpers associated with power 

and communication.  

Name 

Description 

Jumper position 

Pins 

Usage Comments 

J4 

RS232 

1 to 2 

Enable RS232 Input from RS232 
Connector. 

2 to 3 

Intended for factory use. 

J6 

External power supply 

1 to 2 

Enable External Power Supply (See 
J13) 

2 to 3 

Intended for factory use. 

J10 

CAN 1 termination 

1 to 2 

Disconnect internal termination 
resistor to CAN 1. 

2 to 3 

Connect internal termination resistor 
to CAN 1. 

J13 

External power supply 

1 to 2 

Enable External Power Supply (See 
J6) 

2 to 3 

Intended for factory use. 

J16 

CAN 2 high 

1 to 2 

Connects CAN 1 high to CAN 2 
high. 

2 to 3 

Disconnects CAN 1 high to CAN 2 
high. 

J17 

CAN 2 low 

1 to 2 

Connects CAN 1 low to CAN 2 low. 

2 to 3 

Disconnects CAN 1 low to CAN 2 
low. 

J18 

 

CAN 2 termination 

 

1 to 2 

Disconnect external termination 
resistor to CAN 2. 

2 to 3 

Connect internal termination resistor 
to CAN 2. 

Содержание PHD28

Страница 1: ...Parker Hannifin Display PHD User Guide UG PHD 1040001 201707 010...

Страница 2: ...and testing is solely responsible for making the final selection of the system and components and assuring that all performance endurance maintenance safety and warning requirements of the applicatio...

Страница 3: ...12 3 2 PHD50 inputs 13 3 3 PHD70 inputs 14 3 3 1 PHD28 PHD50 analog input capabilities 14 3 3 2 PHD28 PHD50 PHD70 digital input capabilities 17 3 3 3 PHD50 PHD70 frequency input capabilities 18 3 4 Us...

Страница 4: ...Flexcan SERF Development Board 35 8 1 SERF overview 35 8 2 Available Inputs and Outputs 36 8 2 1 Switches and Connectors 37 8 2 2 Jumpers 38 8 2 3 DB9 Pinout Reference 41 9 Mounting the PHD 42 9 1 Di...

Страница 5: ...and 6 27 2016 Rev 004 Edits based on case 30666 7 11 2016 review and 1042F06 specification Rev 005 Edits based on case 30666 9 12 2016 review Rev 006 Inputs outputs and 5V 12V power supply outputs pin...

Страница 6: ...quipment or degradation of signal When you see these symbols follow the instructions carefully and proceed with caution General safety regulations Work on the hydraulics control electronics may only b...

Страница 7: ...rol system 1 Disconnect the electrical connections between the system and external equipment 2 Disconnect the negative cable from the battery 3 Disconnect the positive cable from the battery 4 Connect...

Страница 8: ...ified Do not start the machine if anyone is near the machine Safety during maintenance and fault diagnosis Before performing any work on the hydraulics control electronics ensure that The machine cann...

Страница 9: ...purpose displays suitable for a wide range of industry applications There are 3 sizes 2 8 5 0 and 7 0 All models are color LCD displays with capacitive touchscreens for interfacing Figure 1 PHD family...

Страница 10: ...Power CAN Touch Screen External Keypad GPIO Heater for cold applications High wattage resistors built in Connector Molex MX150 20 pin PHD50 Characteristic Description Display Viewing angle Brightness...

Страница 11: ...st Device x 1 default is Device Inputs 10 General Purpose Inputs 2 Frequency Inputs for rotary encoder 8 Digital active high low 8 10 GPIO for Keypad Interface Ambient Light Sensor 2 simultaneous Vide...

Страница 12: ...entions The following symbols are used in the schematic diagrams in this document Symbol Meaning General input General output Frequency input Analog input Frequency sensor Pulse sensor Resistive senso...

Страница 13: ...User Guide 5 About the PHD Parker Hannifin Display Symbol Meaning Pull up resistor Battery Fuse Resistor Ground Chassis ground...

Страница 14: ...ehicle Harness Connectors key A B The Molex MX150 connectors are used to interface the PHD family to power inputs outputs and USB Figure 2 MX150 20 pin connector Mating Connector Part Numbers PHD Conn...

Страница 15: ...or digital input 2 GPIO1 analog or digital input 3 GPIO6 analog or digital input 4 OUTPUT2 low side output 5 CAN1_TERM CAN termination 6 CAN1_SHLD CAN shield 7 CAN1_L CAN low 8 CAN1_H CAN high 9 GND N...

Страница 16: ...UTPUT2 low side output 5 CAN1_TERM CAN termination 6 CAN1_SHLD CAN shield 7 CAN1_L CAN low 8 CAN1_H CAN high 9 GND Negative battery 10 VBATT Positive battery 11 GPIO5 analog or digital input 12 GPIO4...

Страница 17: ...or frequency input 2 GPIO9 digital or frequency input 3 NC 4 NC 5 NC 6 VIDEO1_GND 7 VIDEO1 8 NC 9 Ground 10 P12V0 12V regulated supply 11 Ground 12 Ground 13 GPIO8 analog or digital input 14 P5V0 5V...

Страница 18: ...t 4 OUTPUT2 low side output 5 CAN1_TERM CAN termination 6 CAN1_SHLD CAN shield 7 CAN1_L CAN low 8 CAN1_H CAN high 9 GND Negative battery 10 VBATT Positive battery 11 GPIO5 digital input 12 GPIO4 digit...

Страница 19: ...equency input 2 GPIO9 digital or frequency input 3 CAN2_SHLD 4 CAN2_L 5 CAN2_H 6 VIDEO1_GND 7 VIDEO1 8 VIDEO2 9 VIDEO2_GND 10 P12V0 12V regulated supply 11 Ground 12 Ground 13 GPIO8 digital input 14 P...

Страница 20: ...be connected to an input use a protective diode or transorb 3 1 PHD28 inputs The PHD28 has up to 7 analog inputs GPIO1 through GPIO7 Analog inputs are typically used to read electrical signals that s...

Страница 21: ...lso be configured as digital inputs with wake up functionality Additionally inputs GPIO2 through GPIO6 can be configured as high side low voltage low current outputs The different configurations are d...

Страница 22: ...dditionally all inputs can be configured as high side low voltage low current outputs The different configurations are done in software 3 3 1 PHD28 PHD50 analog input capabilities The PHD28 and PHD50...

Страница 23: ...rs The following shows how to connect an analog input to reduce system noise Internal to product 5 Vdc Sensor Supply Sensor Ground Sensor Analog Input Figure 6 Analog input system noise reduction Grou...

Страница 24: ...rent signals which ensures the sensor s ground is very close in voltage potential to the system ground Note 2 Sensors that don t have a dedicated ground wire are typically grounded to the vehicle chas...

Страница 25: ...5 V Positive threshold 4 008 V Cutoff frequency hardware 1590 Hz Over voltage 36 V Wetting current through pull up 4 3 mA 3 3 2 1 Active High Digital Input Connections A digital input is typically con...

Страница 26: ...uency inputs are ideal for use with hall effect type sensors The following table provides specifications for the frequency inputs Frequency Input Specifications Item MIN NOM MAX UNIT Input range 0 5 3...

Страница 27: ...ND voltage and the sensor ground voltage To reduce ground level shift If there are more than 1 GND pins in the system dedicate one of them to sensors that have ground wires and connect all sensor grou...

Страница 28: ...ctions 3 4 Using inputs as low power outputs Certain input pins GPIO1 through GPIO7 of the PHD28 and GPIO2 through GPIO6 of the PHD50 may be used as high side low voltage low current outputs All of th...

Страница 29: ...high side output connections You must be aware of the following when connecting the low power high side outputs the outputs are connected to the internal 5 Vdc supply through a pull up resistor Each...

Страница 30: ...22 PHD Inputs The following shows a typical high side output connection Internal to product High Side Output Application Load Figure 10 High side output installation connections...

Страница 31: ...PHD family has two low side outputs with the following pin assignments OUTPUT1 through OUTPUT2 4 1 1 Low side output capabilities The characteristics of the PHD low side outputs are shown in the foll...

Страница 32: ...is 0 5 V Low Side Output Error Detection Driver State Output Condition Feedback voltage Error Detected Off Open 0 V No Off Short to battery Vsw 11 Yes Off Short to ground 0 V No On Open 0 V No On Sho...

Страница 33: ...al sensors and devices 5V USB or sensor supply 12V regulated supply The PHD28 has 1 of each type of supply USB_VBUS P5V0 is a 5V supply P12V0 is a 12V regulated supply The PHD50 and PHD70 have 2 x 5V...

Страница 34: ...ltage 4 5 5 0 5 5 V Current limit 500 mA P12V0 are 2 pins assigned to the 12 V linear power supply capable of continuously providing 500 mA to external devices 12 V Regulated Supply Output Specificati...

Страница 35: ...stem and can operate from 6 V up to 32 V with over voltage protection at 33 V Direct Battery Input VBATT Parameter Min Nom Max Units Input voltage for normal operation 9 32 V Minimum cranking voltage...

Страница 36: ...are connected together in the same network 6 1 1 CAN capabilities The CAN communicates information at a selectable rate from 125 kbps to 1000 kbps Lack of regular CAN communication is an indication th...

Страница 37: ...e standard variant of the PHD does not have a CAN termination resistor which is based on the assumption that the CAN bus is terminated in the harness The following lists the elements that are required...

Страница 38: ...have a 120 terminating resistor at each end The 120 terminating resistors eliminate bus reflections and ensure proper idle state voltage levels CAN Stubs The CAN stubs cannot be longer than 1 meter an...

Страница 39: ...connect temporarily to the unit for the purpose of retrieving logs updating code or configuring the unit The following table provides specifications for the USB port USB Device Specifications Item Mi...

Страница 40: ...ize 2 8 inch Backlight brightness 500 cd m Operating temperature 20 70 C Resolution 320x240 pixels PHD50 Display Specifications Item Min Nom Max Unit Aspect ratio 16 9 Screen size 5 inch Backlight bri...

Страница 41: ...t goes to sleep There is a series of commands that must be written to the touchscreen controller to ensure that it s in its lowest power mode The interrupt for wakeup will be driven to the host CPU as...

Страница 42: ...s one D1 resolution PAL NTSC input The PHD70 supports dual D1 resolution PAL NTSC inputs and can display both video feeds simultaneously 7 6 1 Video Input Capabilities The following table provides spe...

Страница 43: ...e GPIO CAN Bus video and RS232 inputs and outputs to be easily accessed without having to make a custom wire harness or build a special I O board for each development project The SERF Development Boar...

Страница 44: ...ture Use Audio L and R Input and Output Reserved for Future Use In addition to the above I O the SERF Development Board has pin locations and power supplies to add on a daughter board for matrix keypa...

Страница 45: ...urpose I O inputs Used to switch the GPIO to VBATT high GND low or floating state during development Note the corresponding jumpers must be positioned as shown in Jumper section JP5 connector Multi pi...

Страница 46: ...O_10 1 to 2 Enable GPIO switch input 2 to 3 Intended for factory use Removed Enable daughter board input J3 GPIO_9 1 to 2 Enable GPIO switch input 2 to 3 Intended for factory use Removed Enable daught...

Страница 47: ...2 to 3 Intended for factory use Removed Enable daughter board input J14 GPIO_2 1 to 2 Enable GPIO switch input 2 to 3 Intended for factory use Removed Enable daughter board input J15 GPIO_1 1 to 2 En...

Страница 48: ...ower supply 1 to 2 Enable External Power Supply See J13 2 to 3 Intended for factory use J10 CAN 1 termination 1 to 2 Disconnect internal termination resistor to CAN 1 2 to 3 Connect internal terminati...

Страница 49: ...32 or CAN that are required to interface with a PC offer this connection type The following table shows the pin outs for each of the DB9 connectors CAN RS232 Pin Description Pin Description 1 No conne...

Страница 50: ...harsh impact 3 Secure the PHD using 4 screws or metal spring clips 4 Install the bezel typically provided by the customer Parker does sell a snap on cosmetic bezel as an optional accessory The PHD ma...

Страница 51: ...User Guide 43 Mounting the PHD 9 1 Dimensions The dimensions for each of the PHD family of displays is provided below 9 1 1 PHD28 Figure 17 PHD28 dimensions mm...

Страница 52: ...44 PHD Mounting the PHD 9 1 2 PHD50 Figure 18 PHD50 dimensions mm...

Страница 53: ...User Guide 45 Mounting the PHD 9 1 3 PHD70 Figure 19 PHD70 dimensions mm...

Страница 54: ...e 2 steps required to create software for this product Creation of display pages and their functionality is performed using Crank Storyboard software A Crank licence is required to create display page...

Страница 55: ...olarity J1455 Section 5 10 4 Short circuit ISO 7637 Section 5 6 x EP455 Section 5 11 x Transients ISO 14982 EMC emissions ISO 14982 EMC susceptability Mechanical environment BS EN7691 Section 6 6 1 Ra...

Страница 56: ...55 Section 4 3 2 Humidity cycle Chemical environment MIL_STD 202G M101E A Salt spray ASAE EP455 Section 5 8 2 Chemical exposure brush exception to chemical testing the vent patch on the rear of the di...

Страница 57: ...onnections 21 Low side output capabilities 23 Low side output connections 24 Low side outputs 23 M Mounting the PHD 42 O Outputs 23 P PHD28 inputs 12 PHD28 PHD50 analog input capabilities 14 PHD28 PHD...

Страница 58: ...Parker Hannifin Display PHD User Guide HY33 5021 IB US...

Страница 59: ...PHD Network Interface Configuration Publ no HY33 5021 M1 UK Edition 2017 02 02...

Страница 60: ...rminology 1 Product documentation 1 2 Network interface configuration 2 Getting started 2 Network Interfaces 2 Properties window 2 TCP IP Properties 3 Logging in using the terminal emulator 4 Exportin...

Страница 61: ...a USB based Ethernet gadget Terminology The abbreviations and acronyms used in this manual are defined in the following table Product documentation The following publications are relevant for users of...

Страница 62: ...selecting Network and Sharing Center or something similar depending on Windows version and then click on the option called Change Adapter Settings on the left hand side of the window You should now se...

Страница 63: ...IP Properties In the Internet Protocol Version 4 TCP IPv4 Properties window make the following changes 1 Select the Use the following IP address option 2 Set the IP address to 10 0 1 1 as shown in th...

Страница 64: ...ress so the computer can communicate with the Parker PHD product Logging in using the terminal emulator Launch the terminal emulator program Tera Term is shown and choose New Connection from the file...

Страница 65: ...s key if you never connected to a PHD before or Replace the existing key if connecting to a new or different PHD unit Click Continue to allow connection to the device Once you have accepted the host f...

Страница 66: ...by Parker Vansco to log in to the PHD It is possible to change the PHD security level and log directly into root see section Changing the password on page 11 When you click OK Tera Term should login...

Страница 67: ...or 2 Network interface configuration PHD Network Interface Configuration Prompt for user root Entering the ll command will display the files currently in the PHD if it had files loaded into it previou...

Страница 68: ...nsion Export gapp files into target directory Take note of the Output Directory used for export as this is the directory you must zip up and transfer to the PHD This also shows you the path to your St...

Страница 69: ...Term window The default target in the PHD file structure is the tmp directory If you are not logged in as user root you can only drag files into tmp The directory tmp is stored in RAM so it is lost du...

Страница 70: ...You can even if you prefer delete the old project files first To back up the old project files mv project_name project_name old To simply delete the old project rm rf project_name To overwrite simply...

Страница 71: ...the project file directory that was unzipped Run the gapp file using sbengine filename command Run the gapp file You can synchronize the files in the PHD s FLASH and RAM by changing the directory to r...

Страница 72: ...ll also reduce the level of security in the PHD To do this delete the etc securetty file using the rm command After the file is deleted you can create a new password for root using the passwd root com...

Страница 73: ...Changing the password 2 Network interface configuration PHD Network Interface Configuration You can now log in directly as User root from Terra Term using your new password Login screen showing user r...

Страница 74: ...d Information in this instruction book is subject to change without notice Parker Hannifin Corporation Electronic Controls Division 850 Arthur Avenue Elk Grove Village IL 60007 USA phone 800 221 9257...

Страница 75: ...PHD API Reference Publ no HY33 5021 M2 UK Edition 2017 02 13...

Страница 76: ...channel events 13 nxs backlight 13 nxs din 14 nxs dout 15 nxs dout_errors 16 nxs encoder_val 17 nxs key_press 17 nxs key_release 18 nxs request_adc 19 nxs request_rtc 20 nxs rtc 21 nxs set_auto_bright...

Страница 77: ...ISTRIBUTION AND MODIFICATION 46 END OF TERMS AND CONDITIONS 49 Appendix A 50 J1939 Service 50 Features 50 Architecture 50 Components 51 J1939 Interface 51 J1939 Controller Application CA 51 Usage 51 C...

Страница 78: ...v Contents Instruction book PHD API Reference cos ext_od_access 68 cos ext_od_result 70 cos info 71 cos od 72 cos request_od 73 cos rxNNNN 74 cos rx_emcy 75 cos set_error 76 cos set_od 77 cos state 78...

Страница 79: ...ine IO channel which also serves to divide them into functional groups Simple Lua function examples are provided For most of these examples validation of input parameters is not given as this is simpl...

Страница 80: ...the Storyboard Engine to trigger an action Events contain an event name and an event payload Event payload A blob of data associated with an event The event payload is described using a format string...

Страница 81: ...in use on the device All Parker generated code is copyright Parker Hannifin Corporation all rights reserved No part of this Parker code may be reproduced published or distributed in any form or by Key...

Страница 82: ...on PHD API Reference any means electronically mechanically photocopying recording or otherwise or stored in a database or retrieval system without the prior written permission of Parker Hannifin Corpo...

Страница 83: ...a number of DCP management events that are available across all I O channels Those are described first in the next section All DCP related content is sent from the Storyboard application via events F...

Страница 84: ...IO channel name of the receiver usually the Storyboard application name event event_name receiver storyboard_app gapp If the application does not subscribe to a class of events it does not receive th...

Страница 85: ...writing only Size and format of the data depends on size and format being written Direction output Channel ncc Notes Sent by the application to issue a command to the non volatile memory read command...

Страница 86: ...ead mapargs local data data cmd read data addr 1024 data len 0 data fmt 4u1 gre send_event_data ncc command 1s0 cmd 4u1 addr 4u1 len 1s0 fmt data ncc end function write_ncc mapargs local data data cmd...

Страница 87: ...el ncc Notes Received by the application in response to an ncc command read command The example below assumes the Storyboard application is set up to call Lua function ncc_response when the ncc respon...

Страница 88: ...l number and manufacturing date for the device The key names are name serial and mfgdate The example below assumes the Storyboard application is set up to call Lua function serial_receive when the ser...

Страница 89: ...ains count version items each consisting of the four keys partnumX nameX majorX and minorX where X is a number from 0 to count The example below assumes the Storyboard application is set up to call Lu...

Страница 90: ...hannel version Notes Sent by a program to register its part number name and version information with the version supervisor The version set event consists of four keys partnum name major and minor Whi...

Страница 91: ...ut Channel nxs Notes Received by the application whenever the backlight level changes The values range from 0 to 100 The example below assumes the Storyboard application is set up to call Lua function...

Страница 92: ...PIOs may be present or enabled on all platforms Direction input Channel nxs Notes Received by the application when initially subscribed to and whenever the DIN states change The example below assumes...

Страница 93: ...0 1 GPIO output 4 0 disabled 1 enabled GPIO5 0 1 GPIO output 5 0 disabled 1 enabled GPIO6 0 1 GPIO output 6 0 disabled 1 enabled Direction input Channel nxs Notes Received by the application when subs...

Страница 94: ...tes Received by the application in response to an nxs dout_errors event More than one bit may be set at a time The bit field is only published when it changes this includes when there is no longer an...

Страница 95: ...the likelihood of a roll over or roll under of the count but the possibility of a roll over or roll under should still be accounted for Lua Example Event nxs key_press Event Data Keys Values Descript...

Страница 96: ...l nxs Notes Received by the application when a keypad key is released The key_string published is read from the keypad configuration XML file The example below assumes the Storyboard application is se...

Страница 97: ...to request ADC values The example below assumes the Storyboard application is set up to call Lua function request_adc periodically to request ADC values Note that the adc key merely has to be provide...

Страница 98: ...ut Channel nxs Notes Sent by the application to request the RTC values The example below assumes the Storyboard application is set up to call Lua function request_rtc periodically to request RTC value...

Страница 99: ...value every second In addition the application is not expected to use the RTC to keep track of time Rather it should use the system time which is set by the PHD using the RTC on each startup The exam...

Страница 100: ...to brightness is disabled Direction output Channel nxs Notes Sent by the application when the application wishes to control the auto brightness feature Using the value on will enable the auto brightne...

Страница 101: ...just the backlight level The values range from 0 to 100 The example below assumes that the Storyboard application has based on user interaction with a screen brightness control called a Lua function c...

Страница 102: ...led 1 enabled GPIO5 0 1 GPIO output 5 0 disabled 1 enabled GPIO6 0 1 GPIO output 6 0 disabled 1 enabled Direction output Channel nxs Notes Sent by the application to set the state of digital outputs T...

Страница 103: ...ust the heater level The values range from 0 to 100 The example below assumes that the Storyboard application has based on user interaction with a heater level control called a Lua function called set...

Страница 104: ...clock The example below assumes that the Storyboard application has based on user interaction with a screen RTC control called a Lua function called set_rtc with arguments of seconds minutes hours da...

Страница 105: ...ch sets the type of sleep to put the unit into A value of mem will put the unit into memory sleep Any other value will put it on standby Direction output Channel nxs Notes Sent by the application to p...

Страница 106: ...rocessor software part number copro_major 32 bit unsigned value Coprocessor software major version number copro_minor 32 bit unsigned value Coprocessor software minor version number Direction input Ch...

Страница 107: ...artnum local nxs_major ev nxs_major local nxs_minor ev nxs_minor local copro_partnum ev copro_partnum local copro_major ev copro_major local copro_minor ev copro_minor if nxs_partnum nil and nxs_major...

Страница 108: ...presenting the wakeup source Direction input Channel nxs Notes Received by the application in response to being woken up The example below assumes the Storyboard application is set up to call Lua func...

Страница 109: ...es a value from PDS using the key key If the key does not exist in PDS it will be created and saved with the value provided in value A pds response event containing the restored key and value will be...

Страница 110: ...el pds Notes Received by the application in response to a pds command restore command The example below assumes the Storyboard application is set up to call Lua function pds_response when the pds resp...

Страница 111: ...the application to read the CAN version information The X in the event and channel name is a number representing the CAN bus numbered starting from 1 The example below assumes the Storyboard applicat...

Страница 112: ...whenever a message is received on the CAN bus NOTE depending on CAN bus activity this may result in lots of event traffic The X in the event and channel name is a number representing the CAN bus numbe...

Страница 113: ...a number representing the CAN bus numbered starting from 1 The example below sends an 8 byte extended message with ID equal to 0x18FFBEEF Data bytes 0 3 are set based on a global tx_count variable and...

Страница 114: ...initiated when the application wishes to start video This action contains a number of built in parameters which must be set as shown below Notes the extra_data parameter should be all on one line Subs...

Страница 115: ...6 width 560 height 288 appsink name video sink use_external For the PHD50 the camera input is always used full size Place down an external render object of the desired size which results in a pink box...

Страница 116: ...name emit_time_events type integer element name extra_data type string arguments template template name gra media new video arguments element name channel_name type string element name media_name typ...

Страница 117: ...pe integer arguments template template name gra media playpause arguments element name channel_name type string element name emit_state_event type integer arguments template template name gra media co...

Страница 118: ...application screen during installs 0 STATE_FILE_CHECK 1 STATE_USB_FILE_DETECTED 2 STATE_CAN_FILE_DETECTED 3 STATE_INVALID_FILE 4 STATE_INSTALLING 5 STATE_INSTALL_SUCCESS 6 STATE_INSTALL_FAILED The ex...

Страница 119: ...preferable to create them in the desired color depth If the application will be running in 16 bit color then the most efficient image to render will be a 16 bit image If alpha blending transparency is...

Страница 120: ...ng the autocrop or trim feature For any images that will be rotated in real time make sure the original source image is drawn at 0 90 180 or 270 degrees Using an arbitrary angle in the original source...

Страница 121: ...way The images below show screenshots from two slightly different Crank applications One screenshot is from an application using images for the four needles on the screen and the other uses Crank s p...

Страница 122: ...e an animation with even lower frames per second than could have been achieved by just choosing an appropriate frames per second An animation rate of 14 frames per second will look good enough on most...

Страница 123: ...d charge for this service if you wish that you receive source code or can get it if you want it that you can change the software or use pieces of it in new free programs and that you know you can do t...

Страница 124: ...been made by running the Program Whether that is true depends on what the Program does 1 You may copy and distribute verbatim copies of the Program s source code as you receive it in any medium provid...

Страница 125: ...ompany it with the complete corresponding machine readable source code which must be distributed under the terms of Sections 1 and 2 above on a medium cus tomarily used for software interchange or b A...

Страница 126: ...er agreement or otherwise that contradict the conditions of this License they do not excuse you from the conditions of this License If you cannot distribute so as to satisfy simultaneously your obliga...

Страница 127: ...mes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software gener...

Страница 128: ...le CAN buses The library provides a full abstraction of the lower level interfaces to present an external interface at the J1939 level in the protocol stack Both C native and C wrapper interfaces are...

Страница 129: ...roller application has a list of messages which it will receive and a list of messages which it is permitted to transmit Usage The J1939 service can be invoked from the command line A number of switch...

Страница 130: ...cription language based around JavaScript with simple translation to object oriented systems File structure An overview of the configuration file structure is shown below Configuration File Root inter...

Страница 131: ...sition length datatype endian File components File root Object file root Parent none Data Attributes Type Required Description interfaces interface array Yes An array of physical CAN interface descrip...

Страница 132: ...ion deviceName string Yes The name of the device as it is identified by the operating system controllerApplications Controller application array Yes An array of controller applications which operate o...

Страница 133: ...otation name array Yes The J1939 NAME field See section X for child attributes receiveMessages message Yes An array of J1939 messages which should be received by this CA transmitMessages message Yes A...

Страница 134: ...tered on source address as well as PGN notifyStale boolean Yes for receive A Boolean value indicating whether the subscriber will be notified if the message becomes stale Requires staleTimeoutPeriod O...

Страница 135: ...ing sent when the message data changes onRequest The message is only sent upon request priority number Yes for transmit Sets the priority of the message to be transmitted transmitRate number Yes for t...

Страница 136: ...ngth of the parameter in bits For raw and string types this must be byte aligned length 8 0 For integer types this must be 0 length 64 endian enumeration Yes The endianness of the parameter Must be on...

Страница 137: ...59 File components Appendix A Instruction book PHD API Reference Example parameters name spn190 startPosition 24 length 16 endian little dataType integer...

Страница 138: ...up number Yes The industry group field vehicleSystemInstance number Yes The vehicle system instance field vehicleSystem number Yes The vehicle system field function number Yes The function field funct...

Страница 139: ...it to be accessed from other processes Subscriber A subscriber exposes data in the address space of one process allowing it to be accessed from another The J1939 service publishes and subscribes to d...

Страница 140: ...r PGN 0xF004 from SA 0x00 on interface can0 the path would be j1939 can0 pgn61444 sa0 Note that it is possible to exclude the saZZ argument in order to receive PGN YYYYYY from any source address Be aw...

Страница 141: ...1939 service The path is described generically where canX is the name of the interface pgnYYYYYY is the PGN of interest saZZ is the source address of the target CA For example data for PGN 0xF004 from...

Страница 142: ...it Direction output Channel j1939 Notes Sent from the application to the J1939 service The path is described generically where canX is the name of the interface saZZ is the source address of the targe...

Страница 143: ...numStaleMessages 0 4294967296 The number of messages which are stale staleMessages 0 65535 An array of PGN s which are considered stale Size of array is given by numStaleMessages Direction input Chann...

Страница 144: ...pliance appModel ASCII string The application model appUnitNumber ASCII string The application unit number kernelPartNumber ASCII string The kernel part number coproPartNumber ASCII string The part nu...

Страница 145: ...ionMinor 48 data appVersionBuildNumber 2401 data appPartNumber 1042618 data appManufacturer PHC data appModel J1939 daemon test data appUnitNumber 54 data kernelPartNumber 1042605 gre send_event_data...

Страница 146: ...est from other node Non zero write value to other node index 0 65535 Index of the item in the external object dictionary subindex 0 65535 Subindex of the item in the external object dictionary value 0...

Страница 147: ...x index data subindex subindex gre send_event_data cos ext_od_access 4u1 access 4u1 index 4u1 subindex data cos end end function canopen_write_ext_od mapargs local data if mapargs index nil and maparg...

Страница 148: ...onary Direction input Channel cos Notes Received by the application in response to a cos ext_od_access event If external object dictionary data was written this result will merely be the ACK or NACK o...

Страница 149: ...Received by the application to read the CANopen version information The example below assumes the Storyboard application is set up to call Lua function canopen_info_receive when the cos info event occ...

Страница 150: ...f the object dictionary element Direction input Channel cos Notes Received by the application in response to a cos request_od event The example below assumes the Storyboard application is set up to ca...

Страница 151: ...pplication to request an object dictionary entry by index and subindex The example below assumes the Storyboard application is set up to call Lua function canopen_request_od with arguments of index an...

Страница 152: ...input Channel cos Notes Received by the application when an item in the object dictionary is updated by an SDO or a PDO message Lua Example function cos_rx6000 mapargs This event handler is called whe...

Страница 153: ...ent is published by cos when an EMCY message is received from the VSM using COB ID 0x083 The example below assumes the Storyboard application is set up to call Lua function canopen_rx_emcy when the co...

Страница 154: ...e in the CANopen stack for the PHD The example below assumes the Storyboard application is set up to call Lua function canopen_set_error with arguments of code reg count and value Lua Example function...

Страница 155: ...value of a given object dictionary item The example below assumes the Storyboard application is set up to call Lua function canopen_set_od with arguments of index and subindex with values of 0 through...

Страница 156: ...m request 0x4000 CANopen node reset request 0x8000 CANopen PDO error A 16 bit value with each bit representing a different CANopen state Direction input Channel cos Notes Received by the application t...

Страница 157: ...d Information in this instruction book is subject to change without notice Parker Hannifin Corporation Electronic Controls Division 850 Arthur Avenue Elk Grove Village IL 60007 USA phone 800 221 9257...

Отзывы: