1 gw_ctl_11 – IAI America RCM-GW-PR User Manual
Page 113

107
PfofiBus Gateway
8.1 GW_CTL_11
Explanation; This is a function to access Gateway control/status words.
Before calling other function block/function, communication between the Gateway and
the controller must be started using this function. Axis configuration must also be
defined in the ProfiBus module.
Parameters;
I/O
Parameter
name
Data
type
Explanation
Input MON
BOOL Start
Gateway-controller
communication.
CFG
WORD
Specify an axis to be actually configured using a bit
pattern (bit 0 = Axis 0, bit 15 = Axis 15).
NPS
INT
Number of axes used in the POS-number
specification movement mode. Axis numbers are
assigned from 0 based on this value, and the direct
numerical specification mode becomes effective for all
remaining areas. *1
PPS
INT
PIO pattern number in the POS-number specification
movement mode *1
LADDR
WORD
Output Gateway head I/O addresses for output
Output GW_STS
WORD
Gateway status word 0 is output.
LNKS
WORD
Gateway status word 1 is output.
*1 This setting is effective only when the mode setting switch is set to 0x1, 0x5 and 0x9.
Modbus communication start
Axis configuration definition word
Number of POS mode axes
POS-mode PIO pattern number
Gateway head address
Gateway status
Axis link status