File LakeShore340.h
FileList > ls340_scfs > LakeShore340.h
Go to the source code of this file
Public Functions
| Type | Name |
|---|---|
| INT | ls340_in (INT cmd, ...) |
| INT | ls340_out (INT cmd, ...) |
Public Functions Documentation
function ls340_in
INT ls340_in (
INT cmd,
...
)
LakeShore 340 device driver (DD). It is handling the communication between the LS340 and midas.
LS340_in is the part, which handles the communication LS340->MIDAS
RS232: 19200 baud, 8 data bits, 1 stop bit, no parity bit, no hardware protocol, no software protocol, termination: \ r\n (CR LF)
Device Driver info structure entries are organized as:
- ls340_odb_names: stores the Input/Output Names which are default to the equipment e.g. 'Remote (1/0)'
- ls_name: global label for this equipment (e.g. Moderator)
- names_in: array with required default input names
- names_out: array with required default output names
ls340_settings: keeps configuration settings, etc. * intern: private variables * ets_in_use: flag showing if the ets rs232 terminal server is used (1=yes/0=no) * reconnection_timeout: timeout in (sec) after which a reconnection attempt is made * odb_offset: odb offset for the 'set point' within the output variables. Needed by the forced update routine. * odb_output: odb output variable path. Needed by the forced update routine. * remote: stores if the LS340 is computer controlled of not * no_of_sensors: # used sensors. Max. possible are 10, A and B are internal to the LS340 C1-C4 and D1-D4 are coming from the LS3468 input card The C/D blocks can only handle one type of sensor each at the time i.e. if C1 is a PT100, C2-C4 only can be PT100 as well.
- loop1: keeps control loop1 related stuff
- ctrl_ch: which channel is used for the controll loop1
- setpoint_limit: maximal allowed setpoint
- max_current_tag: limits the max. current for the heater, 1->0.25A, 2->0.5A, 3->1.0A, 4->2.0A
- max_heater_range: upper limit for the heater range, i.e. the the demand heater range must be between >= 0 and <= max_heater_range (see LakeShore340 manual, 6-9, 9-27)
-
heater_resitance: resistance of the loop1 heater. It is only used to compare with the readback value of the LS340. If these value differ more than 2 Ohm, an error message is sent out.
-
sensor: info related to the sensors
- datetime: current date and time, see LakeShore340 manual, p.9-30
- type: 1-12, see LakeShore340 manual, p.9-33 (1 -Si diode, 8 - Cernox)
- curve: calibration curve, see LakeShore340 manual, p.9-33
- channel: A, B, C1-C4, D1-D4
- name: name for each channel
-
raw_value: raw input values, see LakeShore340 manual, p.9-42
-
zone: zone1 to zone10 are the zone setting strings see LakeShore340 manual, p.9-42 the zone strings have the syntax: loop, zone, top_temp, P, I, D, man_out, range
function ls340_out
INT ls340_out (
INT cmd,
...
)
LakeShore 340 device driver (DD). It is handling the communication between the LS340 and midas.
LS340_out is the part, which handles the communication LS340<-MIDAS
The documentation for this class was generated from the following file midas_fe/ls340_scfs/LakeShore340.h