background image

 

122 

Jetter AG 

 

6  CANopen® STX API 

    // Waiting until communication is completed 

    

When

 SDOACCESS_FINISHED(busy) 

Continue

 

    // Checking for errors 

    

If

 (SDOACCESS_ERROR(busy)) 

Then

 

    // Troubleshooting 

    

End_If

End_If

 

// Resetting all devices on the CAN bus to OPERATIONAL status 

CanOpenSetCommand(CANNo, CAN_CMD_NMT_Value(CAN_CMD_NMT_ALLNODES, 

CAN_CMD_NMT), CAN_NMT_OPERATIONAL); 
 

//      ... 

//      ... 

//      ... 

 

End_Task

 

 

Содержание JVM-407B-HMI

Страница 1: ...User Manual JVM 407B HMI 60879892 We automate your success...

Страница 2: ...n the past a revised document will be supplied only if required by law or deemed appropriate by Jetter AG Jetter AG shall not be liable for errors in form or content or for missing updates as well as...

Страница 3: ...AG Graeterstra e 2 D 71642 Ludwigsburg Germany Phone Switchboard 49 7141 2550 0 Phone Sales 49 7141 2550 433 Phone Technical Hotline 49 7141 2550 444 Fax Sales 49 7141 2550 484 E mail Sales sales jet...

Страница 4: ...dress info jetter de Your feedback will help us produce manuals that are more user friendly as well as address your wishes and requirements This document contains important information on the followin...

Страница 5: ...41 Ignition Switch off delay 44 Ethernet port 45 CAN interface 46 CAN bus cable Specification 50 Connecting a video signal 52 4 2 Interfaces on the center console with mounted support arm 55 Connecti...

Страница 6: ...ion CanOpenDownloadSDO 118 STX function CanOpenAddPDORx 123 STX function CanOpenAddPDOTx 130 Heartbeat monitoring 136 CANopen object dictionary for JVM 407B 140 7 SAE J1939 STX API 145 Content of a J1...

Страница 7: ...ng interface activities 214 Operating principle 215 Programming 217 10 6 User programmable IP interface 219 10 6 1 Programming 221 Initializing the user programmable IP interface 222 Establishing a co...

Страница 8: ...program is stored to the SD card or USB flash drive 271 Loading an application program 273 14 Quick reference JVM 407B 275 Appendix 281 A Interfaces 282 Pin assignment Overview 283 B Technical data 2...

Страница 9: ...uctions This chapter informs the user of basic safety instructions It also warns the user of residual dangers if there are any Furthermore it contains information on EMC Topic Page Basic safety instru...

Страница 10: ...afe such as for example in ropeways and aeroplanes The JVM 407B is no safety related part as per Machinery Directive 2006 42 EC This device is not qualified for safety relevant applications and must t...

Страница 11: ...sulting from the use of non original parts and equipment is excluded The JVM 407B contains electrostatically sensitive components which can be damaged if not handled properly To exclude damages to the...

Страница 12: ...cable to the threaded pin of the module housing Number Part 1 Threaded pin of the module housing 2 Washer 3 Cable lug 4 Lock washer 5 Screw nut To satisfy EMC requirements connect the video cable shie...

Страница 13: ...Jetter AG 13 JVM 407B Safety instructions Number Part 1 Threaded pin of the module housing 2 Washer 3 Cable lug 4 Lock washer 5 Screw nut...

Страница 14: ......

Страница 15: ...vers the design of the device as well as how the order reference is made up including all options Topic Page Product description JVM 407B 16 Parts and interfaces 17 Order references options 21 Physica...

Страница 16: ...Ds which can be controlled by 10 digital inputs or by the CPU The LEDs are rated at 12 V or 24 V vehicle power supply Adjustable night lighting Loudspeaker Volume 90 dB at a distance of 10 cm at reson...

Страница 17: ...s on the front panel 6 2 1 3 5 4 Number Description 1 USB port behind protective cover 2 Function key F1 You can define the functions of the digipot and of the function keys in your application progra...

Страница 18: ...s the display elements on the front panel 1 2 3 4 5 6 7 8 9 10 11 Number Control or display element 1 LED 1 The LEDs illuminate the pictograms on the display 2 LED 2 3 LED 3 4 LED 4 5 LED 5 6 LED 6 7...

Страница 19: ...ts on the rear panel Number Connector or part 1 CANopen connector 2 Nameplate 3 Video connector 4 Power supply connector inputs and outputs 5 Four threaded bolts for fastening the device to the fittin...

Страница 20: ...Connector or part 1 Connector jack for the Ethernet cable 2 SD memory card slot The illustration shows the LEDs on the Ethernet port Number Color Description 1 Amber Blinks when active data transfer...

Страница 21: ...options The JVM 407B is available in several configurations They can be ordered from Jetter AG stating the following item numbers Item no Order reference Name 10001079 JVM 407B K00 O01 HMI with suppor...

Страница 22: ...n and design Physical dimensions The illustrations below show the physical dimensions of the JVM 407B in millimeters The illustration shows the positions permitted for installation Physical dimensions...

Страница 23: ...ation above is prohibited The accumulation of moisture and water droplets in the device can lead to current leakages and corrosion Ensure there is enough space around the housing for servicing require...

Страница 24: ...ration indicates the safe distance to protect against overheating Please note The JVM 407B increases the temperature of the environment as a result of heat emission under load Power consumption is 5 W...

Страница 25: ...Jetter AG 25 JVM 407B Product description and design Physical dimensions of the JVM 407B mounted on a support arm All dimensions are stated in millimeters Measurement unit Front view Side view...

Страница 26: ...26 Jetter AG 2 Product description and design Rear view...

Страница 27: ...l data about the HMI JVM 407B the following prerequisites must be fulfilled The HMI is connected to a PC The programming tool JetSym 5 1 2 or higher is installed on the PC If you wish to contact the h...

Страница 28: ...ameplate Each HMI JVM 407B can be identified by its nameplate attached to its enclosure If you wish to contact the hotline of Jetter AG in case of a problem please have information on the hardware rev...

Страница 29: ...407B Identifying the JVM 407B Nameplate The nameplate of a JVM 407B contains the following information Number Description 1 Product name 2 Hardware revision 3 Serial number 4 Item number 5 E1 type ap...

Страница 30: ...ides several registers which let you read out the version numbers of the OS and its components If you wish to contact the hotline of Jetter AG in case of a problem please have this information ready T...

Страница 31: ...number A released version can be recognized by both Branch and Build having got value 0 The following registers let you read out the software versions Register Description 200000 Operating system ver...

Страница 32: ...of the device in the Internet Explorer Example To enter the IP address in the range of exceptions of the Internet Explorer proceed as follows Step Action 1 Click menu item Tools and open the dialog In...

Страница 33: ...Jetter AG 33 JVM 407B Identifying the JVM 407B The page Info lets you retrieve the following information Page Info...

Страница 34: ......

Страница 35: ...407B in the vehicle as regards the following points Planning the wiring of a JVM 407B Installation Configuration of the IP interface for the JVM 407B Topic Page Interfaces 36 Interfaces on the center...

Страница 36: ...erating voltage of DC 12 V The function of the RJ45 jack is as follows Ethernet port to a PC Ethernet port to other devices such as a controller The USB port serves the following purposes Updating the...

Страница 37: ...llowing examples shows how to connect a JVM 407B The illustration shows an example of a wiring layout Number Description 1 CANopen bus 2 Video camera 3 Power supply battery 4 Ignition lock 5 Input to...

