c0met
Member
Hello Everyone,
I have a feeling the answer is no, but I would like to verify that.
Here is the situation.
I have one Mitsubishi FX2N PLC set as a Master for the purposes of PLC to PLC Communication in an N:N Network.(RS-485)
I have 5 other PLCs set as slaves for the purposes of PLC to PLC Communication in an N:N Network.(RS-485)
I have no problem getting them to talk to each other.
Ideally I would like to have 2 separate PLC Programs written one for the Master and one for all of the slaves instead of 1 Program for the Master and 5 separate programs for the slaves.
The problem occurs when in the first line of each slave program I have to assign that slave a unique number at position Zero in the ladder logic program.
Ex:
M80038
----- ||--------------------[mov K1 D8176]
This assigns 1 to D8176 telling the PLC it is Slave #1
Changing the value of D8176 later does nothing.
As well moving other D register values to D8176 does not work
Question: Is there a way to dynamically assign a value to this special register?
In English: Can the Slave PLC’s figure out which slave # they are based on terminal input?
I hope that is enough info to go on,
I am happy to elaborate further,
Thanks in advance,
Jamie.
I have a feeling the answer is no, but I would like to verify that.
Here is the situation.
I have one Mitsubishi FX2N PLC set as a Master for the purposes of PLC to PLC Communication in an N:N Network.(RS-485)
I have 5 other PLCs set as slaves for the purposes of PLC to PLC Communication in an N:N Network.(RS-485)
I have no problem getting them to talk to each other.
Ideally I would like to have 2 separate PLC Programs written one for the Master and one for all of the slaves instead of 1 Program for the Master and 5 separate programs for the slaves.
The problem occurs when in the first line of each slave program I have to assign that slave a unique number at position Zero in the ladder logic program.
Ex:
M80038
----- ||--------------------[mov K1 D8176]
This assigns 1 to D8176 telling the PLC it is Slave #1
Changing the value of D8176 later does nothing.
As well moving other D register values to D8176 does not work
Question: Is there a way to dynamically assign a value to this special register?
In English: Can the Slave PLC’s figure out which slave # they are based on terminal input?
I hope that is enough info to go on,
I am happy to elaborate further,
Thanks in advance,
Jamie.