Mitsubishi Electric RD81MES96 User Manual page 79

Programmable controller mes interface module
Hide thumbs Also See for RD81MES96:
Table of Contents

Advertisement

Creating a sample program
When setting parameters in the engineering tool, create a program for simulation and write it to a CPU module.
■Devices used in the sample program
Device name
Special relay
Data register
Low-speed timer
Internal relay
■Sample program example
The following program is for simulating the metal parts manufacturing line.
(0)
Manufacturing code setting
(3)
Operation stop when reaching to the manufacturing instruction number
(7) to (12)
10 seconds cyclic signal generation
(19)
Serial number generation
(31)
Weight measurement (emulation)
Device
SM400
SM402
D0
D2
D10
D11
D12
D100
D200
D202
D300
D400
T0
M0
Description
Always ON signal
Manufacturing code acquisition trigger
Cumulative manufacturing number
Serial number (numeric value): binary
Random number
Random number division result
Random number remainder
Manufacturing code ID for products
Manufacturing instruction number
Product code
Serial number
Product weight (g)
Manufacturing execution cyclic signal
Manufacturing execution trigger
8 OPERATION EXAMPLE
8.2 Setup
8
77

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw1dnd-rmesif-eMx mesinterface-rMelsec iq-r series

Table of Contents