Страница 38: ...12 V or DC 24 V Terminal 30 22 GND Terminal 31 In order to halve the current load on pins 1 and 12 as well as on pins 11 and 22 all four pins must be connected to the supply voltage as per the above p...

Страница 39: ...connector are as follows Manufacturer Molex Product description Female connector 22 circuits dual row version 3 mm pitch Item name Micro Fit 3 0 Manufacturer s item no 43025 2200 Wire size 0 2 0 5 mm...

Страница 40: ...4 Mounting and installation of the JVM 407B Manufacturer W RTH ELEKTRONIK Product description Crimp terminal female Item name WR MPC3 series Manufacturer s item no 622 001 137 22 Wire size 0 2 0 5 mm...

Страница 41: ...ble side Pin Description 3 Output 1 4 Input 2 5 Input 4 6 Input 6 7 Input 8 8 Input 10 9 Input 12 10 Input 14 11 GND 13 Output 1 14 Input 1 15 Input 3 16 Input 5 17 Input 7 18 Input 9 19 Input 11 20 I...

Страница 42: ...None Input resistance Input 1 10 Input 11 15 Low resistance power supply for LEDs 43 k Parameter Description Type of outputs Transistor pnp Rated voltage Supply voltage Signal voltage OFF 1 0 V Signa...

Страница 43: ...e size 0 2 0 5 mm 2 AWG 24 20 Manufacturer W RTH ELEKTRONIK Product description Female connector 22 circuits dual row version 3 mm pitch Item name WR MPC3 Manufacturer s item no 662 022 113 322 Wire s...

Страница 44: ...the switch off delay as viewed from the cable side By means of the external diode the JVM 407B is able to detect whether the IGNITION is ON or OFF This is a special use case There is also a number of...

Страница 45: ...t rate 10 Mbit s 100 Mbit s Auto crossover Yes For connecting devices to the Ethernet port you can order the following cables Item Item 60537500 Patch cable 1 1 1 m gray Hirose Cat 5e shielded 6085451...

Страница 46: ...3 OUT_CAN_1_L 9 IN_CAN_1_L 10 OUT_CAN_1_H 16 Shield To enable the resistor in the JVM 407B as bus termination resistor connect the TERM_CAN_1 pin with pin OUT_CAN_1_H The diagram shows the pin assignm...

Страница 47: ...ription 6 IN_CAN_3_H 7 TERM_CAN_3 8 OUT_CAN_3_L 14 IN_CAN_3_L 15 OUT_CAN_3_H 16 Shield To enable the resistor in the JVM 407B as bus termination resistor connect the TERM_CAN_3 pin with pin OUT_CAN_3_...

Страница 48: ...cro Fit 3 0 connector are as follows Manufacturer Molex Product description Female connector 16 circuits dual row version 3 mm pitch Item name Micro Fit 3 0 Manufacturer s item no 43025 1600 Wire size...

Страница 49: ...Female connector 16 circuits dual row version 3 mm pitch Item name WR MPC3 Manufacturer s item no 662 016 113 322 Wire size 0 2 0 5 mm 2 AWG 24 20 Manufacturer W RTH ELEKTRONIK Product description Cri...

Страница 50: ...the device as a bus termination resistor of 120 Ohm The stub length with this type of wiring is almost zero The CAN_L and CAN_H cables must be twisted together and shielded Parameter Description Core...

Страница 51: ...le length depends on the baud rate used and the number of CANopen devices connected Baud rate Cable length Stub length Total stub length 1000 kBaud 25 m max 0 3 m max 1 5 m 500 kBaud 100 m max 5 m max...

Страница 52: ...tor as viewed from the cable side Pin Description 1 Supply voltage DC 12 V e g for a camera 2 Video signal 3 Shield 4 Ground GND 5 Video signal 6 Ground GND 7 Video signal 8 Reserved do not connect If...

Страница 53: ...hat it compensates noise DC 12 V DC 12 V V V GND GND V To satisfy EMC requirements connect the video cable shield to the module housing The ground connections pin 4 and pin 6 are insufficient for effe...

Страница 54: ...Manufacturer s item no 43025 0800 Wire size 0 2 0 5 mm 2 AWG 24 20 Manufacturer Molex Product description Molex receptacle crimp contact Item name Micro Fit family Manufacturer s item no 43030 0007 W...

Страница 55: ...o connect the support arm to the center console The following connection cables are installed in the support arm Power supply Digital I Os CANopen interfaces Video Topic Page Connecting the power supp...

Страница 56: ...outputs Type AMP Junior Power Timer male Number of pins 22 Compatible mating part of 22 pin AMP Junior Power Timer connector Manufacturer AMP Product description Female connector 22 circuits dual row...

Страница 57: ...19 Input 14 21 GND 5 Output 1 See Note 6 Input 1 To control the LEDs for pictogram illumination on the display area 8 Input 3 10 Input 5 12 Input 7 14 Input 9 16 Input 11 For free use 18 Input 13 20...

Страница 58: ...ct description Female connector 22 circuits dual row version 5 mm pitch Item name Junior Power Timer Manufacturer s item no 929504 7 Wire size 0 5 1 0 mm 2 AWG 20 16 Manufacturer AMP Product descripti...

Страница 59: ...H 9 Shield 10 Shield Terminate CAN 2 on the connector for JVM 407B jumper between pin 6 and 8 Type AMP Junior Power Timer male Number of pins 10 Compatible mating part of 10 pin AMP Junior Power Timer...

Страница 60: ...4 Mounting and installation of the JVM 407B Manufacturer AMP Product description Crimp terminal female Item name Junior Power Timer Manufacturer s item no 927771 or 927779 single Wire size 0 5 1 0 mm...

Страница 61: ...voltage 12 V 4 Video signal 1 Shield 3 Weight 5 Video signal 3 Weight 5 Video signal If the cables are run through the support arm GND and the video signal V are connected by default That is differen...

Страница 62: ...AG 4 Mounting and installation of the JVM 407B 4 3 Installing the JVM 407B This chapter describes how to install the JVM 407B Topic Page Installing the HMI 63 Mounting the support arm 66 Introduction...

Страница 63: ...r Therefore do not use a steam jet or other such devices to clean the HMI Unventilated installation location The HMI could overheat as heat builds up Installation location close to heat sensitive mate...

Страница 64: ...ns in the illustration are in millimeters 222 136 145 Number Description 1 Opening 2 Outline of the front panel The illustration shows how to install the device Number Description 1 Threaded pins on t...

Страница 65: ...ust coincide with the buzzer 3 Push the SD memory card locking bracket onto the threaded bolt at the SD card slot 4 Screw the locking bracket firmly into place with a wing nut 5 Screw the fitting pane...

Страница 66: ...tening and loosening screws Consider ergonomic principles Select a user friendly place for installation The controls must be easy to reach The HMI screen must be easy to read Avoid installation locati...

Страница 67: ...s DIN 912 5 Support arm Step Action 1 Place the support arm on the installation surface 2 Screw the support arm firmly into place from underneath using four screws and four lock washers 3 Guide the ca...

Страница 68: ...ng ESD sensitive components while replacing the battery The rated voltage of the battery is 3 0 V 10 The battery is integrated residing in an intermediate socket A 1 GB SD industrial memory card is av...

Страница 69: ...der the battery from Jetter AG under the item number 60873666 The battery is placed in a socket The illustration below shows where the battery compartment is located in the JVM 407B Number Description...

Страница 70: ...hesive strip firmly to the bottom side of the housing 3 Insert the battery through the service opening into the battery socket The negative pole must face the PCB 4 Do not remove the adhesive strip Th...

