Модернизация станка Dainichi F-15 с Fanuc O-TC

Обсуждение установки, настройки и использования LinuxCNC. Вопросы по Gкоду.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

хммм... не загружается 3pwmgen....
может прошивка не та... щас посмортим...
Аватара пользователя
Lexxa
Мастер
Сообщения: 2703
Зарегистрирован: 16 дек 2011, 16:48
Репутация: 319
Настоящее имя: Алексей
Откуда: ryazan
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Lexxa »

haruri писал(а):
Lexxa писал(а):Что конкретно там у Вас сыпется?
Чушь какая-то! ТС вводит в заблужение!
У фанука привода управляются по шине FSSB. Интерфейс у шины волоконно-оптический.
Все привода в станке у фанука включаются последовательно друг за другом.
По этой же оптике передаются и сигналы с энкодеров, сами энкодеры (пульскодеры в терминологии фанука) обрабатываются в приводе.
Корзина фанука начинает сыпаться... Какая там корзина? Там одна материнская плата, память и плата управления приводами.
Вот такая корзинка
тогда это не 0 фанук
:bender:
haruri
Новичок
Сообщения: 19
Зарегистрирован: 26 июн 2015, 13:08
Репутация: 0
Настоящее имя: Руслан
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение haruri »

Lexxa писал(а): тогда это не 0 фанук
Тогда, что это? Вот фото
Вложения
IMG_1462.JPG (3324 просмотра) <a class='original' href='./download/file.php?id=54660&mode=view' target=_blank>Загрузить оригинал (2.48 МБ)</a>
IMG_1474.JPG (3324 просмотра) <a class='original' href='./download/file.php?id=54661&mode=view' target=_blank>Загрузить оригинал (2.31 МБ)</a>
Аватара пользователя
Lexxa
Мастер
Сообщения: 2703
Зарегистрирован: 16 дек 2011, 16:48
Репутация: 319
Настоящее имя: Алексей
Откуда: ryazan
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Lexxa »

Это O, не не ноль.
Древний как кости мамнока
:bender:
haruri
Новичок
Сообщения: 19
Зарегистрирован: 26 июн 2015, 13:08
Репутация: 0
Настоящее имя: Руслан
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение haruri »

Lexxa писал(а):Это O, не не ноль.
Древний как кости мамнока
В документации на fanuc стоит ноль. Смотрите вложенный файл - часть документации
Вложения
61395e.pdf
(212.35 КБ) 781 скачивание
Аватара пользователя
alexg-nn
Мастер
Сообщения: 793
Зарегистрирован: 08 фев 2015, 12:45
Репутация: 127
Настоящее имя: Алексей
Откуда: Нижний Новгород
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение alexg-nn »

Какой прикольный тёплый ламповый монитор :)
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

Вот что пишут на linuxcnc:
http://www.linuxcnc.org/index.php/engli ... mgen#60847
можно попробовать с прошивкой TPEN6_6.BIT
посмотреть, что загрузится ...
haruri
Новичок
Сообщения: 19
Зарегистрирован: 26 июн 2015, 13:08
Репутация: 0
Настоящее имя: Руслан
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение haruri »

Nick писал(а):Вот что пишут на linuxcnc:
http://www.linuxcnc.org/index.php/engli ... mgen#60847
можно попробовать с прошивкой TPEN6_6.BIT
посмотреть, что загрузится ...
А в этом случае, что-то загрузилось из 3pwmgen

Код: Выделить всё

alex@mesal:~$ halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci config="firmware=hm2/5i20/TPEN6_6.BIT num_encoders=3 num_3pwmgens=2 num_pwmgens=0"
halcmd: show 
Loaded HAL Components:
ID      Type  Name                                      PID   State
     5  RT    hm2_pci                                         ready
     3  User  halcmd3515                                 3515 ready
     4  RT    hostmot2                                        ready

