Download "user manual"
Transcript
Section 7-5 Command/Response Reference Program Example Execute condition 0000 00 A202 00 • When a read enabled message is received and 150001 turns ON: Sends a transparent frame just once when the Network Communications Port Enabled Flag for port 0 and the execute condition (CIO 000000) turn ON at port 0. Read enabled message received 1500 01 @MOV(21) # 004C D00000 • Creates control data starting at D00000. Word D00000 Content 00 4C Meaning Command data length = 76 bytes D00001 00 04 Response data length = 4 bytes D00002 D00003 00 00 00 10 @MOV(21) # 0010 D00003 D00004 00 02 Target network address = 0 Target node address = 0 Target node number address = 10 Hex Response required Communications port No. = 0 Retries = 2 @MOV(21) # 0002 D00004 D00005 00 00 @MOV(21) # 0004 D00001 @MOV(21) # 0000 D00002 Response monitoring time = 2s @MOV(21) # 0000 D00005 Execute condition 0000 00 Read enabled message received A202 00 1500 01 @MOV(21) # 2902 D01000 • Creates control data (command code) starting at D01000. @CMND(490) D01000 D02000 D00000 • Sends the transparent frame read command to the FL-net (Ver. 2.00) Unit using the CMND(490) instruction. @XFER(70) # 0005 D02034 0000 • Using the data that is received: Stores the 10byte data (5 words) from D02034 (FA message data) starting at CIO 0000. • Turns OFF the execute condition (CIO 000000). DIFU(13) 000000 123