Function block l_io1000_epms640_rs232write, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 51

Advertising
background image

L-force | PLC Designer

Lenze Specific Functions

DMS 4.1 EN 03/2011 TD29

49

Function block L_IO1000_EPMS640_RS232Write
Function library: L_SM3_DriveUtil.lib
This function block coordinates the data transmission of the EPM-S640 I/O compound
module via RS232.


Inputs (VAR_IN)

Designator / Data type

Info / Setting options

xExecute / BOOL

A positive edge at the input triggers a request, i.e. the defined data
are transmitted by the EPM-S640 I/O compound module. A reset of
the input during processing does not affect the request.
After executing the current request, the block is reset with xExecute
=FALS“ and xReset=FALS“ and prepared for a new reset / data request.

xReset / BOOL

A positive edge at the input triggers a reset of the EPM-S640 I/O
compound module which reinitialises the module. A reset of the
input during processing does not affect the reset.
After executing the current request, the block is reset with
xReset=FALSE and xExecute=FALSE and prepared for a new reset /
data request.
Notes:
Prior to the first data transmission, the user has to execute a reset!
This reset is a synchronous reset, i.e. when executed on the write
block, the EPM-S640 I/O compound module will be reinitialised both
for data transmission and for data reception.
If a reset and a data request are triggered at the same time, the reset
(having the higher priority) will be executed.
A reset can also be executed during an active request. In this case, it
assumes the function of a request abort.

pbyInput_address /
POINTER_TO_BYTE

Start address of the of EPM-S640 I/O compound module's input area
in the process image.
The address must be transferred with the ADR operator.
Example :"… pbyInput_address:=ADR(%IB4800) , …"

pbyOutput_address /
POINTER_TO_BYTE

Start address of the EPM-S640 I/O compound module's output area in
the process image.
The address must be transferred with the ADR operator.
Example: "… pbyOutput_address:=ADR(%QB4800) , …"

pbyData_address /
POINTER_TO_BYTE

Start address of the data area for data to be transmitted.

Advertising