Using Netlinx Controller as a Slave
TurnipTruck
Posts: 1,485
in AMX Hardware
Greetings,
Haven't done much of this... I would like to use an NI-2000 for more ports on an existing system. I am assuming that I would set the slave's device number to 5002, as the ports on the system master are 5001. The IP address of the slave would go in the URL list of the master.
Anything else?
Thanks.
Haven't done much of this... I would like to use an NI-2000 for more ports on an existing system. I am assuming that I would set the slave's device number to 5002, as the ports on the system master are 5001. The IP address of the slave would go in the URL list of the master.
Anything else?
Thanks.
0
Comments
It's much easier than that, just use Master to Master and give each Master a unique system number (ie 1 & 2) and a unique IP Address
You then just add the 2nd Masters IP to the URL List on the 1st Master.
In your code (on either master), just define your devices as normal, but using the relevant system number. ie
The ports on Master 2 are then available for use in code on Master 1.
There is no way to slave them, not like the old Accent3 that you can place on the AXlink bus as a slave
device. The is no way to disable the Master in an NIxxxx box.
M2M is the only way to do this.
You could, 0 just means this master, for clarity I would use the actual system number for the master, so 1 in this case.
That's the story here.
If you're just using them as serial device servers save yourself some cash and use any of the many serial to IP bridges available.
I've had mixed results with serial-IP bridges, and at least one that had a tendency to lock up my master while it hung establishing a connection. Besides, I needed IR as well. There is also a limit to how many IP connections a master can make, and though it's pretty high and unlikely you are going to hit it, I would rather not used one up where it can be avoided.
Sometimes, it pays to spend a little more for reliability, and M-M communications in NetLinx masters is pretty solid, with no setup hoops to jump through.
Global Cache works rather well. Unfortunately you can't diagnose IP connections using AMX. (GC-100 has IR and RS-232)
Am I the only one who finds it peculiar that the NXI is more expensive than the smaller masters?
Must any code be loaded on to the "slave" system?
Definitions of its local devices?
I was just revising my reply. For everybody's understanding I have stated that devices should be defined onto the "slave" according to the above tech notes.
---
I tend to observe it might be just a habbit or a code of good practices to do so. However, I have defined the IR devices onto the "slave" machine even if it was a port extension only, for the sake of having a consistent tree view of the in the workspace and quick uploading by mapping the IR files accordingly.
Thanks.