
User Guide
- 41
–
Need CAL
– the S2000 PRO/ELITE need to be calibrated
before the value can be set.
EXP
– the S2000 PRO/ELITE is running a timed exposure,
so the value cannot be set.
29. Get PLC Mode
Command to S2000 PRO/ELITE;
GPM
Response from S2000 PRO/ELITE;
n
Note
: If n is ‘1’ then trigger level mode is enabled, if it is ‘0’
then trigger level mode is disabled.
30. Set PLC Mode
Command to S2000 PRO/ELITE;
SPMn
Note: n, if n is 0 then trigger level mode is disabled. If n is
1 then trigger level mode is enabled.
Response from S2000 PRO/ELITE;
Received
– if the command has been accepted.
Invalid
– if the value is outside the specified range.
18.5 Command Timing Specification:
18.5.1
The minimum amount of time required for data to be received by the PC is over
20mS except for any commands related to iris movement which is over
200msec. The next command must be sent after the previous command is
responded by the unit. Failure to adhere to this requirement will result in
dropped responses as well as other undesirable effects.
18.6 Graphic User Interface Control:
18.6.1
When the unit is connected to PC, the unit front panel will be automatically
locked out. The unit status will be sampled at twice per second. Refer to
section 20 for detailed operating description of the GUI.
18.7 Sample Code:
Example Borland C++ code for command “GLG” – Get light guide diameter
void __fastcall TForm1::Cmd33Click(TObject *Sender)
{
signed char Tries = 4;
float LG_diameter;
unsigned char *Command;