Omron 3G3FV-PDRT1-SIN Marine Radio User Manual


 
7-8
CMP (020)
#0000
DM2001
00002
00000
10112
Message Communications Enabled Flag
MOV (021)
DM2001
DM0100
25506 (Equals Flag)
MOV (021)
DM2004
DM0200
00000
03003
IOWR (223)
DM0500
DM1000
#0009
00001
ASL (025)
000
10112
Message Communications Enabled Flag
25506 (Equals Flag)
25506 (Equals Flag)
25506 (Equals Flag)
03002
03002
03003
ASR (026)
000
ASR (026)
000
ASL (025)
000
ASR (026)
000
When the Master
Unit No. is 0.
Checks the message response.
Re-executes the IOWR instruction
in case of FINS error stop.
Transfers data to DM 0200 in
case of FINS normal stop.
Sending Message Flag
Executes IOWR instruction.
Checks execution of IOWR
instruction.
7-2-2 Reading/Writing Data
This programming example writes and reads data using explicit messages. Explicit messages can be
executed by specifying FINS commands in the DM Area allocated to the PC, and sending them using
the CMND or IOWR instructions.
If there is an error in the command, the completion code is stored in the DM Area and the command is
re-executed.
Communications Programs (SYSMAC C200HX/HG/HE PCs) Chapter 7