System data
Identification
Interface
rsMode
0: RS-232C
1: RS-422
baudRate
Baud rate[bps]
Data length[bit]
byteSize
7 or 8
parity
0:none
parity
1:odd number
2:even number
stop bits[bit]
stopBits
0:1
1:2
Flow control
softFlow
0:None
1:Xon/Xoff
Delimiter
0:CR
delimiter
1:LF
2:CR+LF
timeout
Timeout[s]
Supported functions
IoInitialize
GetPort
PutPort
BusyOut
JudgeOut
RunOut
GetAll
PutAll
ReceiveData
SendData
SendString
ReadPlcMemory
WritePlcMemory
SetPlcData
GetPlcData
Example
Receive data
A parameter of ReceiveData, the parameter size are unnecessary.
Dim data&(256)
'Gets the five data.
ReceiveData "SerialPlcLink", data&(), 4*5, size&
FZ4 User's Manual
Meaning
○
○
Reference:
○
Reference:
×
-
×
-
×
-
○
Reference:
○
Reference:
○
Reference:
○
Reference:
○
Reference:
×
-
×
-
×
-
×
-
Input terminal a point input (p.214)
Output terminal a point output (p.250)
Input terminal all point input (p.210)
Output terminal all point output (p.249)
Receive data (p.252)
Send data (p.267)
Sends string (p.268)
Using Custom Command
Initial value
0
38400
8
0
4
0
0
0
5
303