
1-19
1 Introduction
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
1-6 Sp
ecific
a
tion
s
1
1
-6-2
Gene
ral Specifications
z
Serial Gateway Specifications
*1
The reception buffer is cleared during Serial Gateway execution.
You can prohibit the Serial Gateway in Protocol Macro Mode by changing the Serial Gateway Prohibit Switch
(*_P#_SgwDsblCmd) to TRUE.
*2
When a timeout occurs, a command end code (0205 hex (Response Timeout)) is returned to the command
source.
*3
When a timeout occurs, a command end code (0204 hex (Destination Busy)) is returned to the command
source. At this time, the received command is discarded without execution of send processing.
Item
Description
Conversion source
Commands (received through network or CPU bus)
Conversion func-
tions
The received command is sent to the Unit's serial port and is converted to the command
code as follows:
2803 hex: Header removed and converted to CompoWay/F command.
2804 hex: Header removed and converted to Modbus-RTU command.
2805 hex: Header removed and converted to Modbus-ASCII command.
Converted format
•
CompoWay/F commands
•
Modbus-RTU commands
•
Modbus-ASCII commands
Enabled serial com-
munications mode
Serial Gateway Mode or Protocol Macro Mode
Queuing functions
Up to five commands can be converted and then queued for processing.
Protocol macro exe-
cution processing
When a command is received during protocol macro execution, the Serial Gateway is exe-
cuted using an interrupt between steps in the communications sequence. If the next step
is a Receive command, the Serial Gateway will not be executed until the next step. For
other conditions, the interrupt is executed immediately. (*1)
Response timeout
monitoring
The time is monitored from when the message converted into the specified protocol using
the Serial Gateway is sent until the response is received (in Serial Gateway Mode or Pro-
tocol Macro Mode). (*2)
Default: 5 s (setting range: 0.1 to 25.5 s)
Send start timeout
monitoring
The time is monitored from when the command is received until it is converted into the
specified protocol and starts to be sent (in Protocol Macro Mode only). (*3)
Default: 5 s (setting range: 0.1 to 25.5 s)
Send delay
The time can be set from when the message is converted into another protocol using
Serial Gateway conversion until the data is actually sent. (Serial Gateway or Protocol
Macro Mode)
Default: 0 s (setting range: 0.01 to 300.00 s)
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...