![background image](http://html1.mh-extra.com/html/omron/e5-d-series/e5-d-series_connection-manual_742546048.webp)
9
.
Program
45
●Internal var
iables (instance variables)
The following tables list the internal variables to execute the function block in the program.
An internal variable is called an "instance". The name of the function block used is specified
as the data type of the variable.
[Instance for the SendCmd instruction]
Variable name
Data type
Description
SendCmd_instance
SendCmd
This function block sends a command to the SCU using the
Serial Gateway function.
Additional Information
For details on the SendCmd instruction, refer to
Serial Communications Instructions
in
Section 2. Instruction Descriptions
of the
NJ/NX-series Instructions Reference Manual
(Cat.
No.W502).
●Internal va
riables
Variable name
Data type
Description
Local_Busy
BOOL
Communications processing status flag
(Communications processing in progress)
Local_Done
BOOL
Communications processing status flag
(Communications processing normal end)
Local_Error
BOOL
Communications processing status flag
(Communications processing error end)
Local_State
DINT
Processing number
Local_ExecFlgs
BOOL
Communications instruction execution flag
Local_DstNetAdr
_sDNET_ADR
Destination address for SendCmd instruction setting
Local_CommPort
_ePORT
Destination serial port specification for SendCmd
instruction setting
Local_sendSize
UINT
Send command data size for SendCmd instruction setting
Local_Option
_sRESPONSE
Response setting for SendCmd instruction setting
Local_SubAddress
STRING[3]
Subaddress "00" (fixed)
Local_SID
STRING[2]
SID "0" (fixed)
Local_cmddata
ARRAY[0..255]
OF BYTE
Command array for SendCmd instruction setting
(256 bytes)
Local_recvdata
ARRAY[0..255]
OF BYTE
Response storage array for SendCmd instruction setting
(256 bytes)
Local_cmdCWFdata
STRING[256]
An area that stores send data
(STRING type: 256 characters)
Содержание E5*D series
Страница 51: ...9 Program 48 2 Initialization processing ...
Страница 52: ...9 Program 49 3 CompoWay F communications processing ...
Страница 53: ...9 Program 50 4 Processing number error process ...
Страница 60: ...2013 2018 0618 0113 P E1 0 ...