krolikbest Posted June 17, 2020 Report Share Posted June 17, 2020 Hi, hardware : V700, 4x servo Liteon, communication 485, modbus. Servos are switched on. when I don't use subroutine (named ResetHomOK) and directly in the ladder 14 put what is on the second photo then I can read Modbus frames, but if i use subroutine then can't. There is some picture below describing my problem: In ladder 14 I use subroutine and this subroutine "Reset HomOK" looks like: Return from this subroutine is ater all frames are read (or should be). So I expected to get values in MI830 and MI831, but didn't (have zero as a default).. I'm little lost, want to use subroutines because I find it very useful. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.