Effect Of The Commands; Editing Commands - Siemens SIMATIC Ident Function Manual

Hide thumbs Also See for SIMATIC Ident:
Table of Contents

Advertisement

Table 4- 84 PHYSICAL-READ
CMD
OFFSET
ADDR_T
BUFFER
AG
0x70
Offset in
0x0000
the
"RXREF"
send
buffer
4.6.4.5

Effect of the commands

The commands used take effect as follows:
• The input parameters "INIT" and "RESET" interrupt command execution within the
communications module.
• The completed message that follows the "INIT" or "SRESET" ("DONE" or "ERROR")
always relates to the input parameter "INIT" or "SRESET" and not to the interrupted
command.
• The input parameter "INIT" resets communication between the Ident profile and the
communications module. Following "hard" resetting of the communications module,
the Ident profile automatically transfers the "WRITE-CONFIG" command to the
communications module. This is why it is absolutely necessary that you store the
"WRITE-CONFIG" command in the first element of the command buffer "CMDREF".
• The "WRITE-CONFIG" command resets all functions within the communications
module, with the exception of the communication.
• The parameter "SRESET" interrupts a running command.
4.6.4.6

Editing commands

Follow the steps below to edit the commands:
1. Write the "CMDREF" (SINT[n]) parameter with the required commands.
The content of "CMDREF" = [0] is reserved for initialization. It is executed when the
"INIT" input of the Ident profile is set and "CMDSEL" is = [0].
2. Transfer the data to be written to the send data buffer "TXBUF".
3. Select the previously written command (SINT[n]) with the "CMDSEL" parameter.
4. Execute the command using the "EXECUTE" parameter ("EXECUTE" = 1").
Wait until the bits "BUSY = FALSE" and "DONE = TRUE" are set.
The command is now executed free of errors.
If "ERROR = TRUE" is set, continue at point 5. Otherwise, continue with Step 6.
5. Evaluate the errors that have occurred.
6. Reset the "EXECUTE" bit.
Ident profile, Add-on instruction for Rockwell systems
Function Manual, 07/2020, C79000-G8976-C410-04
LEN_DATA
Length of the data to be fetched
from the reader:
≥ code length +2
= 0x01
≥ Match string length +2
Configuring the instructions
4.6 Programming the Ident profile
RXREF
Data fetched from the reader:
Code data
Program number
Match string
93

Advertisement

Table of Contents
loading

Table of Contents