Parameter Overview - Siemens SIMATIC MV500 Operating Instructions Manual

Hide thumbs Also See for SIMATIC MV500:
Table of Contents

Advertisement

9.4.5.2

Parameter overview

Table 9- 44
Overview of FB 79 parameters
Parameter
Declaration Data type
LADDR_
INPUT
STEUER
LADDR_
INPUT
STATUS
LADDR_
INPUT
SEND
LADDR_
INPUT
RECV
COMMAND
INPUT
PARAM1
INPUT
RESET
INPUT
RECV
INPUT
ACTIVE
OUTPUT
DONE
OUTPUT
ERROR
OUTPUT
ERRCODE
OUTPUT
SIMATIC MV500
Operating Instructions, 03/2021, C79000-G8976-C494-05
Address
(instance DB)
WORD
0.0
WORD
2.0
WORD
4.0
WORD
6.0
WORD
8.0
BYTE
10.0
BOOL
11.0
ANY
12.0
BOOL
22.0
BOOL
22.1
BOOL
22.2
DWORD
24.0
Process interfacing via an automation system (PLC, PC)
Default
Description
W#16#0000
Address of the control byte of the optical
reader.
The address must be in the process image of
the CPU you are using.
W#16#0000
Address of the status byte of the optical read-
er.
The address must be in the process image of
the CPU you are using.
W#16#0000
Start address of the "Send" user data interface
of the optical reader.
W#16#0000
Start address of the "Receive" user data inter-
face of the optical reader.
W#16#0000
Job number:
The permitted values are described following
this table.
B#16#00
Number of the program to be selected (rele-
vant only for jobs "W#16#0001" and
"W#16#0002").
FALSE
Reset pending error and FB initialization.
Receive area for the result string. Only data
block areas and the "BYTE" data type are per-
mitted.
You must interconnect this parameter and the
data block must be at least as large as the
maximum DMC string that can be expected.
FALSE
ACTIVE = TRUE:
Editing of the last job has not yet completed.
FALSE
DONE = TRUE:
Job was completed without errors.
With read jobs ("COMMAND = W#16#0081 ...
008F"), this simply means that the transfer
between the optical reader and FB (CPU) was
error-free.
To find out whether the DMC processing was
successful, you will need to process bits
"READ" (bit 3), "MATCH" (bit 4) and "N_OK"
(bit 5) in the status byte of the optical reader.
FALSE
ERROR = TRUE:
An error has occurred.
DW#16#
Error information:
00000000
DW#16#0000 0000: No error
DW#16#0000 wxyz: Warning
DW#16#0001 wxyz: Internal FB error
DW#16#0002 wxyz: Optical reader error
(see table below for error information)
9.4 Control with FB 79
187

Advertisement

Table of Contents
loading

Table of Contents