Process interfacing via an automation system (PLC, PC)
9.3 Control with Ident profile
SIMATIC MV500
Operating Instructions, 06/2018, C79000-G8976-C494-01
121
Command: Read result string
Using the same mechanism as "Read t result string", it is possible to read out the
decoded text of a code via CM.
Note that if "CM" was not selected as the trigger source in the WBM, the "PHYSICAL READ"
command will not trigger, it only returns the result of the decoding. If a result is already
available, this is returned. If there is not yet a result string available, the system waits until a
result string is available.
After processing of the command, the result string is available in the memory area of the
receive data specified in the command ("RXREF").
You can abort the execution of the command by setting the "INIT" bit.
Command: Read program number
When a "PHYSICAL READ" command is received, the MV command "Read program
number" ("PHYSICAL WRITE" command) must have been issued immediately beforehand in
order for the current program number to be returned. You can find more information on this
subject in the section ""PHYSICAL WRITE" commands / MV command interface
(Page 112)".
The "PHYSICAL READ" command must specify the start address "0x0000" and a length
"0x01" ("CMD_STRUCT.ADDR_TAG = 0", "CMD_STRUCT.LEN_DATA = 1").
The byte read at address "0x0000" contains the number of the program currently selected
and is stored in the memory area of the receive data after the command is processed.
Table 9- 27 CMD_STRUCT
Parameter
Value
CMD
0x70
OFFSETBUFFER
0x00
EPCID_UID
0x00
LEN_DATA
0x01
ADDR_TAG
0x00
Table 9- 28 Command data area (TXREF or RXREF)
Address
Value
Meaning
0x0000
0x00 ... 0x0F
Current program number
Содержание SIMATIC MV540 H
Страница 24: ...Description 1 7 Functional description SIMATIC MV500 24 Operating Instructions 06 2018 C79000 G8976 C494 01 ...
Страница 194: ...Service and maintenance 10 3 Replacing a module SIMATIC MV500 194 Operating Instructions 06 2018 C79000 G8976 C494 01 ...
Страница 232: ...Appendix A 3 Alternative user interfaces SIMATIC MV500 232 Operating Instructions 06 2018 C79000 G8976 C494 01 ...
Страница 236: ...List of abbreviations SIMATIC MV500 236 Operating Instructions 06 2018 C79000 G8976 C494 01 ...
Страница 238: ...Service Support SIMATIC MV500 238 Operating Instructions 06 2018 C79000 G8976 C494 01 ...