EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 284

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parameter Declaration Type Description
PRESETVALUE IN DINT Preset value
LIMIT IN DINT Limit for counting
RET_VAL OUT WORD Return value (0 = OK)
SETCOUNTER IN_OUT BOOL Load preset value
n Type the input channel that you want to activate as counter.
Value range: 0 ... 3
n Via this parameter you may activate the counter (true) res. deactivate it (false).
Value range: true, false
n Fix the counting direction.
Hereby is:
0: Counter is deactivated, means ENABLE = false
1: count up
2: count down
n Here you may preset a counter content, that is transferred to the according counter
via SETCOUNTER = true.
Value range: 0 ... FFFFFFFFh
n Via Limit you fix an upper res. lower limit for the counting direction (up res. down).
When the limit has been reached, the according counter is set zero and started new.
If necessary an alarm occurs.
Value range: 0 ... FFFFFFFFh
Via the parameter RET_VAL you get an error number in return. See the table below for
the concerning error messages:
Value Description
0000h No error
8002h The chosen channel is not configured as counter (Error in the hardware
configuration).
8008h Parameter DIRECTION outside the permissible range
8009h Parameter CHANNEL outside the permissible range
9001h Internal error - There was no valid address for a parameter.
9002h Internal hardware error - Please contact the hotline.
n Per SETCOUNTER = true the value given by PRESETVALUE is transferred into the
according counter.
n The bit is set back from the SFC.
Value range: true, false
CHANNEL
ENABLE
DIRECTION
PRESETVALUE
LIMIT
RET_VAL (Return Value)
SETCOUNTER
VIPA SPEED7
Device Specific
Onboard I/O System 100V > SFC 224 - HSC - High-speed-Counter
HB00 | OPL_SP7 | Operation list | en | 18-30 284

Table of Contents

Related product manuals