Das non volatile ram, K-bus and ip-link operation – BECKHOFF CX1100-000x User Manual

Page 13

Advertising
background image

Product overview

Embedded PC

11

Display Cmd Register:

Bit 0 R/#W

Bit 1 DATA/#CMD
Bit 2 EN

Bit 7 BL OFF

R/#W:

This bit control the Read or Write operation for programming the display2x16 char LCD display.

DATA/#CMD: This bit controls whether the byte "Display Data Reg" holds a command or display data.

EN:

This is the enable bit for executing the operation with the display controller.

BL OFF:

If set, this bit turns of the backlight of the LCD Display. This feature may be used for blinking with the

backlight, thus attracting the users attention to an important message on the display. It may also be

used to save power in the case of power loss and UPS operation.

Display Data Register:

These are the data bits for issuing commands or reading/writing data to the display controller. These bits are
operated in conjunction with bits 0,1,2 of the Display Cmd Reg. For more detailed information please refer to the
display controller documentation.

In Register:

These bits reflect the contact status of the 4+1 direction navigation switch on the front side of the CX1100 unit. These
events may be used by a software for implementing a menu driven data input/output together with the LCD display.

Bit 0 UP
Bit 1 DOWN
Bit 2 LEFT
Bit 3 RIGHT
Bit 4 SELECT
Bit 5 PWR-FAIL (reserved for future use - do not use)

An example for access the switch is given in the detailed description of the switch.

Out Register:

Bit 0 RES C165
This bit resets the microcontroller 80C165 and restarts the initialization of the K-Bus and IP-Link circuit. For doing the
reset, this bit must be set high and then set back to low. There is no need for an explicit hold time.
This bit may be used to recover from K-Bus faults such as removing a terminal during operation. It needs to be set at
least once at startup or initialization of the user software before operating the k-Bus.

Bit 1 IRQ0 (reserved for future use - do not enable)
Bit 2 IRQ1 (reserved for future use - do not enable)
Bit 3 IRQ2 (reserved for future use - do not enable)

Memory region 0xD1004 to 0xD1008:

In this region the type of the power supply module is encoded. By adding the four registers the type description is
given:

CX1101

CX1100-0001 power supply unit with display, 4 + 1 navigation switch and NOVRam

CX1102

CX1100-0002 power supply unit with display, 4 + 1 navigation switch, NOVRam and K-bus connection

CX1103

CX1100-0003 power supply unit with display, 4 + 1 navigation switch, NOVRam, K-bus-connection and

IP-Link-connection

CX1104

CX1100-0004 power supply unit with display, 4 + 1 navigation switch, NOVRam and E-bus connectio.

Das Non Volatile RAM

The NOVRAM is one of the most important functions of the power supply unit. The access is realized via the PC104
bus. The mapping to PLC is realized by TwinCAT System Manager. Here needed variables can be defined and
mapped to memory. Further details are given in the TwinCAT documentation.

K-BUS and IP-LINK Operation

This section describes how to trigger the K-Bus (and in the case of CX1100-0003 also the I/O-boxes connected to IP-

Advertising