Sigma C4 manual Special Commands

Page 53

6.8 Special Commands

There are special commands that use the substep data within a step for different purposes than normal. These commands are (6.8.1) Creating controlled loops, and (6.8.2 - 6.8.5) External port controls. In each case only some of the substeps are used. To enhance program readability, we suggest that you set any unused substep values to zero.

6.8.1 Controlled Program Looping

The program may be placed into a controlled loop by the use of the PROGRAM LOOP special command. When the Probe is specified as 3, the Setpoint value is used as a loop count. This value must be specified as an integer and be in the range 1 - 999. Each time the Loop Command is reached in the program, the loop count is decremented by one. As long as the loop count is greater than zero, the program will execute the step indicated in the Next-Step-Number substep of the Program Loop step. When the loop count (substep 0) value finally becomes zero, the step following the Program Loop step is executed.

Example:

Step & substep Value

07.05 Loop count

07.1

0000

(not used)

07.2

0000

(not used)

07.31 Loop start step

07.43 Identifies this step as a PROGRAM LOOP command

This will loop 5 times from step 1 to step 7 decrementing the loop counter by 1 for each loop. When the loop counter has reached 0 the program will continue with step 8.

Notes:

Nested program loops not supported. They may appear to work if you try to use them, but the loop will never complete and further results are not predictable.

A loop count of 5 (example) will cause the program to execute the loop 5 times. If the program loop refers to a previously executed step as the loop start step, then that step will be executed once originally plus the 5 times for the loop, for a total of 6 times.

Example: If the program that contained the example loop step, above, began with step 00, then progressed normally through steps 1, 2, 3, 4, 5, and 6 before

C4 Manual Rev 7.5.2

53

Image 53
Contents Sigma Systems Programmable Temperature Controller / InterfaceC4 Manual Rev Table of Contents Intelligent 2 Probe Control C4 Manual Rev C4 Manual Rev C4 Manual Rev C4 Manual Rev Models C4 & CC-3.5Explained IntroductionGeneral Description Release 7.5.2 Firmware Custom Features / Interchangeability WarningC4 vs. CC-3 Differences What’s New Firmware Uploads Forced Start from Prom Firmware Internal Error Shutdown Conditions Intelligent 2 Probe Control Probe Averaging Program Mode Step Insert & Delete RSA Remote Mode Setup Parameter Commands Front Panel Physical DescriptionMode Switch Clear Prog J1 TOP Rear Panel ConnectionsC3-5 Rel General Operation & Error Conditions200 100c 392 148f Startup DisplaysUpdating Firmware Upgrading Firmware by Prom Replacement Making the physical connection for upload Rs load Restoring Setup Parameters to Default ValuesSu res Ee busy and then su doneC4 Manual Rev Fahrenheit Operation P1fProbe Out of Range Shutdown System Operating Temperature RangeP1 lo P1 hi P1 err P1 -err All res Internal Error Shutdown ConditionsRes err Software Probe Correction Calibration Su errStatus and Error Reporting Fail-safe System C4 Manual Rev Intelligent 2 Probe Control How Intelligent 2 Probe Control functions Preparing for Intelligent 2 Probe Control Using Intelligent 2 Probe Control Displaying Temperature Local Mode Basic OperationDisplaying and Changing the Setpoint S1 102.6 s1fS1 nsp S1f nsp Controlling to a Setpoint Sor -sorSp err C4 Manual Rev Description of a Program Step Program Mode06.0 00.1 Substep Step Data 00.0Ramp time 00.2Maximizing Ramp Speed & Other Ramp Considerations Displaying Program Steps not during execution Clearing Program Memory Reinitializing program stepsPress CLEAR/ENTRY Entering or Changing a Program StepInsert Program Step Running Executing a Program Delete Program stepPress CLEAR/ENTRY Press CLEAR/ENTRY again Program Run Time Information/Considerations 005 sor Sor 007 nop2Loop Special Commands External Compressor On Common Programming Issues C4 Manual Rev IEEE-488 Interface Remote ModeEIA-232 Interface System Information Queries Command Summary by functional groupSystem Information Queries For Celsius mode For parameters numbered 0 through C4 Manual Rev Operation Information Queries & Commands REerror byteCRLF C4 Manual Rev Qccrlf PTnCRLF Setup Parameter Commands SC1 0 2.3 100 WP 6 5 5CRLF Upcrlf System Operation Commands Celsius mode Will hold the current setpoint for 1 hour and 20 minutes U1c 65.0 u1f IEEE-488 Gpib Error and Status Reporting OverviewTemperature in 20 minutes C4 Manual Rev Error/Status String Bit Definitions C4 Manual Rev Setup Mode PID controller, Integral term Adjustment not Displaying the Field Values Auto-start Mode Setup field Changing the Value of a Setup FieldTwo Probe Mode Setup field Temperature Control Terms PID Setup fields 0, 10, 11 Blower Shut-off Mode Setup fieldEntering probe correction setup data C4 Manual Rev C4 Manual Rev Programming Examples & Notes Appendix00.2 00.000.3 00.4Using shortcuts to shorten program entry time DISP/CNTLSTART/STOP 9900CLEAR/ENTRY 6 Enter 04.2 04.004.3 04.407.2 07.007.3 07.4C4 Manual Rev Sigma Systems C4 Programming Worksheet Sample Command Structure for IEEE-488 Gpib Operation Disp A$ Installation and Use of TTL Outputs and Input 101 Field Calibration of Model C4 Controller102 103 TroubleshootingNoise Immunity 105 Firmware Upload Problems 107 Temperature Control PID Tuning & Problems108 109 110 111 Technical Support, Repairs & Returns U1f 102.7113 Index114 115 GpibIEEE488 Gpib 117 118 119 SRQ120