6F8C0904 57
4.9 Initialization Sample Program
4
4.9  Initialization Sample Program
This section describes the sample program that puts the EN311 into a run mode. After 
the EN311 enters the run mode, it becomes possible to use the slave station functions of 
the computer link/PC link. 
Sample program specification: EN311 is installed into Slot 6 on the base.
Local IP address: 133.113.90.10
Local message transfer UDP port number: 2000
Start 
Read the station status 
7EFFH on DPRAM(word address)
Run mode ? 
(If the result of ANDing with 
1000H is 1000H) 
Issue the operating mode control 
request(stand by) 
Issue the reset request 
Issue the parameter setup request 
Issue the operating mode control 
Read the station status 
Requested operating mode?
End 
ï¼¹
ï¼¹
ï¼®
ï¼®