background image

Jetter AG

Programming | 8

JCM-631 User Manual

42 / 78

8 Programming

The JCM-631 is programmed with the integrated development environment 
JetSym.

System data and system functions are accessed via system registers.

8.1 Abbreviations, module register properties and formats

Abbreviations

The abbreviations used in this document are listed in the table below:

Abbreviation

Description

R 100

Register 100

MR 150

Module register 150

Tab. 26: 

Abbreviations

Module register
properties

Each module register is characterized by certain properties. Most properties are
identical for many module registers. In the following description, module register
properties are mentioned only if a property deviates from the default properties
listed below.

Property

Standard design

Type of access

Read/write

Value after reset

0 or undefined (e.g. revision/version number)

Takes effect

Immediately

Write access

Always

Data type

Integer

Tab. 27: 

Module register properties

Numerical formats

The numerical formats used in this document are listed in the table below:

Notation

Format of numerical values

100

Decimal

0x100

Hexadecimal

0b100

Binary

Tab. 28: 

Numerical formats

JetSym sample 
programs

The notation for sample programs used in this document is listed in the table be-
low:

Notation

Format of numerical values

Var

When

Task

Keyword

BitClear();

Commands

100 0x100 0b100

Constant numerical values

// This is a com-

ment

Comment

// ...

Further program processing

Tab. 29: 

JetSym sample programs

Summary of Contents for JetControlMobile 631

Page 1: ...User Manual JetControlMobile 631 Controller We automate your success 60885160_01...

Page 2: ...german original User Manual Revision 1 00 2 Date of issue 7 6 2021 This document has been compiled by Jetter AG with due diligence and based on the known state of the art Revisions and further develo...

Page 3: ...ifications 11 4 1 Dimensions 11 4 2 Mechanical specifications 11 4 3 Electrical properties 12 4 3 1 CPU core and operating system 13 4 3 2 Ports and interfaces 13 4 3 3 Inputs and outputs 15 4 4 Envir...

Page 4: ...8 Programming 42 8 1 Abbreviations module register properties and formats 42 8 2 Storage options Overview 43 8 2 1 Operating system memory 43 8 2 2 File system memory 43 8 2 3 Application program mem...

Page 5: ...ce activities 64 8 10 User programmable IP interface 65 9 Registers Overview 66 10 Maintenance and repairs 75 10 1 Maintenance repairs and disposal 75 10 2 Storage and shipment 75 11 Service 76 11 1 C...

Page 6: ...In the case of missing or inadequate technical knowledge or knowledge of this document any liability is excluded Availability of infor mation Make sure this document is kept at the ready in the vicin...

Page 7: ...fications Intended use of the product includes its operation in accordance with this man ual 2 2 2 Usage other than intended Do not use the device in technical systems for which a high level of fail s...

Page 8: ...faces such as CAN Ethernet RS 232 and USB as well as digital inputs and outputs are available 3 1 Design A A 1 2 4 3 5 7 6 8 9 Fig 1 Design 1 Fastening eye 2 X71 Power supply connector and CAM7 CAM8 3...

Page 9: ...2 D1 LED 3 3 1 Diagnostic capability via LEDs The color and status of the LEDs provide diagnostic options for various states In the programming tool JetSym diagnostics can be performed in the Hardware...

Page 10: ...ter 700000063 has the value 1 ON Green Register 700000063 has the value 2 ON Orange Register 700000063 has the value 3 3 4 Nameplate 2 3 1 7 6 5 4 Fig 3 Sample nameplate 1 Company logo 2 Item number a...

Page 11: ...JCM 631 4 1 Dimensions 174 133 5 159 7 O 5 6 194 5 35 46 70 77 4 150 53 7 Fig 4 Dimensions in mm 4 2 Mechanical specifications Parameter Description Standards Weight 1250 g Housing specifications Mat...

Page 12: ...N 60529 Conditions for IP67 The mating connectors in cluding the wire glands are also IP67 rated The prescribed mounting ori entation must be ob served Tab 1 Mechanical specifications 4 3 Electrical p...

Page 13: ...r Coprocessor CAN bootloader via CANopen Firmware Coprocessor firmware CAN interface and video con troller Tab 3 CPU core and operating system 4 3 2 Ports and interfaces CAN port Parameter Description...

Page 14: ...inter Connection topology 1x connection via main connector 1x connection via service connector M12 Tab 7 Serial interface RS 232 Video interfaces FPD Link II Parameter Description Protocols FPD Link I...