Component Pins:
Owner   Type  Dir         Value  Name
     5  float IN              0  hm2_5i20.0.3pwmgen.00.A-value
     5  float IN              0  hm2_5i20.0.3pwmgen.00.B-value
     5  float IN              0  hm2_5i20.0.3pwmgen.00.C-value
     5  bit   IN          FALSE  hm2_5i20.0.3pwmgen.00.enable
     5  bit   OUT         FALSE  hm2_5i20.0.3pwmgen.00.fault
     5  float IN              0  hm2_5i20.0.3pwmgen.01.A-value
     5  float IN              0  hm2_5i20.0.3pwmgen.01.B-value
     5  float IN              0  hm2_5i20.0.3pwmgen.01.C-value
     5  bit   IN          FALSE  hm2_5i20.0.3pwmgen.01.enable
     5  bit   OUT         FALSE  hm2_5i20.0.3pwmgen.01.fault
     5  s32   OUT             0  hm2_5i20.0.encoder.00.count
     5  s32   OUT             0  hm2_5i20.0.encoder.00.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.00.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.00.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.00.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.00.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.00.position
     5  float OUT             0  hm2_5i20.0.encoder.00.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.00.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.00.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.00.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.reset
     5  float OUT             0  hm2_5i20.0.encoder.00.velocity
     5  s32   OUT             0  hm2_5i20.0.encoder.01.count
     5  s32   OUT             0  hm2_5i20.0.encoder.01.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.01.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.01.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.01.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.01.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.01.position
     5  float OUT             0  hm2_5i20.0.encoder.01.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.01.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.01.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.01.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.reset
     5  float OUT             0  hm2_5i20.0.encoder.01.velocity
     5  s32   OUT             0  hm2_5i20.0.encoder.02.count
     5  s32   OUT             0  hm2_5i20.0.encoder.02.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.02.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.02.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.02.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.02.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.02.position
     5  float OUT             0  hm2_5i20.0.encoder.02.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.02.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.02.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.02.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.reset
     5  float OUT             0  hm2_5i20.0.encoder.02.velocity
     5  u32   IN     0x00001FC8  hm2_5i20.0.encoder.sample-frequency
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.000.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.000.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.001.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.001.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.002.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.002.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.003.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.003.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.004.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.004.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.005.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.005.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.006.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.006.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.007.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.007.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.008.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.008.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.009.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.009.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.010.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.010.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.011.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.011.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.012.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.012.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.013.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.013.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.014.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.014.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.015.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.015.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.016.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.016.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.016.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.017.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.017.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.017.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.018.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.018.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.018.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.019.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.019.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.019.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.020.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.020.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.020.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.021.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.021.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.021.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.022.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.022.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.022.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.023.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.023.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.023.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.024.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.024.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.024.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.025.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.025.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.025.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.026.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.026.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.026.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.027.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.027.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.027.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.028.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.028.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.028.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.029.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.029.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.029.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.030.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.030.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.030.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.031.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.031.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.031.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.032.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.032.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.032.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.033.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.033.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.033.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.034.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.034.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.034.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.035.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.035.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.035.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.036.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.036.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.036.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.037.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.037.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.037.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.038.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.038.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.038.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.039.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.039.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.039.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.040.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.040.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.040.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.041.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.041.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.041.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.042.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.042.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.042.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.043.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.043.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.043.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.044.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.044.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.044.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.045.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.045.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.045.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.046.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.046.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.046.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.047.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.047.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.047.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.048.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.048.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.049.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.049.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.050.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.050.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.051.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.051.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.052.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.052.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.053.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.053.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.054.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.054.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.055.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.055.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.056.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.056.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.057.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.057.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.057.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.058.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.058.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.058.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.059.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.059.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.059.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.060.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.060.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.060.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.061.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.061.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.061.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.062.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.062.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.062.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.063.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.063.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.063.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.064.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.064.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.064.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.065.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.065.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.065.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.066.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.066.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.066.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.067.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.067.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.067.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.068.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.068.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.068.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.069.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.069.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.069.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.070.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.070.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.070.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.071.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.071.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.071.out
     5  bit   IN          FALSE  hm2_5i20.0.led.CR01
     5  bit   IN          FALSE  hm2_5i20.0.led.CR02
     5  bit   IN          FALSE  hm2_5i20.0.led.CR03
     5  bit   IN          FALSE  hm2_5i20.0.led.CR04
     5  bit   IN          FALSE  hm2_5i20.0.led.CR05
     5  bit   IN          FALSE  hm2_5i20.0.led.CR06
     5  bit   IN          FALSE  hm2_5i20.0.led.CR07
     5  bit   IN          FALSE  hm2_5i20.0.led.CR08
     5  bit   I/O         FALSE  hm2_5i20.0.watchdog.has_bit

Pin Aliases:
 Alias                                      Original Name

Signals:
Type          Value  Name     (linked to)

Parameters:
Owner   Type  Dir         Value  Name
     5  float RW           5000  hm2_5i20.0.3pwmgen.00.deadtime
     5  bit   RW          FALSE  hm2_5i20.0.3pwmgen.00.fault-invert
     5  float RW            0.5  hm2_5i20.0.3pwmgen.00.sample-time
     5  float RW              1  hm2_5i20.0.3pwmgen.00.scale
     5  float RW           5000  hm2_5i20.0.3pwmgen.01.deadtime
     5  bit   RW          FALSE  hm2_5i20.0.3pwmgen.01.fault-invert
     5  float RW            0.5  hm2_5i20.0.3pwmgen.01.sample-time
     5  float RW              1  hm2_5i20.0.3pwmgen.01.scale
     5  u32   RW     0x00004E20  hm2_5i20.0.3pwmgen.frequency
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.00.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.00.scale
     5  float RW            0.5  hm2_5i20.0.encoder.00.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.01.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.01.scale
     5  float RW            0.5  hm2_5i20.0.encoder.01.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.02.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.02.scale
     5  float RW            0.5  hm2_5i20.0.encoder.02.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.gpio.000.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.000.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.001.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.001.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.002.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.002.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.003.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.003.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.004.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.004.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.005.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.005.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.006.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.006.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.008.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.008.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.009.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.009.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.010.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.010.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.011.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.011.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.012.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.012.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.013.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.013.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.014.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.014.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.017.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.017.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.017.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.023.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.023.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.023.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.is_output
     5  bit   RW          FALSE  hm2_5i20.0.io_error
     5  s32   RO              0  hm2_5i20.0.pet_watchdog.time
     5  s32   RW              0  hm2_5i20.0.pet_watchdog.tmax
     5  s32   RO              0  hm2_5i20.0.read.time
     5  s32   RW              0  hm2_5i20.0.read.tmax
     5  s32   RO              0  hm2_5i20.0.read_gpio.time
     5  s32   RW              0  hm2_5i20.0.read_gpio.tmax
     5  u32   RW     0x004C4B40  hm2_5i20.0.watchdog.timeout_ns
     5  s32   RO              0  hm2_5i20.0.write.time
     5  s32   RW              0  hm2_5i20.0.write.tmax
     5  s32   RO              0  hm2_5i20.0.write_gpio.time
     5  s32   RW              0  hm2_5i20.0.write_gpio.tmax

Parameter Aliases:
 Alias                                      Original Name

Exported Functions:
Owner   CodeAddr  Arg       FP   Users  Name
 00005  f907fee0  f4e74000  NO       0   hm2_5i20.0.pet_watchdog
 00005  f906d7b0  f4e74000  YES      0   hm2_5i20.0.read
 00005  f906d6c0  f4e74000  YES      0   hm2_5i20.0.read_gpio
 00005  f906d6f0  f4e74000  YES      0   hm2_5i20.0.write
 00005  f906d690  f4e74000  YES      0   hm2_5i20.0.write_gpio

Realtime Threads:
     Period  FP     Name               (     Time, Max-Time )

halcmd: 

Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

ага, есть две штуки, пиши в конфиг 3 штуки.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

Вот тут есть список соответствий пинов 5i20 и 3pwm

Код: Выделить всё

library IEEE;
use IEEE.std_logic_1164.all;  -- defines std_logic types
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

-- Copyright (C) 2007, Peter C. Wallace, Mesa Electronics
-- http://www.mesanet.com
--
-- This program is is licensed under a disjunctive dual license giving you
-- the choice of one of the two following sets of free software/open source
-- licensing terms:
--
--    * GNU General Public License (GPL), version 2.0 or later
--    * 3-clause BSD License
-- 
--
-- The GNU GPL License:
-- 
--     This program is free software; you can redistribute it and/or modify
--     it under the terms of the GNU General Public License as published by
--     the Free Software Foundation; either version 2 of the License, or
--     (at your option) any later version.
-- 
--     This program is distributed in the hope that it will be useful,
--     but WITHOUT ANY WARRANTY; without even the implied warranty of
--     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--     GNU General Public License for more details.
-- 
--     You should have received a copy of the GNU General Public License
--     along with this program; if not, write to the Free Software
--     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-- 
-- 
-- The 3-clause BSD License:
-- 
--     Redistribution and use in source and binary forms, with or without
--     modification, are permitted provided that the following conditions
--     are met:
-- 
--   * Redistributions of source code must retain the above copyright
--     notice, this list of conditions and the following disclaimer.
-- 
--   * Redistributions in binary form must reproduce the above
--     copyright notice, this list of conditions and the following
--     disclaimer in the documentation and/or other materials
--     provided with the distribution.
-- 
--   * Neither the name of Mesa Electronics nor the names of its
--     contributors may be used to endorse or promote products
--     derived from this software without specific prior written
--     permission.
-- 
-- 
-- Disclaimer:
-- 
--     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
--     "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
--     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
--     FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
--     COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
--     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
--     BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
--     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
--     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
--     LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
--     ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
--     POSSIBILITY OF SUCH DAMAGE.
-- 

use work.IDROMConst.all;

