-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mac-kan/el331x_hardware_scripts
Add hardware scripts
- Loading branch information
Showing
9 changed files
with
120 additions
and
19 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#-d /** | ||
#-d \brief hardware script for EL3311 | ||
#-d \details EL3311 | 1-channel thermocouple input terminal with open-circuit recognition | ||
#-d \author Markus Kristensson, Carlos Doro Neto | ||
#-d \file | ||
#-d \note SDOS | ||
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset | ||
#-d */ | ||
|
||
|
||
epicsEnvSet("ECMC_EC_HWTYPE" "EL3311") | ||
epicsEnvSet("ECMC_EC_VENDOR_ID" "0x2") | ||
epicsEnvSet("ECMC_EC_PRODUCT_ID" "0x0cef3052") | ||
|
||
#- verify slave, including reset | ||
${SCRIPTEXEC} ${ecmccfg_DIR}slaveVerify.cmd "RESET=true" | ||
|
||
#- analog input Ch1 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=01,ECMC_PDO=0x1a00,ECMC_ENTRY=0x6000" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#-d /** | ||
#-d \brief hardware script for EL3314-0010 | ||
#-d \details EL3314-0010 | 4-channel (24 bits) thermocouple, high precision, input terminal with open-circuit recognition | ||
#-d \author Markus Kristensson, Carlos Doro Neto | ||
#-d \file | ||
#-d \note SDOS | ||
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset | ||
#-d */ | ||
|
||
|
||
epicsEnvSet("ECMC_EC_HWTYPE" "EL3314-0010") | ||
epicsEnvSet("ECMC_EC_VENDOR_ID" "0x2") | ||
epicsEnvSet("ECMC_EC_PRODUCT_ID" "0x0cf23052") | ||
|
||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcEL3314-XXXX_generic.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#-d /** | ||
#-d \brief hardware script for EL3314-0020 | ||
#-d \details EL3314-0020 | 4-channel (24 bits) thermocouple, high precision, factory calibrated, input terminal with open-circuit recognition | ||
#-d \author Markus Kristensson, Carlos Doro Neto | ||
#-d \file | ||
#-d \note SDOS | ||
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset | ||
#-d */ | ||
|
||
|
||
epicsEnvSet("ECMC_EC_HWTYPE" "EL3314-0020") | ||
epicsEnvSet("ECMC_EC_VENDOR_ID" "0x2") | ||
epicsEnvSet("ECMC_EC_PRODUCT_ID" "0x0cf23052") | ||
|
||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcEL3314-XXXX_generic.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#-d /** | ||
#-d \brief hardware script for EL3314-0030 | ||
#-d \details EL3314-0030 | 4-channel (24 bits) thermocouple, high precision, externally calibrated, input terminal with open-circuit recognition | ||
#-d \author Markus Kristensson, Carlos Doro Neto | ||
#-d \file | ||
#-d \note SDOS | ||
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset | ||
#-d */ | ||
|
||
|
||
epicsEnvSet("ECMC_EC_HWTYPE" "EL3314-0030") | ||
epicsEnvSet("ECMC_EC_VENDOR_ID" "0x2") | ||
epicsEnvSet("ECMC_EC_PRODUCT_ID" "0x0cf23052") | ||
|
||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcEL3314-XXXX_generic.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#-d /** | ||
#-d \brief hardware script for EL3314-XXXX | ||
#-d \details EL3314-XXXX | Generic script for EL3314-XXXX modules. | ||
#-d \author Markus Kristensson, Carlos Doro Netos | ||
#-d \file | ||
#-d \note SDOS | ||
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset | ||
#-d */ | ||
|
||
|
||
#- verify slave, including reset | ||
${SCRIPTEXEC} ${ecmccfg_DIR}slaveVerify.cmd "RESET=true" | ||
|
||
#- analog input Ch1 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_32bit.cmd "CH_ID=01,ECMC_PDO=0x1a00,ECMC_ENTRY=0x6000" | ||
#- analog input Ch2 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_32bit.cmd "CH_ID=02,ECMC_PDO=0x1a01,ECMC_ENTRY=0x6010" | ||
#- analog input Ch3 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_32bit.cmd "CH_ID=03,ECMC_PDO=0x1a02,ECMC_ENTRY=0x6020" | ||
#- analog input Ch4 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_32bit.cmd "CH_ID=04,ECMC_PDO=0x1a03,ECMC_ENTRY=0x6030" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#-d /** | ||
#-d \brief hardware script for EL3318 | ||
#-d \details EL3318 | 8-channel (16 bits) thermocouple input terminal with open-circuit recognition | ||
#-d \author Markus Kristensson, Carlos Doro Neto | ||
#-d \file | ||
#-d \note SDOS | ||
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset | ||
#-d */ | ||
|
||
|
||
epicsEnvSet("ECMC_EC_HWTYPE" "EL3318") | ||
epicsEnvSet("ECMC_EC_VENDOR_ID" "0x2") | ||
epicsEnvSet("ECMC_EC_PRODUCT_ID" "0x0cf63052") | ||
|
||
#- verify slave, including reset | ||
${SCRIPTEXEC} ${ecmccfg_DIR}slaveVerify.cmd "RESET=true" | ||
|
||
#- analog input Ch1 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=01,ECMC_PDO=0x1a00,ECMC_ENTRY=0x6000" | ||
#- analog input Ch2 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=02,ECMC_PDO=0x1a01,ECMC_ENTRY=0x6010" | ||
#- analog input Ch3 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=03,ECMC_PDO=0x1a02,ECMC_ENTRY=0x6020" | ||
#- analog input Ch4 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=04,ECMC_PDO=0x1a03,ECMC_ENTRY=0x6030" | ||
#- analog input Ch5 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=05,ECMC_PDO=0x1a04,ECMC_ENTRY=0x6040" | ||
#- analog input Ch6 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=06,ECMC_PDO=0x1a05,ECMC_ENTRY=0x6050" | ||
#- analog input Ch7 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=07,ECMC_PDO=0x1a06,ECMC_ENTRY=0x6060" | ||
#- analog input Ch8 | ||
${SCRIPTEXEC} ${ecmccfg_DIR}ecmcAnalogInput_16bit.cmd "CH_ID=08,ECMC_PDO=0x1a07,ECMC_ENTRY=0x6070" |