TheCPU’son-boardinputsandoutputscanbeassignedtoagsandregisters
(mediamapping)bytheprogrammerusingtheDeviceCongurator(DeviceCon-
guratorintheSaiaPG5
®
tool). If IOs are media-mapped, these IOs cannot be
reached directly from the program.
Watchdogrelayaddress“O255”
The address O 255 is reserved for the watchdog relay. The closing relay contact
connection is located at connector X3.
YoucanndadditionaldetailsinChapter3.8Hardwarewatchdog.Pleaseread
this information.
Plug-ininputandoutputmodules
If space permits on the housing cover, it will show the input/output addresses.
What if the cover has been temporarily removed?
Each I/O module slot is assigned an address range from 0 to 15, i.e. 16 address-
es.Eachslotinturnhasbeenassignedaxedbaseaddressatintervalsof16
addresses. In this case too, the count starts at 0. I/O module slots are designated
Slot0, Slot1, etc.
For the PCD1.M2_ the two I/O slots have the following base addresses:
Slot0(topleft) =Baseaddr. 0 (rstelementaddressofmodule)
Slot1(topright) =Baseaddr. 16 (rstelementaddressofmodule)
The base address of each plug-in module is therefore the following: Slot number x
16 = Base address.
The address of an input or output (‘element’ for short) is derived from the base
address of the slot plus the added element address on the module itself (usually
address 0..7 or sometimes 0..15).
Example:
Where is address 20?
Address 20 / 16 = 1 remainder 4
Therefore:
Slot 1
Address 4 on the module