EasyManua.ls Logo

Siemens Simatic S7-1500 / ET 200MP - Reading User-Defined Acyclic Data

Siemens Simatic S7-1500 / ET 200MP
70 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming
5.1 Programming with STEP 7 (TIA Portal)
Technology module TM FAST (6ES7554-1AA00-0AB0)
Equipment Manual, 04/2023, A5E52301130-AA
35
5.1.3 LTMFAST_UserReadREC: Reading acyclic data of the TM FAST application
Description
Use the LTMFAST_UserReadREC instruction to read the user-defined acyclic data from the
TM FAST application in the module.
Operating principle
With a rising edge at the Req input, the instruction reads the contents of data record 102
(Page 69) and writes it to UserDataContent parameter. You can only perform a new job when
there is no error pending and no job is active.
You can find an example for the reaction of the Busy, Done and Error bits in the section
LTMFAST_ControlREC: Update TM FAST application (Page 31),
Reaction to error
The Error output indicates whether an error has occurred in the running cycle. In the event of
an error, the error code is displayed at the Status output.
Parameter
The following table shows the parameters of the instruction.
Parameter Decla-
ration
Data type Default Description
Req
Input
Bool
False
Starts the job at a positive edge.
Len
Output
UInt
0
Length of TMFASTUserReadREC (in bytes)
Busy
Output
Bool
False
Busy = True: The job has not yet been completed.
Done
Output
Bool
False
Done = True is displayed for one cycle or until Req is reset: The job
was completed without errors.
Error
Output
Bool
False
Error = True is displayed for one cycle or until Req is reset: An error
has occurred. In this case, Busy and Done are set to False. For de-
tailed information, see Status parameter.
Status
Output
Word
16#0
Status of the instruction, displayed for one cycle or until Req is reset:
see "Status parameter" description
UserData
Content
InOut
DWord array
[0...m]
16#0
Content of data record 102
TMFAST
ControlREC
InOut
LTMFAST_
ControlREC
Assignment of the instance data block of the LTMFAST_ControlREC
instruction that contains the hardware identifier of the TM FAST
used.

Other manuals for Siemens Simatic S7-1500 / ET 200MP

Related product manuals