Davidinst
2020-04-29T02:55:37Z
I know you have mentioned it but have you any morer in depth information on asscociating real time devices with thhe location of the device in the programe.

Say for instance a pressure switch on a vessel has a minimum pressure before a sequence complete , how do you locate the input on the I/O card rack and nest.



Thanks ,



David Pearce Submitted By: David |Pearce

Guest
2020-04-29T02:56:27Z
David - How you address the I/O is different depending on the platform you are using; however it is usually determined by the location of the I/O card relative to the other cards and then the channel number the device is wired to. So for the SLC that we have used in many of our examples, the processor is always mounted in the far left slot, then I/O cards and specialty cards are allowed. From that location we can determine an address that we can use in our program. To determine the address you need to count slots from left to right. So if we have an input card in slot 2, the first part of our address is I for input, 2 for the slot number and then (depending on the card) .0 or .1. The .1 is only used for cards that have more than 16 bits of information. Most common discrete I/O cards are 16 point cards. The next bit of information we add is the channel number. For channel 5 we add /5.

So our address we have created is I:2.0/5
Note that we start counting at 0 so this is 0,1,2,3,4,5 (6th out of 16 channels)

For analog information (uses more than one 16 bit word) we usually only need to address the word level. The beginning of our address (assume we put it in slot 3) would be similar, I:3. The next number would associate with our channel. I:3.0 would be channel 0 or our 1st input. We can address the bits, but it usually is not necessary with analog.

I did this really fast so I may have put some confusing info in here. Please reply back with any questions.
Similar Topics
Users browsing this topic
RSLogix500 Introduction
RSLogix500 Inserting Instructions
RSLogix500 Opening a File
RSLogix500 Creating a Project
RSLogix500 Instruction Comments
RSLogix500 Rung Comments Page Titles
RSLogix500 Inserting Branches
RSLogix500 Program Organization, Part 1 - Overview
RSLogix500 Program Organization, Part 2 - Examples
RSLogix500 Using Symbols
RSLogix500 View Properties
RSLinx
RSLogix500 Online Offline
RSLogix500 Dowloading and Uploading
RSLogix500 Processor Modes
RSLogix500 Processor and Cards
RSLogix500 Introduction to Faults
RSLogix500 Indirect Addressing
RSLogix500 Indirect Addressing Faults
RSLogix500 Handling Faults
RSLogix500 Forcing I/O
RSLogix500  Custom Data Monitor
RSLogix500 I/O Configuration
RSLogix500 Advanced Diagnostics
RSLogix500 Instructions OTL OTU, Part 1
RSLogix500 Instructions OTL OTU, Part 2
RSLogix500 Instructions OTL OTU, Part 3
RSLogix500 Instructions, OTE
RSLogix500 Instructions, XIC XIO
RSLogix500 Instructions, ADD
RSLogix500 Instructions, COP
RSLogix500 Instructions, CPT - Part 2
RSLogix500 Instructions, CTU CTD - Part 1
RSLogix500 Instructions, CTU CTD - Part 2
RSLogix500 Instructions, CTU CTD - Part 3
RSLogix500 Instructions, CPT - Part 1
RSLogix500 - Comparison - Part1
RSLogix500 - Comparison - Part 2
RSLogix500 Instructions, DIV
RSLogix500 - FIFO - FFL and FFU - Part 1
RSLogix500 - FIFO - FFL and FFU - Part 2
RSLogix500 Instructions, FLL
RSLogix500 Instructions, JMP and LBL
RSLogix500 Instructions, Masking and MEQ
RSLogix500 Instructions, MUL
RSLogix500 Instructions, MOV
RSLogix500 Instructions, LIM
RSLogix500 Instructions, NEG
RSLogix500 Instructions, OSR
RSLogix500 Instructions, RTO
RSLogix500 Instructions, SQO sequencer - Part 1 of 3
RSLogix500 Instructions, SQO sequencer - Part 2 of 3
RSLogix500 Instructions, SQO sequencer - Part 3 of 3
RSLogix500 Instructions, SUB
RSLogix500 Instructions, TOF
RSLogix500 Instructions, JSR and RET
RSLogix500 Shift registers
RSLogix500 Instructions, SQR
RSLogix500 Instructions, TON - Part 1
RSLogix500 Instructions, TON - Part 2
RSLogix500 Instructions, TON - Part 3
Introduction to Ladder Logic