meta data for this page
Integrazione CODESYS / TwinCAT
![]() | ![]() | ![]() |
Il Gateway NILAB può essere utilizzato in combinazione con la soluzione CODESYS / TwinCAT o con il PLC Schneider Electric Machine Expert.
Si prega di usare questo XML di descrizione dispositivo ESI per la configurazione: :gtw_ethercat:gtw-eth-can-modbus.zip
Nota che il BUS Converter è mappato come MDP (Modular Device Profile).
Per usare il file ESI in TwinCAT devi copiarlo nella directory C:\TwinCAT\3.1\Config\Io\EtherCAT e poi riavviare TwinCAT.
PDI - Struttura dati di ingresso
Possono essere mappati al massimo 10 motori NLi contemporaneamente.
| Indirizzo | Tipo di dato | Descrizione |
| 0x6000 | UINT16 | Stato |
| 0x6001 | UINT16 | ID slave corrente |
| 0x6002 | UINT64 | PDO Slave Node id 1 (Status Word) |
| 0x6003 | UINT64 | PDO Slave Node id 2 (Status Word) |
| 0x6004 | UINT64 | PDO Slave Node id 3 (Status Word) |
| 0x6005 | UINT64 | PDO Slave Node id 4 (Status Word) |
| 0x6006 | UINT64 | PDO Slave Node id 5 (Status Word) |
| 0x6007 | UINT64 | PDO Slave Node id 6 (Status Word) |
| 0x6008 | UINT64 | PDO Slave Node id 7 (Status Word) |
| 0x6009 | UINT64 | PDO Slave Node id 8 (Status Word) |
| 0x600A | UINT64 | PDO Slave Node id 9 (Status Word) |
| 0x600B | UINT64 | PDO Slave Node id 10 (Status Word) |
| 0x600C | UINT16 | INGRESSI (Remote Inputs) |
PDO - Struttura dati di uscita
| Indirizzo | Tipo di dato | Descrizione |
| 0x7000 | UINT16 | GTW_CONTROL_WORD |
| 0x7001 | UINT16 | Slave ID |
| 0x7002 | UINT64 | Segnale di sincronizzazione |
| 0x7003 | UINT64 | PDI Slave 1 (Control Word) |
| 0x7004 | UINT64 | PDI Slave 2 (Control Word) |
| 0x7005 | UINT64 | PDI Slave 3 (Control Word) |
| 0x7006 | UINT64 | PDI Slave 4 (Control Word) |
| 0x7007 | UINT64 | PDI Slave 5 (Control Word) |
| 0x7008 | UINT64 | PDI Slave 6 (Control Word) |
| 0x7009 | UINT64 | PDI Slave 7 (Control Word) |
| 0x700A | UINT64 | PDI Slave 8 (Control Word) |
| 0x700B | UINT64 | PDI Slave 9 (Control Word) |
| 0x700C | UINT64 | PDI Slave 10 (Control Word) |
| 0x700D | UINT16 | USCITE (Remote Outputs) |
Dati di configurazione SDO
| Indirizzo | Tipo di dato | Descrizione |
| 0x8000 | Record | Configurazione gateway |
| 0x8001 | Record | Riga tabella posizione 1 |
| 0x8002 | Record | Riga tabella posizione 2 |
| 0x8003 | Record | Riga tabella posizione 3 |
| 0x8004 | Record | Riga tabella posizione 4 |
| 0x8005 | Record | Riga tabella posizione 5 |
| 0x8006 | Record | Riga tabella posizione 6 |
| 0x8007 | Record | Riga tabella posizione 7 |
| 0x8008 | Record | Riga tabella posizione 8 |
| 0x8009 | Record | Riga tabella posizione 9 |
| 0x800A | Record | Riga tabella posizione 10 |
| 0x800B | Record | Mapping PDO slave |
| 0x800C | Record | Mapping PDI slave |
| 0x800D | Record | Dati Modbus slave corrente |


