Process interfacing via an automation system (PLC, PC)
9.4 Control with FB 79
SIMATIC MV500
188
Operating Instructions, 03/2021, C79000-G8976-C494-05
Parameter
Declaration Data type Address
(instance DB)
Default
Description
STATE
OUTPUT
WORD
28.0
W#16#0000
Operating state of the optical reader:
•
W#16#0000: Status not up to date
•
W#16#0001: RUN
(processing mode with output of the result
string), in other words, the "IN_OP" and
"RDY" bits in the status byte are set.
•
W#16#0002: STOP
including Save program and Adjustment
mode, i.e. the "IN_OP" bit in the status
byte is set, but the "RDY" bit is not.
•
W#16#0003: ERROR
The "IN_OP" bit in the status byte is not
set.
CODE_
OUT
OUTPUT
BYTE
30.0
B#16#00
Number of the program currently selected by
the optical reader
LENGTH
OUTPUT
WORD
32.0
W#16#0000
Length of the result string in bytes
Table 9- 45 Possible values of the "COMMAND" parameter
Value (W#16#...) Meaning
0000
Cancel current job or no job
0001
Change program
0002
Save program
0003
Output the number of the program currently selected on the optical reader
0004
Output the current operating state of the optical reader
0005
Reset DISA control signal
0081
Output the (possibly modified) result string
0082
Output absolute quality characteristics
0083
Output absolute quality characteristics and output result string
0084
Output quality characteristics as classes
0085
Output quality characteristics as classes and output result string
0086
Output quality characteristics as classes and in absolute format
0087
Output quality characteristics as classes and in absolute format and output result
string
0088
Output code position
0089
Output code position and result string
008A
Output code position and output absolute quality characteristics
008B
Output absolute code position and quality characteristics and output result string
008C
Output code position and quality characteristics as classes
008D
Output code position and quality characteristics as classes and output result string
008E
Output code position and quality characteristics as classes and in absolute format
008F
Output code position and quality characteristics as classes and in absolute format
and output result string
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 ...