beautypg.com

Delta RMC101 User Manual

Page 264

background image

RMC100 and RMCWin User Manual

5-14

1. Raise the CPU input 0. This input is also called Run/Stop. CPU input 1 should start low.

2. Wait for the CPU output 0 to raise. This input is called Ready.

3. Place a 16-bit command word on digital inputs 0-15. This word gives the command type and also

information for which data is requested back. See Command Words for Command Mode for
details on using this word.

4. Raise the Command Strobe.

5. Wait for CPU output 1 to toggle. This output will be called Acknowledge from here forward.

6. Read digital outputs 0-7, which will hold bits 0-7 of the data just requested.

7. If the command sent in the previous steps requires a command value (such as a requested

position), place the 16-bit command value on digital inputs 0-15.

8. Lower the Command Strobe.

9. Wait for Acknowledge to toggle. At this point the command will be have been executed.

10. Read digital outputs 0-7, which will hold bits 8-15 of the requested data. Although the requested

data may be changing constantly, the entire 16 bits is latched when the command is first
executed. It is this latched data that is outputted byte by byte.

These steps should be processed by the PLC so that a complete new command can be sent
every two PLC scans. To achieve this, the following steps should be taken:

1st scan:

Perform step 1.

2nd scan:

Perform steps 2 through 4 to send first half of first command.

3rd scan:

Perform steps 5 through 8 to send the second half of first command.

4th scan:

Perform steps 9 and 10 to finish receiving the data requested by the first command.

Perform steps 3 and 4 to send first half of second command.

5th scan:

Perform steps 5 through 8 to send the second half of second command.

6th scan:

Perform steps 9 and 10 to finish receiving the data requested by the second command.

Perform steps 3 and 4 to send first half of third command.

… (Repeat the last two scans for each new command)

Configuring Command Mode
This is done using the Command Mode Options dialog box:

This manual is related to the following products: