Appendix – Lenze EMF2102IB User Manual

Page 49

Advertising
background image

Appendix

8-17

L

_^ONMObk

The code number C1002 is converted into the ASCII string ” E<” , if they are transmitted to the
controller by a host.

Addressing via code bank

With previous LECOM-A/B drivers, only code numbers in the range from 0 to 255 could have been
addressed, since these drivers used only one byte as code number. To achieve the addressing of
the wider code-number range with these drivers, use the code banking.The code-number range 0

¼ 255 is displayed as a window over the whole code-number range. This is controlled via the code
C0249 (code bank). Code C0249 can always be accessed via number 249, independent of the
currently set code bank.

Assignment:

Code bank

Code offset

Code-number range

0

0

0

¼ 255

1

250

250

¼ 505

2

500

500

¼ 755

3

750

750

¼ 1005

4

1000

1000

¼ 1255

5

1250

1250

¼ 1505

6

1500

1500

¼ 1755

7

1750

1750

¼ 2005

Note:
Code banking is only active when the standard addressing is being used. If the selected code
numbers are higher than 255, the code-number range increases correspondingly. Only the
corresponding code-number offset is selected by means of the code bank.

Example:
Set the code bank INTEGER (1002/250) =4 in C0249 to address the code number 1002. C1002 is
then accessed via the code number C02.

Addressing via input selection

Simple LECOM-A/B drivers, which only use the standard addressing, cannot address subcodes.
The input selection C0248 has been developed to offer the possibility of addressing the subcodes.
When using the standard addressing, the value entered in C0248 is always considered as the
subcode. The code C0248 can always be accessed via number 248, independent of the currently
set code bank and the subcode used.

Example:
Enter value 1 in C0248 to address the JOG value 1 in subcode 1. Now subelement 1 is always
addressed when accessing C39.

Tip!

After a subelement has been accessed through C0248, C0248 should be reset to 0 to avoid the
addressing of a subelement ” by accident” when accessing a code.

Show/Hide Bookmarks

Advertising