EasyManua.ls Logo

Hitachi EH-D6EAN - Page 133

Hitachi EH-D6EAN
170 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...
Chapter 3 Programming
3 73
Operations
PWM output can be controlled by function blocks as below.
Operations
Variable or FB
Name
Start PWM output
Function block
MV_PWM_Start
Stop PWM output
Function block
MV_PWM_Stop
MV_PWM_Start
FB name
Description
MV_PWM_Start
This function block is to start PWM output.
Name
Type
I/O
Descriptions
xExecute
BOOL
IN
A rising edge starts the execution.
byChannel
BYTE
IN
Channel number (1 to 3)
dwFrequency
DWORD
IN
Frequency of pulse train outputs (20 to 100,000 [Hz])
wDuty
WORD
IN
ON duty (0 to 100 [%])
xDone
BOOL
OUT
Execution done successfully
xError
BOOL
OUT
Error occurred
MV_PWM_Stop
FB name
Description
MV_PLS_Stop
This function block is to stop PWM output.
Name
Type
I/O
Descriptions
xExecute
BOOL
IN
A rising edge starts the execution.
byChannel
BYTE
IN
Channel number (1 to 3)
xDone
BOOL
OUT
Execution done successfully
xError
BOOL
OUT
Error occurred
N o t e
If output configuration is changed from PWM output to standard DC output, the PLC must be power-cycled.
This limitation is applied in CPU ROM VER. 3.5.3.41 or older.

Table of Contents

Related product manuals