Remote Operation The calibrator can be remotely controlled using a PC terminal, or by a computer program running the calibrator in an automated system. It uses an RS232 serial port connection for remote operation. With this connection the user can write programs on the PC, with Windows languages like Visual Basic to operate the calibrator, or use a Windows terminal, such as Hyper Terminal, to enter single commands.
3. For Name enter ASC301. Select the serial port that the unit is connected 4. Enter the above information for port settings. 5. Select ASCII setup from File/Properties/Settings and mark these choices: Echo typed characters locally Wrap lines that exceed terminal width 6.
Common Commands Standard commands used by most devices. These commands always begin with an "*". For example *IDN? tells the calibrator to return its identification. Query Commands Commands that ask for information. They always end with a "?". For example: FUNC? Returns the current modes of the upper and lower displays.
RTD_TYPE? returns PT385_10 Indefinite ASCII (IAD) Any ASCII characters followed by a terminator. For example: *IDN? returns AMETEK, ASC301, 250, 1.00 3.4 Calibrator Status Status registers, enable registers, and queues provide status information on the calibrator. Each status register and queue has a summary bit in the Serial Poll Status Byte.
Setting bits to 0 disables them in the STB. Setting the bits to 1 enables them. Bit assignments for the SRE and the STB are shown below. Master Summary Status. Set to 1 when ESB or EAV are 1 (enabled). Read using the *STB? command. Set to 1 when at least one bit in ESR is 1.
Command Error. Set to 1 when the calibrator receives an invalid command. Entering an unsupported RTD type may cause such an error. Execution Error. Set to 1 when the calibrator runs into an error while executing is last command. A parameter that has too significant figures may cause such an error.
4. Remote Commands and Error Codes The following tables list all commands, and their descriptions, that are accepted by the calibrator. Table 1: Common Commands Command Description *CLS *CLS (Clear status.) Clears the ESR, the error queue, and the RQS bit in the status byte.
Page 10
CPRT_COEFC? Returns the custom RTD coefficient C CPRT_MIN_T Sets the custom RTD minimum temperature CPRT_MIN_T? Returns the custom RTD minimum temperature CPRT_MAX_T Sets the custom RTD maximum temperature CPRT_MAX_T? Returns the custom RTD maximum temperature CPRT_R0 Sets the custom RTD R0 resistance CPRT_R0? Returns the custom RTD R0 resistance FAULT?
Page 11
PULSE_CNT Sets the number of pulses for the pulse train PULSE_CNT? Returns the number of pulses in the pulse train REMOTE Puts the calibrator in remote mode RTD_TYPE Sets the RTD type RTD_TYPE? Returns the RTD type RTD_WIRE Sets the number of wires used by the RTD mode. RTD_WIRE? Returns the wire number setting used in the RTD mode SCALE_FUNC...
Page 12
UPPER_MEAS Sets the measuring mode for the upper display. U_PRES_UNIT Sets the upper pressure unit VAL? Returns the measured values ZERO_MEAS Zeros the pressure module ZERO_MEAS? Returns the zero offset of the pressure module Table 3: Parameter units Units Meaning milliamps of current Voltage in millivolts Voltage in volts...
Entry is above the upper limit of the allowable range Entry is below the lower limit of the allowable range A required command parameter was missing An invalid pressure unit was received An invalid CJC_STATE was received An invalid TSENS_TYPE was received Pressure module not connected An unknown command was received An invalid RTD or TC parameter value was received...
Page 14
*IDN? Returns the manufacturer, model number, and firmware revision of the Calibrator. For example: *IDN? will return AMETEK, ASC301, 250, 1.00 *OPC Enables the Operation Complete setting in the ESR. This setting makes it possible to check if an operations is complete after it has been initialized.
Page 15
*SRE? Returns a byte from the SRE. The byte is returned in decimal format. For example: If 40 is returned, bits 5 and 3 are enabled. *STB Returns the status byte in decimal form from the Serial Poll Status Byte. For example;...
Page 16
CPRT_COEFA This command is used for entering a custom RTD into the calibrator. The numeric value entered after the command will be set as the first coefficient of the polynomial used by the custom RTD. For example: CPRT_COEFA 3.9083E-3 enters 3.9083E-3 as coefficient A. CPRT_COEFA? Returns the number which was entered for the first coefficient of the polynomial used in the custom RTD.
Page 17
CPRT_COEFC? Returns the number which was entered for the first coefficient of the polynomial used in the custom RTD. Using the example above CPRT_ COEFC? Would return: -4.183x10-12 CPRT_MIN_T Sets the minimum temperature of the custom RTD range. The temperature value must be entered with a degrees label, CEL for Celsius and FAR for Fahrenheit.
Page 18
CPRT_R0 Sets the 0° resistance, R0, in the custom RTD. The value must be entered with a units label. Refer to the Parameter Units table for assistance. For example: CPRT_R0 100 OHM sets R0 to 100 ohms. CPRT_R0? Returns the value for the resistance in custom RTD. The above example would return: 1.000000E+02, OHM FAULT?
Page 19
Note: This command does not put the calibrator in frequency mode. Use the OUT command to put the calibrator in frequency mode. FREQ_TYPE? Tells whether calibrator is sourcing a pulse or a continuous wave. The command will return CONT if the calibrator is in FREQ OUT mode, and PULSE if the calibrator is in PULSE mode.
Page 20
LOCAL Restores the calibrator to local operation if it was in remote mode. Also clears LOCKOUT if the unit was in lockout mode. LOOP_PWR_OFF Turns 24V loop power off for isolated mA read functions including %Error and Scaled mA. LOOP_PWR_ON Turns 24V loop power on for isolated mA read functions including %Error and Scaled mA.
Page 21
PRES? Returns the model and serial number of the attached pressure unit. Returns NONE if no pressure unit is attached. For example: PRES? Will return AMETEK,001PNS,3,0 PRES_UNIT? Returns the pressure units of both the upper and the lower display. For...
Page 22
PULSE_CNT Sets the number of pulses the calibrator will produce when it is triggered while in pulse mode. For example; PULSE_CNT 3000 will set the number of pulses to 3000. PULSE_CNT? Returns the number of pulses in the pulse train. Using the above example, the returned value would be: 3000 REMOTE...
Page 23
RTD_WIRE? Returns the number of wires used in the RTD connection. SCALE_FUNC Sets the scaling function to volts or mA. SCALE_FUNC? Returns the scaling function. SCL_MA_HI Sets 100% value for mA scaling calculation. E.g. SCL_MA_HI 20 mA SCL_MA_HI? Returns 100% value for mA scaling SCL_MA_LO Sets 0% value for mA scaling calculation.
Page 24
SCL_ERR_HI Sets 100% value for scaling and %error calculation. E.g. SCL_ERR_HI 100 SCL_ERR_HI? Returns 100% value for scaling and %error calculation. SCL_ERR_LO Sets 0% value for scaling and %error calculation. E.g. SCL_ERR_LO 0 CEL SCL_ERR_LO? Returns 0% value scaling and %error calculation. Sets the output for current simulation.
Page 25
ST_DEAD? In switch test recall mode this command returns the dead band of the switch. TC_TYPE Sets the type of the thermocouple. All available types are shown in the TC Types table in Section 8. (Specifications). For example: TC_TYPE B sets thermocouple type to B TC_TYPE? Returns the type of thermocouple the calibrator is set to.
Page 26
TSENS_TYPE Sets the temperature sensor type to thermocouple, or to RTD for temperature measurement. After the command add TC for thermocouple, or RTD for RTDs. For example: TSENS_TYPE TC sets the sensor type to thermocouple TSENS_TYPE? Returns the type of sensor that is currently set to measure temperature, either TC or RTD.
Need help?
Do you have a question about the JOFRA ASC301 and is the answer not in the manual?
Questions and answers