L_io1000parcounterepms604, Function library "lenzeio1000drv – Lenze Function library LenzeIO1000Drv User Manual

Page 35

Advertising
background image

DMS 1.0 EN - 07/2011 - TD05

L

35

Function library "LenzeIo1000Drv"

Function blocks

L_io1000ParCounterEPMS604 - Parameterise encoder evaluation

4.8

L_io1000ParCounterEPMS604 - Parameterise encoder evaluation

This FB serves to parameterise the I/O compound module EPM-S604. The module is an SSI

interface for direct connection to an SSI encoder.

 A FALSE/TRUE edge at the bExecute input starts the parameter setting.
 The dnState output shows the transmission status.

Inputs

Call possible in:

;

Cyclic task

…

Interrupt task

;

Time-controlled task (INTERVAL)

…

Event-controlled task (EVENT)

L_io1000ParCounterEPMS604

⎯ bExecute

bDone ⎯

⎯ dwHandle

dnState ⎯

⎯ byNodeAdr
⎯ byAnalogModuleNo
⎯ bDiagnosticAlarm
⎯ byDeadTime
⎯ byBaudrate
⎯ dwScaling
⎯ byBitLength
⎯ bMasterMode
⎯ bMsbFirst
⎯ bRisingEdgeSignal
⎯ bGrayCode
⎯ bSSIFunctionEnabled

Identifier/data type

Information/possible settings

bExecute

BOOL

FALSEÊTRUE Start parameter setting of the analog output module

dwHandle

DWORD

• 9400 ServoPLC: Handle created by FB L_CanInit

• Drive PLC, 9300 Servo PLC, ECS: 10

byNodeAdr

BYTE

1 ... 127 CAN node address of the I/O system

byAnalogModuleNo

BYTE

1 ... 64 Number of the analog output module

bDiagnosticAlarm

BOOL

TRUE Enable diagnostic alarm

Advertising