Страница 71: ...vice opening 3 SD card slot 4 SD card locking bracket 5 Battery To insert the SD card into the slot proceed as follows Step Action 1 Remove the SD card locking bracket To this end twist off the wing n...

Страница 72: ...follows Step Action 1 Remove the SD card locking bracket To this end twist off the wing nut 2 Push the SD card slightly further into the slot Release the SD card The SD card unlatches and protrudes t...

Страница 73: ...erver HMI name IP port number for the JetSym debugger Basic port number for communication via JetIP To carry out the IP configuration of the JVM 407B knowledge of IP networks is required such as IP ad...

Страница 74: ...value The parameters can be changed by the user Parameter Value IP address of the HMI 192 168 10 15 Subnet mask 255 255 255 0 IP address of default gateway 0 0 0 0 IP address of DNS server 0 0 0 0 Nam...

Страница 75: ...HMI for these changes to take effect Only this way these changes take effect If you change the IP address during runtime this modification immediately takes effect However changes made during runtime...

Страница 76: ...r Register numbers JVM 407B Configuration memory Read write 101100 101100 101165 Currently used parameters Read only 101200 101200 101265 The following table lists the registers of both ranges and the...

Страница 77: ...your settings will be lost Register Description 104531 IP address of the HMI 104532 Subnet mask 104533 IP address of default gateway To set the IP address and the subnet mask proceed as follows Step A...

Страница 78: ...ess of the device in the Internet Explorer Example To enter the IP address in the range of exceptions of the Internet Explorer proceed as follows Step Action 1 Click menu item Tools and open the dialo...

Страница 79: ...the IP address example Step Action 1 In line IP click the button Edit The edit box for the IP address opens 2 Enter the new IP address into the edit box 3 Confirm your input by clicking the button To...

Страница 80: ......

Страница 81: ...ogramming tool Both have been developed by Jetter AG For more information refer to the Online Help in JetSym or JetViewSoft These instructions for initial commissioning apply to JetSym version 5 1 2 o...

Страница 82: ...ith JetSym STX This chapter covers the preparatory work for commissioning the JVM 407B It also provides a first insight into the programming language JetSym STX Topic Page Preparatory work for initial...

Страница 83: ...tSym The default application program launched on the JVM 407B after powering up displays the following input mask on the display F1 10 10 F2 F3 F4 NodeID 30 IP Adresse 192 168 10 15 MAC Adresse 00 50...

Страница 84: ...the HMI s operating system The program listed below switches the status LEDs on the left and the right of the display ON and OFF This example shows how JetSym STX can be used Task Mini Example AutoRu...

Страница 85: ...STX CE platform This chapter describes how to create and configure in JetViewSoft and JetSym a visualization project for the ER STX CE platform Topic Page Initial commissioning in JetViewSoft 86 Crea...

Страница 86: ...n set up To create a new project for the HMI in JetViewSoft proceed as follows Step Action 1 Start JetViewSoft 2 Open the File menu Select menu item New Project Result The following dialog box opens 3...

Страница 87: ...t to delete the visualization files at a later date 9 Confirm your settings by clicking OK Result The dialog box closes and the Add New Mask dialog box opens 10 Enter the name of the first DataMask in...

Страница 88: ...ick on the sign next to Target to expand the setting options Or just double click Target 5 Enter the IP address of the HMI into the box Host Name IP The default IP address of a JVM 407B is 192 168 10...

Страница 89: ...t CTRL F5 Result JetViewSoft transfers the files to the HMI 5 In order to make the HMI read in the visualization files restart it Result The files of your JetViewSoft project have been stored to the d...

Страница 90: ...The HMI will not display your visualization application Remedy Step Action 1 If then the file App visual iop or Data visual iop exists delete or rename this file 2 If then the file App JetViewERS cfg...

Страница 91: ...g requirements must be satisfied JetSym has been installed on the PC used JetSym has been licensed see online help in JetSym The controller has been connected to the same network as the PC An active E...

Страница 92: ...n the same directory as the file VisualInterface stxp created by JetViewSoft 6 Confirm your settings by clicking OK Result Creation of the project is completed To establish a connection between JetSym...

Страница 93: ...description of the objects and masks included in the visualization application to be available for programming the file VisualInterface stxp must be included as follows Step Action 1 Switch to Files...

Страница 94: ...pen the menu Tools Select menu item Library Manager The dialog box of the same name opens 2 Click the button Add Result An Explorer window opens in the Lib folder of the JetSym installation 3 Select t...

Страница 95: ...ction 5 Switch to Files view 6 Select the folder Library Open the shortcut menu by pressing the right mouse button 7 Select menu item Add Libraries Result JetSym opens the Library Manager 8 Select the...

Страница 96: ...xp Function OnKeyDown KeyCode long Flags long End_Function Function OnKeyUp KeyCode long Flags long End_Function Task Main Autorun End_Task 4 Press the F7 key to trigger a project build Result The vis...

Страница 97: ..._FILLATTRIBUTE FillAttribute_26000 Break KEY_F2 VisuCmdAttribute Ellipse_4000 ELLIPSE_ATTR_FILLATTRIBUTE FillAttribute_26001 Break KEY_F3 VisuCmdAttribute Ellipse_4000 ELLIPSE_ATTR_FILLATTRIBUTE FillA...

Страница 98: ...98 Jetter AG 5 Initial commissioning Initial commissioning in JetViewSoft see page 86 Related topics...

Страница 99: ...tion objects through visualization commands VisuCommands from within the application program This description applies to the platform JetView ER STX CE PC For more information refer to the JetSym and...

Страница 100: ...de Task Visu_STX Autorun Var input_value Int At VL 1000000 export jde End_Var End_Task 2 In JetSym navigate to Project Settings and the tab TagDB Here tick the checkbox Create file 3 Open the Build me...

Страница 101: ...file into your JetViewSoft visualization project To this end activate the shortcut menu in the workspace and click on Add TagDB File JetViewSoft displays the variables declared in the TagDB file in th...

Страница 102: ...mation JetViewSoft creates a controller and links it with the variables 6 Use Drag Drop to drag the variable from the window Variables or ObjectPool to the visualization object Edit Numeric When the P...

Страница 103: ...commands Build and Deploy Result The application is now available on the HMI 9 Restart the HMI Result The HMI shows the start screen Now you can use the digipot to enter a value in the object Edit Num...

Страница 104: ...compile the following program without errors add the program code listed below to the sample programs Include VisualInterface stxp Function OnKeyDown KeyCode long Flags long End_Function Function OnKe...

Страница 105: ...in turn executes a visualization command In the given case it is the function VisuSTXFunction The SenderID holds the information which button has been pressed A case instruction is used to retrieve t...

Страница 106: ......

Страница 107: ...rogrammable devices CANopen Manager SDO Manager CiA DR 303 Information on cables and connectors CiA DS 4xx These documents describe the behavior of a number of device classes in what are known as devi...

Страница 108: ...nit 109 STX function CanOpenSetCommand 111 STX function CanOpenUploadSDO 113 STX function CanOpenDownloadSDO 118 STX function CanOpenAddPDORx 123 STX function CanOpenAddPDOTx 130 Heartbeat monitoring...

Страница 109: ...SWVersion Reference to own software version This software version is entered into the index 0x100A in the object directory String up to 255 characters This function transfers the following return valu...

Страница 110: ...2 As soon as the JVM 407B goes into pre operational status it sends the heartbeat message pre operational If the JVM 407B is in pre operational state it lets you access the object directory using SDO...

