Download CC-Link Interface Option "OPC-E1-CCL"
Transcript
10.10 Program Example for Writing to Inverter's Function Code Data The program example shown below writes 3.0 s to the F07 data (Acceleration time 1) of FRENIC-Multi station #1. X0 X0F X1 SW80 BMOV Unit failure M0 X20 M300 Writing ON M301 X100F Command code execution completed M302 K4M0 K4 Unit Host station ready being linked PLS M300 SET M301 MOV H87 W102 MOV H12C W103 SET Y100F RST M301 SET M302 X100F MOV Command code execution completed W2 RST D2 Read out data link status of slave stations Write the “Write F07” command code (H87) into RWw2, and the acceleration time (H12C) into RWw3 Turn command code execution request (RYF) ON When the command code execution completed signal (RXF) is turned ON, the response code is read out from the remote register (RWr2) into D2. (0: Writing normally completed.) Y100F Turn command code execution request (RYF) OFF RST M302 END Figure 10.10 Program Example 36