Siti D Posted April 25, 2017 Report Posted April 25, 2017 Hi there, I would like to ask you regarding the conversion PLC. Usually, it is not a surprise for us to get the errors occurring for the PLC conversion especially if both PLCs are not in the same compatible programming software. What I mean, currently, we have a lot of older version of PLC such as C20, C40H, C60H etc and these version needed to be converted to the newer version. However, lately we have problem converting the CQM1H to CJ2M, whereas both PLCs using the same programming software, CX-ONE software (ver 9.6). Most of the errors are displayed like this: ERROR: Step at rung 161 (6, 1) - SBN not defined - 4 There are 4 errors are listed referring to the same type of errors, that is the SBN not defined. Is there anyone here ever experienced this? And why is it these two PLCs also got problem for converting? Thanks all.
Michael Walsh Posted April 25, 2017 Report Posted April 25, 2017 Can you post your original code? That refers to a subroutine.
Siti D Posted April 26, 2017 Author Report Posted April 26, 2017 Hi Michael, this is the program that I referred to. There are four subroutines affected while doing the converting. Main program 1.pdf
Michael Walsh Posted April 26, 2017 Report Posted April 26, 2017 I meant the .cxp file (or Syswin file) so that we can try to convert it. If it won't let you post it, just zip it, then post it..
Siti D Posted April 27, 2017 Author Report Posted April 27, 2017 Please refer attached file. Thanks for helping Michael. lod-Line-H.cxp
Michael Walsh Posted April 27, 2017 Report Posted April 27, 2017 Well, the issue that you have is that there are several subroutine calls (SBS instructions) that call for subroutines (SBN instructions) that do not exist. In particular, there is no subroutine 4, 5, 7 or 9, but the code calls for those subroutines to run. Either you are missing some of the code, or the 4 SBS instructions need to be removed.
Siti D Posted April 28, 2017 Author Report Posted April 28, 2017 Okay I'll check from that. I'll be posted again here later maybe. Thanks again.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now