Страница 111: ...anged for all other devices or for a specific device on the CAN bus Selecting heartbeat states NMT master CAN_NMT_OPERATIONAL 0x01 or CAN_NMT_START 0x01 CAN_NMT_STOP 0x02 CAN_NMT_PREOPERATIONAL 0x80 C...

Страница 112: ...heartbeat status to operational Result CanOpenSetCommand 0 CAN_CMD_HEARTBEAT CAN_HEARTBEAT_OPERATIONAL Task Set the own heartbeat status and the status of all other devices on the CAN bus to operation...

Страница 113: ...be received Data length for the global variable DataAddr DataLength Int Global variable into which the received value is entered const ref DataAddr ref Busy Int Status of the SDO transmission Int The...

Страница 114: ...cal Specifications and Quick Reference in the corresponding manual The following data types can be received Byte types CANopen format Jetter format 1 CANOPEN_INTEGER8 CANOPEN_UNSIGNED8 Byte 2 CANOPEN_...

Страница 115: ...node ID SDOACCESS_TIMEOUT The task has been timed out because the device with the specified node ID is not responding If the specified node ID does not respond within 1 second the timeout bit is set...

Страница 116: ...the bus line NodeID_Node_0 10 Device ID of node 1 NodeID_Node_0 66 Device ID of node 2 End_Const Var busy Int Versionstring String Objectindex Word Subindex Byte Result Int End_Var Task Example_Upload...

Страница 117: ...bindex SubIndex CANOPEN_STRING DataType sizeof Versionstring DataLength Versionstring DataAddr busy Busy Checking the command for successful execution If Result 0 Then Waiting until communication is c...

Страница 118: ...sent const ref DataAddr ref Busy Int Status of the SDO transmission Int The CanOpenDownloadSDO function has got the following parameters Parameter Description Value CANNo CAN bus number 0 CANMAX NodeI...

Страница 119: ...be received Byte types CANopen format Jetter format 1 CANOPEN_INTEGER8 CANOPEN_UNSIGNED8 Byte 2 CANOPEN_INTEGER16 CANOPEN_UNSIGNED16 Word 3 CANOPEN_INTEGER24 CANOPEN_UNSIGNED24 4 CANOPEN_INTEGER32 CA...

Страница 120: ...fied node ID does not respond within 1 second the timeout bit is set SDOACCESS_ILLCMD The response to the request is invalid SDOACCESS_ABORT Access to the device with the specified node ID was aborted...

Страница 121: ...N 0 CanOpenInit CANNo Number of the bus line NodeID_Node_0 Device ID of the node SW_Version Manufacturer s software version Setting the node with ID NodeID_Node_1 on the CAN bus to PREOPERATIONAL stat...

Страница 122: ...n SDOACCESS_FINISHED busy Continue Checking for errors If SDOACCESS_ERROR busy Then Troubleshooting End_If End_If Resetting all devices on the CAN bus to OPERATIONAL status CanOpenSetCommand CANNo CAN...

Страница 123: ...Data length of the global variable VarAddr DataLength Int Global variable into which the received value is entered const ref VarAddr Cycle time for receiving a telegram Event time EventTime Int Minimu...

Страница 124: ...he CAN interface CANNo 0 is assigned to the first interface The number of CAN interfaces depends on the device For information on the maximum number of CAN interfaces CANMAX refer to the chapters Tech...

Страница 125: ...ulting CAN identifier is 2C0h 40h 280h For CANopen the following CAN identifier distribution is predefined In this case the node number is embedded in the identifier 11 bit identifier binary Identifie...

Страница 126: ...AL64 n CANOPEN_VISIBLE_STRING CANOPEN_OCTET_STRING CANOPEN_UNICODE_STRING CANOPEN_DOMAIN String The following parameters can be transferred to the function Several parameters can be linked together us...

Страница 127: ...o CANopen devices with node ID 64 and 102 The function CanOpenAddPDORx is called up for this purpose After running the program the JVM 407B receives cyclic PDO telegrams 120 Ohm 120 Ohm CAN Bus CAN 0...

Страница 128: ...to be received CanOpenAddPDORx CANNo Number of the bus line CANOPEN_PDO2_RX NodeID_Node_1 CANID 0 BytePos CANOPEN_DWORD DataType sizeof Data_1_of_Node_1 DataLength Data_1_of_Node_1 VarAddr Event_Time...

Страница 129: ...a_1_of_Node_2 VarAddr Event_Time Event time Inhibit_Time Inhibit time CANOPEN_ASYNCPDO CANOPEN_NORTR Paramset All nodes on the CAN bus are in PREOPERATIONAL state Setting all nodes on the CAN bus to O...

Страница 130: ...fier BytePos Int Starting position of the data to be sent DataType Int Data type of the data to be sent Data length of the global variable VarAddr DataLength Int Global variable holding the value to b...

Страница 131: ...g manual The CANID parameter is used to transfer the CAN identifier The CAN identifier is generated with a macro The CAN identifier depends on the node ID of the other communicating user and on whethe...

Страница 132: ...010xxxxxxxx 1281 1407 501h 57Fh PDO4 rx 1011xxxxxxxx 1409 1535 581h 5FFh Send SDO 1100xxxxxxxx 1537 1663 601h 67Fh Receive SDO 1110xxxxxxxx 1793 1919 701h 77Fh NMT error control xxxxxxxx Node number 1...

Страница 133: ...equired disk space is reserved CANOPEN_NORTR PDO cannot be requested by RTR Remote Request CANOPEN_29BIT Use 29 bit identifier Default 11 bit identifier Result CanOpenAddPDOTx 0 CANNo 842 CANID 0 Byte...

Страница 134: ...deID_Node_1 74 Device ID of node 2 NodeID_Node_2 112 Device ID of node 3 Event_Time 3000 Event time in ms Inhibit_Time 100 Inhibit time in ms End_Const Var Data_1_of_Node_1 Int Data_2_of_Node_1 Int Da...

Страница 135: ...h Data_2_of_Node_1 VarAddr Event_Time Event time Inhibit_Time Inhibit time CANOPEN_ASYNCPDORTRONLY Paramset CanOpenAddPDOTx CANNo Number of the bus line CANOPEN_PDO3_TX NodeID_Node_2 CANID 0 BytePos C...

Страница 136: ...JCM 350 1 09 0 215 or higher JCM 620 JVER bersion 3 2 2 645 and JetVM version 3 04 0 00 or higher Heartbeat monitoring uses the following registers Register Description Data type Attributes 40x001 Own...

Страница 137: ...res that subsequent changes in register 40x101 40x227 can be displayed Hearbeat monitoring starts on receipt of the first heartbeat including bootup message The DLC Data Length Code of the heartbeat m...

Страница 138: ...hows an emergency message from a device with node ID 21 Initializing the CAN bus once Defining global variables Var stCanOpenEmergencyMsg ARRAY 5 of CanOpenEmergencyMsg stCanOpenEmergencyStat CanOpenE...

Страница 139: ...ber of the bus line CANNo int For error code see CiA DS 301 V4 02 page 60 or CiA DS 4xx device profile ErrorCode word Error register object 0x1001 ErrorRegister byte 5 bytes can be used at the user s...

Страница 140: ...facturer hardware version String const 100A VAR Manufacturer software version String const 100B VAR Node ID Unsigned32 ro 1017 VAR Producer heartbeat time Unsigned16 rw read write 1018 RECORD Identity...

Страница 141: ...The structure of the Pre defined Error Field object is shown in the following table Index Subindex Default Description 0x1003 0 0 Number of errors entered in the array s standard error field 1 0 Most...

Страница 142: ...iven device The structure of the Producer Heartbeat Time object is shown in the following table Index Subindex Default Description 0x1017 0 1 000 ms Heartbeat time The table below lists the JVM 407B r...

