Jetter AG
Programming | 8
User Manual – JCM-501-E01
44 / 65
Sending values
A simple way to send values via 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
DisplayValue()
(refer to the online help which comes with JetSym).
1.
Set the special registers for formatting the display, which are used in connec-
tion with the instruction
DisplayValue()
, to the desired values.
2.
Use the instruction
DisplayValue()
.
3.
Specify
Device 9
.
ð
The task waits at this instruction until all characters have been entered into
the transmit buffer.
Receiving values
Values are received by reading characters from registers MR 15 through MR 18
Receive buffer registers
.
Receiving values
ü
The user-programmable serial interface is configured.
1.
Check the filling level of the receive buffer to make sure that it contains at
least 2 or 4 characters.
2.
Read the values from
Receive buffer
registers MR 15 through MR 18.
ð
The characters are read from the receive buffer.
8.5 Real-time clock
A real-time clock is used for time measurement. If there is a permanent connec-
tion between ECU_PWR of the controller and the vehicle battery, the real-time
clock will continue to run for a certain period of time even when the controller is
switched off. The real-time clock has no automatic daylight savings time function.
The JCM-501-E01 has a built-in battery with a service life of at least 10 years.