package PIN_TPEN6_6_72 is
	constant ModuleID : ModuleIDType :=( 
		(WatchDogTag,	x"00",	ClockLowTag,	x"01",	WatchDogTimeAddr&PadT,		WatchDogNumRegs,		x"00",	WatchDogMPBitMask),
		(IOPortTag,		x"00",	ClockLowTag,	x"03",	PortAddr&PadT,					IOPortNumRegs,			x"00",	IOPortMPBitMask),
		(QcountTag,		x"02",	ClockLowTag,	x"06",	QcounterAddr&PadT,			QCounterNumRegs,		x"00",	QCounterMPBitMask),
		(TPPWMTag,		x"00",	ClockHighTag,	x"06",	TPPWMValAddr&PadT,			TPPWMNumRegs,			x"00",	TPPWMMPBitMask),
		(LEDTag,			x"00",	ClockLowTag,	x"01",	LEDAddr&PadT,					LEDNumRegs,				x"00",	LEDMPBitMask),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000"),
		(NullTag,		x"00",	NullTag,			x"00",	NullAddr&PadT,					x"00",					x"00",	x"00000000")
		);
		
	constant PinDesc : PinDescType :=(
-- 	Base func  sec unit sec func 	 sec pin		
		IOPortTag & x"00" & TPPWMTag & TPPWMAOutPin,	  	-- I/O 00
		IOPortTag & x"00" & TPPWMTag & TPPWMBOutPin,    -- I/O 01
		IOPortTag & x"00" & TPPWMTag & TPPWMCOutPin,    -- I/O 02
		IOPortTag & x"00" & TPPWMTag & NTPPWMAOutPin,   -- I/O 03
		IOPortTag & x"00" & TPPWMTag & NTPPWMBOutPin,   -- I/O 04
		IOPortTag & x"00" & TPPWMTag & NTPPWMCOutPin,   -- I/O 05
		IOPortTag & x"00" & TPPWMTag & TPPWMEnaPin,    	-- I/O 06
		IOPortTag & x"00" & TPPWMTag & TPPWMFaultPin,   -- I/O 07
		IOPortTag & x"01" & TPPWMTag & TPPWMAOutPin,	   -- I/O 08
		IOPortTag & x"01" & TPPWMTag & TPPWMBOutPin,    -- I/O 09
		IOPortTag & x"01" & TPPWMTag & TPPWMCOutPin,    -- I/O 10
		IOPortTag & x"01" & TPPWMTag & NTPPWMAOutPin,   -- I/O 11
		IOPortTag & x"01" & TPPWMTag & NTPPWMBOutPin,   -- I/O 12
		IOPortTag & x"01" & TPPWMTag & NTPPWMCOutPin,   -- I/O 13
		IOPortTag & x"01" & TPPWMTag & TPPWMEnaPin,     -- I/O 14
		IOPortTag & x"01" & TPPWMTag & TPPWMFaultPin,   -- I/O 15
		IOPortTag & x"02" & TPPWMTag & TPPWMAOutPin,	   -- I/O 16
		IOPortTag & x"02" & TPPWMTag & TPPWMBOutPin,    -- I/O 17
		IOPortTag & x"02" & TPPWMTag & TPPWMCOutPin,    -- I/O 18
		IOPortTag & x"02" & TPPWMTag & NTPPWMAOutPin,   -- I/O 19
		IOPortTag & x"02" & TPPWMTag & NTPPWMBOutPin,   -- I/O 20
		IOPortTag & x"02" & TPPWMTag & NTPPWMCOutPin,   -- I/O 21
		IOPortTag & x"02" & TPPWMTag & TPPWMEnaPin,     -- I/O 22
		IOPortTag & x"02" & TPPWMTag & TPPWMFaultPin,   -- I/O 23
					
		IOPortTag & x"03" & TPPWMTag & TPPWMAOutPin,		-- I/O 24
		IOPortTag & x"03" & TPPWMTag & TPPWMBOutPin,    -- I/O 25
		IOPortTag & x"03" & TPPWMTag & TPPWMCOutPin,    -- I/O 26
		IOPortTag & x"03" & TPPWMTag & NTPPWMAOutPin,   -- I/O 27
		IOPortTag & x"03" & TPPWMTag & NTPPWMBOutPin,   -- I/O 28
		IOPortTag & x"03" & TPPWMTag & NTPPWMCOutPin,   -- I/O 29
		IOPortTag & x"03" & TPPWMTag & TPPWMEnaPin,     -- I/O 30
		IOPortTag & x"03" & TPPWMTag & TPPWMFaultPin,   -- I/O 31
		IOPortTag & x"04" & TPPWMTag & TPPWMAOutPin,	   -- I/O 32
		IOPortTag & x"04" & TPPWMTag & TPPWMBOutPin,    -- I/O 33
		IOPortTag & x"04" & TPPWMTag & TPPWMCOutPin,    -- I/O 34
		IOPortTag & x"04" & TPPWMTag & NTPPWMAOutPin,   -- I/O 35
		IOPortTag & x"04" & TPPWMTag & NTPPWMBOutPin,   -- I/O 36
		IOPortTag & x"04" & TPPWMTag & NTPPWMCOutPin,   -- I/O 37
		IOPortTag & x"04" & TPPWMTag & TPPWMEnaPin,     -- I/O 38
		IOPortTag & x"04" & TPPWMTag & TPPWMFaultPin,   -- I/O 39
		IOPortTag & x"05" & TPPWMTag & TPPWMAOutPin,	   -- I/O 40
		IOPortTag & x"05" & TPPWMTag & TPPWMBOutPin,    -- I/O 41
		IOPortTag & x"05" & TPPWMTag & TPPWMCOutPin,    -- I/O 42
		IOPortTag & x"05" & TPPWMTag & NTPPWMAOutPin,   -- I/O 43
		IOPortTag & x"05" & TPPWMTag & NTPPWMBOutPin,   -- I/O 44
		IOPortTag & x"05" & TPPWMTag & NTPPWMCOutPin,   -- I/O 45
		IOPortTag & x"05" & TPPWMTag & TPPWMEnaPin,     -- I/O 46
		IOPortTag & x"05" & TPPWMTag & TPPWMFaultPin,   -- I/O 47
					
		IOPortTag & x"00" & QCountTag & QCountQAPin,		-- I/O 48
		IOPortTag & x"00" & QCountTag & QCountQBPin,    -- I/O 49
		IOPortTag & x"00" & QCountTag & QCountIdxPin,   -- I/O 50
		IOPortTag & x"01" & QCountTag & QCountQAPin,	   -- I/O 51
		IOPortTag & x"01" & QCountTag & QCountQBPin,    -- I/O 52
		IOPortTag & x"01" & QCountTag & QCountIdxPin,   -- I/O 53
		IOPortTag & x"02" & QCountTag & QCountQAPin,	   -- I/O 54
		IOPortTag & x"02" & QCountTag & QCountQBPin,    -- I/O 55
		IOPortTag & x"02" & QCountTag & QCountIdxPin,   -- I/O 56
		IOPortTag & x"03" & QCountTag & QCountQAPin,	   -- I/O 57
		IOPortTag & x"03" & QCountTag & QCountQBPin,    -- I/O 58
		IOPortTag & x"03" & QCountTag & QCountIdxPin,   -- I/O 59
		IOPortTag & x"04" & QCountTag & QCountQAPin,	   -- I/O 60
		IOPortTag & x"04" & QCountTag & QCountQBPin,    -- I/O 61
		IOPortTag & x"04" & QCountTag & QCountIdxPin,   -- I/O 62
		IOPortTag & x"05" & QCountTag & QCountQAPin,	   -- I/O 63
		IOPortTag & x"05" & QCountTag & QCountQBPin,    -- I/O 64
		IOPortTag & x"05" & QCountTag & QCountIdxPin,   -- I/O 65
		IOPortTag & x"00" & NullTag & NullPin,       	-- I/O 66
		IOPortTag & x"00" & NullTag & NullPin,       	-- I/O 67
		IOPortTag & x"00" & NullTag & NullPin,       	-- I/O 68
		IOPortTag & x"00" & NullTag & NullPin,       	-- I/O 69
		IOPortTag & x"00" & NullTag & NullPin,       	-- I/O 70
		IOPortTag & x"00" & NullTag & NullPin,       	-- I/O 71
		
		emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
		emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
		emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
		emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
		emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
		emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
		emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin);

end package PIN_TPEN6_6_72;
haruri
Новичок
Сообщения: 19
Зарегистрирован: 26 июн 2015, 13:08
Репутация: 0
Настоящее имя: Руслан
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение haruri »

Nick писал(а):ага, есть две штуки, пиши в конфиг 3 штуки.

Код: Выделить всё

alex@mesal:~$ halrun 
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci config="firmware=hm2/5i20/TPEN6_6.BIT num_encoders=3 num_3pwmgens=3 num_pwmgens=0"
halcmd: show 
Loaded HAL Components:
ID      Type  Name                                      PID   State
     5  RT    hm2_pci                                         ready
     3  User  halcmd3621                                 3621 ready
     4  RT    hostmot2                                        ready

Component Pins:
Owner   Type  Dir         Value  Name
     5  float IN              0  hm2_5i20.0.3pwmgen.00.A-value
     5  float IN              0  hm2_5i20.0.3pwmgen.00.B-value
     5  float IN              0  hm2_5i20.0.3pwmgen.00.C-value
     5  bit   IN          FALSE  hm2_5i20.0.3pwmgen.00.enable
     5  bit   OUT         FALSE  hm2_5i20.0.3pwmgen.00.fault
     5  float IN              0  hm2_5i20.0.3pwmgen.01.A-value
     5  float IN              0  hm2_5i20.0.3pwmgen.01.B-value
     5  float IN              0  hm2_5i20.0.3pwmgen.01.C-value
     5  bit   IN          FALSE  hm2_5i20.0.3pwmgen.01.enable
     5  bit   OUT         FALSE  hm2_5i20.0.3pwmgen.01.fault
     5  float IN              0  hm2_5i20.0.3pwmgen.02.A-value
     5  float IN              0  hm2_5i20.0.3pwmgen.02.B-value
     5  float IN              0  hm2_5i20.0.3pwmgen.02.C-value
     5  bit   IN          FALSE  hm2_5i20.0.3pwmgen.02.enable
     5  bit   OUT         FALSE  hm2_5i20.0.3pwmgen.02.fault
     5  s32   OUT             0  hm2_5i20.0.encoder.00.count
     5  s32   OUT             0  hm2_5i20.0.encoder.00.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.00.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.00.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.00.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.00.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.00.position
     5  float OUT             0  hm2_5i20.0.encoder.00.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.00.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.00.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.00.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.00.reset
     5  float OUT             0  hm2_5i20.0.encoder.00.velocity
     5  s32   OUT             0  hm2_5i20.0.encoder.01.count
     5  s32   OUT             0  hm2_5i20.0.encoder.01.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.01.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.01.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.01.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.01.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.01.position
     5  float OUT             0  hm2_5i20.0.encoder.01.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.01.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.01.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.01.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.01.reset
     5  float OUT             0  hm2_5i20.0.encoder.01.velocity
     5  s32   OUT             0  hm2_5i20.0.encoder.02.count
     5  s32   OUT             0  hm2_5i20.0.encoder.02.count-latched
     5  bit   I/O         FALSE  hm2_5i20.0.encoder.02.index-enable
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.02.input-a
     5  bit   OUT          TRUE  hm2_5i20.0.encoder.02.input-b
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.02.input-index
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.latch-enable
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.latch-polarity
     5  float OUT             0  hm2_5i20.0.encoder.02.position
     5  float OUT             0  hm2_5i20.0.encoder.02.position-latched
     5  bit   OUT         FALSE  hm2_5i20.0.encoder.02.quad-error
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.quad-error-enable
     5  s32   OUT             0  hm2_5i20.0.encoder.02.rawcounts
     5  s32   OUT             0  hm2_5i20.0.encoder.02.rawlatch
     5  bit   IN          FALSE  hm2_5i20.0.encoder.02.reset
     5  float OUT             0  hm2_5i20.0.encoder.02.velocity
     5  u32   IN     0x00001FC8  hm2_5i20.0.encoder.sample-frequency
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.000.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.000.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.001.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.001.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.002.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.002.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.003.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.003.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.004.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.004.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.005.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.005.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.006.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.006.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.007.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.007.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.008.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.008.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.009.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.009.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.010.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.010.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.011.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.011.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.012.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.012.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.013.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.013.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.014.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.014.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.015.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.015.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.016.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.016.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.017.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.017.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.018.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.018.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.019.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.019.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.020.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.020.in_not
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.021.in
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.021.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.022.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.022.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.023.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.023.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.024.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.024.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.024.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.025.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.025.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.025.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.026.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.026.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.026.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.027.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.027.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.027.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.028.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.028.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.028.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.029.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.029.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.029.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.030.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.030.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.030.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.031.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.031.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.031.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.032.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.032.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.032.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.033.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.033.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.033.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.034.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.034.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.034.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.035.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.035.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.035.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.036.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.036.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.036.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.037.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.037.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.037.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.038.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.038.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.038.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.039.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.039.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.039.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.040.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.040.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.040.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.041.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.041.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.041.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.042.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.042.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.042.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.043.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.043.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.043.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.044.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.044.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.044.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.045.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.045.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.045.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.046.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.046.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.046.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.047.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.047.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.047.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.048.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.048.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.049.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.049.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.050.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.050.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.051.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.051.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.052.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.052.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.053.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.053.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.054.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.054.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.055.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.055.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.056.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.056.in_not
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.057.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.057.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.057.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.058.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.058.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.058.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.059.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.059.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.059.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.060.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.060.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.060.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.061.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.061.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.061.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.062.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.062.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.062.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.063.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.063.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.063.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.064.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.064.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.064.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.065.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.065.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.065.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.066.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.066.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.066.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.067.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.067.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.067.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.068.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.068.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.068.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.069.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.069.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.069.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.070.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.070.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.070.out
     5  bit   OUT          TRUE  hm2_5i20.0.gpio.071.in
     5  bit   OUT         FALSE  hm2_5i20.0.gpio.071.in_not
     5  bit   IN          FALSE  hm2_5i20.0.gpio.071.out
     5  bit   IN          FALSE  hm2_5i20.0.led.CR01
     5  bit   IN          FALSE  hm2_5i20.0.led.CR02
     5  bit   IN          FALSE  hm2_5i20.0.led.CR03
     5  bit   IN          FALSE  hm2_5i20.0.led.CR04
     5  bit   IN          FALSE  hm2_5i20.0.led.CR05
     5  bit   IN          FALSE  hm2_5i20.0.led.CR06
     5  bit   IN          FALSE  hm2_5i20.0.led.CR07
     5  bit   IN          FALSE  hm2_5i20.0.led.CR08
     5  bit   I/O         FALSE  hm2_5i20.0.watchdog.has_bit

Pin Aliases:
 Alias                                      Original Name

Signals:
Type          Value  Name     (linked to)

Parameters:
Owner   Type  Dir         Value  Name
     5  float RW           5000  hm2_5i20.0.3pwmgen.00.deadtime
     5  bit   RW          FALSE  hm2_5i20.0.3pwmgen.00.fault-invert
     5  float RW            0.5  hm2_5i20.0.3pwmgen.00.sample-time
     5  float RW              1  hm2_5i20.0.3pwmgen.00.scale
     5  float RW           5000  hm2_5i20.0.3pwmgen.01.deadtime
     5  bit   RW          FALSE  hm2_5i20.0.3pwmgen.01.fault-invert
     5  float RW            0.5  hm2_5i20.0.3pwmgen.01.sample-time
     5  float RW              1  hm2_5i20.0.3pwmgen.01.scale
     5  float RW           5000  hm2_5i20.0.3pwmgen.02.deadtime
     5  bit   RW          FALSE  hm2_5i20.0.3pwmgen.02.fault-invert
     5  float RW            0.5  hm2_5i20.0.3pwmgen.02.sample-time
     5  float RW              1  hm2_5i20.0.3pwmgen.02.scale
     5  u32   RW     0x00004E20  hm2_5i20.0.3pwmgen.frequency
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.00.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.00.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.00.scale
     5  float RW            0.5  hm2_5i20.0.encoder.00.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.01.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.01.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.01.scale
     5  float RW            0.5  hm2_5i20.0.encoder.01.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.counter-mode
     5  bit   RW           TRUE  hm2_5i20.0.encoder.02.filter
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-invert
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-mask
     5  bit   RW          FALSE  hm2_5i20.0.encoder.02.index-mask-invert
     5  float RW              1  hm2_5i20.0.encoder.02.scale
     5  float RW            0.5  hm2_5i20.0.encoder.02.vel-timeout
     5  bit   RW          FALSE  hm2_5i20.0.gpio.000.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.000.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.001.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.001.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.002.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.002.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.003.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.003.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.004.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.004.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.005.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.005.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.006.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.006.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.008.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.008.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.009.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.009.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.010.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.010.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.011.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.011.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.012.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.012.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.013.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.013.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.014.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.014.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.016.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.017.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.017.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.018.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.019.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.020.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.021.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.022.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.024.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.025.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.026.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.027.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.028.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.029.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.030.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.031.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.032.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.033.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.034.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.035.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.036.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.037.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.038.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.039.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.040.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.041.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.042.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.043.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.044.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.045.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.046.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.047.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.057.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.058.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.059.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.060.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.061.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.062.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.063.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.064.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.065.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.066.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.067.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.068.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.069.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.070.is_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.invert_output
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.is_opendrain
     5  bit   RW          FALSE  hm2_5i20.0.gpio.071.is_output
     5  bit   RW          FALSE  hm2_5i20.0.io_error
     5  s32   RO              0  hm2_5i20.0.pet_watchdog.time
     5  s32   RW              0  hm2_5i20.0.pet_watchdog.tmax
     5  s32   RO              0  hm2_5i20.0.read.time
     5  s32   RW              0  hm2_5i20.0.read.tmax
     5  s32   RO              0  hm2_5i20.0.read_gpio.time
     5  s32   RW              0  hm2_5i20.0.read_gpio.tmax
     5  u32   RW     0x004C4B40  hm2_5i20.0.watchdog.timeout_ns
     5  s32   RO              0  hm2_5i20.0.write.time
     5  s32   RW              0  hm2_5i20.0.write.tmax
     5  s32   RO              0  hm2_5i20.0.write_gpio.time
     5  s32   RW              0  hm2_5i20.0.write_gpio.tmax

Parameter Aliases:
 Alias                                      Original Name

Exported Functions:
Owner   CodeAddr  Arg       FP   Users  Name
 00005  f908eee0  f6ed7000  NO       0   hm2_5i20.0.pet_watchdog
 00005  f907c7b0  f6ed7000  YES      0   hm2_5i20.0.read
 00005  f907c6c0  f6ed7000  YES      0   hm2_5i20.0.read_gpio
 00005  f907c6f0  f6ed7000  YES      0   hm2_5i20.0.write
 00005  f907c690  f6ed7000  YES      0   hm2_5i20.0.write_gpio

Realtime Threads:
     Period  FP     Name               (     Time, Max-Time )

halcmd: 

haruri
Новичок
Сообщения: 19
Зарегистрирован: 26 июн 2015, 13:08
Репутация: 0
Настоящее имя: Руслан
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение haruri »

Nick писал(а):Вот тут есть список соответствий пинов 5i20 и 3pwm
вот эти выводы, я так понял 00,01,02 - это PWMA, PWMB, PWMC, а 03,04,05 - это инверсия PWMA, инверсия PWMB, инверсия PWMC?
А выводы 48,49,50 - это входы для енкодера.

Код: Выделить всё

--    Base func  sec unit sec func     sec pin      
      IOPortTag & x"00" & TPPWMTag & TPPWMAOutPin,        -- I/O 00
      IOPortTag & x"00" & TPPWMTag & TPPWMBOutPin,    -- I/O 01
      IOPortTag & x"00" & TPPWMTag & TPPWMCOutPin,    -- I/O 02
      IOPortTag & x"00" & TPPWMTag & NTPPWMAOutPin,   -- I/O 03
      IOPortTag & x"00" & TPPWMTag & NTPPWMBOutPin,   -- I/O 04
      IOPortTag & x"00" & TPPWMTag & NTPPWMCOutPin,   -- I/O 05
..............
..............
      IOPortTag & x"00" & QCountTag & QCountQAPin,      -- I/O 48
      IOPortTag & x"00" & QCountTag & QCountQBPin,    -- I/O 49
      IOPortTag & x"00" & QCountTag & QCountIdxPin,   -- I/O 50
