Process interfacing via an automation system (PLC, PC)
9.3 Control with Ident profile
SIMATIC MV500
112
Operating Instructions, 06/2018, C79000-G8976-C494-01
9.3.2.2
Initialization
When performing an initialization ("INIT"), you have the choice between an initialization with
program selection and initialization without program selection.
Monitor the operating state of the optical reader regardless of the initialization method
selected by the automation system (see section "Status display of the optical reader
(Page 111)"), in order to be able to react to a change of operating state and to check the
required preconditions (see section "Preconditions for the commands (Page 124)").
Initialization with program selection
Initialization with program selection enables:
●
Initialization after startup
–
After the self-test, the optical reader switches to processing mode with the selected
program number.
–
With initialization during self-test, the initialization receives a negative
acknowledgment. Wait for the end of the self test and repeat the initialization until you
receive a positive acknowledgment.
●
Reset of pending error with the subsequent start of the selected program. If the selected
program does not exist, the initialization receives a negative acknowledgment.
Initialization without program selection
Initialization without program selection enables:
●
Initialization after startup
–
After the self-test, the optical reader changes to the operating mode that it was in prior
to shutdown.
–
Initialization is acknowledged positively as early as during the self-test. This means
that you need to determine the operating state using the status display (see section
"Status display of the optical reader (Page 111)").
●
Identification of pending errors (see section "Group error (Page 125)").
●
Reset of pending error
9.3.2.3
"PHYSICAL WRITE" commands / MV command interface
Supported MV commands
You can use the "PHYSICAL WRITE" command to send various MV commands (Machine
Vision commands). This is used to make settings in the camera.
An MV command is always a write command to the address "0x0000"
("CMD_STRUCT.StartAddress = 0") with a command-dependent length
("CMD_STRUCT.Length").
The first byte in the memory area of the receive data codes the relevant MV command and
determines the meaning of any bytes that follow.