Jump to content

Recommended Posts

I have a program that I've been using for years. The hardware config is V1210- V200-18-E3XB (inputs are 0-17 outputs are 0-16) and EX-D16A3-TO16 (inputs are 32-47 outputs are 32-47). I want to use the same program, but instead of the EX module I  want to use IO-DI16 and IO-TO16. When I change the hardware config it assigns input 32-47 to IO-DI16 so I don't have to change anything on the program, but it assigns output 48-63 to IO-TO16. Is there any way to change this to output 32-47 or I have change all those outputs in the ladder? 

Link to comment
Share on other sites

  • MVP 2023

Unfortunately, the numbering of the outputs and inputs of the PLC expansion modules is set according to the position of the module on the DIN rail.

There are two options for solving the problem in the case of using a different set of modules for the same program:

1) simply apply the vector replacement of the outputs that were in the previous configuration to the outputs that were used in the new configuration;

replace.png.6e25091eb70e022dc13fc867bed78421.png

2) always use the rule - copy all input signals into a vector of intermediate variables and apply them in the program. At the same time, process all output signals in the ladder code as intermediate variables, and then, if necessary, copy their values as a vector to the outputs of the required modules.

hardware.png.634dc722971e18853502887b0dc5b47e.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.