Jetter AG
Programming | 8
User Manual – JCM-501-E01
42 / 65
MR 18
Receive buffer; 32-bit; big 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 24 ... 31
Second
Bit 16 ... 23
Third
Bit 8 ... 15
Fourth
Bit 0 ... 7
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. 38:
Receive buffer;
32-bit; big endian
MR 19
Error counter
This register shows the number of detected errors.
Property
Description
Values
0 ... 2,147,483,647
Type of access
Read/write (clearing)
Tab. 39:
Error counter
8.4.3 Programming
Activating the serial interface
Module register MR 7 lets you activate the user-programmable serial interface.
Configuring the
interface
ü
The JCM-501-E01 and the device to communicate with have been wired ac-
cording to the RS-232 interface standard.
►
Enter value 1 into MR 7.
ð
The serial interface is activated.
Configuring the serial interface
Module registers MR 1 … MR 6 are used to configure the user-programmable se-
rial interface.
Configuring the
interface
ü
The JCM-501-E01 and the device to communicate with have been wired ac-
cording to the RS-232 interface standard..
1.
Enter value 2 into MR 1.
2.
Enter the desired communication parameters into MR 2 … MR 6.
ð
The serial interface is set as a user-programmable interface. Transmit and re-
ceive buffer are cleared.