6 l_io1000parcounterepms602 - parameterise counter, L_io1000parcounterepms602 - parameterise counter, L_io1000parcounterepms602 – Lenze Function library LenzeIO1000Drv User Manual

Page 28: Function library "lenzeio1000drv

Advertising
background image

Function library "LenzeIo1000Drv"

Function blocks

L_io1000ParCounterEPMS602 - Parameterise counter

28

L

DMS 1.0 EN - 07/2011 - TD05

4.6

L_io1000ParCounterEPMS602 - Parameterise counter

This FB serves to parameterise the EPM-S602 counter module.

 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_io1000ParCounterEPMS602

⎯ bExecute

bDone ⎯

⎯ dwHandle

dnState ⎯

⎯ byNodeAdr
⎯ byAnalogModuleNo
⎯ bDiagnosticAlarm
⎯ byInputFrequencyTrackA
⎯ byInputFrequencyTrackB
⎯ byInputFrequencyReset
⎯ byAlarmFunction
⎯ byCounterFunction
⎯ bySignalSelection
⎯ bInternalGateInterrupt
⎯ byCompareFunction
⎯ bInvertDirectionTrackB
⎯ byResetFunction
⎯ dwLoadValue
⎯ dwEndValue
⎯ byHysteresis

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