M90 User Guide
M90 User Guide
PREFACE VII
CHAPTER 1: OVERVIEW 11
Introducing the M90 Micro OPLC 11
Technical Description 12
The M90 12
I/Os 12
Operating Panel 12
Communications 12
I/O Expansion Port 13
Programming 13
PLC Program Properties 13
HMI Program 13
Safety Guidelines 14
CHAPTER 3: I/OS 21
Wiring Considerations 21
Connectors 21
I/O Connections 21
Wire Size and Specifications 22
Power Supply 22
Digital Inputs 23
High-Speed Counter/Shaft-encoder 23
Analog Inputs 23
Digital Outputs 24
Analog Outputs 24
CHAPTER 4: COMMUNICATIONS 25
RS232 25
Downloading Your Program 26
III
M 90 User G u id e
Connecting the M90 to the PC 26
CANbus 28
IV
T able of Conten ts
APPENDIX C: NEW PLC USERS 61
Parts of a PLC 61
Operating Panel 61
Inputs 61
Outputs 61
CPU 61
How PLCs Work 62
TABLE OF FIGURES 65
INDEX 67
V
Preface
About this Manual
This manual contains information relevant to the M90 micro controller series.
The M90
Chapter 1. Overview
Contains a general description of the M90’s form and function.
Chapter 3. I/Os
Contains information for the M90 I/Os.
Chapter 4. Communications
Explains communications connections.
Appendices
Appendix A. System Bits and Integers
Contains tables showing internal system elements.
VII
M 90 User G u id e
Symbols:
Symbol Meaning Description
VIII
Chapter 1: Overview
The operating panel shown in Figure 1 provides the operator interface. The M90
operating panel contains an LCD text display screen and a keypad. The LCD screen
can be used to display operating instructions, a feature that makes the M90 very easy to
use. The operator uses the keypad to communicate information to the M90 or to
modify existing data. This communication interface between the M90 and operator is
referred to as the HMI, or Human Machine Interface, throughout this manual.
The M90 operating panel offers an additional feature called Information Mode.
Information Mode allows the operator to view certain types of system data such as
input status or timer values.
The M90 web site can be found at www.unitronic.com/m90/index.htm. Check this site
frequently for product updates, new M90 applications and programming tips.
1
Acronym for Operating panel + Programmable Logic Controller.
11
M 90 User M anu al
Technical Description
This is a general description of all current M90 models. Full technical specifications
for each M90 model are given in Appendix B.
The M90
Dimensions: 96 x 96 x 64mm.
Mounting: either panel or DIN rail mountable.
Power supply: 24VDC.
Real time clock (RTC), enabling time and date controlled
functions.
Note: The RTC is provided with a 7 year typical battery backup.
I/Os
The M90 series offers digital and / or analog I/Os depending on the specific M90
model.
Operating Panel
The operating panel provides the HMI. It is comprised of:
An LCD screen that displays one line of text, 16 illuminated
characters long.
A keypad containing 15 sealed membrane keys.
Communications
The M90 series offers two communication ports: RS232 and CANbus. All models
have RS232 ports. There are specific M90 models that have CANbus ports.
The M90 RS232 serial port has two functions:
Downloading programs from a PC.
Establishing network communications via the appropriate
communication protocol.
The CANbus port has three functions:
Integrating additional M90 units as “Smart Remotes”.
Centralizing data in a SCADA-run control system.
Creating a decentralized CANbus network.
12
Ch ap t er 1: O v erv iew
I/O Expansion Port
The M90 expansion port enables the addition of up to 8 expansion units totaling up to
64 I/Os. Technical specifications are provided with the I/O expansion unit.
Programming
You create both your M90 PLC and HMI applications on a PC using U90 Ladder
software running under either Windows 95, 98, or NT 4.0. The M90 is programmed
using Ladder logic.
The PLC application is the program that runs the M90. It enables the M90 to perform
its control functions.
The HMI application customizes your M90 operator interface. Use it to:
Assign functions to the M90 keypad keys.
To create and display messages on the M90 LCD display.
When your program is complete, you download it to the PLC.
HMI Program
Up to 80 HMI displays can be created.
HMI variables are inserted within the fixed text of an HMI display. Such variables are
used to display values for the following system elements: bits, integers, timers, times,
dates, I/Os and text from the variable text display list.
13
M 90 User M anu al
The types of messages created by the HMI application might be error messages,
instructions or requests for the operator to enter information via the M90 keypad.
Safety Guidelines
Check the user program before running it.
Do not attempt to use the M90 with voltage exceeding
permissible levels. Permissible voltage levels are listed in
the technical specifications provided in Appendix B.
Install an external circuit breaker and take all appropriate
safety measures against short-circuiting in external wiring.
14
Pref ace
Warnings
Under no circumstances will Unitronics be liable or responsible
for any consequential damage that may arise as a result of
installation or use of this equipment.
All examples and diagrams shown in the manual are intended to
aid understanding. They do not guarantee operation.
Unitronics accepts no responsibility for actual use of this product
based on these examples.
Due to the great variety of possible applications for this
equipment, the user must assess the suitability of this product for
specific applications.
Make sure to have safety procedures in place to stop any
connected equipment in a safe manner if the controller should
malfunction or become damaged for any reason.
Do not replace electrical parts or try to repair this product in any
way.
Only qualified service personnel should open the M90 housing or
carry out repairs.
The manufacturer is not responsible for problems resulting from
improper or irresponsible use of this device.
Please dispose of this product in accordance with local and
national standards and regulations.
IX
Chapter 2: Mounting the M90
This chapter gives detailed mounting instructions for both panel and DIN rail mounting.
Plug-in Connectors
Panel Mounting
Brackets
15
M 90 User M anu al
16
Chap ter 2: M ounting the M 90
Mounting
You can either panel-mount the M90, or mount it on a DIN rail.
Panel Mounting
Before you begin, note that the panel itself cannot be more than 5 mm thick.
1 Make a panel cut-out that measures 92 x 92 mm.
2 Slide the rubber seal over the back of the unit. The seal must fit
snugly against the back rim of the operating panel.
3 Slide the M90 into the cut-out.
4 Push the two black plastic mounting brackets into their slots on the
sides of the M90 as shown in Figure 2, page 15.
5 Tighten the bracket screws against the panel as shown in Figure 3.
5mm (max)
89.2mm
6.2mm
64mm
17
M 90 User M anu al
When properly mounted, the M90 is squarely situated in the panel cut-out as shown in
Figure 4.
64m m
3.5mm
18
Chap ter 2: M ounting the M 90
When properly mounted, the M90 is squarely situated on the DIN rail as shown in
Figure 6.
35mm
96mm
.
96mm
19
Chapter 3: I/Os
This chapter contains important information for the M90’s I/Os. The I/O connection
points are provided by external connectors. Please refer to the Appendix B Wiring
Diagrams specific to your M90 model.
Wiring Considerations
Connectors
The M90 has a top and bottom connector. The connectors plug in, enabling quick, easy
removal. They provide screw-type connection points for the power source, inputs and
outputs. The connection points are clearly labeled on the M90 itself.
The top connector provides connections for the power supply, analog and / or digital
inputs and high-speed counter/shaft-encoder.
The bottom connector provides analog and / or digital output connection points.
I/O Connections
1 Strip the wire to a length of 7±0.5mm (0.250–0.300 inches).
21
M 90 User G u id e
2 Unscrew the terminal to its widest position before inserting a wire.
3 Insert the wire completely into the terminal to ensure that a proper
connection can be made.
4 Tighten enough to keep the wire from pulling free.
Power Supply
The M90 requires an external 24VDC power supply. The permissible input voltage
range is 20.4–28.8VDC. You must use an external circuit protection device. See
specific model wiring diagrams in Appendix B.
When wiring DC supplies, the "positive" cable should be connected to the "+V"
terminal and the negative cable should be connected to the "0V" terminal.
22
Chapter 3: I/O s
Digital Inputs
Each M90 contains on-board digital pnp inputs. Appendix B contains model-specific
digital input information. They can be connected to any 24VDC input device. Note
that all inputs relate back to 0V.
Input values are placed in operands represented by the letter “I” when you write your
program. They are numbered from 0.
High-Speed Counter/Shaft-encoder
The last input can function as either a high-speed counter or a normal digital input.
The counter itself is actuated at a falling signal edge. The counter value is stored in SI
10.
The next to the last input can function as either the counter reset or a normal digital
input. The counter reset is actuated when the signal is positive, equal to logic 1. SB 10
serves as an Enable Reset bit. You also can reset the counter by writing into SI 10 in
the program software.
The last two inputs can function together as a shaft-encoder. In SI 14 you indicate how
the last two inputs will function:
When SI 14 = 0 the inputs function as Counter + Reset.
When SI 14 = 1 the inputs function as Shaft-encoder x4.
When SI 14 = 2 the inputs function as Shaft-encoder x2.
In shaft-encoder mode there is no counter reset and therefore 0 value is written into SI
10 to reset it.
Analog Inputs
Specific M90 models contain analog inputs. Appendix B contains model-specific
analog input information.
The analog input value is from 0-1023 digits. The electric current or voltage is
translated into a percentage within this range. The analog value is linked to and stored
in SI 20 (analog input 0) and SI 21 (analog input 1).
Note: Shields should be connected at the signal source.
23
M 90 User G u id e
Digital Outputs
Each M90 contains either relay or pnp digital outputs. See Appendix B for model-
specific digital output information.
The digital output value is placed in operand “O” when you write your program.
The power supply for transitor outputs require an external circuit protection device.
See model specific diagrams in Appendix B.
Analog Outputs
The M90-TA2-CAN has one 10-bit analog output operating between 0-10V.
The analog output value is from 0-1023 digits.
Analog output values are stored in SI 28 when you write your program.
24
Chapter 4: Communications
This chapter contains guidelines for communication connections. The M90 offers
various communications options, such as RS232 and RS485 via the appropriate
adapters, available separately. Certain M90 models offer CANbus communications.
RS232
The RS232 serial port is used for two different purposes:
Downloading programs from a PC.
Establishing communications in conjunction with the appropriate
communication protocol.
An RJ-11 type serial port is provided on the side of the M90, as shown in Figure 8.
This port provides the communications interface.
Note that a standard telephone cord cannot be used to establish communications.
25
M 90 User M anu al
26
Chapter 4: Communications
PC Serial Port
27
M 90 User M anu al
CANbus
A CANbus network decentralizes control in a PLC system allowing for a larger and
faster localized control system by distributed real-time control applications. The M90
CANbus port is located on the right side of the controller, as shown in Figure 10.
The Unitronics M90 CANbus network is run by a separate isolated power supply and is
not part of the network power supply.
The M90 CANbus communicates through a twisted-pair cable. Unitronics recommends
Allen-Bradley’s DeviceNet® communication cable for connecting the M90 CANbus.
(Blk) -V
(Blu) L
PE
(Wht) H
(Red) +V
I/O
expansion
port
28
Chapter 4: Communications
+
Requirements: 24 VDC (±4%) 40mA max.
Circuit
Galvanic Isolation protection
device
between CANbus
and controller: Yes 121
terminating
Max. Cable Length: resistor
-V
1 Mbit/s - 25 m L
PE
500 Kbit/s - 100 m H
cable. +V
29
M 90 User M anu al
PE Ground PE
(Wht) H
H CAN high
(Red) +V
+V 24V power supply for CANbus
30
Chapter 5: Information Mode
This chapter contains instructions for using the M90 Information Mode to display and
edit data and perform certain preset actions. The system data is displayed on the M90
LCD screen and edited via the M90 keypad. You enter Information Mode using the <i>
button on the M90 keypad.
You can enter Information Mode at any time, without regard to what is currently
displayed on the HMI screen. Viewing data does not affect the M90 program. Note
that when you are in Information Mode, the keypad is dedicated to that purpose. The
keypad cannot be used for normal application functions until you exit Information
Mode.
The list below shows the categories of information that are available for viewing.
31
M 90 User M anu al
Note that when you are editing a value, you can always exit without saving
changes by pressing the <i> key.
32
Chap ter 5: Informat ion M ode
MODEL
VERSION NUMBERS
RESET
CLEAR MB & MI
SCAN TIME
SYS INFO
33
M 90 User M anu al
The options available in each main menu category are detailed in the following
sections. Note that not all menu options are available in all M90 models.
Inputs/Outputs
This is the first option presented in the main menu. Inputs and outputs are presented on
screen as shown in Figure 14. All 256 potential inputs and outputs available for
viewing.
I (INPUTS) O (OUTPUTS)
Each line represents an I/O Inputs and outputs are displayed O3 is on.
in sequential groups, 0-255 A rectangle indicates an active I/O.
34
Chap ter 5: Informat ion M ode
Analog / Counter
This second menu option displays the analog I/Os and counter values. Selecting the
analog option displays the digital value as well as all analog ranges of each analog I/O
specific to the M90 model as shown in Figure 15. In models without an analog I/O,
only the counter option is displayed. Selecting the counter option displays the counter
value.
ANALOG / COUNTER
ANALOG IN 0 ANALOG IN 1
DIGITAL VAL: 132 0-10V: 1.29V DIGITAL VAL: 132 0-10V: 1.29V
35
M 90 User M anu al
MB / MI / SB / SI
Selecting the MB or SB option displays the Memory Bits and System Bits in sequential
groups. You move between the groups using the arrow keys. Bit status is represented
in the same manner as inputs and outputs. The presence of a highlighted rectangle
indicates that the bit status is currently positive (on).
Selecting the MI or SI option displays the Memory Integers and System Integers in
sequential groups shown in Figure 16, page 37. You can view the current value of any
MI by entering its number via the M90’s numerical keys and then pressing the < ↵ >
⇦> key to move the entry field.
key. Edit your entry by using the left pointing arrow <⇦
⇨> key.
You can revert to your previous entry by using the right pointing arrow <⇨
Once an MI or SI value has been selected, you can scroll between the integers using the
arrow keys. A list of System Bits and Integers appears in Appendix A: System Bits
and Integers , page 45.
36
Chap ter 5: Informat ion M ode
MB (BITS) M I (INTEGERS)
SB (BITS) SI (INTEGERS)
000-007:_ _ _ _ _ _ _ _ 096-103:_ _ _ _ _ _ _ _
SI: _ 18
37
M 90 User M anu al
Timers
Selecting the Timers option displays fill-in fields as shown in Figure 17. You can view
the current status of any timer by entering its number via the M90’s numerical keys and
then pressing the <↵ ⇦> key
↵ > key. Edit your entry by using the left pointing arrow <⇦
to move the entry field. You can revert to your previous entry by using the right
pointing arrow <⇨ ⇨> key.
Once a timer has been selected, you can scroll between the timers using the arrow keys.
Timers have both a preset value and a current, running value. You toggle between them
by using the up/down directional arrows found on keys # 3 and #6.
Each timer also has a bit operand value, on or off. In Figure 17, the lowest right-hand
display shows a line at the right of the timer value. The presence of a lighted rectangle
on this line indicates that the timer is on. Its absence indicates that the timer is off.
TIMER: 22
Return one level
Enter the number of
the timer you want to view.
OR
38
Chap ter 5: Informat ion M ode
System
Selecting the system option gives you access to the system menu as shown in Figure 18.
Some of the items accessible through this menu can be both viewed and edited. Note
that when you are editing a value, you can always exit without saving changes by
pressing <i>.
SYSTEM
Exit to Main Menu
In relevant models
SYS INFO: 0
39
M 90 User M anu al
40
Chap ter 5: Informat ion M ode
M90 ID Number
Selecting M90 ID Number enables you to view and assign a new ID number to the M90
unit, as shown in Figure 20. This number is used to identify the M90 unit if it is
integrated into a communications network.
U90 Baud
Selecting U90 Baud enables you to view and change the current RS232 serial port baud
rate, as shown in Figure 21, page 42. You may choose between the preset baud rates;
9600, 19200, 38400 or 57600 bps; by using the up/down directional arrows found on
keys #3 and #6.
41
M 90 User M anu al
CAN Baud
Selecting CAN Baud enables you to view and change the current CANbus port baud
rate as shown in Figure 22.
42
Chap ter 5: Informat ion M ode
Model
Selecting Model enables you to view the model name of your M90 unit.
Version Numbers
The Version Numbers are provided for the information of technical support
professionals.
Reset
Selecting the Reset option shown in Figure 23 restarts your program; restoring 0 values
to all MBs and MIs except for those protected by the battery memory backup; MB 0-
15, and MI 0-15.
Clear MB and MI
Selecting Clear MB and MI restarts your program and initializes all values, restoring 0
values to all MBs and MIs. The principles of use shown in Figure 23 apply here as
well.
43
M 90 User M anu al
Scan Time
Selecting scan time displays the amount of time required for the entire M90 program to
complete a cycle.
Sys Info
System information is for technical support professionals.
44
Appendix A: System Bits and Integers
The M90 operating system – user program interface includes a configuration of system bits
(SB) and system integers (SI). Specific SBs and SIs are linked to fixed parameters and are
read-only by the user program. Example: SB 2 – Power-up bit. Those fixed parameter SBs
and SIs are listed in the following tables.
Within those fixed parameter SBs and SIs, there are certain SBs and SIs that you may also
write into. Example: SI 14 – High Speed Counter Mode. You may write into those listed
SBs and SIs marked with an asterisk (*). All SBs and SIs not listed are reserved for use
by the system.
Use of any SB or SI reserved for use by the system, and therefore not
listed below may severely damage the controller.
45
M 90 User G u id e
SB 41
SB 42
SB 43
SB 44
SB 45
SB 46
SB 47
SB 48
SB 49
SB 50
SB 51
SB 52
SB 53
46
Appendix A: Syst em Bits and Integers
47
Appendix B Technical Specifications
The following specifications apply to each M90 model. Model–specific specifications
begin with M90-19-B1A, page 53.
Power Supply
Input voltage 24VDC
Permissible range 20.4 to 28.8VDC
Onboard I/Os
Digital Inputs
Operand symbol I
Input type pnp (source)
Galvanic isolation None
Nominal input voltage 24VDC
Input voltage < 5VDC for Logic ‘0’
>15VDC for Logic ‘1’
Input current 3mA @ 24VDC
Input impedance 8.4kΩ
Response time: (except last two inputs)
‘0’ to ‘1’ 5 mS
‘1’ to ‘0’ 10 mS
Input cable length Up to 100 meters, unshielded
Analog Inputs
Conversion method Successive approximation
Input impedance >100kΩ at voltage
250Ω at current
Galvanic isolation None
Resolution (except 4-20mA) 10-bit (1024 units)
Resolution at 4-20mA 204 to 1024 (820 units)
Conversion time Synchronized to scan time
Absolute max. rating ± 15V
Full scale error ± 2 LSB
Linearity error ± 2 LSB
49
M 90 User G u id e
Digital Outputs
Operand symbol O
Relay output models
Output type SPST-NO relay; 230VAC / 24VDC
Type of relay Takamisawa JY-24H-K or NAIS (Matsushita)
JQ1AP-24V or OMRON G6B-1114P-24VDC
Isolation By relay
Output current 5A max. (resistive load)
1A max. (inductive load)
Maximum frequency 10Hz
Contact protection External Precautions Required
PNP (source) output models
Output type P-MOSFET (open drain); 24VDC
Isolation None
Output current 0.5A max.
total current: 3A max.
Maximum frequency 1kHz (resistive load)
0.5Hz (inductive load)
Short circuit protection Yes
Analog Output
Output range 0-10V
Load impedance 1kΩ minimum
Galvanic isolation None
Resolution 10 bit (1024 units)
Conversion time Synchronized to scan time
Overall error ±3%
Battery Back-up
7 year typical battery back-up for real-time clock (RTC), MB 0-15 and MI 0-15
Display
Type STN, LCD display
Illumination LED yellow-green backlight
Display size 1 line, 16 characters long
Character size 5 x 7 matrix, 3.07 x 5.73 mm
Keypad
Number of Keys 15
Key type Sealed membrane
Program
PLC program size (except M90-19-B1A) 2048 words
M90-19-B1A 1024 words
Bits (coils) 256
Operand symbol MB
50
Appendix B T echnical Sp ecifications
Integers (Registers) 256
Operand symbol MI
Timers 64
Operand symbol T
Execution time 12 µsec. for bit operation
HMI displays 80 user-designed displays
HMI variables 50 variables to conditionally modify text,
numbers, dates, times & timer values. User
can create up to 120 text displays up to 2K.
Communication Ports
RS232
Isolation No
Voltage limits ±20V
CANbus
Nodes Up to 64
Baud rate range 10 Kbit/s – 1Mbit/s
Cable length 25m – 1000m
Dimensions
Size 96 mm x 96 mm x 64 mm (3.8” x 3.8” x 2.5”)
Mounting
DIN-mounted Snaps onto 35mm DIN rail
Panel-mounted Cut-out size is 92mm x 92mm in accordance
with DIN 43700
Environment
DIN rail mounted IP20
Panel mounted IP65
Operational temperature 0 to 50ºC
Storage temperature -20 to 60ºC
Accessories
▪ Programming cable ▪ Mounting brackets (x2)
▪ 15 pin I/O connector plug ▪ Rubber seal
▪ 5 pin CANbus connector plug ▪ U90 Ladder Software
51
M 90 User G u id e
On the casing of each M90 are representative connector diagrams as shown in the
following two figures.
52
Appendix B T echnical Sp ecifications
M90-19-B1A
Circuit
Power Supply 24 VDC protection
device
Max. current consumption 140mA @ 24VDC
Typical power consumption 3.2W @ 24VDC
Digital Inputs 10 pnp (source) inputs
Analog Input One 10 bit multi-range
Analog input range 0-5V; 0-10V; 0-20mA
4-20mA
Digital Outputs 6 relay; 230VAC/24VDC
I/O Expansion Port No
CANbus No Circuit
protection
Weight 280g (9.8 oz) device
Circuit
protection
device
+
Circuit
- protection
device
POWER
Circuit
protection
device
53
M 90 User G u id e
M90-R1
Circuit
Power Supply 24 VDC protection
device
Max. current consumption 140mA @ 24VDC
Typical power consumption 3.2W @ 24VDC
Digital Inputs 10 pnp (source) inputs
Analog Input One 10 bit multi-range
Analog input range 0-5V; 0-10V; 0-20mA
4-20mA
Digital Outputs 6 relay; 230VAC/24VDC
I/O Expansion Port Yes
CANbus No Circuit
protection
Weight 280g (9.8 oz) device
Circuit
protection
device
+
Circuit
- protection
device
POWER
Circuit
protection
device
54
Appendix B T echnical Sp ecifications
M90-R1-CAN
Circuit
Power Supply 24 VDC protection
device
Max. current consumption 140mA @ 24VDC
Typical power consumption 3.2W @ 24VDC
Digital Inputs 10 pnp (source) inputs
Analog Input One 10 bit multi-range
Analog input range 0-5V; 0-10V; 0-20mA
4-20mA
Digital Outputs 6 relay; 230VAC/24VDC
I/O Expansion Port Yes
CANbus Yes Circuit
protection
Weight 280g (9.8 oz) device
Circuit
protection
device
+
Circuit
- protection
device
POWER
Circuit
protection
device
55
M 90 User G u id e
M90-R2-CAN
Circuit
protection Circuit
protection
device device
Circuit
protection
device
56
Appendix B T echnical Sp ecifications
M90-T1
Circuit
protection
device
Circuit
protection
device
I/O Wiring
57
M 90 User G u id e
M90-T1-CAN
Circuit
protection
device
Circuit
protection
device
I/O Wiring
58
Appendix B T echnical Sp ecifications
M90-TA2-CAN
Circuit
Circuit protection
protection device
device
Analog-In Wiring
Circuit
protection
device
I/O Wiring
Analog-Out Wiring
59
Appendix C: New PLC Users
This section is provided to help M90 users with little or no experience in using PLCs.
PLCs, or programmable logic controllers, are electronic control systems based on
microprocessors. A PLC performs control functions in accordance with its software
program of external automated equipment.
Parts of a PLC
The M90 PLC is composed of 4 parts:
Operating Panel
The operating panel provides what is called the HMI, or Human Machine Interface,
between you and the M90. The panel is composed of an LCD screen and a
customizable keypad. The LCD screen displays messages to the user. You assign
functions to the keys when you write your software program.
Inputs
Inputs receive signals from external devices such as switches, push buttons and variable
voltage signals from potentiometers into the M90. The M90 inputs convert the
received voltages to signals that the M90 can process.
Outputs
Outputs send signals from the M90 to external devices such as lights or contactor coils.
Outputs convert M90 program results into signals that these external devices can
process.
CPU
The Central Processing Unit is the brain of the PLC. It executes the control program.
61
M 90 User G u id e
1
Reads data from inputs
2
Processes data according to
program
3
Sends data to outputs
First, the input data is read at the beginning of each scan. The data has two sources: the
M90’s physical inputs, and data that are entered via the M90’s keypad.
Next, the program is executed. The user creates the M90 control program. The program
is composed of instructions that are written in the Ladder language, and is written using
the M90’s proprietary software. All program instructions are executed in each scan
cycle.
Last, the outputs are updated with the new data.
62
Appendix C: New PL C Users
The sample program below causes an alarm, connected to output #1, to actuate
whenever a gate, connected to input #1, opens.
The command means that the status of the gate is checked at the beginning of each
scan. When the gate is open, the value in the operand is 1 or on. When the gate is
closed, the value in the operand is 0 or off.
The command controls the alarm. When the value in contact 1 is found to be 1,
the alarm is switched on. When the value is 0, the alarm switches off.
63
Table of Figures
65
Index
A safety, 8
About this Manual, 7 H
Analog, 35 Hardware reset, 43
Analog input, 23 High-speed counter/shaft-encoder, 23
Analog/counter, 35 HMI
Appendix A general functions, 13
System bits and integers, 45 uses, 13
Appendix B HMI (Human Machine Interface), 11
Technical Specifications, 49 HMI Program, 13
B How PLCs work, 62
Baud, 41 I
Bits and integers, 45 I/Os, 21
Bottom connector, 21 ID number, 41
C Information
CANbus, 28 categories, 31
wiring specifications, 29 Information Mode, 31
CANbus & Expansion port, 28 analog, 35
Cautions analog/counter, 35
safety, 8 baud, 41
Clear MB and MI, 43 clear MB and MI, 43
Communications, 12, 25 counter, 35
Communications connections, 25 date, 40
Connecting to a PC, 26 hardware reset, 43
Connectors, 21 ID number, 41
bottom, 21 inputs, 34
top, 21 inputs/outputs, 34
Contacts M90 ID number, 41
life span, 24 main menu, 32
maintenance, 24 MB, 36
Counter, 35 memory bits, 36
D MI, 36
Date, 40 MI/MI/SB/SI, 36
Digital inputs, 23 model, 43
DIN rail outputs, 34
mounting, 15 SB, 36
Downloading your program, 26 scan time, 44
sequential groups, 36
E SI, 36
Encoder, 23 sys info, 44
G system, 39
Getting started, 61 time & date, 40
Guidelines
67
M 90 User G u id e
timers, 38 Model, 43
U90 baud, 41 Mounting the M90, 15
using, 32 N
version numbers, 43 New PLC Users, 61
Input O
analog, 23 Operating panel, 11, 12
digital, 23 OPLC
Inputs, 34 definition, 11
Inputs/outputs, 34 Output, 24
Introduction, 11 Outputs, 34
Introduction to PLC, 61
P
K Parts of PLC, 61
Keypad system bit functions, 46 PC connection, 26
M PLC, 61
M90 parts, 61
connecting to PC, 26 PLC application
diagram, 11 general, 13
external view, 11 PLC program properties, 13
ID number, 41 Power supply, 22
introduction, 11 Precautions
mounting, 15 safety, 8
operating panel, 12 Preface, 7
software, 13 Program
technical description, 12 downloading, 26
technical specifications, 12 properties, 13
M90 web site, 11 Programming, 13
M90-R1 general, 13
wiring, 54 S
M90-R1-CAN Safety guidelines, 8
wiring, 55 SB, 36
M90-R2-CAN Scan time, 44
wiring, 56 Sequential groups, 36
M90-T1 Shaft encoder, 23
wiring, 57 SI, 36
M90-T1-CAN Software, 13
wiring, 58 Specifications, 12
M90-TA2-CAN wiring, 22
wiring, 59 Sys info, 44
Main menu, 32 System, 39
Manual baud, 41
about, 7 clear MB and MI, 43
MB, 36 date, 40
Memory bits, 36 hardware reset, 43
MI, 36 ID, 41
68
In d ex
M90 ID number, 41 U
model, 43 U90 baud, 41
scan time, 44 User safety, 8
sys info, 44 User-available System Integers, 47
time & date, 40 Using a PLC, 61
U90 baud, 41 V
version numbers, 43 Version numbers, 43
System bits, 45
System bits and integers, 45 W
System integers, 45 Warnings, 9
System Integers, 47 Wiring
user-available, 47 M90-19-B1A, 53
System interger functions, 47 M90-R1, 54
Sytem bit functions, 45 M90-R1-CAN, 55
M90-R2-CAN, 56
T M90-T1, 57
Technical description, 12 M90-T1-CAN, 58
Technical specifications M90-TA2-CAN, 59
Appendix B, 49 Wiring considerations, 21
Time & date, 40 Wiring specifications, 22
Timers, 38 Wiring Specifications
Top connector, 21 CANbus, 29
69