Owner manual

PLC-5C Applications
6-7
6.6 Function of the Sample Program
The program performs the following actions:
Obtains Logic Status information from the drive.
Uses the Logic Command to control the drive (for example, start,
stop).
Sends a Reference to the drive and receives Feedback from the
drive.
Sends/Receives Datalink data to/from the drive.
Module Settings for the Sample Program
Nodes 2 and 3.
See Chapter 5, RSNetWorx Configuration for PLC-5C
Applications.
Parameter Settings for the Sample Program
Logic Command/Status Words
These examples use the Logic Command word and Logic Status
word for SP600 drives. Refer to Appendix D, Logic Command/
Status Words to view these. The definition of the bits in these words
may vary if you are using a different DPI product. Refer to the
documentation for your drive.
Table 6.1 Parameter Settings for the Sample Program
Device Parameter Name Value Description
SP600 Drive
90 Speed Ref A Sel 22 ‘Network’ (RECOMM-CNET)
300 Data In A1 140 Points to 140 (Accel Time 1)
301 Data In A2 142 Points to 142 (Decel Time 1)
302 Data In B1 100 Points to 100 (Jog Speed)
303 Data In B2 155 Points to 155 (Stop Mode A)
310 Data Out A1 140 Points to 140 (Accel Time 1)
311 Data Out A2 142 Points to 142 (Decel Time 1)
312 Data Out B1 100 Points to 100 (Jog Speed)
313 Data Out B2 155 Points to 155 (Stop Mode A)
13 DPI I/O Cfg xxx1 1111 Enables Cmd/Ref, Datalinks A-D
RECOMM-CNET
25 M-S Input xxx1 1111 Configures the I/O Data to be
transferred from the network to the
drive.
26 M-S Output xxx1 1111 Configures the I/O Data to be
transferred from the drive to the
network.