Страница 143: ...utes Data type 40x020 rw Int 40x021 rw Int 40x022 rw Int 40x023 rw Int 40x030 rw Int 40x100 rw bool 40x400 rw bool 40x101 40x227 Node ID 1 127 Status 0 Bootup 4 Stopped 5 Operational 127 Preoperationa...

Страница 144: ......

Страница 145: ...ine data such as RPM speed or coolant temperature are read and displayed The key SAE J1939 specifications are J1939 11 Information on the physical layer J1939 21 Information on the data link layer J19...

Страница 146: ...s together several SPNs into a meaningful group The PGN is part of the CAN identifier The 8 byte data PDU contain the values of individual SPNs The example below shows a PGN 65262 0xFEEE PGN 65262 Eng...

Страница 147: ...ame SPN 1 1 byte Engine Coolant Temperature 110 2 1 byte Engine Fuel Temperature 1 174 3 4 2 bytes Engine Oil Temperature 1 175 5 6 2 bytes Engine Turbocharger Oil Temperature 176 7 1 byte Engine Inte...

Страница 148: ...g return values to the higher level program Return value 0 OK 1 Error when checking parameters 3 Insufficient memory for SAE J1939 This parameter specifies the number of the SAEJ1939 interface CANNo 1...

Страница 149: ...gram Return value 0 OK 1 Error when checking parameters This parameter specifies the number of the SAEJ1939 interface CANNo 1 is assigned to the first interface The number of SAEJ1939 interfaces depen...

Страница 150: ...to the higher level program Return value 0 OK 1 Error when checking parameters This parameter specifies the number of the SAEJ1939 interface CANNo 1 is assigned to the first interface The number of S...

Страница 151: ...on comprises the following parameters Parameter Description Value CANNo CAN channel number 1 CANMAX IPGN PGN Parameter Group Number 0 0x3FFFF bySA Source Address of message sender 0 253 BytePos Starti...

Страница 152: ...ical Specifications and Quick Reference in the corresponding manual All allowed data types are listed below Byte types Bit types 1 SAEJ1939_UNSIGNED8 SAEJ1939_BYTE 2 SAEJ1939_UNSIGNED16 SAEJ1939_WORD...

Страница 153: ...er s documentation The fuel temperature has the SPN 174 and is a component byte 2 of the PGN 65262 Engine Temperature 1 Include SAEJ1939 stxp Var bySAEJ1939Channel Byte own_Source_Address Byte PGN 652...

Страница 154: ...Int Int The SAEJ1939AddTx function comprises the following parameters Parameter Description Value CANNo CAN channel number 1 CANMAX IPGN PGN Parameter Group Number 0 0x3FFFF BytePos Starting position...

Страница 155: ...cifications and Quick Reference in the corresponding manual All allowed data types are listed below Byte types Bit types 1 SAEJ1939_UNSIGNED8 SAEJ1939_BYTE 2 SAEJ1939_UNSIGNED16 SAEJ1939_WORD 4 SAEJ19...

Страница 156: ...clude SAEJ1939 stxp Var bySAEJ1939Channel Byte own_Source_Address Byte PGN 65262 Engine Temperature 1 Fueltemp Byte EngineTemperatureTbl TJ1939Tx End_Var Task main autorun Initializing CAN 1 bySAEJ193...

Страница 157: ...escription Value CANNo CAN channel number 1 CANMAX byDA Destination Address Address from which the message is requested 0 253 The own SA cannot be used uIPGN PGN Parameter Group Number 0 0x3FFFF byPri...

Страница 158: ...nts to request the PGN 65253 Engine Hours from an engine control unit with the SA 0 The SPN 247 Engine Total Hours of Operation should be read from this PGN It is therefore necessary to register recei...

Страница 159: ...ddRx bySAEJ1939Channel 65253 0x00 1 0 SAEJ1939_DWORD sizeof EngineTotalHours EngineTotalHours EngineHoursTbl 5000 150 Required for a cyclical task TaskAllEnableCycle EnableEvents End_Task Task t_Reque...

Страница 160: ...253 The own SA cannot be used stJ1939DM1stat lStatus lMsgCnt lBuffer Lamp Status Number of received messages Size of variable stJ1939DM1msg stJ1939DM1msg lSPN byOC byFMI Error code Error counter Error...

Страница 161: ...lash Amber Warning Lamp 2 1 Flash Protect Lamp Type Byte Bit group Value Description Status 1 00 Lamps off 01 Lamps on Flash 2 00 Slow Flash 1 Hz 50 duty cycle 01 Fast Flash 2 Hz or faster 50 duty cyc...

Страница 162: ...pow Array 10 of STJ1939DM1MSG MyTimer TTimer End_Var Task main autorun Initializing CAN 1 bySAEJ1939Channel 1 own_Source_Address 20 SAEJ1939Init bySAEJ1939Channel own_Source_Address TimerStart MyTimer...

Страница 163: ...SA cannot be used stJ1939DM2stat lStatus lMsgCnt lBuffer Lamp Status Number of received messages Size of variable stJ1939DM2msg stJ1939DM2msg lSPN byOC byFMI Error Code Error counter Error type This...

Страница 164: ...Amber Warning Lamp 2 1 Flash Protect Lamp Type Byte Bit group Value Description Status 1 00 Lamps off 01 Lamps on Flash 2 00 Slow Flash 1 Hz 50 duty cycle 01 Fast Flash 2 Hz or faster 50 duty cycle 1...

Страница 165: ...ar Task main autorun Initializing CAN 1 bySAEJ1939Channel 1 own_Source_Address 20 SAEJ1939Init bySAEJ1939Channel own_Source_Address Required for a cyclical task TaskAllEnableCycle EnableEvents End_Tas...

Страница 166: ...X bySA Source Address of message sender 0 253 iConversionMethod Conversion method 1 4 4 Automatic detection 2 Default This function transfers the following return values to the higher level program Re...

Страница 167: ...hod 1 4 4 Automatic detection 2 Default This function transfers the following return values to the higher level program Return value 0 OK 1 Error when checking parameters This parameter specifies the...

Страница 168: ......

Страница 169: ...e system at least with system files Failure to do so may render your device inoperative It may even refuse to boot Some files may be protected against read write access or deletion This is normal beha...

Страница 170: ...ng Directory Description System System configuration System information Boot image Screenshot SD Root directory of the SD memory card USB Root directory of the USB flash drive App Directory for applic...

Страница 171: ...creenshot to the right shows the file system of the new CE platform This file system does not use iop files JetViewSoft creates several visualization files instead Note Copy all application and visual...

Страница 172: ...tition To speed up system launch mounting this partition can be time shifted Therefore the STX application must not be stored to this partition SD When you insert an SD memory card into the SD card sl...

Страница 173: ...with the user buttons buzzer background lighting etc reset exe Deleting this file triggers the HMI to reboot immediately You can use this function in batch files for example which after complete proce...

Страница 174: ...The following properties apply to the internal flash disk drive SD memory card and USB flash drive 8 files max to be opened simultaneously When the HMI creates a file it assigns its date and time Date...

Страница 175: ...the a m capacity 368 MBytes The internal flash disk drive has got the following further properties Up to 7 directory levels and 1 file level are allowed Upper and lower case are not distinguished Dire...

Страница 176: ...rties The SD memory card must be compatible with FAT 16 or FAT 32 To store data to the SD memory card please mind Directory and file names are permitted to have a total length of 260 characters Upper...

Страница 177: ...ive must be compatible with FAT 16 or FAT 32 To store data to the USB flash drive please mind Directory and file names are permitted to have a total length of 260 characters Upper and lower case are n...

Страница 178: ......

Страница 179: ...be connected with the JVM 407B at the same time Any additional client which tries to connect with the FTP server will get no response to its request for establishing a connection The FTP server suppor...

Страница 180: ...nt must log on when the connection is established As Server Name enter the IP address of the device As User Name enter your user name e g admin As Password enter your password e g admin The factory se...

Страница 181: ...TP client by opening a connection and entering the IP address Log on as user admin with password admin Use dir to display the content of the current directory Enter cd app to change to directory app U...

Страница 182: ......

Страница 183: ...407B the following prerequisites must be fulfilled The HMI is connected to a PC On the PC the JetSym programming software has been installed Topic Page Abbreviations module register properties and fo...

Страница 184: ...ollowing default properties Module register properties Default property for most module registers Access Read write Value after reset 0 or undefined e g release number Takes effect Immediately Write a...

Страница 185: ...s content even when the power supply is off This chapter gives an overview of the available memory Topic Page Operating system memory 186 File system memory 187 Application program memory 188 Memory f...

Страница 186: ...he OS can be executed immediately after the device is powered up Internal flash memory for storing OS data Internal volatile RAM for storing OS data The user is not allowed to directly access the OS m...

Страница 187: ...emory is for storing data and program files Non volatile Size of internal flash disk 368 MBytes By operating system By JetSym Via FTP connection By browser via HTTP server By means of file commands fr...

Страница 188: ...Stored as file within the file system Default directory app program name Files may also be stored to other directories or on SD memory card or USB flash drive By operating system By JetSym Via FTP co...

Страница 189: ...ables are initialized with value 0 when they are created By JetSym From the application program The following program increments the content of a global variable by one every 2 s Var Count Int End_Var...

Страница 190: ...er From HMIs From the application program From other controllers The following program increments the content of a register variable every time the application program is started This way the number o...

Страница 191: ...every second The working range of the counters is between 0 and 255 variable type byte For these four variables the four bytes of register 1000010 are used Var Cnt1 Cnt2 Cnt3 Cnt4 Byte At RL 1000010...

Страница 192: ...variable Cnt2 The content of the variable is incremented by two every second 3 Current content of the variable Cnt3 The content of the variable is incremented by five every second 4 Current content of...

Страница 193: ...llowing program two special registers are used The first is the special register for status LEDs the second is the special register for digipot values In this task the value is just copied from the sp...

Страница 194: ...61000 362200 By JetSym From HMIs From the application program In the program below the status LED is power cycled every second Var Switching the status LED on Status_LED_1 Bit At XL 362100 1 End_Var T...

Страница 195: ...t values Quantity 256 Flag numbers 2048 2303 By JetSym From HMIs From the application program In the program listed below a flag is set when the user presses key F1 If key F2 is pressed the flag is re...

Страница 196: ...196 Jetter AG 10 Programming If Merker1 Then Inc Status_LEDs Delay T 100ms End_If End_Loop End_Task...

Страница 197: ...tputs This chapter covers the programming of inputs and outputs controls and ignition and switching off delay for the JVM 407B Topic Page Function keys 198 Digipot 200 Digital inputs and outputs 202 I...

Страница 198: ...the inputs IN1 to IN10 should not be set whilst running the sample program In the following sample program the function keys are continuously retrieved in one task Pressing one or more keys controls...

Страница 199: ...Jetter AG 199 JVM 407B Programming If F_Button_Register 3 Then Status_Led_4 True Else Status_Led_4 False End_If End_Loop End_Task...

Страница 200: ...emains at this minimum value 363003 This register lets you specify the upper limit for the digipot reading If you continue turning the digipot clockwise register 363000 remains at this maximum value T...

Страница 201: ...Jetter AG 201 JVM 407B Programming Loop If Digipot_Button Then BackgroundLighting 255 Else BackgroundLighting Digipot_Count 15 End_If End_Loop End_Task...

Страница 202: ...er is responsible for setting the digital output Bit 0 1 Digital output is set The sample program has been tested for compliance with the following software versions JetSym version 5 1 HMI JVM 407B OS...

Страница 203: ...n voltage is applied to the HMI the ignition is off the HMI does not boot up voltage is applied to the HMI the ignition is on the HMI boots up the HMI is powered on the ignition is switched off not th...

Страница 204: ...ce with the following software versions JetSym version 5 1 HMI JVM 407B OS version 4 01 For more information on programming by STX please turn to the online help in JetSym If you switch off the vehicl...

Страница 205: ...uses the real time clock for the following functions Storing file date and time to a file When using the real time clock the following restrictions apply When the device is de energized the power res...

Страница 206: ...cription 1 During the boot process the HMI detects that the power reserve has elapsed R 367010 Register 367011 shows the battery voltage in millivolts This function can be used to trigger a warning me...

Страница 207: ...compliance with the following software versions JetSym version 5 1 HMI JVM 407B OS version 4 01 For more information on programming by STX please turn to the online help in JetSym Type Structure of t...

Страница 208: ...2 Trace Tuesday Break 3 Trace Wednesday Break 4 Trace Thursday Break 5 Trace Friday Break 6 Trace Saturday Break End_Case Displaying date Trace StrFormat 2d 02d 4d RTCregs Day RTCregs Month RTCregs Ye...

Страница 209: ...gisters which are incremented by the operating system at regular intervals These registers can be used to easily carry out time measurements in the application program Topic Page Description of the ru...

Страница 210: ...pplication time base in milliseconds Every millisecond this register is incremented by one Register properties Values 2 147 483 648 2 147 483 647 overflowing Application time base in seconds Every sec...

Страница 211: ...onditions After at least 10 ms System time base in milliseconds Every millisecond this register value is incremented by one Register properties Values 2 147 483 648 2 147 483 647 overflowing Type of a...

Страница 212: ...the online help in JetSym Var DataArray Array 2000 Of Int File1 File WriteTime Int WriteIt Bool MilliSec Int At VL 201000 End_Var Task WriteToFile Autorun Loop Resetting the start flag WriteIt False...

Страница 213: ...Jetter AG 213 JVM 407B Programming Else Displaying the error message Trace Unable to open file n End_If End_Loop End_Task...

Страница 214: ...m whether communication with the servers takes place through these interfaces The following interface activities can be monitored JetIP server via Ethernet interface STX debug server via Ethernet inte...

Страница 215: ...plication program once the device has set the OS flag This indicates that the connection has temporarily been disrupted even if the device resets the OS flag very quickly 4 Timeout Time of inactivity...

Страница 216: ...ption 6 The application program detects that the device has reset the special flags and therefore takes appropriate action 7 When further telegrams start arriving the device sets the corresponding OS...

Страница 217: ...flag F 2089 User flag F 2098 STX debugging Ethernet OS flag F 2099 User flag Timeout in the case of JetIP Ethernet This register contains the timeout for the JetIP server Ethernet in milliseconds Regi...

Страница 218: ...responding user flag To detect a timeout proceed as follows Step Action 1 Enable monitoring of interface activities see above 2 Wait until the device has reset the application specific flag of this in...

Страница 219: ...e of data exchange via IP networks is required IP addressing e g IP address port number subnet mask TCP e g connection establishment termination data stream data backup UDP e g datagram For communicat...

Страница 220: ...220 Jetter AG 10 Programming Topic Page Programming 221 Registers 233 Sample programs 238 Contents...

Страница 221: ...er programmable IP interface Feature Description Number of connections 20 Maximum data size 4 000 byte While the controller JVM 407B is processing one of the functions of the user programmable IP inte...

