Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

byte 3      TO BE DECIDED
byte 2      TO BE DECIDED
byte 1       TO BE DECIDED
byte 0      Protocol CAENels NGPS

How to search for a specific elemType in all DBSta files

Code Block
titleExample of DBFile for an element of class "MG1"
%MG1
#DHSA*001
@HCI(S)[(I32),(DBL),HU32,DBL,DBL,DBL,DBL,DI32,DBL:2:4]
MG1,DHSA*001,00020000,0.1,3.0,3.0,3.0,1,11.0:12.0:13.0:14.0:21.0:22.0:23.0:24.0
... etc ...
             XXXXXX00
			       --

The first byte of the elementType field, indicates the PS protocol (e.g. in the above example, "00" indicates the protocol SYS8X00).

Using the egrep command

Code Block
egrep "^MG1,.{8},[0-9]{6}00," ./DEVIL6??.DBSta

^MG1		matches "MG1" at the beginning of a line

,			matches ","

.{8}		matches any sequence of 8 characters (e.g. DHSA*001)

,			matches ","

[0-9]{6}00	matches any sequence of 6 digits followed by "00" (e.g. 00020000)

,			matches ","

Ethernet connection

Questi alimentatori si connettono in Ethernet e quindi abbiamo lo stesso problema degli alimentatori Genesys e CAENels Easy Driver.
Anche quì, si usa un canale seriale fake per ogni alimentatore e si mette l'IP nel campo subID2.
P.es.: l'IP 192.168.190.131 si scrive come con 4 HEX come C0A8BE83

...

MODE  send standby/operational            aggiustare tempo di commutazione usando maxCmdExeTime#3. Al momento è impostato a 6 s .

      MODE <elementName> STBY|OPER

...