Siemens ET 200S 1SI Function Manual page 28

Table of Contents

Advertisement

Function blocks of the ET 200S 1SI serial interface module
3.4 Function blocks _ET200S_SIxx_getV24Sig
Parameter description
Table 3-3
Parameter _ET200S_SIxx_getV24Sig
Name
P type
1)
execute
IN
BOOL
reset
IN
BOOL
periIn
IN
ARRAY [0..3] of BYTE /
ARRAY [0..7] of BYTE /
ARRAY [0..31] of BYTE
periOut
IN/OUT
ARRAY [0..3] of BYTE /
ARRAY [0..7] of BYTE /
ARRAY [0..31] of BYTE
done
OUT
BOOL
error
OUT
BOOL
errorID
OUT
WORD
sigDtr
OUT
BOOL
sigDsr
OUT
BOOL
sigRts
OUT
BOOL
sigCts
OUT
BOOL
sigDcd
OUT
BOOL
Parameter types: IN = input parameter, OUT = output parameter, IN/OUT = in/out parameter
1)
Note: The periOut parameter must be provided with an array of type ARRAY [0..3] of BYTE or ARRAY [0..7] of BYTE.
2)
Create a local or global array in your program under VAR (do not create a temporary array under VAR_TEMP). After the
FB has been called, this array must be assigned to the I/O variable for the I/O outputs of the module. See call example in
chapter "Calling the function blocks"!
For error information, refer to SIMATIC manuals
3)
ET 200S 1SI Serial Interface Modules.
Diagnostics", and
Task integration (call)
The _ET200S_SIxx_getV24Sig FB must be called cyclically in the BackgroundTask or the
TimerInterruptTask. Calling in the SystemInterruptTask is not permitted. Calling the function
block in the IPOSynchronousTask is not recommended for runtime reasons.
RS-232-C secondary signals are updated each time the FB is called (cyclic polling).
Note
A minimum pulse duration is necessary to detect a signal change. Determining factors are the
cycle time (for the SIMOTION hardware platform), the update time on the serial interface
module, and the response time of the communication partner.
28
Data type
Initiates request on positive edge
Aborts request
Transfers I/O inputs of the serial in‐
terface module to FB
Prepared data of the FB for the I/O
outputs of the serial interface mod‐
ule
2)
Request completed without errors
Request completed with errors
Error specification
For error = TRUE, the error informa‐
tion (event class and number) is dis‐
played in the errorID parameter.
Data terminal ready
Data set ready
Request to send
Clear to send
Data carrier detected
ET 200S Distributed I/O System , chapter "Commissioning and
Meaning
Entered
Entered
I/O variable of the I/O
inputs of the serial
module transferred to
the FB
Checked and entered
onto the I/O variable
for the I/O outputs
Checked
Checked
Checked
3)
Checked
Checked
Checked
Checked
Checked
Supplement to the ET 200S 1SI serial interface module
Actions performed
Actions per‐
by user
formed by
Checked
Checked
Checked
Entered
Entered
Entered
Entered
Entered
Entered
Entered
Entered
Entered
Function Manual, 01/2015, xxx
block

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simotion et 200s

Table of Contents