EEIP.NET Libreria Open Source Ethernet IP
Da qualiwiki.
Versione del 29 gen 2018 alle 18:44 di Qualivision (Discussione | contributi) (Creata pagina con "I sorgenti sono nella cartella: \\LUCAUFFICIO2\__Projects\EEIP.NET-master Il protocollo lato .net è MASTER Per facilitare le cose bisognerebbe avere il file .eds del dispos...")
I sorgenti sono nella cartella: \\LUCAUFFICIO2\__Projects\EEIP.NET-master
Il protocollo lato .net è MASTER
Per facilitare le cose bisognerebbe avere il file .eds del dispositivo con il quale si vuole comunicare (SLAVE)
- Bisogna configurare l'indirizzo IP (la porta con keyence e sherlock è quella di default:44818) - Nel file .eds bisogna andare al fondo dove saranno presenti n connessioni (dipende dal dispositivo)
[Connection Manager]
Connection1 =
0x04030002, $ trigger & transport
$ 0-15 = supported transport classes (class 1)
$ 16 = cyclic (1 = supported)
$ 17 = change of state (1 = supported)
$ 18 = on demand (0 = not supported)
$ 19-23 = reserved (must be zero)
$ 24-27 = exclusive owner
$ 28-30 = reserved (must be zero)
$ 31 = client 0 (don't care for classes 0 and 1)
0x44640405, $ connection parameters
$ 0 = O=>T fixed (1 = supported)
$ 1 = O=>T variable (0 = not supported)
$ 2 = T=>O fixed (1 = supported)
$ 3 = T=>O variable (0 = not supported)
$ 4-7 = reserved (must be zero)
$ 8-11 = O=>T header (4 byte run/idle)
$ 12-15 = T=>O header (no header)
$ 16-19 = O=>T connection type (point-to-point)
$ 20-23 = T=>O connection type (multicast, point-to-point)
$ 24-27 = O=>T priority (scheduled)
$ 28-31 = T=>O priority (scheduled)
Param100,Param2,Assem101, $ O=>T RPI,Size,Format
Param100,Param1,Assem100, $ T=>O RPI,Size,Format
,, $ config part 1 (not used)
,, $ config part 2 (not used)
"Class1", $ connection name
"", $ Help string
"20 04 24 01 2C 65 2C 64"; $ inputs only path
Connection2 =
0x02030002, $ trigger & transport
$ 0-15 = supported transport classes (class 1)
$ 16 = cyclic (1 = supported)
$ 17 = change of state (1 = supported)
$ 18 = on demand (0 = not supported)
$ 19-23 = reserved (must be zero)
$ 24-27 = input only
$ 28-30 = reserved (must be zero)
$ 31 = client 0 (don't care for classes 0 and 1)
0x44640305, $ connection parameters
$ 0 = O=>T fixed (1 = supported)
$ 1 = O=>T variable (0 = not supported)
$ 2 = T=>O fixed (1 = supported)
$ 3 = T=>O variable (0 = not supported)
$ 4-7 = reserved (must be zero)
$ 8-11 = O=>T header (0 byte heartbeat)
$ 12-15 = T=>O header (no header)
$ 16-19 = O=>T connection type (point-to-point)
$ 20-23 = T=>O connection type (multicast,point-to-point)
$ 24-27 = O=>T priority (scheduled)
$ 28-31 = T=>O priority (scheduled)
Param100,0,, $ O=>T RPI,Size,Format
Param100,Param1,Assem100, $ T=>O RPI,Size,Format
,, $ config part 1 (not used)
,, $ config part 2 (not used)
"Class1 (Input-Only)", $ connection name
"", $ Help string
"20 04 24 01 2C FE 2C 64"; $ inputs only path
[Port]
Port1 =
TCP,
"Ethernet Port",
"20 F5 24 01",
1;
[Capacity]
MaxIOConnections = 32;
MaxMsgConnections = 32;
MaxConsumersPerMcast = 32;
TSpec1 = TxRx, 2, 400;
TSpec2 = TxRx, 496, 400;
TSpec3 = TxRx, 1436, 400;