Page 15: ...ermal tripping hardware Reverse polarity protection over entire device Short circuit proof Electrical isolation None Tab 10 Digital outputs CAMERA POWER OUT Parameter Description Quantity 1 Power cons...

Page 16: ...cations Degree of pollution Elec tronics Degree of pollution 2 DIN EN 61131 2 Tab 13 Environmental conditions Climatic tests Humidity heat cyclic Parameter Description Temperature cycling range 25 C 5...

Page 17: ...accelera tion 2 2 g Test direction X Y Z direction Test duration 22 h per room axis Total test duration 66 h mere vibration time Temperature profile See thermal cycling test DIN EN 60068 2 14 Tab 17 C...

Page 18: ...006 28 EC and 2009 19 EC with 100 V m E1 type approval and EN 61000 6 2 2001 CE Limit value Tab 19 Emitted interference Interference immu nity to external magnetic field Parameter Description Standard...

Page 19: ...nections with appropriate single wire seals 5 1 Requirements for installation location and mounting surface NOTICE Overheating Heat build up can impair the function of the device Mount the device on a...

Page 20: ...ew nuts M5 galvanized 8 8 Tab 21 Fastening material Mounting surface Prepare the mounting surface as follows 1 Mark out the positions of the 4 fastening lugs 2 Center punch the 4 holes 5 3 Mounting or...

Page 21: ...chanical installation 5 JCM 631 User Manual 21 78 5 3 2 Prohibited mounting orientations Mounting overhead or with the connection plugs pointing upwards are not al lowed 1 2 Fig 6 Prohibited mounting...

Page 22: ...ction of the device Use shielded connecting cables to CAN interfaces Connect termination resistors of 120 ohms at both ends of the CAN bus NOTICE Improving electromagnetic compatibility Improper imple...

Page 23: ...L CAN2 Low 6 I O CAN1_L CAN1 Low 7 I O CAN4_L CAN4 Low 8 I O CAN4_H CAN4 High 9 O GND Ground Reference ground RS 232 COM1 10 O GND Ground GND supply for camera 8 11 O DO1 12 O DO2 13 n c 14 O Video in...

Page 24: ...insulation 2 7 mm Mating part of the connector Compatible mating part of the 35 pin AMPSEAL connector Parameter Description Manufacturer AMPSEAL Item no of housing 776164 4 Item no of crimp contact j...

Page 25: ...or female lets you connect the following Camera 1 6 4 3 1 2 5 Fig 10 M12 female 5 pin B coded Pin Signal Description 1 Video 2 GND Ground 3 Video 4 12 V 24 V Power supply 12 V 24 V via CAM Power IN 5...

Page 26: ...is connected and jumpered 1 Connect the following pins Power supply Terminating resistor of 120 at the beginning and end of the CAN bus 2 Switch on the ignition The controller is supplied with power...

Page 27: ...PC are switched on and connected with an Ethernet cable 1 Set up a new network connection in the Windows operating system of your PC How you set up a network connection depends on the version of the...

Page 28: ...uction relevant data Determining the OS version of the device and its software components 7 1 1 Device web site The device has a web interface with a graphical user interface You can access the Web In...

Page 29: ...temlog The Systemlog page provides a list of system events that have occurred since the device was started Fig 13 Systemlog page I O Info The I O Info page provides a list of device specific registers...

Page 30: ...ease note that the CAN settings on the device web page are taken over by the STX program Fig 15 Settings page To change values on the Settings page proceed as follows 1 Click on the Edit button to edi...

Page 31: ...vision or OS version of the device and its components You will need this information when contacting the hotline of Jetter AG in case of a problem 7 1 3 1 Hardware revisions The device has special reg...

Page 32: ...ersion A released version can be recognized by both Branch and Build having got value 0 Registers Overview The registers listed below let you retrieve the operating system versions Register Descriptio...

Page 33: ...oller With the programming tool JetSym Via FTP connection From a USB flash drive From the application program Via device website Via JetEasyDownload 7 2 1 1 Operating system update using the programmi...

Page 34: ...pdate from a USB flash drive A USB flash drive lets you transfer an OS file to the JCM 631 Contents of the batch file The batch file autostart bat must have the following contents echo off if not exis...

Page 35: ...oses The update process is documented in the App update log file 7 2 1 4 Updating the OS from within the application program The file functions included in the STX language let you carry out a program...

Page 36: ...orer shows all properties and version num bers of your device It also lets you configure the Ethernet and CANopen inter faces Accessing the device web site To have the device web site displayed on you...

Page 37: ...select an OS file Browse 2 Copy the OS file to the device Upload A message appears when the upload is complete 3 Reboot the controller Fig 19 Device website Update INFO Displaying the log of the last...

Page 38: ...etter 11 PCAN_DEV default device 20 IXXAT V2 18 22 IXXAT V3 100 CAN hardware detected first T nodeID Target NodeID B Num Baud rate 0 20 kB 7 1 MB S Num SDO Timeout Default 300 ms L name OS file name e...

Page 39: ...tory Description System System configuration System information USB Root directory of the USB flash drive App Directory for applications Data Folder for storing data Windows RAM disk drive Tab 25 Syst...

Page 40: ...sensitivity Directory and file names with a length of up to 63 characters are possible All characters except and are permitted for directory and file names The location of the directories App and Dat...

Page 41: ...eed an up to date version of the software JetSym and a USB CAN adapter 1 Plug the USB CAN adapter into a USB port of your PC 2 If the hardware installation wizards opens close it 3 If you use the USB...

Page 42: ...register properties are mentioned only if a property deviates from the default properties listed below Property Standard design Type of access Read write Value after reset 0 or undefined e g revision...

Page 43: ...ring OS data Type of access The user is not allowed to directly access the OS memory The operating system can be changed via update 8 2 2 File system memory The file system memory is for storing data...

Page 44: ...s Var Count Int volatile since not localized End_Var Task Inkrement Autorun Loop Inc Count Delay T 2s End_Loop End_Task Setup pane The JetSym setup pane shows the content of the variable Number Descri...

Page 45: ...cial registers let you control OS functions and retrieve status information Properties Global variables with dedicated addresses VL When the operating system is launched special registers are initiali...

Page 46: ...255 Properties of over laid user flags Global variables which are assigned to permanent addresses MX Non volatile Overlaid by registers 1000000 1000055 Quantity 1 792 Flag numbers 256 2047 Properties...

Page 47: ...es Element Description Startup Section name Project Path to the application program file This path is rela tive to app Program Name of the application program file Example Startup Project test_program...

Page 48: ...en Manager SDO Manager CiA DR 303 Information on cables and connectors INFO Further information For more information on this subject refer to the application oriented manual CANopen STX API available...

Page 49: ...t consumer time the status is set to offline The application program lets you define heartbeat functions such as Displaying information to the user Rebooting the device Ignoring process data INFO Furt...

Page 50: ...rver 1 SDO parameter SDO parameter RO 1201 RECORD Server 2 SDO parameter SDO parameter R W 1203 RECORD Server 3 SDO parameter SDO parameter R W 1203 RECORD Server 4 SDO parameter SDO parameter R W INF...

Page 51: ...ication STX functions are used in the communication between the JCM 631 and other devices in a vehicle The JCM 631 supports the following STX functions Function Description SAEJ1939Init By calling the...

Page 52: ...bytes in the message which is re quested by the SAEJ1939GetDM1 or SAEJ1939GetDM2 function SAEJ1939 GetSPNConversion Calling up the function SAEJ1939GetSPNConversion determines the currently set conver...

Page 53: ...face The user programmable serial interface consists of the following elements Number Section Function 1 Interface driver Converts the signals of the interface into in ternal signal levels 2 Addressee...

Page 54: ...uffer 3 The transmitter performs parallel serial conversion and sends this character to the interface driver using the set communication parame ters 4 The interface driver converts internal signal lev...

Page 55: ...ta bits per character This register lets you set the number of data bits per character Property Description Values 5 6 7 8 Value after reset 8 Tab 34 Number of data bits per character MR 4 Stop bits T...

Page 56: ...sly entered characters have been sent Prior to sending characters from the application program it must be checked whether the sending buffer is able to accommodate characters This can be checked by re...

Page 57: ...next can be read out during the next read access Property Description Values 0 31 5 bits per character 0 63 6 bits per character 0 127 7 bits per character 0 255 8 bits per character Type of access Re...

Page 58: ...little endian Read access to this register removes 4 characters from the receive buffer and re turns them as 32 bit value Assignment Character Bits in register First Bit 0 7 Second Bit 8 15 Third Bit...

