Editing Commands - Siemens Simatic Ident Function Manual

Rfid systems ident profile and ident blocks, standard function for ident systems
Hide thumbs Also See for Simatic Ident:
Table of Contents

Advertisement

Setting parameters for blocks
3.5 Programming the Ident profile
3.5.4.5

Editing commands

Follow the steps below to edit the commands:
1. Write the "CMDREF" (Array [1...n]) parameter with the required commands.
The content of "CMDREF" = [1] is reserved for initialization. It is executed when the "INIT"
input of the Ident profile is set and "CMDSEL" is = [1].
2. Transfer the data to be written to the send data buffer "TXBUF".
3. Select the previously written command (Array [1...n]) with the parameter "CMDSEL".
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.
The following diagram illustrates the running of the Ident profile over time. A command is
always started on the positive edge of "EXECUTE", "INIT" or "SRESET".
Case
Case
Case
Figure 3-36
104
By setting EXECUTE (EXECUTE = 1) the function/instruction is started. If the job was com-
pleted successfully (DONE = 1), you need to reset EXECUTE. DONE is reset at the same
time.
EXECUTE is set for only one cycle. As soon as BUSY is set (and DONE is reset), you can
reset EXECUTE again. If the job was completed successfully, DONE is set for one cycle.
Handling as in Case 1, however with error output. As soon as ERROR is set, the precise
error code is available in the STATUS output. ERROR and STATUS retain their value as
long as EXECUTE is set.
General sequence of the Ident profile
Ident profile and Ident blocks, standard function for Ident systems
Function Manual, 10/2018, C79000-G8976-C387-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents