Mitsubishi Electric MELSEC-L02SCPU User Manual page 206

Cpu module, built-in i/o function
Table of Contents

Advertisement

(b) Preset by a program
When not using a phase Z and the counter function selection, perform the preset function by turning on CH1
Preset command (SM1893) by a program.
CH1 count enable command (SM1895)
Counter input pulse
Preset value setting
CH1 preset command (SM1893)
CH1 current value (SD1880, SD1881)
No.
1)
When Preset value write instruction (ICPREWR1(P)) is executed, a set value is overwritten to the preset value setting.
The value written to the preset value setting is stored in CH1 Current value (SD1880, SD1881) on the rising edge of CH1 Preset
2)
command (SM1893). The current value can be replaced with the preset value independent of the on/off status of CH1 Count
enable command (SM1895).
204
ON
OFF
ON
OFF
0
OFF
0
1
2
Description of operation
1)
100
t
2ms
ON
2)
to
65 66
67
100 101 102103 104
100 101
102 103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents