
Process interfacing via an automation system (PLC, PC)
9.4 Control with FB 79
SIMATIC MV500
190
Operating Instructions, 03/2021, C79000-G8976-C494-05
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
Job number = (hexadecimal)
0000
0001
0002
0003
0004
0005
0081 ...
008F
RUN (RDY=1) (pro-
cessing mode with
output of the result
strings)
X
X
X
X
X
X
X
STOP
X
X
X
X
X
X
-
ERROR (IN_OP=0)
X
X
-
X
X
X
-
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.
Summary of Contents for SIMATIC MV500
Page 10: ...Preface SIMATIC MV500 10 Operating Instructions 03 2021 C79000 G8976 C494 05 ...
Page 16: ......
Page 28: ......
Page 32: ......
Page 92: ......
Page 114: ......
Page 148: ......
Page 244: ......
Page 254: ......
Page 260: ......
Page 292: ......
Page 294: ...Service Support SIMATIC MV500 294 Operating Instructions 03 2021 C79000 G8976 C494 05 ...