Appendix D How to Use PLC Function
3.Please use
4.There are three input modes for
Pulse + signal mode(D1044=1): user can count by pulse input or signal. A is for pulse and B is for signal. Make sure that A , B and GND are grounding.
Pulse + flag mode(D1044=2): user can count by M1030. Only A is needed for this mode and make sure that A , and GND are grounding.
Program Example:
1.Assume that when M100=ON, it is set to
2.M1030 is used to set to count up (OFF) and count down (ON).
3.If M0 goes from OFF to ON, DHSCS command starts to execute the comparison of high- speed counter. When C235 goes from H’2 to H’3 or from H’4 to H’3, M3 will be always be ON.
4.If M1 goes from OFF to ON, DHSCS command starts to execute the comparison of high- speed counter. When C235 goes from H’1004F to H’10050 or from H’10051 to H’10050, M2 will be always be ON.
5.M1028: it is used to enable(ON)/disable(OFF) the
is used to clear the
6.D1025: the low word of
Revision June 2008, 04EE, |