Hi all,
I'm having a little trouble understanding how an index register works. One of my big problems is that I've never needed this command and so I don't have any experience with it. I'm trying to learn some more of the "advanced" commands that Mitsubishi PLC's have, so if I ever run across them, I would know how they worked. I know of one system at work that uses index registers at work, it’s our paint line.
Index registers are my first stopping point. I can usually figure out a command by reading the manual and trying it on a test station, but this one really has got me. Below I've put the explanation of an index register that came out of the A series manual. If anyone has a situation where an index register would be of use, I would appreciate it if you could lead me in that direction. I have a test station to simulate any ideas, “its the best way I can learn". I have to put my thoughts into actions to get it to stick banghead into my brain. If I haven’t supplied enough info, let me know.
Thank You,
Happy Holidays
Tim Surber
Index registers (Z, V)
Index registers are used to designate indirectly the devices (X, Y, M, L, S, B, F, T, C, D, W, R, K, H, and P) which are used with basic and application instructions.
This indirect designation of devices is disabled when those instructions which use bit devices (X, Y, M, L, S, B, F, T, and C) in units of each device for contacts, coils, etc. are used.
Each index register consists of 16 bits which is the unit of data read and write. Two index registers (Z, V) are provided.
Index register Z, when used with a 32-bit instruction, holds the lower 16 bits and V holds the higher 16 bits.
A 32-bit instruction cannot be used to designate V.
I'm having a little trouble understanding how an index register works. One of my big problems is that I've never needed this command and so I don't have any experience with it. I'm trying to learn some more of the "advanced" commands that Mitsubishi PLC's have, so if I ever run across them, I would know how they worked. I know of one system at work that uses index registers at work, it’s our paint line.
Index registers are my first stopping point. I can usually figure out a command by reading the manual and trying it on a test station, but this one really has got me. Below I've put the explanation of an index register that came out of the A series manual. If anyone has a situation where an index register would be of use, I would appreciate it if you could lead me in that direction. I have a test station to simulate any ideas, “its the best way I can learn". I have to put my thoughts into actions to get it to stick banghead into my brain. If I haven’t supplied enough info, let me know.
Thank You,
Happy Holidays
Tim Surber
Index registers (Z, V)
Index registers are used to designate indirectly the devices (X, Y, M, L, S, B, F, T, C, D, W, R, K, H, and P) which are used with basic and application instructions.
This indirect designation of devices is disabled when those instructions which use bit devices (X, Y, M, L, S, B, F, T, and C) in units of each device for contacts, coils, etc. are used.
Each index register consists of 16 bits which is the unit of data read and write. Two index registers (Z, V) are provided.
Index register Z, when used with a 32-bit instruction, holds the lower 16 bits and V holds the higher 16 bits.
A 32-bit instruction cannot be used to designate V.