
adccommunitymod (AutomationDirect) asked a question.
Created Date: April 12,2006
Created By: chris.zeman
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I adapted, or so I think, the example program from Appendix B, Page 5, of the Ethernet Remote Master manual. I know that 2 of output modules have errors, and X300 is on. I can't seem to retrieve the error codes however. I'm hope I just missed something simple. http://forum1.automationdirect.com/board/smile.gif PLC 250(-1) // Rung 8 // Address 35 #BEGIN COMMENT "ERROR 5: TERMINATOR I/O SLAVE OR MODULE ERROR " #END STRE VC400 K0 STRE VX300 K0 ANDN SP134 AND SP7 STR C403 SR C400 C417 // Rung 9 // Address 44 STR X300 AND C400 ANDN SP134 ANDN SP135 LD K601 LD K30 LDA O2000 RX TA0
Created Date: April 12,2006
Created by: chris.zeman
I think I solved my problem, but I wanted to share this in case someone else runs across this.
Acutally, I had multiple problems. The first problem was actually not a problem at all. I forgot to put the PLC into RUN Mode. lol
I'm not sure, but I think there is an error in the product manual. The example program in the manual is as follows:
VC60 K0 -----------
------ ---------------------|SR C60 |
| C77 |
VX300 K0 SP124 SP7 | |
------ ----- ----- --- | |
| |
C63 | |
- ----------------------------| |
-----------
I realized before that the CLOCK line wasn't changing states, and suspected that the comparison to VX300 should have been a NOT EQUAL instruction. Once I realized the PLC was not in RUN mode and that instruction was incorrect, everything seems to be working great now. http://forum1.automationdirect.com/board/smile.gif
Created Date: April 12,2006
Created by: chris.zeman
I adapted, or so I think, the example program from Appendix B, Page 5, of the Ethernet Remote Master manual. I know that 2 of output modules have errors, and X300 is on. I can't seem to retrieve the error codes however. I'm hope I just missed something simple. http://forum1.automationdirect.com/board/smile.gif
PLC 250(-1)
// Rung 8
// Address 35
#BEGIN COMMENT
"ERROR 5: TERMINATOR I/O SLAVE OR MODULE ERROR "
#END
STRE VC400 K0
STRE VX300 K0
ANDN SP134
AND SP7
STR C403
SR C400 C417
// Rung 9
// Address 44
STR X300
AND C400
ANDN SP134
ANDN SP135
LD K601
LD K30
LDA O2000
RX TA0