EasyManua.ls Logo

Mitsubishi MELSEC System Q

Mitsubishi MELSEC System Q
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...
VI MITSUBISHI ELECTRIC
Contents
3.7 Networks and Network Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-37
3.7.1 Networking on all Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-37
3.7.2 Open Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-38
3.7.3 MELSEC Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-40
3.7.4 Network Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-41
4 An Introduction to Programming
4.1 Structure of a Program Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
4.2 Bits, Bytes and Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-2
4.3 Number Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-2
4.4 Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-5
4.4.1 BCD Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-5
4.4.2 ASCII Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-6
4.5 Programming Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-7
4.5.1 Text Editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-7
4.5.2 Graphic Editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-8
4.6 The IEC 61131-3 Standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-10
4.6.1 Software Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-10
4.6.2 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-11
4.7 The Basic Instruction Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-13
4.7.1 Starting logic operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-14
4.7.2 Outputting the result of a logic operation . . . . . . . . . . . . . . . . . . . . . . . . 4-14
4.7.3 Using switches and sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-16
4.7.4 AND operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-17
4.7.5 OR operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-18
4.7.6 Instructions for connecting operation blocks . . . . . . . . . . . . . . . . . . . . . 4-20
4.7.7 Pulse-triggered execution of operations . . . . . . . . . . . . . . . . . . . . . . . . . 4-22
4.7.8 Setting and resetting devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25
4.7.9 Generating pulses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-28
4.7.10 Inverting the result of an operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
4.7.11 Inversion of bit output device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-30
4.7.12 Operation result into pulse conversion . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
4.8 Safety First! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-32

Table of Contents

Other manuals for Mitsubishi MELSEC System Q

Related product manuals