Download "user manual"

Transcript
3-4
Saia-Burgess Controls Ltd.
3.2
Hardware resources
Each program is made up of functions that allow the user to read, write, and
manipulate different kinds of resources. Those resources which allow us to interact
with our environment are called hardware resources.
3.2.1
Digital inputs and outputs
I/O
1 bit of information (0/1)
max. number of I/Os
PCD1
PCD2.M120/M150
PCD2.M170 + PCD3.C100
PCD2.M480 + PCD3.C100
PCD3.Mxxxx
PCD4
PCD6
32 ( 64 3) )
64/96/128 (255 3) ) 1)
510 2) 3)
1023 1) 3)
1023 1) 3)
510 2)
5100 2)
1)
The addresses 255 (and 511 for PCD2.M170) are reserved for the watchdog
2)
The addresses 255, 511, 767, 1023, ... , until 5119) are reserved for the watchdog
3)
with inputs cards PCD2/3.E165 and/or ouputs cards PCD2/3.A465
Inputs and outputs represent signals to or from the PCD. Inputs show the state of
end-switches, pushbuttons, proximity detectors, sensors, etc. Outputs can be used to
activate valves, lamps, A/C motors, etc.
You can read and write outputs. Inputs can only be read. Inputs and outputs are
added to the PCD by placing I/0 cards into one of the designated slots on the PCD.
The start address of a slot is defined either by its position (PCD1/2/3 and 4) or by
switches (PCD 6).
The following example turns on output O 64 if inputs I1 and I2 are both high. Another
way to show such functions is by using boolean equations: O 64 = I 1 * I 2
Instruction list program:
COB
STH
ANH
OUT
ECOB
0
0
I1
I2
O 64
PG5-WorkShop I Chapter 3 I PCD-Resources I 05.07.04
Fupla program:
Fbox: Binary, And