Chapter 3 Programming
3
– 60
MV_CU_Read
FB name
Description
MV_CU_Read
This function block is to read counter value for specified channel of counter
Name
Type
I/O
Descriptions
xExecute
BOOL
IN
A rising edge starts the execution.
byChannel
BYTE
IN
Channel number (2-phase counter: 1or 3, Single counter: 1 to 5)
xDone
BOOL
OUT
Execution done successfully
xError
BOOL
OUT
Error occurred
dwCounter
DWORD
OUT
Current counter value is set in this variable.
* This function block is included in CmpHIESLib_MV library version 3.5.3.1 or newer.
MV_CU_preset
FB name
Description
MV_CU_preset
This function block is to set preset value 1 and 2 for specified channel of counter
Name
Type
I/O
Descriptions
xExecute
BOOL
IN
A rising edge starts the execution.
byChannel
BYTE
IN
Channel number (2-phase counter: 1or 3, Single counter: 1 to 5)
dwPreset1
DWORD
IN
0 to 4,294,967,295
dwPreset2
DWORD
IN
0 to 4,294,967,295
xDone
BOOL
OUT
Execution done successfully
xError
BOOL
OUT
Error occurred
MV_CU_Write
FB name
Description
MV_CU_Write
This function block is to overwrite current counter value for specified channel of counter
Name
Type
I/O
Descriptions
xExecute
BOOL
IN
A rising edge starts the execution.
byChannel
BYTE
IN
Channel number (2-phase counter: 1or 3, Single counter: 1 to 5)
dwCounter
DWORD
IN
0 to 4,294,967,295
xDone
BOOL
OUT
Execution done successfully
xError
BOOL
OUT
Error occurred
Содержание EH-A14EDR
Страница 6: ...MEMO ...
Страница 10: ...MEMO ...
Страница 141: ...Chapter 3 Programming 3 81 Program ...
Страница 166: ...Chapter 5 Maintenance 5 4 MEMO ...
Страница 170: ...Appendix A1 4 MEMO ...