Как теперь попробовать их соединить с сервоприводом fanuc-а?
Я так понимаю, что соединение можно будет производить через плату 7i37?
Вложения
схема соединения с серво-усилителем сигналы PWMA, PWMB (инверсия PWMA), PWMC, PWMD (инверсия PWMC), PWME, PWMF (инверсия PWME). на выходе левого разъема стоит выходная микросхема SN75452B с высоким током нагрузки 400mA (3272 просмотра) <a class='original' href='./download/file.php?id=54705&mode=view' target=_blank>Загрузить оригинал (779.45 КБ)</a>
схема соединения с серво-усилителем сигналы PWMA, PWMB (инверсия PWMA), PWMC, PWMD (инверсия PWMC), PWME, PWMF (инверсия PWME). на выходе левого разъема стоит выходная микросхема SN75452B с высоким током нагрузки 400mA
схема соединения енкодера сигналы PCAn, PCZn, PCBn. (3272 просмотра) <a class='original' href='./download/file.php?id=54706&mode=view' target=_blank>Загрузить оригинал (750.19 КБ)</a>
схема соединения енкодера сигналы PCAn, PCZn, PCBn.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

haruri писал(а):вот эти выводы, я так понял 00,01,02 - это PWMA, PWMB, PWMC, а 03,04,05 - это инверсия PWMA, инверсия PWMB, инверсия PWMC?
А выводы 48,49,50 - это входы для енкодера.
Да.
haruri писал(а):Я так понимаю, что соединение можно будет производить через плату 7i37?
Щас уточним. :)
на выходе левого разъема стоит выходная микросхема SN75452B с высоким током нагрузки 400mA
Откуда ты это взял?
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

А какой там нужен вольтаж? И какие токи?
haruri
Новичок
Сообщения: 19
Зарегистрирован: 26 июн 2015, 13:08
Репутация: 0
Настоящее имя: Руслан
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение haruri »

Nick писал(а): Откуда ты это взял?
Микросхемы на плате у разъема М34 стоят.
Для начала нужно 5V с нагрузкой 400mA
haruri
Новичок
Сообщения: 19
Зарегистрирован: 26 июн 2015, 13:08
Репутация: 0
Настоящее имя: Руслан
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение haruri »

Nick писал(а):Вот тут есть список соответствий пинов 5i20 и 3pwm

Код: Выделить всё

library IEEE;
................................
а где входа для енкодера? их нужно самим в конфигурационном файле прописывать?
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

ну настроить надо будет, но компоненты энкодера у тебя уже загружены и подключены к физическим пинам платы.

400мА... надо посмотреть по даташиту, сколько она тянет... хмммм 7i42 дает максимум 25мА... 7i37 может выдать до 1А, но не уверен, сможет ли она работать на такой скорости + распиновка у нее своя...
Кстати, а там 400мА на каждую ножку?
Аватара пользователя
МотоАтелье
Опытный
Сообщения: 110
Зарегистрирован: 26 окт 2014, 00:12
Репутация: 96
Настоящее имя: Иван
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение МотоАтелье »

Добрый день .
Прошу извинить за влезание в вашу тему .
Есть несколько вопросов . Привожу в чувства похожий станок AvM mas 165
Я правильно понял ,что вы выкинули только материнскую плату Fanuc ,но Оставили сдвоенный драйвер ?
Удалось ли вам управлять им ?
Если да то можно по подробней какой именно сигнал использовали ?
Можно ли проверить этот драйвер на работоспособность ? (Без основной платы ), ( Возможно вам удалось найти на него мануал или более подробную информацию )
Пытался запустить штатную стойку и под ней проверить драйвер и привода .
но без вариантов уходит в ошибку watchdog timer .

Спасибо .
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение Nick »

МотоАтелье писал(а):но без вариантов уходит в ошибку watchdog timer .
кто-то (из оборудования) не откликается...
МотоАтелье писал(а):Можно ли проверить этот драйвер на работоспособность ?
Он по +-10В управляется? Если да, то подать на него все необходимое питание + сигналы на включение, а на задание можно например батарейку подключить. Только проверь, что на оси нет тормоза (или он отключен)!
Аватара пользователя
МотоАтелье
Опытный
Сообщения: 110
Зарегистрирован: 26 окт 2014, 00:12
Репутация: 96
Настоящее имя: Иван
Контактная информация:

Re: Модернизация станка Dainichi F-15 с Fanuc O-TC

Сообщение МотоАтелье »

Спасибо за ответ .
он ругается именно на драйвер осей .

В том то и проблема ,что я не могу разобраться каким сигналом он управляется ((
Документацию найти не удалось ( искал очень плотно )
Все ,что выдает гугл это распиновка как в 32 посте топик стартера .
Но мне не хватает знаний разобраться каким сигналом управлять .
Из вашей темы я понял ,что у вас есть понимание вопроса
На всякий случай фото драйвера ( он один на 2 оси )
Вложения
DSC_0519[1].JPG (3077 просмотров) <a class='original' href='./download/file.php?id=56177&mode=view' target=_blank>Загрузить оригинал (2.83 МБ)</a>
DSC_0523[1].JPG (3077 просмотров) <a class='original' href='./download/file.php?id=56178&mode=view' target=_blank>Загрузить оригинал (3.39 МБ)</a>
DSC_0522[1].JPG (3077 просмотров) <a class='original' href='./download/file.php?id=56179&mode=view' target=_blank>Загрузить оригинал (2.07 МБ)</a>
Ответить

Вернуться в «LinuxCNC»