Process interfacing via an automation system (PLC, PC)
10.3 Control with FB 45 and Ident profile
SIMATIC MV420 / SIMATIC MV440
242 Operating Instructions, 04/2013, A5E02371045-06
Input parameters
The variables should be assigned as follows:
Variable Value/description
ASM_address To match the start address in HW Config
ASM_channel 1 or 2, depending on the connection to the ASM
command_DB_number Number of the "MOBY CMD" data block
command_DB_address Start address of the command in "MOBY_CMD"
MDS_control B#16#1
ECC_mode FALSE
RESET_long TRUE
MOBY_mode B#16#5
scanning_time B#16#0
option_1 B#16#2
distance_limiting B#16#0
multitag B#16#1
field_ON_control B#16#0
field_ON_time B#16#0: init_run without program selection,
B#16#1 ... B#16#15:
Number of the program to be started (init_run with program selection)
reserved0 B#16#0
cancel Not supported
command_start TRUE = start of a command
repeat_command FALSE, not supported
init_run For information on initializing the ASM, refer to the FB45 function
manual; for information on acknowledging a group error of the reader,
refer to chapter Group errors (Page 267).
ASM_failure Refer to the description in the FB45 Function Manual.
Output parameters
The following output parameters have a different meaning from the description in the
function manual of FB45:
Variable Description
ANZ_MDS_present No significance.
number_MDS Refer to the description in chapter Status displays of the MV reader
(Page 245)
ANZ_cancel Not supported.
ANZ_ECC Not supported.
LR_bat Not supported.
Battery_low Not supported.
error_MOBY Refer to the description in chapter Result evaluation of a command
(Page 264)