Integration into the User Program
4-26
C7-613 Control System
A5E00138934-03
4.5.3 Job Compartment (JOB_ID, JOB_PAR1, JOB_PAR2, JOB_PAR3)
Job Compartment
You can initiate control jobs for HMI functions from the user program using the job
compartment.
The job compartment consists of four words.
The job number (JOB_ID) is located in the first word of the job compartment. The
job number can be entered only indirectly. Constants cannot be specified directly.
In the further words you enter a maximum of 3 parameters of the job.
Job number (JOB_ID)
Parameter 1 (JOB_PAR1)
Parameter 2 (JOB_PAR2)
Parameter 3 (JOB_PAR3)
Starting a Job
If the first word of the job compartment is not equal to zero, the control job is
performed. This word is reset to zero after the end of the job.
Control Jobs
Table 4-6 lists all of the possible control jobs for the C7-613 (No. = job number of
the control job), including their parameters:
Table 4-6 Control Jobs (JOB_ID) including Parameters
No.
Function
13 Switching the language
Parameter 1 1: 1st language
2: 2nd language
3: 3rd language
4: 4th language
5: 5th language
The currently set language can be reset with Parameter 1 = “0”.
The language is supplied at Parameter 1.
Parameter 2, 3 -
22 Setting the display contrast
Parameter 1 0 to 15
Parameter 2, 3 –
24 Password logout
Parameter 1, 2, 3 -
49 Clearing the event buffer
Parameter 1, 2, 3 -