
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.
Содержание SIMATIC MV500
Страница 10: ...Preface SIMATIC MV500 10 Operating Instructions 03 2021 C79000 G8976 C494 05 ...
Страница 16: ......
Страница 28: ......
Страница 32: ......
Страница 92: ......
Страница 114: ......
Страница 148: ......
Страница 244: ......
Страница 254: ......
Страница 260: ......
Страница 292: ......
Страница 294: ...Service Support SIMATIC MV500 294 Operating Instructions 03 2021 C79000 G8976 C494 05 ...