
Firmware
≤
02.00 - DMS 2.1 EN - 03/2011
L
337
8400 motec | Software Manual
Function library
L_GP_Counter1
12.6
L_GP_Counter1
This FB is a digital upcounter and downcounter with a parameterisable comparison
operation.
Tip!
The FB is freely available as "GeneralPurpose" function.
• The inputs can be linked to other output signals via the given configuration
parameters.
• The outputs, in turn, can be selected in the configuration parameters of other
inputs.
Inputs
Identifier
Data type
Information/possible settings
bClkUp
BOOL
Clock input
• With each edge, the module counts up by "1".
• Only FALSE-TRUE edges are evaluated.
Note: The static state "1" is not permissible at this input.
bClkDown
BOOL
Clock input
• With each edge, the module counts down by "1".
• Only FALSE-TRUE edges are evaluated.
Note: The static state "1" is not permissible at this input.
bLoad
BOOL
Load input
• The input has the highest priority.
TRUE Accept starting value
wLdVal
.
wLdVal
WORD
Starting value
• Assigned value is internally interpreted as "INT" data type (-32767 ... +32767), i.e.
the most significant bit determines the sign.
wCmpVal
WORD
Comparison value
• Assigned value is internally interpreted as "INT" data type (-32767 ... +32767), i.e.
the most significant bit determines the sign.
/B*3B&RXQWHU
Z2XW
E(TXDO
E&ON8S
E&ON'RZQ
Z/G9DO
E/RDG
Z&PS9DO
&
)XQFWLRQ
&
&
&
&
&
&
&RQILJXUDWLRQSDUDPHWHUV
/B*3B&RXQWHUBE(TXDO
(QWU\LQVHOHFWOLVW
/B*3B&RXQWHUBZ2XW
Summary of Contents for 8400 motec Series
Page 375: ...L 375 ...