7 l_io1000parcounterepms603 - parameterise counter, L_io1000parcounterepms603 - parameterise counter, L_io1000parcounterepms603 – Lenze Function library LenzeIO1000Drv User Manual

Page 32: Function library "lenzeio1000drv

Advertising
background image

Function library "LenzeIo1000Drv"

Function blocks

L_io1000ParCounterEPMS603 - Parameterise counter

32

L

DMS 1.0 EN - 07/2011 - TD05

4.7

L_io1000ParCounterEPMS603 - Parameterise counter

This FB serves to parameterise the EPM-S603 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_io1000ParCounterEPMS603

⎯ bExecute

bDone ⎯

⎯ dwHandle

dnState ⎯

⎯ byNodeAdr
⎯ byAnalogModuleNo
⎯ byCnt0InputFrequencyTrackA
⎯ byCnt0InputFrequencyTrackB
⎯ byCnt0SignalSelection
⎯ bCnt0InvertDirectionTrackB
⎯ byCnt1InputFrequencyTrackA
⎯ byCnt1InputFrequencyTrackB
⎯ byCnt1SignalSelection
⎯ bCnt1InvertDirectionTrackB

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

byCnt0

InputFrequencyTrackA

BYTE

Counter 1: Input filter of digital input 1, "A1"/"pulse"

2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
7 5 kHz
8 2 kHz
9 1 kHz

Advertising