Страница 222: ...owing way Result ConnectionInitialize The device JVM 407B processes this function in the following steps Step Description 1 The device JVM 407B closes all open connections of the user programmable IP...

Страница 223: ...SERVER IPType UDP IP 1 IPTYPE_UDP TCP IP 2 IPTYPE_TCP IPAddr Valid IP address Required only for TCP IP client IPPort Valid IP port Will be ignored for UDP IP client Timeout 0 1 073 741 824 ms 0 infini...

Страница 224: ...ess 192 168 75 123 2 If then the network client has accepted the connection the function is terminated and a positive value is returned as handle for further access to the connection the connection co...

Страница 225: ...on is terminated and a negative value is returned If a client is to establish a UDP IP connection to a server you can invoke the function and assign the return value of a variable for further evaluati...

Страница 226: ...on is processed in the following steps Step Description 1 The device JVM 407B sets up a UDP IP communication channel at port 46000 for receiving data 2 If then no error has occurred the function is te...

Страница 227: ...equired only for UDP IP client IPPort Valid IP port Required only for UDP IP client SendData address of the data block to be sent 1 4 000 Data block length in bytes The following return values are pos...

Страница 228: ...further evaluation as follows Result ConnectionData hConnection IP 192 168 75 123 46000 SendBuffer SendLen With UDP IP there is no connection between two given network clients Therefore with each fun...

Страница 229: ...nction ConnectionCreate IPAddr Address of a variable for saving the IP address of the sender Required only for UDP IP server IPPort Address of a variable for saving the IP port number of the sender Re...

Страница 230: ...o longer than the specified timeout 2 If then the timeout has elapsed or the connection has been terminated the function is exited and an error message is issued data have been received they are copie...

Страница 231: ...have been received they are copied to the receiving buffer given along with the data but not exceeding the amount given along with the data Then the function continues with stage 3 3 If then more dat...

Страница 232: ...nnectionCreate The following return values are possible Return value 0 Connection terminated and deleted 1 Invalid handle This way you can invoke the function and assign its return value to a variable...

Страница 233: ...current connection list of the user programmable IP interface can be read out These registers can be used for debugging or diagnostic purposes However they can t be used for other functions such as e...

Страница 234: ...07 JC 940MC JC 970MC 350000 350000 350007 JVM 407 JVM 407B 350000 350000 350007 JVM 104 350000 350000 350007 In this chapter only the last figure of a register number is specified To calculate the act...

Страница 235: ...onnection details Module register properties Reading values 0 Connection exists 1 Connection does not exist Module register properties Writing values 0 Address the first connection in the list 0 Addre...

Страница 236: ...register properties Values 0 Connection terminated 1 Connection is being established 2 Connection is established 3 TCP IP server Waiting for connection request from client 4 Internal usage Number of...

Страница 237: ...umber of data bytes received via the given connection Since this is a signed 32 bit register and the received bytes are added each time the number range may be exceeded from the positive maximum value...

Страница 238: ...he platform independent implementation of the user programmable IP interface these sample programs can be used for other configurations without modification The use case is a Jetter AG controller or H...

Страница 239: ...rmation on programming by STX please turn to the online help in JetSym Const TCP_PORT 52100 MSG_LEN 4000 End_Const Var Handle as return value of the function Establishing a connection ConnHandle Int T...

Страница 240: ...data structures ResConnInit ConnectionInitialize If ResConnInit 0 Then Trace Server running n While True Do Connection attempt ResConnCreate ConnectionCreate CONNTYPE_SERVER IPTYPE_TCP 0 TCP_PORT Con...

Страница 241: ...rror during reception ResConnReceive 1 Increment the error counter value Inc RecvErrors Exit the loop Exit End_If End_While At this point implement the server function In this example the received dat...

Страница 242: ...ConnectionDelete ConnHandle Handle is no longer valid ConnHandle 0 Trace Connection closed n End_If End_If Wait shortly for another connection to be tried Delay T 3s End_While Else Trace ConnectionIn...

Страница 243: ...se turn to the online help in JetSym Const TCP_ADDR IP 192 168 10 210 TCP_PORT 52100 MSG_LEN 4000 End_Const Var Handle as return value of the function Establishing a connection ConnHandle Int Transmit...

Страница 244: ...ate all connections initialize the data structures ResConnInit ConnectionInitialize If ResConnInit 0 Then Trace Client running n While True Do Connection attempt ResConnCreate ConnectionCreate CONNTYP...

Страница 245: ...TimerEnd RecvTimer Do ResConnReceive ConnectionReceiveData ConnHandle NotUsed NotUsed RecvBuf ReceiveCnt SizeOf RecvBuf RecvTimeOut If ResConnReceive 0 Then A value has been received increment the co...

Страница 246: ...longer valid ConnHandle 0 Trace Connection closed n End_If End_If Wait shortly for another connection to be tried Delay T 3s End_While Else Trace ConnectionInitialize failed client stopped n End_If En...

Страница 247: ...n Where remote control is not possible Where there is no PC on site Where the operator is not able or should not be allowed to make modifications to the plant The following actions can be taken using...

Страница 248: ...troller data 11 1 How it works This chapter describes how to load and execute the Autostart function Topic Page Loading the Autostart function 249 Executing the Autostart function 250 Terminating the...

Страница 249: ...nt File name autostart bat All lower case letters Directory SD SD Root directory on the SD card Directory USB USB Root directory on the USB flash drive To load the Autostart function proceed as follow...

Страница 250: ...the commands contained in the command file When executing Autostart commands the OS of the JVM 407B proceeds as follows Step Description 1 The device loads the file SD autostart bat from the SD card...

Страница 251: ...t bat terminates the Autostart mode As an option you can trigger a reset To this end enter the following command as last line into the command file del System reset exe To terminate the Autostart mode...

Страница 252: ...rs the structure of the file autostart bat and the available commands The command file is a text file with command and comment lines You can insert blank lines as required Start comment lines by REM T...

Страница 253: ...d by the keyword goto and a destination The destination must be preceded by a colon A simple jump is defined as follows goto end skipped block end A conditional jump is defined as follows if condition...

Страница 254: ...e containing the new register values A file start ini and a es3 file containing the new application program echo off if not exist app autostart exe goto end if exist app update ini goto end if exist a...

Страница 255: ...opying of controller data 11 3 Data files This chapter covers the data file containing register and flag values to be read by the device Topic Page File format 256 Automatic retrieval of data file inf...

Страница 256: ...nsists of the following elements ID of the variable at the beginning of the line Now follows the number of the variable separated by a blank or tab Then follows the value of the variable separated by...

Страница 257: ...der App The table below shows how the device retrieves data file information Step Description 1 If the data file register da has been stored to the folder App the device detects this file on its next...

Страница 258: ......

Страница 259: ...ugs This chapter describes how to carry out operating system updates You can download operating systems from the Jetter AG homepage http www jetter de You get to the OS files for download at Mobile Au...

Страница 260: ...veral options to transfer the OS file to the device From within the programming tool JetSym Via FTP connection Via JCM system Via directory App Topic Page OS update by means of JetSym 261 Operating sy...

Страница 261: ...sic port number for JetIP communication The controller must not be de energized during the OS update process To update the OS proceed as follows Step Action 1 Select in the JetSym menu Build the menu...

Страница 262: ...Establish an FTP connection to the JVM 407B 2 Log in with administrator rights 3 Navigate to the directory App 4 Transfer the OS file 5 Wait until the transfer process is completed 6 Use a text editor...

