Mitsubishi Electric MELSEC iQ-R User Manual page 176

Flexible high-speed i/o control module
Hide thumbs Also See for MELSEC iQ-R:
Table of Contents

Advertisement

Parameter
The following table shows the parameters of the cam switch block.
Variable name
Data type
Number of Step
Word
Lower Limit
Word
Lower Limit Output
Word
State
Step No.0
Word
Step No.1
Step No.2
Step No.3
Step No.4
Step No.5
Step No.6
Step No.7
Step No.8
Step No.9
Step No.10
Step No.11
Step No.12
Step No.13
Step No.14
Step No.15
Upper Limit
Word
*1 The valid range is determined by the type of the multi function counter block arranged in the hardware logic outline window.
The following table shows "User Address" used for the parameters.
Variable name
Data type
User Address
Word
3 CREATING A HARDWARE LOGIC
174
3.2 Multi Function Counter Block
Valid range
1 to 16
Low
High
• -2147483648 to 2147483647 (32-bit
*1
signed counter)
• 0 to 4294967295 (32-bit unsigned
*1
counter)
Valid range
1000 to 1098
Default value
Description
1
Set the number of steps of the cam switch. A
step indicates the point in which the Low state is
switched to the High state or the High state is
switched to the Low state. The valid Step No. is
determined according to the set value of
"Number of Step".
The value set with "Lower Limit" in the counter
timer block is applied.
Change the setting value in the counter timer
block.
Low
Set the initial state of output. When "Count
Value" of the counter timer block is less than the
input value of "Step No.0", the output status turns
to the initial state.
The output status of the step No. later than "Step
No.0" inverts to the High state or the Low state
for every step No.
0
Compares the values of step numbers with
"Count Value" in the counter timer block. When
Maximum value in the
"Count Value" is equal to or larger than the input
valid range
value, the previous status is inverted.
The value set with "Upper Limit" in the counter
timer block is applied.
Change the setting value in the counter timer
block.
Default value
Description
User Address
Only even addresses can be assigned to the
parameters of two words (32 bits).

Advertisement

Table of Contents
loading

Table of Contents