Chapter 16 PLC Function Applications│CP2000 
 
 
16-142
Refresh command:   
Use CANFLS command to refresh (if there are RW attributes, the master will write to 
the slave station; if there are RO attributes, the slave station will return the read values 
to the master); M1066 will be 1 if refresh has been completed; M1067 will be 1 if 
refresh is successful, and M1067 will be 0 if an error has occurred.   
NOTE
 
When  using  CANRX,  CANTX  or  CANFLS,  internal  implementation  commands  will  wait  until 
M1066 is completed before executing the next CANRX, CANTX or CANFLS.
 
Afterwards,  download  program  to  the  driver  (Please  note  that  the  PLC's  default 
communications format is ASCII 7N2 9600, and the station number is 2. The WPL must 
therefore  be  modified,  and  the  WPL  setting  pathway  is  settings  >  communications 
settings)   
Step 5: Set the slave stations' station numbers and communications speed 
Slave station no. 1: Pr.09-37 = 0 (Speed 1M)    Pr.09-36=10 (Node ID 10) 
Slave station no. 2: Pr.09-37 = 0 (Speed 1M)    Pr.09-36=10 (Node ID 11) 
Step 6: Connect hardware wiring 
When performing wiring, note the head and tail terminal resistance; connection methods are 
as follows:   
Terminal 
resistor
Terminal 
resistor
 
Step 7: Initiate control   
After a program has been written and downloaded, switch the PLC mode to Run. Merely 
turn power to master and slave stations off and then on again.   
Refer to CANMasterTest 1 vs. 2 driver.dvp