EasyManuals Logo
Home>Omron>Recording Equipment>SYSMAC NX-CIF105

Omron SYSMAC NX-CIF105 User Manual

Omron SYSMAC NX-CIF105
232 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #212 background imageLoading...
Page #212 background image
Appendices
A - 32
NX-series Communications Interface Units User’s Manual (W540)
The port on the CIF Unit is restarted to prepare to send or receive data. You use the Restart Port control
command in the Output Data Type object to restart a port. Refer to A-3 List of NX Objects on page
A-5
for details on each object.
This programming sample is for the example given in 7-4-5 Example of Control Co
mmand Execution on
page 7-23. The processes in the table in 7-4-5 Example of Control Command Execution on
page 7-23
correspond to the CASE statements in the ST program as follows:
The following variable table is set from the Support Softwar
e. All of the variables that you registered in
the I/O map are registered as global variables.
Internal Variables
External Variables
A-4-2 Programming Sample 1: Restarting CIF Unit Ports
Procedure
Step number in control command
execution example
Process CASE statement
--- Idle CASE 0
1 Output SID initialization CASE 1
2 Response to initialized Output SID
3 Request to restart the port CASE 2
4 Confirmation of reception
of th
e port restart
request
CASE 3
5 --- ---
6 Response reception CASE 4
7 Checking response reception
8 Response to initialized Output SID CASE 5
Variable Table
Name Data type Initial value Comment
InitialPortRestartRequestTrigger BOOL FALSE Execution condition to
restar
t port
InitialPortRestartRequestTrigger_R_TRIG_instance R_TRIG Instance of R_TRIG
instruction
CIFCmdCode WORD WORD#16#0 Command code
CmdStage INT INT#0 State transition
ExpectedOutputSIDResponse USINT USINT#0 Expected value of Out-
put SID Response
Name Data type Comment
N1_Ch1_Input_SID_Response USINT Ch1 Input SID Response
N1_Ch1_Input_SID USINT Ch1 Input SID
N1_Ch1_Output_SID USINT Ch1 Output SID
N1_Ch1_Output_SID_Response USINT Ch1 Output SID Response
N1_Ch1_Input_Sub_Info WORD Ch1 Input Sub Info
N1_Ch1_Output_Data_Type WORD Ch1 Output Data Type
N1_Ch1_Input_Data_Type WORD Ch1 Input Data Type
N1_Ch1_Send_Command_Flag BOOL Ch1 Send Command Flag
N1_Ch1_Receive_Command_Flag BOOL Ch1 Receive Command Flag
E001_NX_Unit_I_O_Data_Active_Status_125 ARRAY[0..125] OF
BOOL
NX Unit I/O Data Active Status

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC NX-CIF105 and is the answer not in the manual?

Omron SYSMAC NX-CIF105 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC NX-CIF105
CategoryRecording Equipment
LanguageEnglish

Related product manuals