Страница 263: ...d data update copy 1 jvm_ce0_1 00 0 04 os data update jvm_ce0_1 00 0 04 os echo app usb_update_process_marker del System reset exe goto end dm del app usb_update_process_marker del data update jvm_ce0...

Страница 264: ...chronological order Step Description 1 The files are transferred 2 The device is reset 3 The files are installed 4 The device is reset 5 The application appears The update process is documented in the...

Страница 265: ...the device in the Internet Explorer Example To enter the IP address in the range of exceptions of the Internet Explorer proceed as follows Step Action 1 Click menu item Tools and open the dialog Inter...

Страница 266: ...ystem update The page Update lets you select an OS file Browse and copy it to the device Upload If you click the button Last Update Log the history of the last update is displayed This lets you detect...

Страница 267: ...name of the file collection into the file update ini Otherwise the update will not work 2 Copy the file collection or OS and the file update ini into the directory App 3 Restart the device Autostart e...

Страница 268: ......

Страница 269: ...that is to be executed This chapter requires knowledge on how to create application programs in JetSym and how to transmit them via the file system of the JVM 407B Topic Page Application program Defau...

Страница 270: ...his subdirectory assigning the extension es3 to it Path and file names are always converted into lower case letters This file is a text file with one section holding two entries Element Description St...

Страница 271: ...s follows Step Action 1 Create an application program file by JetSym 2 Create the desired directory on the SD card or the USB stick 3 Store the application program file to the desired directory 4 Ente...

Страница 272: ...e application program is loaded from the file Test1 es3 located in the directory TestProgram on the SD card SD TestProgram Test1 es3 or on the USB flash drive USB TestProgram Test1 es3 Application pro...

Страница 273: ...The application program is loaded by the JVM 407B s OS as follows Step Description 1 The OS reads the file App start ini from the internal flash disk 2 The OS evaluates the Project entry It contains...

Страница 274: ......

Страница 275: ...LEDs 362200 Bit coded map of relay Flags General overview 0 255 Application flags remanent 256 2047 Overlaid by registers R 1000000 through 1000055 2048 2303 Special flags Electronic Data Sheet EDS 10...

Страница 276: ...rs 107520 Size of the flash disk in bytes 107521 Used memory in bytes 107522 Blocked memory in bytes 107523 Free memory in bytes CPU hardware 108015 Voltage of backup battery e g for clock 0 Voltage i...

Страница 277: ...57 Calculated total cycle time in s 210058 Maximum time slice per task in s 210060 Task ID for R210061 210061 Priority for task R210060 210063 Length of scheduler table 210064 Index in scheduler table...

Страница 278: ...01 Night lighting of keys 364003 Brightness sensor 364010 Thermal sensor Video Display by default on object 14000 rectangle 364200 Video input 364204 Video options Bit 1 1 Vertical mirroring 364210 Vi...

Страница 279: ...om HEX to BCD 20 Square root 21 Sine 22 Cosine 23 Tangent 24 Arc sine 25 Arc cosine 26 Arc tangent 27 Exponential function 28 Natural logarithm 29 Absolute value 30 Separation of digits before and aft...

Страница 280: ...18 Input 9 19 Input 11 20 Input 13 21 Input 15 22 GND Pin assignment 16 pin Molex Micro Fit 3 0 View from cable side CAN interface Pin Description 1 IN_CAN_1_H 2 TERM_CAN_1 3 OUT_CAN_1_L 4 IN_CAN_2_L...

Страница 281: ...Jetter AG 281 JVM 407B Appendix Appendix This appendix contains electrical and mechanical data as well as operating data Topic Page Interfaces 282 Technical data 286 Index 297 Introduction Contents...

Страница 282: ...tions Option to connect a video camera e g a rear view camera with an operating voltage of DC 12 V The function of the RJ45 jack is as follows Ethernet port to a PC Ethernet port to other devices such...

Страница 283: ...able side Pin Description Terminal number in vehicles 1 Supply voltage U BATT DC 12 V or DC 24 V Terminal 30 2 Ignition Terminal 15 3 Output 1 4 Input 2 5 Input 4 6 Input 6 7 Input 8 8 Input 10 9 Inpu...

Страница 284: ...below The illustration below shows the pin assignment of the connector as viewed from the cable side Pin Description 1 IN_CAN_1_H 2 TERM_CAN_1 3 OUT_CAN_1_L 4 IN_CAN_2_L 5 OUT_CAN_2_H 6 IN_CAN_3_H 7 T...

Страница 285: ...bed below The illustration below shows the pin assignment of the connector as viewed from the cable side Pin Description 1 Supply voltage DC 12 V e g for a camera 2 Video signal 3 Shield 4 Ground GND...

Страница 286: ...mechanical data as well as on operating data of the JVM 407B Topic Page Technical specifications 287 Physical dimensions 290 Physical dimensions of the JVM 407B mounted on a support arm 293 Operating...

Страница 287: ...10 Input 11 15 Low resistance power supply for LEDs 43 k Parameter Description Type of outputs Transistor pnp Rated voltage Supply voltage Signal voltage OFF 1 0 V Signal voltage ON USupply 0 025 V L...

Страница 288: ...o 8 GBytes Power supply 5 V 500 mA max Short circuit capability Yes Transient short circuit current 0 8 A Parameter Description Max number of CAN ports 3 CANMAX 2 Parameter Description Max number of C...

Страница 289: ...Jetter AG 289 JVM 407B Appendix Parameter Description Operating life 4 years min Battery type CR1225 lithium button cell Voltage 3 V Capacity 48 mAh Battery...

Страница 290: ...Physical dimensions The illustrations below show the physical dimensions of the JVM 407B in millimeters The illustration shows the positions permitted for installation Physical dimensions Permitted i...

Страница 291: ...e is prohibited The accumulation of moisture and water droplets in the device can lead to current leakages and corrosion Ensure there is enough space around the housing for servicing requirements It s...

Страница 292: ...ates the safe distance to protect against overheating Please note The JVM 407B increases the temperature of the environment as a result of heat emission under load Power consumption is 5 W The JVM 407...

Страница 293: ...Jetter AG 293 JVM 407B Appendix Physical dimensions of the JVM 407B mounted on a support arm All dimensions are stated in millimeters Measurement unit Front view Side view...

Страница 294: ...294 Jetter AG Appendix Rear view...

Страница 295: ...start Temperatur e end Humidity end Hours 1 23 C 60 23 C 60 1 2 23 C 0 22 C 0 2 3 22 C 0 22 C 0 24 4 22 C 0 70 C 20 2 5 70 C 20 70 C 20 24 6 70 C 20 70 C 95 1 7 70 C 95 70 C 95 24 8 70 C 95 23 C 60 3...

Страница 296: ...o conducted faults Pulse 1 Function status C Pulse 2a Function status B Pulse 2b Function status C Pulse 3a b Function status A Pulse 4 Function status A Pulse 5B 8 ohms 80 V Function status C Complie...

Страница 297: ...device 78 Setting the IP address during runtime 77 K Terminals 36 Example Wiring 37 CAN 46 59 Digital inputs and outputs 41 57 Ethernet 45 Power supply 38 56 Specification CANopen bus cable 50 Video...

Страница 298: ...298 Jetter AG Index V Version registers 30 Making changes to visualizations visualization command 104 Creating visualizations in JetSym 91 in JetViewSoft 86...

Страница 299: ......

Страница 300: ...Jetter AG Graeterstrasse 2 71642 Ludwigsburg Germany Phone 49 7141 2550 0 Fax 49 7141 2550 425 info jetter de www jetter de We automate your success...

Отзывы: