SmartPLC SafeLine with PROFIBUS slave interface
208
Step7 programmer's notes: call acyclic services
41711
In the projection software, standard function blocks are used for the acyclic data exchange between a
PROFIBUS IO controller and the AC412S.
Siemens S7 controllers provide two standard function blocks:
SFB52
RDREC
for reading acyclic data
SFB53
WRREC
for writing acyclic data
For detailed information regarding SFB52 and SFB53:
→ operating instructions of the
Siemens S7 controller!
>
Error codes of the acyclic services
41429
SFB52 and SFB53 provide a 32-bit value at their "Status" output which informs about any problems
during processing. The error message is structured as follows:
Bits 31...24
Bits 23...16
Bits 15...8
Bits 7...0
Error code
Error decode
Error code 1
Error code 2
The following error messages for acyclic services have been implemented in the
ifm
device:
Error number
[hex]
Error name
Description
8180 A200
PNIO_RW_APP_MODUL_FAILURE
Error when executing the command
8180 B100
PNIO_RW_WRITE_LENGTH_ERROR
Too many bytes to be written to the resource
8180 B600
PNIO_RW_ACCESS_DENIED
The access to a resource was blocked (e.g.
outputs if not in the gateway mode)
8180 B700
PNIO_RW_ACCESS_INVALID_LENGTH
More bytes are to be read than are provided by the
resource
8180 C300
PNIO_RW_RESOURCE_UNAVAILABLE
The resource does not provide any data
DE80 A900
IORDRES_RW_APP_FEATURE_UNSUPPORTED The selected resource is not supported
DF80 B100
IOWRRES_RW_WRITE_LENGTH_ERROR
The number of bytes to be written is too high
DF80 B200
IOWRRES_RW_ACCESS_INVALID_SLOT
The selected slot is invalid