×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Devicenet SDN modules

Devicenet SDN modules

Devicenet SDN modules

(OP)
Hey,
Is there a valid status bit that can be used in the SDN card to detect an ADN adapter faults. Basically we have a system here that causes us trouble when a certain node fails, causing major line backups etc ... but if we were able to detect when this node faults we could disable the line ie. push it out of auto mode and prevent a product backlog from happening. Any help would be appreciated.
Cheers
D

RE: Devicenet SDN modules

Are you still loking for an answer on this?  

RE: Devicenet SDN modules

(OP)
yes ! any information appreciated.

RE: Devicenet SDN modules

When you are having the problem with the device, does the SDN LED flash the address and some error code?  If it is, I can hslp you. The PLC can be coded to detect the address and notify.  
What PLC are you using?

RE: Devicenet SDN modules

(OP)
The SDN will rotate around the node that has faulted with an error code of 78 and the node number(22 in this case).

RE: Devicenet SDN modules

Below is the mnemonic code that will extract the node address and error code from the scanner.  I use this to report to a HMI.  A simple compare rung will give you the alarm.
Can we post files to this site?  I could E-mail too!


My assumptions are as follows:
scanner location, slot 3
M0 and M1 file lengths set to 361, check the advanced tab under I/O config.

The address where the data is stored is at M1 word 210.
your PLC code will read this and place it into integer files for program compairson.

Good Luck


XIC B3:5/0 OTE O:3.0/0    ; enables scanner

MOV M1:3.210 N7:1    ; Moves M1:3.210 to N7:1

MVM N7:1 00FFh N7:6   ; Mask Moves "00FFh mask" to N7:6, error code.

SWP #N7:1 1 ; flips the word, N7:1 around  

MVM N7:1 00FFh N7:8 ; Mask Moves "00FFh mask" to N7:8, Device Address.
 
EQU N7:8 22 EQU N7:6 78 OTE O:1.0/0  ; A simple compare to give you the alarm.
 
END  

RE: Devicenet SDN modules

There is a status word for the 1794-adn module. I have used the status word before. The status you pick up off the adn module is 1) i/o module fault (if any modules fault out connected to the adn device it will set a bit 2)node address change: sets a bit if node address is changed since power up and 3) i/o state:another bit (low is i/o state is idle and high is i/o state is in run.

But i dont think that if the adn module faults it is detected. It might of 2) and 3).

check the adn manual for the status word

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources