Lenze PLC Designer PLC Designer (R3-1) Manual de usuario Pagina 53

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 117
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 52
L-force | PLC Designer
Lenze Specific Functions
DMS 4.1 EN 03/2011 TD29 51
Example
FUNCTION_BLOCK L_IO1000_EPMS640_RS232Send
VAR_INPUT
xExecute: BOOL; (*Trigger request on positive edge / enable transmission of data
to RS232 module*)
xReset: BOOL; (*Trigger reset / reset block*)
pbyInput_address: POINTER TO BYTE; (*Start address of input area in process
image*)
pbyOutput_address: POINTER TO BYTE; (*Start address of output area in process
image*)
pbyData_address: POINTER TO BYTE; (*Start address of data area to be
transferred*)
wLength_of_telegram: WORD; (*Number of bytes to be transferred. 1 <= LEN <=
1024*)
wNumber_of_IOBytes: WORD; (*Number of bytes available in process image 8/
20/ 60*)
END_VAR
VAR_OUTPUT
xDone: BOOL; (*Request completed without errors, data sent STATUS parameter
= 00h*)
xBusy: BOOL; (*Information on processing status*)
xError: BOOL; (*Request completed with error, STATUS parameter contains error
information*)
wStatus: WORD; (*Specification of the error if ERROR = 1 /information on
processing status, request is being processed 0x8181h*)
END_VAR
Vista de pagina 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 116 117

Comentarios a estos manuales

Sin comentarios