
|
The structure is a set that brings a series of data together. Even if it is a ladder, it has come to be able to do a general programming language though it is thought that it has heard it if the person has used C language and BASIC. I introduce the usage of the structure this time.
|

Commentor / R.Takeuchi |
| |
How to use of the structure |
About the structure, it might be more comprehensible an individual signal (data) like a sensor and driving signal, etc. is not caught as an individual but to catch "Conveyer" as a set of one collection such as "Sensor that has adhered to the point of conveyer 1" and "Driving signal of conveyer 1". That is to say, it is possible to think in "Conveyer" including an up to date sensor, a rear end sensor, driving signal, and the stop signal, etc.
It is finished to define the structure of "Conveyer" to define the structure with GPPW, and to add sequentially the member value. A concrete example of a set screen is the following below.

About structure "Conveyer" ,it defines that stores total of four the word types data exist in ,that stores three bit type signal of "front sensor"," a rear sensor", and "driving signal" exist in.
Next, the defined structure is registered as a label. In the example of the screen, below, the instance of the CONVEYER structure is registered as "CV2" "CV3".

Actually, it becomes the following if the control circuit of this conveyer is written by using the structure, and when the reception front sensor of CV2 is turned on, the motor keeps driving until the reception front sensor of CV3 is cut.

The advantage of the structure can describe as the shape that is expressed as practically program by catching a mass of object ,"an individual relay" and "driving signal" and a wrong number of device decreases, too. Moreover, even if the third person sees, it becomes a comprehensible circuit.
The user who use manual, the program can be program reasonably according to sample that accesses only demanded member values as a structure, the buffer memory of a special unit and please try once.
|
|