Program; Operating The Command Interface Of The Ie/As-Interface Link Pn Io As-Interface Master - Siemens SIMOTION Function Manual

Extension to the command interface for as-interface master modules
Hide thumbs Also See for SIMOTION:
Table of Contents

Advertisement

Program

3.1
Operating the command interface of the IE/AS-Interface Link PN IO
AS-Interface master
Overview
The command interface of the IE/AS-Interface Link PN IO AS-Interface master is operated by
means of data record transfer.
Data record transfer
Data record transfer is performed in the SIMOTION system using the functions _readRecord
and _writeRecord. In terms of their functionality, these correspond to system function blocks
SFB 52 and SFB 53 in the SIMATIC system (see the table below).
Table 3-1
Parameter assignment
Parameters for SFB 52/
SFB 53 (SIMATIC)
ID
-
INDEX
MLEN/LEN
RECORD
Parameter ioId is parameterized as type Input (for addresses in the I/O input range) or Output (for addresses in the I/O
1)
output range). Diagnostic addresses are always of type Input. Two identical ID-logic addresses may be in both the input
and output range.
Note
Data record transfer using _readRecord or _writeRecord is shown in the application example
for FB _ASI_cmdInterface.
The application example is included on the "SIMOTION Utilities & Applications" CD-ROM and
is available for various SIMOTION hardware platforms. The "SIMOTION Utilities &
Applications" CD-ROM is provided free of charge and is part of the SIMOTION SCOUT scope
of delivery.
Extension to the command interface for AS-Interface master modules
Function Manual, 01/2015
Parameter _readRecord (SI‐
MOTION)
logAddress
ioId
recordNumber
dataLength
StructRetReadRecord.data
Parameter _writeRecord
(SIMOTION)
logAddress
ioId
recordNumber
dataLength
Data
Meaning
I/O address or diagnostic address of
the IE/AS-Interface Link slot
Input/output assignment of logical
base address of the drive
Data record number
Length of the data record
Interface for net data
3
1)
15

Advertisement

Table of Contents
loading

Table of Contents