Siemens ET 200S 1SI Function Manual page 40

Table of Contents

Advertisement

Function blocks of the ET 200S 1SI serial interface module
3.11 Application example for the ET 200S 1SI serial interface module
Adapting the application example
The configuration in the example and its available hardware must be adapted.
The following options are available:
● You can adapt the configuration in the example to the available hardware (PROFIBUS DP
address).
● You can adapt the configuration of the hardware to the example (PROFIBUS DP address).
Calling the application example
The application example can be found on the "SIMOTION Utilities & Applications" CD-ROM.
The "SIMOTION Utilities & Applications" CD-ROM is provided free of charge and part of the
SIMOTION SCOUT scope of delivery.
1. Dearchive and open the project containing the application example.
2. Check the axis configuration: PROFIBUS DP addresses.
3. Check the module addresses (hardware configuration) against the I/O addresses of the
controller in SIMOTION SCOUT and the module addresses in the program
(myModuleAddr_1, myModuleAddr_2).
4. Save and compile the example project. Then, you can download the example to the
SIMOTION device and switch to RUN mode.
Sequence of the application example
Input icons used
Table 3-8
mySelectPointToPoint
myExecSend
mySendOrder1
mySendOrder2
myAbortSend
myEnableToReceive
myReceiveOrder1
myReceiveOrder2
myAbortReceive
myDataLengthSend
myDataOffsetSend
myDataOffsetReceive
myModuleAddr_1
myModuleAddr_2
mySendDataArray
40
Input icons used
Symbol
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
INT
INT
INT
DINT
DINT
ARRAY [0..1023] of BYTE
Data type
Select point-to-point communication
Initiate send request
Select send: Request 1
Select send: Request 2
Abort send request
Receive enable
Select receive: Request 1
Select receive: Request 2
Abort receive request
Length/number of data to be sent
1. byte in the send data array
1. byte in the receive data array
Module address first ET 200S 1SI
Module address second ET 200S 1SI
Send data array
Supplement to the ET 200S 1SI serial interface module
Description
Function Manual, 01/2015, xxx

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simotion et 200s

Table of Contents