Page 59: ...ctivated 8 6 3 2 Configuring the serial interface Module registers MR 2 MR 6 are used to configure the user programmable se rial interface Configuring the interface The JCM 631 and the device to commu...

Page 60: ...ter 2 Read the character from the register Receive buffer The character is taken from the receive buffer 8 6 3 5 Receiving values Values are received by reading characters from registers MR 15 through...

Page 61: ...here are 6 input keys on the left and right side as well as at the bottom The keys are arranged on the displays as follows Display 1 X81 Reg Bit F Code Reg Bit F Code 0x80 F1 0x01 F7 0x40 F2 0x02 F8 0...

Page 62: ...631 User Manual 62 78 Bit coded mapping of LEDs The signal LEDs are set via registers Display 1 Top bot tom Left Right 600012000 0x 00 F3 F3 F3 Display 2 Top bot tom Left Right 600022000 0x 00 F3 F3 F...

Page 63: ...to the following storage media Internal flash disk USB flash drive FTP server function activation The FTP server function is always enabled on this device It is enabled when you order this feature Tha...

Page 64: ...following interface activities can be monitored JetIP server via Ethernet interface STX debug server via Ethernet interface Purpose The monitoring function for interface activities can be used amongs...

Page 65: ...ired IP addressing e g IP address port number subnet mask TCP e g connection establishment termination data stream data backup UDP e g datagram Restrictions For communication via user programmable IP...

Page 66: ...ogram 310000 319999 File system data files 360000 369999 Display PLC 1000000 1029999 Application registers non volatile integer float Register range Description 600000000 600299999 JCM registers JCM 6...

Page 67: ...buffer 16 bit little endian 103X16 Receive buffer 16 bit big endian 103X17 Receive buffer 32 bit little endian Register Description 103x18 Receive buffer 32 bit big endian 103X19 Error counter Revisio...

Page 68: ...troller model 202980 Error history Number of entries Register Description 202981 Error history Index 202982 Error history Entry 203000 Interface monitoring JetIP 203001 Interface monitoring SER 203005...

Page 69: ...LinstL Int 151 Function NetCopyListSend Handle int Int 152 Function NetCopyListDelete Han dle int Int Application program Register Description 210000 Application program is running bit 0 1 210001 JetV...

Page 70: ...dress 210600 Task ID of a cyclical task for R210601 210601 Processing time of a cyclical task in per mil figure 210609 Task lock timeout in ms 1 Monitoring disabled 210610 Timeout bit coded bit 0 time...

Page 71: ...ltage Bit 10 CAM5_Undervoltage Bit 11 CAM5_Overvoltage Bit 12 CAM6_Undervoltage Bit 13 CAM6_Overvoltage Bit 14 CAM7_Undervoltage Bit 15 CAM7_Overvoltage Bit 16 CAM8_Undervoltage Bit 17 CAM8_Overvoltag...

Page 72: ...im RTC gespeichert R 1 min Register range Description Type of ac cess Unit 700 000 040 DIGITAL_IO_Status R BIT FIELD Bit 0 DI1_DigitalValue Bit 1 DI2_DigitalValue Bit 2 DI3_DigitalValue Bit 3 DO1_Dig...

Page 73: ...31 203110 32 47 203111 48 63 203112 64 79 203113 80 95 203114 96 111 203115 112 127 203116 128 143 203117 144 159 203118 160 175 Register Description 203119 176 191 203120 192 207 203121 208 223 2031...

Page 74: ...1024 1055 1000025 1056 1087 1000026 1088 1119 1000027 1120 1151 1000028 1152 1183 1000029 1184 1215 1000030 1216 1247 1000031 1248 1279 1000032 1280 1311 1000033 1312 1343 1000034 1344 1375 1000035 1...

Page 75: ...and alterations to the device and its functions are not allowed In the case of modifications to the device any liability is excluded The original parts are specifically designed for the device Parts...

Page 76: ...use the contact form on our homepage Technical hotline Jetter We automate your success You are also welcome to send an e mail to our technical hotline hotline jetter de Please supply the following inf...

Page 77: ...a jacks Labeling strips JCM 631 On request Programming cable 2 m M12 8 pin X coded to RJ45 Cat5e 60880135 Programming and service cable USB socket and RS 232 to sub D 60882337 Tab 48 Accessories 12 1...

Page 78: ...We automate your success Jetter AG Graeterstrasse 2 71642 Ludwigsburg www jetter de E mail info jetter de Phone 49 7141 2550 0...

Reviews: