Detailed Description
2.12 Block descriptions
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-95
Description of formal parameters
The table below list all formal parameters of the GET function.
Signal Type Type Value range Remarks
Req I Bool Job start with positive signal edge
NumVar I Int 1 to 8
(corresponds to use
of Addr1 to Addr8)
Number of variables to be read
Addr1 to Addr8 I Any [DBName].
[VarName]
Variable identifiers from NC Var selector
Unit1 to Unit8 I Byte Area address, optional for variable
addressing
Column1 to
Column8
I Word Column address, optional for variable
addressing
Line1 to Line8 I Word Line address, optional for variable
addressing
Error Q Bool Negative acknowledgment of job or
execution of job impossible
NDR Q Bool Job successfully executed Data are
available
State Q Word See error identifiers
RD1 to
RD8
I/O Any P#Mm.n BYTE x...
P#DBnr.dbxm.n
BYTE x
Target area for read data
Error identifiers
If it was not possible to execute a job, the failure is indicated by "logic 1" on status parameter
error. The error cause is coded at the block output State:
State Meaning Note
WORD
H
WORD L
1 to 8 1 Access error In high byte number of Var in which error
occurred
0 2 Error in job Incorrect compilation of Var. in a job
0 3 Negative acknowledgment,
job not executable
Internal error,
try: NC reset
1 to 8 4 Insufficient local user
memory available
Read var. is longer than specified in RD1
(to RD8); in high byte number of var in
which error occurred
0 5 Format conversion error Error on conversion of var. type double:
Var. is not within S7 REAL area