background image

Jetter AG

Programming | 7

JCM-501-E00 User Manual

23 / 59

Number

Section

Features

4

Receive register

Read access to this register reads the re-
ceived characters in the receive buffer
(3).

5

Interface driver

Converts internal signal levels into inter-
face signals.

6

Transmitter

Performs parallel/serial conversion

7

Sending buffer

Buffer for characters to be sent

8

Transmit register

Write access to this register causes the
characters to be entered into the transmit
buffer (7) and to be sent by the transmit-
ter (6).

9

Status and control register Query of filling levels and error states of

buffers; setting of transmission parame-
ters

Tab. 19: 

Elements of the serial interface

Receiving a charac-
ter

Receiving a character is done in 4 steps:

Step

Description

1

The interface driver converts signals "on the line" into internal signal
levels and forwards them to the receiver.

2

The receiver performs serial/parallel conversion of this character and
checks the set communication parameters.

3

The receiver enters the character into the receive buffer if there is any
place left. Otherwise, the character is discarded and buffer overflow is
signaled.

4

Via receive register the character can be read out of the receive buffer.

Sending a charac-
ter

A character is sent in 4 steps:

Step

Description

1

Via transmit register the character is entered into the transmit buffer if
there is any place left. Otherwise the character is discarded.

2

Once the transmitter has sent a character, it reads the next character
from the transmit buffer.

3

The transmitter performs parallel/serial conversion and sends this char-
acter to the interface driver using the set communication parameters.

4

The interface driver converts internal signal levels into the various inter-
face standards

Error detection

When receiving characters, the following errors are detected by the controller and
displayed in the register 

Error state

:

Errors

Description

Effect

Framing error

The format of the received
character does not match the
set parameters.

The erroneous character(s) is
(are) stored in the receive buf-
fer and error bit 

Framing error

is set. The error counter is in-
cremented.

Summary of Contents for JCM-501-E00

Page 1: ...User Manual JCM 501 E00 We automate your success ...

Page 2: ... the original User Manual Revision 4 08 1 Date of issue 1 29 2020 This document has been compiled by Jetter AG with due diligence and based on the known state of the art Revisions and further development of our products are not automatically mentioned in a reviewed document Jetter AG shall not be liable for errors in form or content or for missing updates as well as for damages or disadvantages re...

Page 3: ...Scope of delivery 9 3 5 Nameplate 9 4 Technical specifications 10 4 1 Dimensions 10 4 2 Electrical properties 10 4 3 Mechanical specifications 11 4 4 Environmental conditions 11 4 5 Acoustic signal generator 11 4 6 Ports and interfaces 11 4 6 1 CAN port 11 4 6 2 USB interface 12 4 6 3 Ethernet interface 12 4 6 4 RS 232 interface 13 4 7 EMI values 13 5 Mechanical installation 14 5 1 Requirements fo...

Page 4: ...eiving values 30 7 5 Real time clock 31 7 6 File system 31 7 6 1 Directories 31 7 7 FTP server 31 7 8 Storage options Overview 32 7 8 1 Types of program and data memory 32 7 8 2 Operating system memory 32 7 8 3 File system memory 33 7 8 4 Application program memory 33 7 8 5 Flash disk 33 7 8 6 USB flash drive 34 7 8 7 Storing registers and variables 34 7 8 8 Flag 34 7 9 Monitoring interface activi...

Page 5: ...8 4 Electronic nameplate 44 8 5 Electronic name plate device as a whole 45 8 6 LEDs 45 8 7 Configuration 45 8 8 Ethernet 46 8 9 CAN 46 8 10 Serial interface RS 232 46 8 11 Flash memory 46 8 12 System information 47 8 13 USB flash drive 47 8 14 General system registers 47 8 15 Application program 48 8 16 Networking via JetIP 49 8 17 Modbus TCP server 50 8 18 File system data file function 50 8 19 U...

Page 6: ...rvice Start Jetter We automate your success For further information refer to the following information products Version updates Information about new versions of software products or of the operating sys tem of your controller Online help of the JetSym software Detailed description of software functions with application examples Application oriented manuals Information on file systems and communic...

Page 7: ...s its operation in accordance with this man ual SELV PELV If this device is not used in a vehicle or mobile machine a SELV or PELV power supply unit must be used to supply the device 2 2 2 Usage other than intended This device must not be used in technical systems which to a high degree have to be fail safe Machinery Directive This device is no safety related part as per Machinery Directive 2006 4...

Page 8: ...n 4 2 1 1 3 1 1 Fig 1 Device configuration 1 Screw hole 2 Deutsch connector 3 M12 male connector 4 Nameplate 3 2 Features Deutsch connector DT06 12S Ports and interfaces 2x CAN 1x USB 1x RS 232 all in Deutsch connector as well as Ethernet port in separate M12 connector CPU ARM11 500 MHz 128 MB RAM 512 MB Flash Front rear degree of protection IP65 IP65 Integrated real time clock 3 3 Status indicati...

Page 9: ...in register 108008 ON Green Bit 2 is set in register 108008 ON Orange In register 108008 bits 2 and 3 are set simulta neously D1 OFF This LED is controlled by register 108008 If bit 0 and bit 1 of register 108008 are 0 at the same time the LED is off ON Red Bit 1 is set in register 108008 ON Green Bit 0 is set in register 108008 The system is switched on MR 108008 1 ON Orange In register 108008 bi...

Page 10: ...mensions in mm 4 2 Electrical properties Power supply VBAT_ECU Category Description Rated voltage DC 12 V or 24 V Permissible voltage range VBAT_ECU DC 8 V DC 32 V Maximum current 2 A Typical current consumption logic circuit VBAT_ECU 170 mA at DC 12 V 90 mA at DC 24 V Power consumption Approx 2 W Integrated protective func tions Reverse polarity protection overvoltage voltage surges Tab 1 Power s...

Page 11: ...nical specifications 4 4 Environmental conditions Category Description Standards Operating temperature 20 65 C ISO 16750 4 Climatic conditions Humid heat Storage temperature 20 70 C ISO 16750 4 DIN EN 60068 2 1 DIN EN 60068 2 2 Air humidity 10 95 DIN EN 61131 2 Pollution degree 2 DIN EN 61131 2 Tab 3 Environmental conditions 4 5 Acoustic signal generator Category Description Type Speakers Adjustab...

Page 12: ...hs The maximum permitted cable length depends on the baud rate used and the number of CANopen devices connected Baud rate Max line length Max stub line length Total line length 500 kBaud 100 m 5 m 30 m 250 kBaud 250 m 10 m 60 m Tab 7 Line lengths 4 6 2 USB interface INFO The USB port does not meet the immunity requirement of the E1 directive Therefore use the USB port only for service purposes and...

Page 13: ... USB port only for service purposes and not while the unit is in operation Pulses to ISO 7637 2 Test pulse Values Functional class 1 450 V C 2a 37 V A 2b 20 V C 3a 150 V A 3b 150 V A 4 Ua1 12 V 50 ms Ua2 5 V 500 ms A 24 V systems Ua1 6 V 15 ms Ua2 2 5 V 1000 ms C 12 V systems Tab 11 Pulses to ISO 7637 2 Irradiation to ISO 11452 Parameter Values Functional class Protection against RF noise 20 MHz 2...

Page 14: ...cation must allow air to circulate The installation location must be of sufficient size The device must be easily accessible to allow for service work Space required for installation and ser vice It should be possible to disconnect the connectors at any time 70 Fig 5 Space requirements for installation work in mm Avoiding unsuit able installation lo cations The following installation locations are...

Page 15: ...ll dimensions of screw holes are in millimeters Installing the strain relief Install strain reliefs for the connecting cables Ensure that there is sufficient clearance between the strain reliefs and the con nectors Connectors must not be obstructed so that they can be removed in the event of service Fig 7 Installing the strain relief ...

Page 16: ...ess may cause mechanical stress Protect the cables from bending twisting or chafing Install strain reliefs for the connecting cables NOTICE Surges resulting from missing protection or fusing Surges may cause malfunctions or damage to the product Protect the voltage inputs from surges according to the requirements Ensure that the device is handled in accordance with ESD regulations ...

Page 17: ...ig 8 Deutsch connec tor 12 pins 12 CAN_2_H 1 GND 11 CAN_2_L 2 USB_ 5V 10 CAN_1_H 3 USB_D 9 CAN_1_L 4 USB_D 8 RXD_RS232 5 GND 7 TXD_RS232 6 VBAT_ECU Mating parts Compatible mating parts for the 12 pin DEUTSCH connector are as follows Category Description Manufacturer Deutsch Manufacturer item num ber Housing DT06 12S Manufacturer item num ber Wedgelock W12S Manufacturer item num ber Crimp contact r...

Page 18: ...erty 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 16 Module register properties Numerical formats The numerical formats used in this document are listed in the table below Notation Format of numerical val ues 100 Dec...

Page 19: ...en nodes The JCM 501 E00 supports the following STX functions Features Description CanOpenInit The function CanOpenInit lets you initialize one of the CAN busses CanOpenSetCommand The function CanOpenSetCommand lets you change the heartbeat status of the device itself and of all other devices NMT slaves on the CAN bus CanOpenUploadSDO The function CanOpenUploadSDO lets you ac cess a particular obj...

Page 20: ...ct code Object name Data type Type of access 1000 VAR Device type Unsigned32 RO read only 1001 VAR Error Register Unsigned8 RO 1002 VAR Manufacturer status Unsigned32 RO 1003 ARRAY Pre defined error field Unsigned32 RO 1008 VAR Manufacturer Device Name String const 1008 1009 VAR Manufacturer Hardware Version String const 1009 100A VAR Manufacturer Software Version String const 100A 100B VAR Node I...

Page 21: ...unctions are used in the communication between the JCM 501 E00 and other devices in a vehicle The JCM 501 E00 supports the following STX functions Features Description SAEJ1939Init By calling the SAEJ1939Init function SAE J1939Init one of the existing CAN busses not CAN 0 because it is reserved for CANopen is initialized for the J1939 protocol SAEJ1939SetSA The function SAEJ1939SetSA lets you chan...

Page 22: ...erface 7 4 1 Operating principle The OS provides a receive buffer and a transmit buffer for the user program mable serial interface These buffers can be used to adjust the transfer rate be tween application program and serial interface Block diagram The following illustration shows the block diagram of the user programmable se rial interface Driver Driver Receiver Transmitter Receive FIFO Transmit...

Page 23: ... parameters 3 The receiver enters the character into the receive buffer if there is any place left Otherwise the character is discarded and buffer overflow is signaled 4 Via receive register the character can be read out of the receive buffer Sending a charac ter A character is sent in 4 steps Step Description 1 Via transmit register the character is entered into the transmit buffer if there is an...

Page 24: ...ear sources of interference Incorrectly set communica tion parameters baud rate number of stop bits etc Make sure the set communi cation parameters are con sistent with the settings of the connected device Parity error Jammed data transmission caused by EMC problems defective cables or connec tors Check the wiring and con nectors Use shielded cables Do not lay cables near sources of interference I...

Page 25: ...ized and the transmit and receive buffers are cleared MR 1 Protocol This register lets you set the protocol which is supported by the OS of the con troller That is this register is for defining how the interface is used Property Description Values 1 System logger 2 User programmable interface 3 PcomX Value after reset 3 Tab 21 Protocol MR 2 Baud rate This register lets you set the baud rate Proper...

Page 26: ...ommodate the character it is entered into this buffer This character will be sent once all previously 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 reading out MR 11 The sending buffer functions according to the FIFO principle The first charac ter ente...

Page 27: ...ed 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 Read Oldest character in buffer Takes effect if MR 14 0 Tab 30 Receive buffer 8 bits with deleting the character on reading MR 14 Receive buffer filling level This register shows how many characters ...

Page 28: ...er and re turns them as 32 bit value Assignment Character Bits in register First Bit 0 7 Second Bit 8 15 Third Bit 16 23 Fourth Bit 24 31 Property Description Values 2 147 483 648 2 147 483 647 Type of access Read Removes 4 characters from the buffer Takes effect if MR 14 3 Tab 34 Receive buffer 32 bit little endian MR 18 Receive buffer 32 bit big endian Read access to this register removes 4 char...

Page 29: ...2 into MR 1 2 Enter the desired communication parameters into MR 2 through MR 6 ð The serial interface is set as a user programmable interface Transmit and re ceive buffer are cleared 7 4 3 3 Sending characters A character is sent by entering it into the register Transmit buffer Sending characters ü The user programmable serial interface is configured 1 Check the transmit buffer filling level whet...

Page 30: ... user programmable serial interface is to redirect the DisplayValue command to Device 9 Restrictions When redirecting instruction DisplayValue to the user programmable serial interface the following restriction applies The cursor position will not be taken into account Sending values ü The user programmable serial interface is configured ü The user is familiar with the options of the instruction D...

Page 31: ...e virtual files such as firmware images or protected files such as EDS files File categories The files of the file system are categorized as follows System directories or system files used by the operating system Files accessible to the user INFO For more information refer to the application oriented manual File System which can be downloaded from our homepage 7 6 1 Directories System directories ...

Page 32: ...nter your user name e g admin As Password enter your password e g admin Factory settings The factory settings of the Produktname include one user account NAME admin PW admin INFO For more information on the subjects FTP Server and FTP Client refer to the ap plication oriented manual File System which can be downloaded from our homepage 7 8 Storage options Overview 7 8 1 Types of program and data m...

Page 33: ...nnection By means of file commands from within the application program 7 8 5 Flash disk Data can be stored directly on the flash disk The following rules apply when us ing a flash disk Do not open more than 8 files at a time Separate directory names by a slash The properties of all created files hold their creation date and time as provided by the controller Date time and file size are not availab...

Page 34: ...ter variables VL are always 4 bytes in size They are not initialized by the operating system These RL registers always occupy 480 000 bytes The number of VL register variables is limited to 120 000 The register array for VL or RL ranges from 1000000 to 1119999 Storing to volatile non remanent memory Variables of the application program can be stored to volatile memory Global variables that do not ...

Page 35: ...ogramming refer to the chapter Monitoring Interface Activity in the application oriented manual System Regis ters on our homepage 7 10 User programmable IP interface The user programmable IP interface lets you send or receive any data via Ether net interface on the JCM 501 E00 using TCP IP or UDP IP The data is pro cessed in the application program Applications The user programmable IP interface a...

Page 36: ...lash drive This command file is then automatically processed when the USB flash drive is inserted Functions within the local file system The Autostart function executes the following functions Creating directories Deleting directories Copying files Deleting files Areas of applica tion The AutoStart function is typically used in situations where remote maintenance is not possible there is no PC on ...

Page 37: ...ing steps Step Description 1 The file USB autostart bat is loaded from the USB stick 2 n The commands are processed in ascending order 7 11 3 Terminating the AutoStart mode The last command in the autostart bat file terminates the AutoStart mode Restart As an option you can reboot the device by placing the following command in the last line of your command file del System reset exe Exiting AutoSta...

Page 38: ... file echo off if not exist app autostart exe goto end if exist app update ini goto end if exist app usb_update_process_marker goto dm echo data update jvm_ce0_1 00 0 04 os app update ini md 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 md app progtest copy 1 progtest progtest es3 app progtest progtest es3 copy 1 register da app registe...

Page 39: ...r da has been stored to the directory App the device will detect this file the next time the device is started 2 The device retrieves the file 3 The device maps the values to the registers 4 Once the device has retrieved the file it deletes the data file 5 The device loads the application program 7 12 Operating system update Jetter AG are continuously striving to enhance the operating systems of t...

Page 40: ...s available ü An FTP connection to the device has been established ü The operating system of the JCM 501 E00 is running ü During the operating system update the device is powered on 1 Open an FTP connection to the JCM 501 E00 2 Log in with administrator rights 3 Navigate to the directory App 4 Transfer the OS file 5 Wait until the update process is completed 6 Use a text editor and create on your ...

Page 41: ...e application Update sequence The operating system update runs in the following chronological order Level 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 Log file for docu mentation pur poses The update process is documented in the App update log file 7 12 4 Performing an operating system update via the device ...

Page 42: ...ile Browse and copy it to the device Upload Fig 13 The updating site If you click the button Last Update Log the history of the last update is dis played This lets you detect possible errors 7 12 5 Performing an OS update via JetEasyDownload To update the operating system of a JCM 501 E00 use a Peak CAN dongle and the command line tool JetEasyDownload version 1 00 0 15 or higher by Jetter Performi...

Page 43: ...s the application program to this subdirec tory assigning the extension es3 to it Path and file names are always converted into lower case letters App start ini Structure This file is a text file with one section holding 2 entries 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 ...

Page 44: ...ing via JetIP 260000 269999 RemoteScan 270000 279999 Modbus TCP 310000 319999 File system data files 50000 3359999 User programmable IP interface 1000000 1029999 Application registers non volatile 8 3 Flags General overview Register ranges Description 0 255 Non volatile application flags 256 2047 Mapped to registers R 1000000 1000055 2048 2303 Special flags 8 4 Electronic nameplate EDS data can be...

Page 45: ...gister string 100708 Day 100709 Month 100710 Year Identification 100950 Internal version number 100951 Module ID 100952 100962 Module name register string 100965 Config ID 100966 Vendor ID 100967 Variant ID 100968 Type ID 100992 Navision ID 100993 FBG version 8 6 LEDs Register ranges Description 108008 LEDs D1 and D2 Bit 0 LED D1 green 1 LED D1 red 2 LED D2 green 3 LED D2 red 8 7 Configuration Reg...

Page 46: ...face is inactive no data can be re ceived transmitted 1 The serial interface is active data can be re ceived transmitted 103110 Sending buffer 103111 Sending buffer filling level 103112 Receive buffer without deleting characters on reading 103113 Receive buffer with deleting characters on reading 103114 Receive buffer filling level 103115 Receive buffer 16 bit little endian 103116 Receive buffer 1...

Page 47: ...ata medium is ready 109001 1 Data medium is write protected only valid if R 109000 3 109002 Size in MBytes 109003 Free memory in MB 109004 Memory available to users in MB 109005 Memory used in MB 8 14 General system registers Register ranges Description 200000 OS version major 100 minor 200001 Bit 0 1 Application program is running 200008 Error register identical with 210004 Bit 8 Illegal jump Bit...

Page 48: ... Error history Index 202982 Error history Entry 203000 Interface monitoring JetIP 203005 Interface monitoring Debug server 203100 203107 32 bit overlaying Flags 0 255 203108 203123 16 bit overlaying Flags 0 255 203124 203131 32 bit overlaying Flags 2048 2303 203132 203147 16 bit overlaying Flags 2048 2303 209700 System logger Global enable 209701 209739 Enabling system components 8 15 Application ...

Page 49: ...1 210072 Manual triggering of a timer event bit coded 210073 End of cyclic task task ID 210074 Command for cyclic tasks 210075 Number of timers 210076 Timer number for R210077 210077 Timer value in milliseconds 210100 210199 Task state 210400 210499 Task Program address 210600 Task ID of a cyclical task for R210601 210601 Processing time of a cyclical task in per mil figure 210609 Tasklock timeout...

Page 50: ... data file function Register ranges Description 312977 Status of file operation 312978 Task ID 8 19 User programmable IP interface Register ranges Description 350000 Reading out the connection list Last result 1 No connection selected 350001 1 Client 2 Server 350002 1 UDP 2 TCP 350003 IP address 350004 Port number 350005 Connection state 350006 Number of sent bytes 350007 Number of received bytes ...

Page 51: ...112 2127 203144 2240 2255 203137 2128 2143 203145 2256 2271 203138 2144 2159 203146 2272 2287 203139 2160 2175 203147 2288 2303 32 combined special flags 203124 2048 2079 203128 2176 2207 203125 2080 2111 203129 2208 2239 203126 2112 2143 203130 2240 2271 203127 2144 2175 203131 2272 2303 Application registers with overlaid flags 1000000 256 287 1000028 1152 1183 1000001 288 319 1000029 1184 1215 ...

Page 52: ...of compatibility the system functions are listed below In JetSym STX use the corresponding JetSym STX functions instead of system functions System functions Description 4 Converting BCD to HEX 5 Converting 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 ...

Page 53: ...PROTO COL Elements Int Const Ref Configuration RSCAN_DSCR Int 81 Function RemoteScanStart Protocol int Int 82 Function RemoteScanStop Protocol int Int 90 91 Function FileDAWrite Const Ref FileName String Const Ref Mode String VarType DAWRITE_TYPE First Int Last int Int 92 Function FileDARead Const Ref FileName String Int 150 Function NetCopyListConfig IPAddr Int IPPort Int Const Ref List TNetCopyL...

Page 54: ...evice 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 and equipment from other manufacturers must therefore not be used Any liability for any damages resulting from the use of non original parts and equipment is excluded 9 2 Storage and shipment Storage When storing the device o...

Page 55: ...or 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 information when contacting our technical hotline Hardware revision and serial number For the hardware revision number please refer to the nameplate OS version To determine the operating system versio...

Page 56: ...an be obtained from Jetter AG Accessories Item number Connector set consisting of Deutsch housing crimp contacts female 10001264 Connection cable consisting of Deutsch housing pre assembled and tested with 1 5 m open stranded wire 60878741 Connection cable consisting of Deutsch housing assembled and tested with 0 5 m open wire Sub D for CAN and power plug switch 60878737 Interconnecting programmin...

Page 57: ... 10 Fig 5 Space requirements for installation work in mm 14 Fig 6 All dimensions of screw holes are in millimeters 15 Fig 7 Installing the strain relief 15 Fig 8 Deutsch connector 12 pins 17 Fig 9 M12 connector 4 pins 17 Fig 10 Block Diagram Serial Interface 22 Fig 11 Accessing the device web site 41 Fig 12 Device website Proxy settings 42 Fig 13 The updating site 42 ...

Page 58: ...sample programs 18 Tab 19 Elements of the serial interface 22 Tab 20 Register numbers of the serial interface 25 Tab 21 Protocol 25 Tab 22 Baud rate 25 Tab 23 Number of data bits per character 25 Tab 24 Stop bits 25 Tab 25 Parity 26 Tab 26 Activating the serial interface 26 Tab 27 Sending buffer 26 Tab 28 Sending buffer filling level 26 Tab 29 Receive buffer 8 bits without deleting the character o...

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

Reviews: