Job Execution - Siemens SIMATIC MV500 Operating Instructions Manual

Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

Process interfacing via an automation system (PLC, PC)
9.4 Control with FB 79
9.4.5.3

Job execution

Whether or not a job can be executed successfully depends on the current operating state of
the optical reader. The following table shows which jobs are possible in the various states of
the optical reader. You can find the job number in the parameter table.
Table 9- 47
Possible jobs depending on the operating state
Operating state of
the reader
RUN (RDY=1) (pro-
cessing mode with
output of the result
strings)
STOP
ERROR (IN_OP=0)
Sequence when canceling a job ("COMMAND" = W#16#0000)
Job cancellation is only possible with the "COMMAND = W#16#0081...W#16#008F" read jobs.
The block signals completion of the job termination with "ACTIVE = FALSE".
If a transfer is active when the job is canceled, the transfer aborts and the error is reported
with an appropriate error message in the "ERRCODE" parameter. "ERROR" then has the value
"TRUE" and "DONE" has the value "FALSE". A transfer is active when "DONE" and "ERROR" show
the value "FALSE".
If no transfer is active during the cancellation and once the job is completed, the "ERRCODE"
parameter has the value "0", "ERROR" has the value "FALSE" and "DONE" has the value "TRUE".
Sequence when changing jobs
If you want to change to a different job from a read job, the currently active job must be
canceled.
190
0000
0001
X
X
X
X
X
X
Job number = (hexadecimal)
0002
0003
X
X
X
X
-
X
Operating Instructions, 03/2021, C79000-G8976-C494-05
0004
0005
X
X
X
X
X
X
0081 ...
008F
X
-
-
SIMATIC MV500

Advertisement

Table of Contents
loading

Table of Contents